mlsanityData to 7 Oct 2026

Fine-Tuned Transformers Show Clusters of Similar Representations Across Layers

arXiv 2109.08406 ↗First posted 17 Sep 2021cs.CLcited by 29

Not on the map. Why?

Abstract (arXiv)

Despite the success of fine-tuning pretrained language encoders like BERT for downstream natural language understanding (NLU) tasks, it is still poorly understood how neural networks change after fine-tuning. In this work, we use centered kernel alignment (CKA), a method for comparing learned representations, to measure the similarity of representations in task-tuned models across layers. In experiments across twelve NLU tasks, we discover a consistent block diagonal structure in the similarity of representations within fine-tuned RoBERTa and ALBERT models, with strong similarity within clusters of earlier and later layers, but not between them. The similarity of later layer representations implies that later layers only marginally contribute to task performance, and we verify in experiments that the top few layers of fine-tuned Transformers can be discarded without hurting performance, even with no further tuning.

Key facts. Cited by 29 papers in the map (data through 7 Oct 2026). Builds on 29 of its 38 references that are in the map. First posted on arXiv 17 Sep 2021.

Builds on

29 of 38 references.

References · 29

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  6. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  7. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  9. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  10. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  11. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
  12. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,140
17 more
  1. 2019Similarity of Neural Network Representations Revisitedcited by 1,695
  2. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  3. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  4. 2018Neural Network Acceptability Judgmentscited by 952
  5. 2020A Primer in BERTology: What we know about how BERT workscited by 807
  6. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 436
  7. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 382
  8. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  9. 2019Revealing the Dark Secrets of BERTcited by 300
  10. 2019Cosmos QA: Machine Reading Comprehension with Contextual Commonsense Reasoningcited by 281
  11. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  12. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  13. 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
  14. 2020Similarity Analysis of Contextual Word Representation Modelscited by 54
  15. 2020jiant: A Software Toolkit for Research on General-Purpose Text Understanding Modelscited by 39
  16. 2016Residual Networks Behave Like Ensembles of Relatively Shallow Networkscited by 8
  17. 2020Undivided Attention: Are Intermediate Layers Necessary for BERT?cited by 6

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 4; 2023: 5; 2024: 8; 2025: 5; 2026: 7.

29 papers.

Sort:

By area:

  1. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
  2. 2022Unified Visual Transformer Compressioncited by 79
  3. 2025Overcoming Sparsity Artifacts in Crosscoders to Interpret Chat-Tuningcited by 31
  4. 2024Exploring Representations and Interventions in Time Series Foundation Modelscited by 19
  5. 2022Hidden State Variability of Pretrained Language Models Can Guide Computation Reduction for Transfer Learningcited by 13
  6. 2024Group-SAE: Efficient Training of Sparse Autoencoders for Large Language Models via Layer Groupscited by 10
  7. 2025Representation Potentials of Foundation Models for Multimodal Alignment: A Surveycited by 10
  8. 2022G-MAP: General Memory-Augmented Pre-trained Language Model for Domain Taskscited by 9
  9. 2025Learning to Interpret Weight Differences in Language Modelscited by 9
  10. 2024Tending Towards Stability: Convergence Challenges in Small Language Modelscited by 7
  11. 2024Collective Model Intelligence Requires Compatible Specializationcited by 7
  12. 2023CRaSh: Clustering, Removing, and Sharing Enhance Fine-tuning without Full Large Language Modelcited by 5
17 more
  1. 2024Cross-layer Attention Sharing for Pre-trained Large Language Modelscited by 5
  2. 2022Life after BERT: What do Other Muppets Understand about Language?cited by 4
  3. 2025Spectral Insights into Data-Oblivious Critical Layers in Large Language Modelscited by 4
  4. 2026ADEPT: Adaptive Dynamic Early-Exit Process for Transformerscited by 4
  5. 2023VendorLink: An NLP approach for Identifying & Linking Vendor Migrants & Potential Aliases on Darknet Marketscited by 3
  6. 2023What Happens During Finetuning of Vision Transformers: An Invariance Based Investigationcited by 3
  7. 2024A Single Linear Layer Yields Task-Adapted Low-Rank Matricescited by 2
  8. 2026Logic Before Language: Pre-pretraining on Formal Derivations Fosters Skill Acquisition and Compressibilitycited by 2
  9. 2023Differential Privacy, Linguistic Fairness, and Training Data Influence: Impossibility and Possibility Theorems for Multilingual Language Modelscited by 1
  10. 2024Where does In-context Translation Happen in Large Language Modelscited by 1
  11. 2025A Representation Level Analysis of NMT Model Robustness to Grammatical Errorscited by 1
  12. 2026Layer-Order Inversion: Rethinking Latent Multi-Hop Reasoning in Large Language Modelscited by 1
  13. 2023Perturbed examples reveal invariances shared by language modelscited by 0
  14. 2026Comparing Explanations is Not Enough, Explain the Change: New Standards are Needed to Explain Behavioral Shifts in Large Language Modelscited by 0
  15. 2026Continued Pretraining of FinBERT on Finnish Histopathological Reports: Train-Time Signals and Proxy Downstream Correlationscited by 0
  16. 2026Syntax Without Semantics: Teaching Large Language Models to Code in an Unseen Languagecited by 0
  17. 2026The System Prompt Illusion: How Instruction Preambles Modify Computation in Language Modelscited by 0