Topological Dynamics Under Non-Stationary Supervision: Persistent Homology of Neural Network Weight Evolution

Mitra VarunarXiv 2026

TL;DR

This paper uses Topological Data Analysis (TDA) to track how neural network weights evolve when learning real patterns versus memorizing noise. While "correct" learning creates distinct topological signatures (like more high-dimensional "loops" in the weight space), these features surprisingly fail to provide better predictive power than standard metrics like loss and gradient norms.

What Problem Does This Paper Address?

We know neural networks can learn to generalize from real data, but they are also infamous for being able to "memorize" completely random labels. Standard metrics like training loss often look similar in both cases, making it hard to tell if a model is building a meaningful internal representation or just brute-forcing a lookup table.

The authors investigate whether Persistent Homology—a tool from topology that measures the "shape" of data—can distinguish between these regimes. Specifically, they look at how the "point cloud" of a layer's weights changes under three conditions:

  1. Correct Labels: Learning the actual task (Fashion-MNIST).
  2. Fixed Random Labels: Memorizing a stable but meaningless mapping.
  3. Changing Random Labels: A "non-stationary" task where labels are reshuffled every epoch, making learning impossible.

Methods

The researchers trained a standard Multilayer Perceptron (MLP) and treated the incoming weights of each neuron in a hidden layer as a point in a high-dimensional space. They then applied Persistent Homology to these point clouds at 22 different checkpoints during training.

Key techniques included:

  • Vietoris-Rips Filtration: A method to build a sequence of geometric shapes (simplicial complexes) by connecting points that are close together.
  • H0 and H1 Persistence: They measured "connected components" (H0) and "loops/holes" (H1) in the weight space.
  • Persistence Landscapes: A way to turn complex topological diagrams into vectors that can be fed into standard machine learning classifiers.
  • Baseline Comparison: They didn't just look at topology; they compared it against a baseline of "conventional diagnostics" like loss, gradient norms, and weight magnitudes.
Experimental design showing the three supervision conditions and the TDA pipeline.

Datasets

The study uses Fashion-MNIST, a standard benchmark of 70,000 grayscale images of clothing. The core of the experiment is the manipulation of the labels:

  • Correct: Standard Fashion-MNIST labels.
  • Fixed Random: Labels are randomly permuted once and held constant (testing memorization).
  • Changing Random: Labels are permuted at the start of every epoch (testing non-stationary noise).

Key Insights and Ideas

  • The "Loopiness" of Learning: Models learning correct labels showed descriptively higher H1 persistence (more "loops" in the weight cloud) in middle layers like fc3. This suggests that learning real semantics forces neurons to organize into more complex, non-linear structures than simple memorization does.
  • Normalization is Crucial: The authors found that raw weight magnitudes can drown out topological structure. Row-normalizing the weights (focusing on the direction of the weight vectors rather than their length) was necessary to see the topological differences clearly.
  • Descriptive vs. Predictive: This is the paper's "aha moment." Even though the topological trajectories look different in a plot, they didn't actually help a classifier identify the training condition any better than simple metrics like "how fast is the loss dropping?"

Key Results

  • Training Performance: Correct-label models hit ~89.4% test accuracy. Fixed-random models managed to fit ~68% of their targets (partial memorization), while changing-random models stayed at chance (~10%).
  • The Predictive Gap: When trying to classify which training condition a model belonged to based on early training data (epochs 1-5):
  • Topology alone: 60.0% accuracy.
  • Conventional diagnostics (Loss/Gradients): 66.7% accuracy.
  • Combined: 60.0% accuracy.
  • Statistical Sobriety: While the correct-label models had higher H1 persistence, the results did not reach conventional statistical significance after rigorous corrections (Holm correction).
Fig. 2. Training behavior across five seeds. Lines are condition means; bands are ±1 sample SD across seeds, not confidence intervals. Correct-label models fit and generalize; fixed-random models progressively fit their assigned targets while remaining near chance on the original task; changing-random models remain near chance under the recorded configuration. Online loss and end-of-epoch accuracy have different measurement conventions.

Limitations and Future Work

The authors are refreshingly honest about the scope:

  • Sample Size: The study used only 5 random seeds, which limits statistical power.
  • Architecture: It only looked at a single MLP architecture. Whether these findings hold for Convolutional Neural Networks (CNNs) or Transformers remains an open question.
  • The "Negative" Result: The failure of topology to provide incremental predictive value is a significant finding. It suggests that while TDA provides beautiful visualizations, researchers must be careful not to assume those visuals translate into useful, unique information for model monitoring.

Future work could involve testing these topological features on more complex architectures or more subtle "distribution shifts" rather than the extreme case of random labels.

Summary updated

Abstract

We investigate how the persistent topology of neuron- weight point clouds evolves under stable and non-stationary supervision. An identical multilayer perceptron is trained on Fashion-MNIST with correct labels, a fixed random permutation of the training-label vector, or a fresh permutation every epoch. Five paired seeds share initialisation and minibatch order, yielding 15 models trained for 100 epochs. Raw and row-normalised incoming weight clouds are analysed with H0 and H1 Vietoris Rips persistence at 22 checkpoints. Correct-label models reach 89.39% mean true-label test accuracy; fixed-random models fit 67.94% of their assigned training targets without generalising to the original task. Correct-label models have descriptively greater time-averaged normalised fc3 H1 persistence than either random-label condition, but the configured exact comparisons do not reach conventional significance after Holm correction. Early condition classification achieves 60.0% mean balanced accuracy using topology, 66.7% using conventional diagnostics, and 60.0% using both. Thus, no incremental predictive improvement is demonstrated in this setting. The archive contains all 3,300 configured topology cases. Interpretation is limited by five seeds, a single architecture and dataset, 282 capped H1 distance comparisons, and deferred bottleneck analysis.
BibTeX
@misc{varun2026topological,
  author = {Mitra Varun},
  title = {{Topological Dynamics Under Non-Stationary Supervision: Persistent Homology of Neural Network Weight Evolution}},
  year = {2026},
  eprint = {2611.13701},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.13701},
}
Figure