Tracing Representation Progression: Analyzing and Enhancing Layer-Wise Similarity
Not on the map. Why?
Abstract (arXiv)
Analyzing the similarity of internal representations has been an important technique for understanding the behavior of deep neural networks. Most existing methods for analyzing the similarity between representations of high dimensions, such as those based on Centered Kernel Alignment (CKA), rely on statistical properties of the representations for a set of data points. In this paper, we focus on transformer models and study the similarity of representations between the hidden layers of individual transformers. In this context, we show that a simple sample-wise cosine similarity metric is capable of capturing the similarity and aligns with the complicated CKA. Our experimental results on common transformers reveal that representations across layers are positively correlated, with similarity increasing when layers get closer. We provide a theoretical justification for this phenomenon under the geodesic curve assumption for the learned transformer. We then show that an increase in representation similarity implies an increase in predicted probability when directly applying the last-layer classifier to any hidden layer representation. We then propose an aligned training method to improve the effectiveness of shallow layer by enhancing the similarity between internal representations, with trained models that enjoy the following properties: (1) more early saturation events, (2) layer-wise accuracies monotonically increase and reveal the minimal depth needed for the given task, (3) when served as multi-exit models, they achieve on-par performance with standard multi-exit architectures which consist of additional classifiers designed for early exiting in shallow layers. To our knowledge, our work is the first to show that one common classifier is sufficient for multi-exit models. We conduct experiments on both vision and NLP tasks to demonstrate the performance of the proposed aligned training.
Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). Builds on 53 of its 67 references that are in the map. First posted on arXiv 20 Jun 2024.
Builds on
53 of 67 references.
References · 53
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2016Pointer Sentinel Mixture Modelscited by 2,992
38 more
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023A Survey of Large Language Modelscited by 2,537
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2019Similarity of Neural Network Representations Revisitedcited by 1,695
- 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,287
- 2020Prevalence of Neural Collapse during the terminal phase of deep learning trainingcited by 713
- 2021Vector-quantized Image Modeling with Improved VQGANcited by 656
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 579
- 2022Mind the Gap: Understanding the Modality Gap in Multi-modal Contrastive Representation Learningcited by 553
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 522
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 369
- 2017Stable Architectures for Deep Neural Networkscited by 340
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2018Insights on representational similarity in neural networks with canonical correlationcited by 318
- 2022Confident Adaptive Language Modelingcited by 297
- 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 241
- 2021A Geometric Analysis of Neural Collapse with Unconstrained Featurescited by 226
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2016Diachronic Word Embeddings Reveal Statistical Laws of Semantic Changecited by 219
- 2024The Unreasonable Ineffectiveness of the Deeper Layerscited by 219
- 2021Does Knowledge Distillation Really Work?cited by 187
- 2021Exploring Deep Neural Networks via Layer-Peeled Model: Minority Collapse in Imbalanced Trainingcited by 166
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2019BERTs of a feather do not generalize together: Large variability in generalization across models with similar test set performancecited by 89
- 2022Reliability of CKA as a Similarity Measure in Deep Learningcited by 82
- 2022Imbalance Trouble: Revisiting Neural-Collapse Geometrycited by 80
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 79
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 71
- 2022Agree to Disagree: Diversity through Disagreement for Better Transferabilitycited by 69
- 2019Investigating Multilingual NMT Representations at Scalecited by 68
- 2022Contrastive Search Is What You Need For Neural Text Generationcited by 58
- 2022A Law of Data Separation in Deep Learningcited by 36
- 2022Perturbation Analysis of Neural Collapsecited by 34
- 2023Understanding Deep Representation Learning via Layerwise Feature Compression and Discriminationcited by 31
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skippingcited by 23
- 2022Beyond Supervised vs. Unsupervised: Representative Benchmarking and Analysis of Image Representation Learningcited by 20
- 2021RomeBERT: Robust Training of Multi-Exit BERTcited by 19
- 2022On the Implicit Bias Towards Minimal Depth of Deep Neural Networkscited by 12
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2024: 1; 2025: 12; 2026: 23.
36 papers.
Sort:
By area:
- 2026Not All Directions Matter: Towards Structured and Task-Aware Low-Rank Model Adaptationcited by 11
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Surveycited by 10
- 2025Understanding the Modality Gap: An Empirical Study on the Speech-Text Alignment Mechanism of Large Speech Language Modelscited by 10
- 2026Back into Plato's Cave: Examining Cross-modal Representational Convergence at Scalecited by 10
- 2024Collective Model Intelligence Requires Compatible Specializationcited by 7
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structurecited by 7
- 2025From Compression to Expression: A Layerwise Analysis of In-Context Learningcited by 5
- 2025Emergent Extreme-View Geometry in 3D Foundation Modelscited by 5
- 2025MorphServe: Efficient and Workload-Aware LLM Serving via Runtime Quantized Layer Swapping and KV Cache Resizingcited by 4
- 2025Auto-Compressing Networkscited by 4
- 2026Suppressing Final Layer Hidden State Jumps in Transformer Pretrainingcited by 3
- 2026Layer-wise LoRA fine-tuning: a similarity metric approachcited by 3
24 more
- 2026What Survives When You Compress a Recursive Reasoner for the Edge?cited by 3
- 2025Self-Aware Safety Augmentation: Leveraging Internal Semantic Understanding to Enhance Safety in Vision-Language Modelscited by 2
- 2025Cross-Model Semantics in Representation Learningcited by 2
- 2026A Comparative analysis of Layer-wise Representational Capacity in AR and Diffusion LLMscited by 2
- 2026Rethinking Cross-Layer Information Routing in Diffusion Transformerscited by 2
- 2026LLM Layers Immediately Correct Each Othercited by 2
- 2025AdaPerceiver: Transformers with Adaptive Width, Depth, and Tokenscited by 1
- 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Modelscited by 1
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Modelscited by 1
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expandingcited by 1
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMscited by 1
- 2025Addressing the Collaboration Dilemma in Low-Data Federated Learning via Transient Sparsitycited by 0
- 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformerscited by 0
- 2026The Illusion of Latent Generalization: Bi-directionality and the Reversal Cursecited by 0
- 2026SR2-LoRA: Self-Rectifying Inter-layer Relations in Low-Rank Adaptation for Class-Incremental Learningcited by 0
- 2026MADS: Model-Aware Diverse Core Set Selection for Instruction Tuningcited by 0
- 2026Fast Speech Foundation Model Distillation Using Interleaved Stackingcited by 0
- 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networkscited by 0
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetrycited by 0
- 2026Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimizationcited by 0
- 2026Not All Tokens Are Equal: Region-Aware Consistency Repair of Backdoors in MLLMscited by 0
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformerscited by 0
- 2026ACE: Adapter Consolidation across Experts for Parameter-Efficient Fine-Tuning of MoE LLMscited by 0
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learningcited by 0
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learning28 Sep 2026
- 2026LLM Layers Immediately Correct Each Other7 Sep 2026
- 2026ACE: Adapter Consolidation across Experts for Parameter-Efficient Fine-Tuning of MoE LLMs5 Sep 2026
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformers2 Sep 2026
- 2026Not All Tokens Are Equal: Region-Aware Consistency Repair of Backdoors in MLLMs25 Aug 2026
- 2026Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimization29 Jun 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026What Survives When You Compress a Recursive Reasoner for the Edge?25 Jun 2026
- 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networks15 Jun 2026
- 2026Fast Speech Foundation Model Distillation Using Interleaved Stacking10 Jun 2026
- 2026MADS: Model-Aware Diverse Core Set Selection for Instruction Tuning29 May 2026
- 2026Rethinking Cross-Layer Information Routing in Diffusion Transformers20 May 2026
24 more
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMs12 May 2026
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2026SR2-LoRA: Self-Rectifying Inter-layer Relations in Low-Rank Adaptation for Class-Incremental Learning8 May 2026
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models27 Apr 2026
- 2026Back into Plato's Cave: Examining Cross-modal Representational Convergence at Scale20 Apr 2026
- 2026Not All Directions Matter: Towards Structured and Task-Aware Low-Rank Model Adaptation15 Mar 2026
- 2026The Illusion of Latent Generalization: Bi-directionality and the Reversal Curse13 Mar 2026
- 2026A Comparative analysis of Layer-wise Representational Capacity in AR and Diffusion LLMs8 Mar 2026
- 2026Layer-wise LoRA fine-tuning: a similarity metric approach5 Feb 2026
- 2026Suppressing Final Layer Hidden State Jumps in Transformer Pretraining26 Jan 2026
- 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Models7 Jan 2026
- 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformers30 Dec 2025
- 2025Emergent Extreme-View Geometry in 3D Foundation Models27 Nov 2025
- 2025AdaPerceiver: Transformers with Adaptive Width, Depth, and Tokens22 Nov 2025
- 2025Understanding the Modality Gap: An Empirical Study on the Speech-Text Alignment Mechanism of Large Speech Language Models14 Oct 2025
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Survey5 Oct 2025
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structure23 Sep 2025
- 2025Cross-Model Semantics in Representation Learning5 Aug 2025
- 2025Self-Aware Safety Augmentation: Leveraging Internal Semantic Understanding to Enhance Safety in Vision-Language Models29 Jul 2025
- 2025Auto-Compressing Networks11 Jun 2025
- 2025Addressing the Collaboration Dilemma in Low-Data Federated Learning via Transient Sparsity1 Jun 2025
- 2025MorphServe: Efficient and Workload-Aware LLM Serving via Runtime Quantized Layer Swapping and KV Cache Resizing24 May 2025
- 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning22 May 2025
- 2024Collective Model Intelligence Requires Compatible Specialization4 Nov 2024
- 2026A Comparative analysis of Layer-wise Representational Capacity in AR and Diffusion LLMscited by 2
- 2026Rethinking Cross-Layer Information Routing in Diffusion Transformerscited by 2
- 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformerscited by 0
- 2026Rethinking Cross-Layer Information Routing in Diffusion Transformers20 May 2026
- 2026A Comparative analysis of Layer-wise Representational Capacity in AR and Diffusion LLMs8 Mar 2026
- 2025CorGi: Contribution-Guided Block-Wise Interval Caching for Training-Free Acceleration of Diffusion Transformers30 Dec 2025
- 2026Not All Directions Matter: Towards Structured and Task-Aware Low-Rank Model Adaptationcited by 11
- 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Surveycited by 10
- 2025Understanding the Modality Gap: An Empirical Study on the Speech-Text Alignment Mechanism of Large Speech Language Modelscited by 10
- 2026Back into Plato's Cave: Examining Cross-modal Representational Convergence at Scalecited by 10
- 2024Collective Model Intelligence Requires Compatible Specializationcited by 7
- 2025CR-Net: Scaling Parameter-Efficient Training with Cross-Layer Low-Rank Structurecited by 7
- 2025Emergent Extreme-View Geometry in 3D Foundation Modelscited by 5
- 2025Auto-Compressing Networkscited by 4
- 2026Suppressing Final Layer Hidden State Jumps in Transformer Pretrainingcited by 3
- 2026Layer-wise LoRA fine-tuning: a similarity metric approachcited by 3
- 2025Cross-Model Semantics in Representation Learningcited by 2
- 2026LLM Layers Immediately Correct Each Othercited by 2
12 most cited of 25 All 25 (JSON)
- 2026SOLO: Pretraining Billion-Parameter Language Models with Shared-Output Local Learning28 Sep 2026
- 2026LLM Layers Immediately Correct Each Other7 Sep 2026
- 2026ProgResViT: Progressive Resolution and Width for Adaptive Vision Transformers2 Sep 2026
- 2026Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimization29 Jun 2026
- 2026CascadeFormer: Depth-Tapered Transformers Motivated by Gradient Fan-in Asymmetry25 Jun 2026
- 2026Scaling Adaptive Depth with Norm-Agnostic Residual Networks15 Jun 2026
- 2026Fast Speech Foundation Model Distillation Using Interleaved Stacking10 Jun 2026
- 2026MADS: Model-Aware Diverse Core Set Selection for Instruction Tuning29 May 2026
- 2026Layer-wise Representation Dynamics: An Empirical Investigation Across Embedders and Base LLMs12 May 2026
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2026SR2-LoRA: Self-Rectifying Inter-layer Relations in Low-Rank Adaptation for Class-Incremental Learning8 May 2026
- 2026Back into Plato's Cave: Examining Cross-modal Representational Convergence at Scale20 Apr 2026
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026The Triangle of Similarity: A Multi-Faceted Framework for Comparing Neural Network Representations
- 2026What Visual Generators Need from Teachers: Rethinking Representation Alignment
- 2026From Layers to Networks: Comparing Neural Representations via Diffusion Geometry
- 2026Geometry-aware similarity metrics for neural representations on Riemannian and statistical manifolds
- 2025Representational Alignment Across Model Layers and Brain Regions with Multi-Level Optimal Transport
- 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think
- 2026Representation Alignment for Just Image Transformers is not Easier than You Think
- 2026Geometric Similarity in VLM Low-Level Vision Representations