CAST: Compositional Analysis via Spectral Tracking for Understanding Transformer Layer Functions
Not on the map. Why?
Abstract (arXiv)
Large language models have achieved remarkable success but remain largely black boxes with poorly understood internal mechanisms. To address this limitation, many researchers have proposed various interpretability methods including mechanistic analysis, probing classifiers, and activation visualization, each providing valuable insights from different perspectives. Building upon this rich landscape of complementary approaches, we introduce CAST (Compositional Analysis via Spectral Tracking), a probe-free framework that contributes a novel perspective by analyzing transformer layer functions through direct transformation matrix estimation and comprehensive spectral analysis. CAST offers complementary insights to existing methods by estimating the realized transformation matrices for each layer using Moore-Penrose pseudoinverse and applying spectral analysis with six interpretable metrics characterizing layer behavior. Our analysis reveals distinct behaviors between encoder-only and decoder-only models, with decoder models exhibiting compression-expansion cycles while encoder models maintain consistent high-rank processing. Kernel analysis further demonstrates functional relationship patterns between layers, with CKA similarity matrices clearly partitioning layers into three phases: feature extraction, compression, and specialization.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 27 of its 48 references that are in the map. First posted on arXiv 16 Oct 2025.
Builds on
27 of 48 references.
References · 27
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019Similarity of Neural Network Representations Revisitedcited by 1,755
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 876
- 2020A Primer in BERTology: What we know about how BERT workscited by 815
- 2015Deep Learning and the Information Bottleneck Principlecited by 802
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 724
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
15 more
- 2017Opening the Black Box of Deep Neural Networks via Informationcited by 503
- 2014Exploiting Linear Structure Within Convolutional Networks for Efficient Evaluationcited by 306
- 2019Revealing the Dark Secrets of BERTcited by 301
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2019Intrinsic dimension of data representations in deep neural networkscited by 282
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 235
- 2020Probing the Probing Paradigm: Does Probing Accuracy Entail Task Relevance?cited by 151
- 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
- 2023The Shape of Learning: Anisotropy and Intrinsic Dimensions in Transformer-Based Modelscited by 39
- 2021DirectProbe: Studying Representations without Classifierscited by 25
- 2025AdaSVD: Adaptive Singular Value Decomposition for Large Language Modelscited by 15
- 2021Joint Matrix Decomposition for Deep Convolutional Neural Networks Compressioncited by 10
- 2022Exact Spectral Norm Regularization for Neural Networkscited by 5
Built on by
Citing papers per year: 2026: 2.
2 papers.