How are linear representations learned? Exact solutions to the dynamics of abstraction
This paper presents a dynamical theory of abstraction that derives exact solutions for how linear concept representations emerge during training in both linear and nonlinear neural networks, revealing that abstraction is governed by data geometry, network depth, and initialization scale while following a universal attenuation law that weakens abstraction in activations relative to preactivations.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are trying to teach a robot to understand the world. You show it pictures of red squares, blue squares, red circles, and blue circles. You want the robot to learn that "square-ness" is a single, consistent idea, no matter if the square is red or blue. In the robot's brain (a neural network), this idea is stored as a specific direction in a giant, multi-dimensional map. If the robot is "abstract," the direction for "square minus circle" in the red world should point in the exact same way as "square minus circle" in the blue world. They should be parallel.
This paper is a deep dive into how that perfect alignment happens while the robot is learning, and what stops it from happening perfectly.
The Big Discovery: The "Rich" vs. "Lazy" Learning Dance
The authors built a simplified, mathematically solvable version of a neural network to watch this alignment happen in real-time. They found that the path to understanding isn't a straight line; it's a dance with a surprising twist.
Think of the robot's learning process like a hiker trying to reach a specific campsite (the final, perfect understanding).
- The Destination: The final location of the campsite is determined entirely by the terrain (the data) and the map (the goal). If the data is messy, the campsite is messy. If the data is clean, the campsite is perfect.
- The Hiker's Gear (Initialization): Here is the cool part. How the hiker starts the journey changes the path they take, even if the destination stays the same.
- The "Rich" Hiker (Tiny Start): If the robot starts with tiny, tiny weights (like a hiker with a very light backpack), it zooms past the messy middle ground and hits a spot of perfect alignment very early. It stays there for a surprisingly long time, almost like it's stuck in a time loop of perfect understanding. The authors call this "metastability." It's so perfect that if you stopped the training early, you'd think the robot had mastered the concept forever.
- The "Lazy" Hiker (Big Start): If the robot starts with big weights (a heavy backpack), it never gets that high. It just slowly climbs toward the final destination and stops there. It never sees that moment of perfection.
The Rule: The final destination is fixed by the data, but the peak of understanding during training is controlled by how small you start. If you start small enough, the robot can reach near-perfect abstraction, even if the data is noisy.
The Depth Effect: Going Deeper Gets Smarter
The paper also looked at what happens when you stack more layers of neurons, like building a taller tower.
- The Analogy: Imagine passing a message down a line of people. If the message is "Red Square," the first person might say it with a slight accent. The second person cleans it up a bit. By the time it reaches the top of a tall tower, the message is crystal clear.
- The Finding: The authors proved mathematically that as you add more layers, the final representation becomes more abstract. It's a smooth interpolation: the deeper you go, the closer you get to the "pure" concept, provided the target you are trying to predict is already abstract.
The Nonlinearity Trap: Why "Activation" Can Dull the Idea
Real neural networks aren't just straight lines; they have "nonlinearities" (like ReLU or GELU) that act like gates or filters. The paper tested what happens when you pass the "concept direction" through these gates.
- The Finding: These gates weaken the alignment. They act like a dimmer switch on a lightbulb. The "pre-activation" (the signal before the gate) is brighter and more aligned than the "activation" (the signal after the gate).
- The Proof: The authors proved a "Attenuation Law" for specific nonlinearities like the error function (erf) and leaky ReLU: these nonlinearities reduce the abstraction score compared to the signal before them. They conjecture this holds for a wider family of nonlinearities, but the strict proof applies to these specific cases. They don't magically fix bad alignment; they just make it slightly worse.
What This Means for Real AI
The authors didn't just stop at math; they tested these ideas on real, massive models like DINOv3 (a vision model) and Gemma 4 (a language model).
- The Experiment: They took these giant models and temporarily replaced the GELU activation functions with the identity function (essentially removing the nonlinearity just for that step) to see what happened.
- The Result: When they removed the nonlinearities, the concepts became more abstract and the models got better at generalizing (transferring knowledge from one context to another). This confirms the theory: the nonlinearities were actually blurring the concepts.
What the Paper Rules Out
It's important to know what this paper says is not the whole story:
- It's not just about the end: Previous theories often only looked at the very end of training, assuming the robot would eventually get it perfect. This paper shows that the journey matters. The robot might hit a peak of perfection and then drift away, or it might never reach it at all depending on how it started.
- It's not always perfect: In the real world, with messy data, the robot rarely reaches 100% perfect alignment. The paper shows that the final level of abstraction is a math formula based on the "noise" in the input and the target. If the data is noisy, the abstraction will be imperfect, no matter how long you train.
How Sure Are They?
- The Math: For the simple, linear networks, the authors have exact, proven solutions. They didn't just guess; they solved the equations. They know exactly how the abstraction moves over time.
- The Simulations: For the deep, nonlinear networks, they used simulations and mathematical approximations (infinite-width limits). The results are very strong and match the theory, but they are derived from these specific mathematical models.
- The Real World: When they applied this to DINOv3 and Gemma 4, they measured the results. The experiments showed that their theory holds up: removing nonlinearities did improve abstraction and generalization in these real models.
The Takeaway
Learning to understand concepts is like walking a path. The destination is set by the data, but the path you take depends on how you start. If you start small, you might hit a moment of pure clarity that lasts a long time. If you go deeper, you get clearer. But beware the gates (nonlinearities) along the way; they tend to dim the light of your understanding. By understanding these dynamics, we can build better tools to peek inside AI brains and make them smarter.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.