Geometrically Disentangling Concept Learning from the Language Modeling Loss
Yupei Wang, Neil R Mallinar, Misha Belkin, Alex Warstadt
NeurIPS page · OpenReview · Open on the map
Category: Interpretability & Model Adaptation › Language Model Interpretability · Type: new method · Keywords: concept learning, language model pretraining, optimization engagement, gradient analysis, interpretability
Areas: LLM Reasoning › Reasoning Mechanisms › Representation Geometry; Evaluation & Benchmarks › Language Model and Agent Benchmarks › LLM Internal Representations; Interpretability › Mechanistic Interpretability › Mechanistic Interpretability
Summary
We present an interpretability framework that measures optimization engagement between concept subspaces and the language modeling loss to reveal how concepts are learned during pretraining.
Explained to a 5-year-old
Language models are computer programs that guess the next word you might type. They learn many things just by trying to be good at guessing. Scientists made a special way to watch how the model’s brain changes while it learns something. They saw that the model’s brain often starts moving before it actually starts doing the new skill well. This helps us understand that learning can happen in hidden ways before we see it work.
Explained to a 5-year-old, longer
A language model is a computer program that tries to predict the next word you might type. It learns many different things, like words, grammar, and how to answer questions, just by doing this guessing game. Researchers wanted to understand how this learning really happens inside the computer. They created a method to look at how the model’s hidden parts move when it tries to learn a new concept. They measured how much the model’s learning signals line up with where the concept lives in its memory. By watching these signals over time, they could see when the model started to pay attention to a new idea. They found that often the model’s internal changes happen before it actually starts using the new idea well. Sometimes the model kept changing a lot for a long time without showing clear improvement. Other times it would change a few times, each time getting a bit better. This shows that learning is not always obvious from just looking at the model’s answers. It also shows that there are hidden steps in learning that we can now see. Understanding these steps helps us build smarter and more useful language models.
For a technical reader
The paper examines how large language models learn new concepts while they are being trained. It introduces a way to measure, for each layer and training step, how strongly the model’s loss pushes its internal representation toward a particular concept. By comparing this “engagement” signal with when the model actually starts performing better on related tasks, the authors show that the model often begins adjusting its internals before any observable performance gain. They also find that this pattern isn’t uniform-some concepts show steady engagement, others show multiple spikes, indicating varied learning dynamics. The findings suggest that monitoring internal gradient alignments could be a useful diagnostic tool for tracking model learning in production systems.
Problem
Understanding how language models develop a wide range of concepts and abilities solely from next-token prediction is a fundamental challenge.
Method
For each layer and checkpoint, the authors compute the alignment between a probe-defined concept subspace and the average gradient outer product of the next-token loss, quantifying optimization engagement over training time.
Results
The approach finds that optimization engagement with concepts correlates with later behavioral changes, often peaking before those changes, but the pattern varies across concepts and checkpoints, revealing richer learning dynamics than probe performance alone.
Contributions
The work provides a framework to quantify how the language modeling loss drives concept learning over training, uncovering temporal relationships between geometric changes and behavioral milestones. It also demonstrates that simple probe metrics can miss important aspects of this learning process.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction