NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Tracking Training Phases in Compositional Learning with Task-Agnostic Measures

Niclas Dern, Selma Mazioud, Jakob Heiss, Avrajit Ghosh, Curtis James McDonald, Gabriel Clara, Bin YuCompLearn @ ICML 2026

TL;DR

Researchers at UC Berkeley have systematically benchmarked 53 "task-agnostic" measures—general metrics like weight norms and prediction entropy—to see if they can automatically detect the distinct stages a neural network goes through during training. While these measures successfully track simple phase transitions like "grokking," the study reveals a major hurdle: current methods struggle to disentangle "overlapping" phases where a model acquires multiple skills in close succession.

What Problem Does This Paper Address?

Deep neural networks don't learn at a steady, linear pace. Instead, they often undergo "phase transitions"—sudden jumps in capability where the model shifts from simple memorization to complex algorithmic reasoning. Understanding these phases is crucial for "developmental interpretability": if we can detect when a model is about to reorganize its internal logic, we might be able to steer it toward safer or more efficient outcomes.

The catch? Most reliable ways to track these phases today require a "mechanistic" understanding—you have to know exactly what internal circuit (like an "induction head") you're looking for. This paper explores task-agnostic measures: scalar quantities derived from a model’s weights, activations, or outputs that don't require any prior knowledge of the task. The goal is to find a "universal thermometer" for model development.

Methods

The authors performed a massive comparative study using the following framework:

  1. The Measure Suite: They compiled 53 different measures from literature on generalization and developmental interpretability, categorized into four groups:
  2. Parameter-space: (e.g., weight norms, spectral entropy)
    • Loss-landscape: (e.g., Hessian sharpness, Local Learning Coefficient)
    • Representation-space: (e.g., PCA effective dimension, intrinsic dimensionality)
    • Output-space: (e.g., prediction entropy, prediction churn)
  3. HMM-based Segmentation: To turn a noisy line graph of a measure into "phases," they fit Gaussian Hidden Markov Models (HMMs) to the trajectories. The HMM treats the training process as a sequence of hidden states, allowing the researchers to "read off" the phase structure.
  4. Evaluation: They evaluated these measures on three axes: how well they align with known behavioral shifts, how consistently they appear across different random seeds, and how well they can retrospectively predict the exact moment a model "groks" a task.

Datasets

The study focuses on compositional learning, where models must combine rules to solve problems.

  • Modular Addition: The "fruit fly" of grokking research, where a model learns $a + b \pmod{113}$. It typically memorizes the data first and then suddenly "groks" the general rule.
  • Multilingual Modular Addition (New): The authors introduced this benchmark to "stress-test" phase detection. A single transformer learns modular addition across multiple disjoint vocabularies (different "languages"). By giving the model different amounts of data for each language, they can force it to learn each one at a different time, creating complex, overlapping phase transitions.

Key Insights and Ideas

  • The Overlap Problem: The most significant "aha moment" is that overlapping transitions are a blind spot. When a model learns two things at once, even the best measures (and the HMM framework itself) struggle to separate the signals. This suggests that "learning" isn't just a sequence of discrete steps but a messy, parallel process.
  • No Silver Bullet, but a "Golden Trio": No single measure was the best in every scenario. However, three measures consistently stayed near the top: Prediction Entropy (how uncertain the model is), PCA Effective Dimension (the complexity of internal representations), and the Local Learning Coefficient (LLC) (a measure of the "dimensionality" of the loss basin).
  • Class Boundaries are Blurry: Interestingly, the authors found that their four categories (weights vs. activations vs. outputs) didn't actually capture "distinct" types of information. Measures from different classes often agreed more with each other than with members of their own group.

Key Results

  • Grokking Prediction: In the simple modular addition task, many measures were nearly perfect at predicting when the model would finish grokking ($R^2 \approx 1.0$), though predicting the start of the transition was much harder.
  • Performance Degradation: In the new "three-language" setting where transitions overlap, the predictive power ($R^2$) of almost all measures dropped significantly.
  • Multivariate Failure: Surprisingly, combining multiple measures into a single "super-HMM" did not reliably improve performance. Simple, individual measures often performed just as well as complex combinations.

Limitations and Future Work

The study was limited to small transformers (1-layer) on algorithmic tasks. Whether these 53 measures can scale to track the "emergence" of logic in a 70-billion parameter Large Language Model remains an open question.

The authors also noted that the Gaussian HMM framework itself might be too rigid for the "overlapping regime." Future work may need to move beyond simple state-space models toward more sophisticated ways of disentangling parallel learning processes. They hope their "multilingual" benchmark will serve as a standard testbed for researchers trying to solve this "overlap" puzzle.

Summary updated

BibTeX
@inproceedings{dern2026tracking,
  author = {Niclas Dern and Selma Mazioud and Jakob Heiss and Avrajit Ghosh and Curtis James McDonald and Gabriel Clara and Bin Yu},
  title = {{Tracking Training Phases in Compositional Learning with Task-Agnostic Measures}},
  booktitle = {CompLearn @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=tNWw6sXmwP},
}
Figure