Tracking Representation Dynamics in Large Language Models with Persistent Homology
Not on the map. Why?
Abstract (arXiv)
Large language models are commonly aligned through supervised fine-tuning, yet little is known about how their internal representations evolve during this process. We study alignment dynamics using persistent homology by tracking the topology of activation spaces throughout fine-tuning. Across four transformer language models ranging from 1B to 7B parameters and three alignment objectives corresponding to helpful, harmless, and mixed training data, we find that the majority of topological reorganization occurs during the earliest stages of training. A dense checkpoint analysis reveals a transient peak in topological activity followed by rapid stabilization. We further show that different alignment objectives induce distinguishable topological trajectories, while instruction-tuned and pretrained models exhibit qualitatively different patterns of evolution. Our results suggest that persistent homology provides a complementary perspective on alignment, revealing representation-level changes that are not apparent from behavioral metrics alone.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 18 references that are in the map. First posted on arXiv 17 Jun 2026.
Builds on
14 of 18 references.
References · 14
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2023LIMA: Less Is More for Alignmentcited by 1,100
- 2024Refusal in Language Models Is Mediated by a Single Directioncited by 1,032
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 839
- 2024TinyLlama: An Open-Source Small Language Modelcited by 618
- 2022Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limitcited by 187
- 2024A Mechanistic Understanding of Alignment Algorithms: A Case Study on DPO and Toxicitycited by 185
- 2019Ripser: efficient computation of Vietoris-Rips persistence barcodescited by 117
- 2023Mechanistically analyzing the effects of fine-tuning on procedurally defined taskscited by 115
- 2020Topology of deep neural networkscited by 112
Built on by
Citing papers per year: 2026: 1.
1 paper.