arXiv Machine Learning

Tracking Representation Dynamics in Large Language Models with Persistent Homology

arXiv:2606. 19542v1 Announce Type: new Abstract: Large language models are commonly aligned through supervised fine-tuning, yet little is known about how their internal representations evolve during this process.

arXiv Machine Learning
Sep 2

Topological Steering

Topological Steering is a new framework that steers large language model (LLM) behavior by leveraging topological representations of activation spaces, specifically using persistence diagrams from Topological Data Analysis (TDA). Unlike traditional methods that intervene directly in activation or feature space, this approach captures global structure, making it more robust to outliers, distributional shifts, noise, and local perturbations. Experiments demonstrate that Topological Steering consistently modifies LLM behavior across multiple model families and sizes.

By Beno\^it Gu\'erand, Tan Minh Nguyen
arXiv AI
Oct 19

A Topological Signature of Learning under Noisy Labels

The paper investigates how noisy labels affect the geometry of neural network representations by applying persistent homology to neural activations. Experiments on CIFAR‑10/ResNet‑18 show that, while clean and corrupted label subsets appear similar at early training, corrupted subsets develop higher persistence later, indicating a measurable geometric signature of noise. The study also compares persistence with other metrics, finding that activation norm can better predict in‑sample performance, and demonstrates that these topological insights persist even when predictions largely match noisy labels.

By Zhongtian Sun, Fan Mo, Prayag Tiwari, Kelin Xia
arXiv AI
Jun 4

A Unified Geometric Space for Topological Alignment Between Transformer-Based Models and Human Brain Networks

arXiv:2510. 24342v2 Announce Type: replace Abstract: Prior brain-AI alignment studies are typically constrained by specific inputs and tasks, limiting their ability to capture organizational properties across models with different modalities.

By Silin Chen, Yuzhong Chen, Caiwei Wang, Zifan Wang, Junhao Wang, Zifeng Jia, Keith M Kendrick, Tuo Zhang, Lin Zhao, Dezhong Yao, Tianming Liu, Xi Jiang
arXiv AI
Nov 11

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

The study examines how the persistent topology of neural network weight point clouds changes under stable versus non‑stationary supervision. An identical multilayer perceptron was trained on Fashion‑MNIST with correct labels, a fixed random permutation of labels, or a new permutation each epoch, producing 15 models over 100 epochs. Persistent homology (H0 and H1 Vietoris‑Rips) was computed on raw and row‑normalised incoming weight clouds at 22 checkpoints, revealing that correct‑label models achieved higher test accuracy and greater time‑averaged H1 persistence, though statistical significance was not reached after Holm correction. Early condition classification using topology alone yielded 60 % balanced accuracy, slightly lower than conventional diagnostics (66.7 %).

By Mitra Varun
arXiv AI
Jun 24

Topological Neural Dynamics: A Neuron-wise Framework for Sequence Modeling

arXiv:2606. 21295v2 Announce Type: replace-cross Abstract: Existing sequence models, including RNNs, LSTMs, continuous-time networks, and Transformers, share a common structural principle: layer-wise dynamics, where all neurons in the same layer co-evolve through a shared parameterized operator, leaving individual neurons no freedom to evolve independently.

By Borui Cai, Yao Zhao
arXiv Computation and Language
Aug 24

Do Large Language Models Play Six Degrees of Separation? Measuring Topological Compression in Long-Context Manifolds

The paper shows that large language models (LLMs) naturally organize their hidden state manifolds into small‑world networks, enabling efficient multi‑hop reasoning. By converting similarity matrices into unweighted graphs, the authors trace connectivity between distant semantic anchors and find a sharp topological phase transition: deep reasoning layers compress conceptual distances into paths bounded by six semantic hops, while early syntactic layers remain fragmented. The framework is applied to zero‑shot hallucination detection in Retrieval‑Augmented Generation, revealing that factual generations preserve a ~3‑hop structure, whereas hallucinations collapse the topology.

By Md. Faiyaz Abdullah Sayeedi