mlsanityData to 14 Oct 2026

Spectral Insights into Data-Oblivious Critical Layers in Large Language Models

arXiv 2506.00382 ↗First posted 31 May 2025cs.LG cs.CLcited by 4

Not on the map. Why?

Abstract (arXiv)

Understanding how feature representations evolve across layers in large language models (LLMs) is key to improving their interpretability and robustness. While recent studies have identified critical layers linked to specific functions or behaviors, these efforts typically rely on data-dependent analyses of fine-tuned models, limiting their use to post-hoc settings. In contrast, we introduce a data-oblivious approach to identify intrinsic critical layers in pre-fine-tuned LLMs by analyzing representation dynamics via Centered Kernel Alignment(CKA). We show that layers with significant shifts in representation space are also those most affected during fine-tuning--a pattern that holds consistently across tasks for a given model. Our spectral analysis further reveals that these shifts are driven by changes in the top principal components, which encode semantic transitions from rationales to conclusions. We further apply these findings to two practical scenarios: efficient domain adaptation, where fine-tuning critical layers leads to greater loss reduction compared to non-critical layers; and backdoor defense, where freezing them reduces attack success rates by up to 40%.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 28 of its 46 references that are in the map. First posted on arXiv 31 May 2025.

Builds on

28 of 46 references.

References · 28

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  5. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 3,104
  6. 2022Locating and Editing Factual Associations in GPTcited by 2,691
  7. 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
  8. 2019Similarity of Neural Network Representations Revisitedcited by 1,755
  9. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  10. 2023Representation Engineering: A Top-Down Approach to AI Transparencycited by 1,336
  11. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!cited by 1,154
  12. 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
16 more
  1. 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 532
  2. 2018Insights on representational similarity in neural networks with canonical correlationcited by 324
  3. 2020Do Wide and Deep Networks Learn the Same Things? Uncovering How Neural Network Representations Vary with Width and Depthcited by 245
  4. 2019The Bottom-up Evolution of Representations in the Transformer: A Study with Machine Translation and Language Modeling Objectivescited by 139
  5. 2024Safety Layers in Aligned Large Language Models: The Key to LLM Securitycited by 134
  6. 2024LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuningcited by 89
  7. 2024Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editingcited by 79
  8. 2024BEEAR: Embedding-based Adversarial Removal of Safety Backdoors in Instruction-tuned Language Modelscited by 58
  9. 2024Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semanticscited by 44
  10. 2021Fine-Tuned Transformers Show Clusters of Similar Representations Across Layerscited by 30
  11. 2024What Happened in LLMs Layers when Trained for Fast vs. Slow Thinking: A Gradient Perspectivecited by 29
  12. 2023Backdoor Federated Learning by Poisoning Backdoor-Critical Layerscited by 18
  13. 2023Understanding the Inner Workings of Language Models Through Representation Dissimilaritycited by 12
  14. 2024Tending Towards Stability: Convergence Challenges in Small Language Modelscited by 7
  15. 2024Llama SLayer 8B: Shallow Layers Hold the Key to Knowledge Injectioncited by 6
  16. 2025Large Language Models for Predictive Analysis: How Far Are They?cited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Does Representation Matter? Exploring Intermediate Layers in Large Language Models
  2. 2025Large Language Models Encode Semantics and Alignment in Linearly Separable Representations
  3. 2026Robust LLM Unlearning Against Relearning Attacks: The Minor Components in Representations Matter
  4. 2026A Mechanistic Investigation of Supervised Fine Tuning
  5. 2026Rethinking Layer Relevance in Large Language Models Beyond Cosine Similarity
  6. 2025Layer by Layer: Uncovering Hidden Representations in Language Models
  7. 2026Divergent large language model predictions from convergent representations in ambiguous word pairs
  8. 2026LLM Layers Immediately Correct Each Other