acceptodds
Published as a conference paper at NeurIPS 2026

From Density Matrices to Phase Transitions in Deep Learning: Spectral Early Warnings and Interpretability

Max Hennick, Guillaume Corlouer

Abstract

A key problem in the modern study of Deep Learning is predicting and understanding emergent capabilities in models during training. Inspired by methods for studying reactions in quantum chemistry, we present the “2-datapoint reduced density matrix" (2RDM). We show that this object provides a basis for computationally efficient, unified observables of phase transitions during training. First is the spectral heat capacity, which we prove provides early warning signals for learning events. Second is the participation ratio, which reveals the dimensionality of the underlying reorganization associated with a learning event. Remarkably, the top eigenvectors of the 2RDM are directly interpretable, making it straightforward to study the nature of the transitions. We validate across four distinct settings: deep linear networks, induction head formation, grokking, and emergent misalignment. We then discuss directions for future work using the 2RDM.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_RuR6OpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes the 2-datapoint reduced density matrix (2RDM), defined as the covariance of per-sample losses over a training window, as a tool for detecting and interpreting phase transitions during training. The authors introduce spectral diagnostics derived from the 2RDM, including spectral heat capacity and participation ratio, and validate them across four settings: deep linear networks, induction-head formation, grokking, and emergent misalignment. The results suggest that 2RDM-based observables can provide useful signals for identifying and interpreting structural changes in model development.

Strengths and weaknesses

Strengths

  1. The proposed 2RDM is a novel and computationally lightweight object for probing and interpreting neural network training dynamics.
  2. The paper provides theoretical support for the spectral heat capacity (SHC), showing that it can detect critical slowing down under suitable assumptions.
  3. The authors validate the proposed diagnostics across a diverse set of settings.

Weaknesses

  1. The comparison between 2RDM-based diagnostics and existing baseline methods is somewhat limited. Figures 11 and 12 suggest that SHC may detect certain transitions earlier than LLC or gradient norm, and may identify additional learning events. It is not fully clear whether this is the main reason SHC should be considered superior, or whether this behavior holds more generally across tasks.

  2. On the theoretical side, Proposition 2.1 suggests that SHC detects subspace alignment. This raises the question of whether simpler quantities, such as the effective rank of the gradient matrix or learned features, could serve a similar purpose.

  3. The experiments on deep linear networks and grokking remain largely phenomenological. Since these toy models, or closely related variants, are analytically tractable, it seems plausible that the authors could derive the expected evolution of SHC. Such an analysis would make the connection between SHC and the underlying learning dynamics more precise.

  4. Three of the four experimental settings are synthetic or toy setups. The only more realistic application is the emergent misalignment fine-tuning experiment. If SHC is intended as a robust early-warning signal, it would be valuable to test whether it can reliably detect standard training phenomena in realistic settings, such as the onset of overfitting, double descent, or the emergence of capabilities.

Questions
  1. Could the authors clarify the conceptual distinction between SHC and PR? It seems that both of them measure the spread of eigenvalues. For example, under the condition of Proposition 2.1, does PR also increases?

  2. In Section 3.1, the authors argue that during silent alignment the covariance is approximately rank one. Does it mean that if we increase the size of C, the changes of the spectral heat capacity and the participation ratio will be smaller?

  3. In Figure 3(a), the first spike coincides with the silent-alignment event. What is the interpretation of the second spike?

  4. Could the authors provide a more detailed interpretation of the multiple SHC spikes in the induction-head experiment? The second SHC spike appears correlated with the increase in induction-head score, but the role of the first spike is less clear.

Limitations

yes

Paper formatting concerns

no

Final justification

My main concerns are only partially solved, and I therefore lean toward maintaining my borderline-reject score.

Reviewer_ujGNOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
4
Read review
Summary

This paper introduces a new tool for early detection of behavioral changes when training neural networks. From a collection of probing sequences, the proposed technique reveals which types of sequences are most affected by changes in representation during the training process. The construction—the 2-datapoint reduced density matrix (2RDM), and the spectral objects derived from it, including the top eigenvectors and the spectral heat capacity—should have broad applicability, because of (i) the flexibility of choosing the probing sequences, (ii) the ease of computation, and (iii) the visibility it provides into training dynamics. A major strength of the method is that "The method requires only forward passes on a small probe set making it applicable in settings where existing methods are computationally prohibitive."

Strengths and weaknesses

Significance: This paper introduces a nice new tool for early detection of behavioral changes when training neural networks. It should have broad applicability, since it is a quite general and low-compute method that allows better visibility and steering (of both capabilities and concerning behaviors) during the training process. I therefore judge the contribution to have high significance.

Originality: In hindsight this method feels somewhat obvious, so it is tempting to not give it very high originality but, as far as I can tell, this approach is novel. Some of the best innovations are indeed obvious in hindsight.

Quality: The presentation of the paper is overall good, but occasionally comes across sloppy because finishing touches like font-sizes on figures and some typos could have been (and should be) easily fixed. The quality of presentation is good, but I hope the authors will make improvements so the presentation is high quality on all fronts.

Clarity: The mathematics appear sound, but the authors should work on better verbal descriptions to accompany the presentation of the mathematical framework. This would bring greater clarity to a broader audience.

It is neat that the two main spikes in SHC during the induction-head task correspond to the two phases of structural formation known for induction heads.

The 2RDM seems like a nice new tool that can give us new insights and early warnings of behavioral changes during training. One challenge with this approach seems to be the design of relevant probes. How should we know what to look for? In general this seems like a difficult question. This is aptly acknowledged in the Limitations section. In any case, the method seems like a great addition to the interpretability toolkit.

More detailed actionable comments and questions follow in the Questions section, which I expect can lead to a better paper.

Questions

In Def. 2.1, the parameter trajectory of a stochastic optimizer is viewed as a discrete-time Markov process on parameter space, with AdamW given as an example. However, optimizers like AdamW have both momentum terms and exponentially weighted moving averages that make the parameter dynamics non-Markovian, right? What role does Markovianity actually play here? Is it a necessary assumption?

Around Eq. (2): ℓ\ell, crucial to the definition of the 2RDM, never appears to be defined in the main text. Supposedly it is the loss on the input-output pair at a particular parameter value?

Just after Eq. (2), it would probably be worth describing in words what the 2RDM encapsulates. Something like "The (i,j)th(i,j)^\text{th} element of the 2RDM gives the training-time-window-averaged product of loss deviations between the ithi^\text{th} input-output pair and the jthj^\text{th} input-output pair from a fixed test set."

Line 130: This seems like a contradiction, that the control sequences are "drawn uniformly from the vocabulary", and that they benefit from n-gram fitting. Maybe I'm misunderstanding what the "vocabulary" means here? Is this the token alphabet?

Font in many of the figures is too small.

Minor comments/suggestions/typos:

Line 74: The sentence seems to be incomplete.

Line 152, typo: Change “is” to “are”

It is unclear what the vertical pink stripes mean in Fig. 7.

Line 190: "means we can either use an instantaneous measurement version of the 2RDM." Or? Maybe either should be swapped with instead here.

Figure 9 caption: “Section ??”

Limitations

yes

Paper formatting concerns

none

Final justification

The early-detection tool proposed and analyzed in this paper seems like a worthy contribution to the field. It has straightforward merits and is easy to implement, complementing other techniques. The authors addressed all of my questions sufficiently, and the responses to the other reviewers also seem reasonable. I'm happy to endorse the paper's acceptance.

Reviewer_X85tOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This article proposed the 2-datapoint reduced density matrix(2RDM), defined as a covariance matrix of per-sample losses over a sliding window of training steps, as a tool for detecting and interpreting phase-transition-like events during neural network training. The main diagnostics are spectral heat capacity, which measures concentration in the eigenvalue spectrum, and participation ratio, which estimates how many dominant modes participate in a reorganization event. The article further argues that the leading eigenvectors of this matrix provide sample-level interpretability.

Strengths and weaknesses

To understand when and how internal model capabilities or behavioral shifts emerge during training is an important topic for deep learning, interpretability, and AI safety. The manuscript targets a real problem: many existing analyses focus on specific phenomena, while general online diagnostics can be computationally expensive or difficult to apply during training. This proposed matrix is simple: it only requires evaluating per-sample losses on a fixed probe set across training steps. This makes the method potentially lightweight compared with methods that require storing gradients, Hessians, or many parameter samples. The use of spectral heat capacity and participation ratio gives the method an intuitive spectral interpretation.

The proposed object is essentially a covariance matrix of per-sample losses. The manuscript acknowledges close relationships to POLCA and the loss kernel, but the distinction between the proposed framework and these prior methods needs to be sharpened. The strongest novelty appears to be the combination of an online loss-covariance view, spectral diagnostics, and eigenvector-based interpretation, rather than the matrix object alone. The manuscript should make this positioning more precise. The problem in the article is important, but the framing is stronger than the evidence.The method is evaluated on several settings, but most are controlled or well-studied toy/diagnostic tasks. The emergent misalignment experiment is more realistic, yet still limited to one model family, one LoRA fine-tuning setup, and a relatively small behavioral shift. More diverse architectures, scales, datasets, and training regimes would be needed to support broad generality. The manuscript provides many hyperparameters and compute details, which is positive. However, the checklist states that code is not openly available yet and may be released later. For a diagnostic method whose value depends heavily on implementation details such as probe selection, window size, sampling frequency, and normalization, code availability is important.

Questions

How sensitive are SHC and participation ratio to the choice of probe set? Can the authors quantify failure cases where a transition occurs but the probe set misses it? Can the authors provide a principled strategy for constructing probe sets, especially for open-ended LLM behavior where the relevant future transition is unknown?

Limitations

The manuscript has several important limitations. First, the method depends critically on probe set design; if the relevant behavior is not represented in the probe set, the method cannot detect it

Paper formatting concerns

no

Comments on the paper

1 comment
Meta-review

The reviewers generally view 2RDM as a simple and potentially useful diagnostic for detecting and interpreting changes during neural-network training. The main concern is that its effectiveness depends critically on probe design, while the paper provides limited guidance for constructing probes or detecting unknown behaviors. Reviewers also request sharper positioning relative to existing loss-covariance methods and stronger comparisons against simpler diagnostics such as gradient norms or effective-rank measures, as well as quantitative and theoretical insights in toy settings. The empirical evaluation spans several illustrative settings but remains largely synthetic, with limited evidence across realistic architectures, scales, and training phenomena. These concerns were partially addressed in the rebuttal period. The meta-reviewer encourages the authors to address the outstanding concerns from reviewer RuR6 in the revision.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.