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

*Max Hennick, Guillaume Corlouer*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150936) · [Open on the map](../papers.html#p150936)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Neural Representation and Compression Theory](../pgroup/141.md) · Type: new method · Keywords: phase transitions, spectral heat capacity, participation ratio, reduced density matrix, deep learning dynamics, early warning signals

Areas: [Interpretability](../areas/interpretability.md) › Neural Representation Analysis › Spectral Learning Analysis

## Summary
The paper introduces the 2-datapoint reduced density matrix (2RDM) as a computationally efficient tool to detect and interpret phase transitions during deep learning training via spectral heat capacity and participation ratio.

## Explained to a 5-year-old
We look at how computers learn new tricks while they are being trained. We use a special way to watch for big changes, like when a child suddenly learns to ride a bike. This helps us see when the computer is learning something new and understand what it is learning. It works for many kinds of computer models. This makes it easier to study how computers get smarter.

## Explained to a 5-year-old, longer
When we teach a computer something, it goes through many steps called training. Sometimes the computer suddenly gets a new ability, like solving a puzzle it couldn't before. We want to know when these big jumps happen and why they happen. To do this, we look at a special kind of picture that shows how the computer is changing. This picture is made from just two examples the computer has seen. From this picture we can measure two things: one tells us if a big change is coming soon, and the other tells us how many parts of the computer are involved. The first measurement is like watching the temperature of a reaction in a lab, giving us an early warning. The second measurement shows if the computer is using a lot of its parts or just a few. The most important parts of this picture are easy to look at, so we can understand what the computer is learning. We test this idea on four different kinds of computer models: simple linear networks, models that start focusing on one thing, models that suddenly solve hard problems, and models that start acting in unexpected ways. This helps researchers study how computers become smarter and catch problems early. It also gives a simple tool that can be used for many future studies of computer learning.

## For a technical reader
The paper introduces a way to monitor deep learning models as they train by building a reduced density matrix from just two training examples. This matrix yields two useful signals: a spectral heat capacity that warns of upcoming learning events and a participation ratio that shows how many model parameters are changing. The leading eigenvectors of this matrix are interpretable, making it easy to see what kind of knowledge is emerging. The authors evaluate the approach on four diverse scenarios, including linear networks and emergent behaviors like grokking. This provides engineers with a lightweight tool to detect and understand model phase transitions without extensive post-hoc analysis.

## Problem
Predicting and understanding when and how deep learning models acquire new capabilities during training is challenging. Existing methods lack a unified, computationally efficient way to detect and interpret these learning events.

## Method
The approach constructs a reduced density matrix from two training examples to derive unified observables. It uses the spectral heat capacity to provide early warnings of learning events and the participation ratio to quantify the dimensionality of reorganization, with interpretable top eigenvectors.

## Contributions
The paper provides a unified, computationally efficient framework for detecting and interpreting phase transitions during training, introducing early-warning signals and interpretable eigenvectors. It demonstrates the approach on four diverse deep learning settings, highlighting its broad applicability.

## Research questions this paper is counted under

- [How do neural networks develop internal representations that capture computation and generalization during training?](../q/59.md)

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](../feedback/?on=p/150936)
