Measuring Layer-wise Intrinsic Dimensionality of FFNs in LLMs via PCA
Not on the map. Why?
Abstract (arXiv)
Modern large language models (LLMs) keep the feed-forward network (FFN) intermediate width identical across every layer, a convention inherited from the original Transformer. Yet mechanistic work suggests layers at different depths do qualitatively different work, raising a natural question: are their capacity demands also non-uniform, and if so, can a fixed parameter budget be allocated more wisely than uniformly? To probe this, we apply principal component analysis (PCA) to the input of each FFN down-projection and measure, for every layer, its intrinsic dimensionality as the smallest number of principal components needed to reconstruct the activation up to a fixed cosine similarity. Scanning 58 open-weight LLMs spanning 14 families and 70M to 72B parameters, we find a recurring middle-heavy profile in which middle layers carry higher intrinsic dimensionality than edge layers; the profile is robust to the calibration corpus, even across English and Chinese, and is largely preserved through post-training fine-tuning. As a direct test that this signal is structurally meaningful, we use it to guide width pruning in a knowledge-distilled student under a matched parameter budget: the PCA-guided allocation outperforms the uniform-width convention by +2.3 points on Qwen3-8B and +2.5 on Qwen2.5-3B, while lower-dispersion teachers show smaller gaps (+0.9 on Gemma-3-4B, +0.5 on LLaMA-3-8B), and a budget-matched inverted control does worst on all four teachers. Across these four teachers, the size of the gap tracks how unevenly the teacher's intrinsic dimensionality is distributed across layers (a single-number summary we call σ99), and the advantage persists through downstream supervised fine-tuning. Code is available at https://github.com/naver-ai/lidf.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 51 of its 59 references that are in the map. Submitted 24 Nov 2026, announced 25 Nov 2026.
Builds on
51 of 59 references.
References · 51
- 2017Attention Is All You Needcited by 62,125
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 41,272
- 2024The Llama 3 Herd of Modelscited by 16,113
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,661
- 2021Training Verifiers to Solve Math Word Problemscited by 11,055
- 2015Distilling the Knowledge in a Neural Networkcited by 10,967
- 2025Qwen3 Technical Reportcited by 9,994
- 2020Measuring Massive Multitask Language Understandingcited by 8,473
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2024Qwen2.5 Technical Reportcited by 5,525
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 5,336
38 more
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,388
- 2016Gaussian Error Linear Units (GELUs)cited by 3,745
- 2023Mistral 7Bcited by 3,489
- 2016Pointer Sentinel Mixture Modelscited by 3,344
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 3,052
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2024Qwen2 Technical Reportcited by 2,293
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 2,058
- 2025Gemma 3 Technical Reportcited by 2,058
- 2020GLU Variants Improve Transformercited by 2,000
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,891
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,424
- 2024Qwen2.5-Coder Technical Reportcited by 1,301
- 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,204
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,183
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,155
- 2017Sigmoid-Weighted Linear Units for Neural Network Function Approximation in Reinforcement Learningcited by 993
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 878
- 2024Yi: Open Foundation Models by 01.AIcited by 771
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 718
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 686
- 2021Knowledge Neurons in Pretrained Transformerscited by 635
- 2022Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Spacecited by 564
- 2023Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruningcited by 445
- 2024ShortGPT: Layers in Large Language Models are More Redundant Than You Expectcited by 433
- 2024SliceGPT: Compress Large Language Models by Deleting Rows and Columnscited by 422
- 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 415
- 2019Intrinsic dimension of data representations in deep neural networkscited by 293
- 2024Are We Done with MMLU?cited by 225
- 2024Compact Language Models via Pruning and Knowledge Distillationcited by 168
- 2023LLM360: Towards Fully Transparent Open-Source LLMscited by 118
- 2023Skywork: A More Open Bilingual Foundation Modelcited by 116
- 2024MAP-Neo: Highly Capable and Transparent Bilingual Large Language Model Seriescited by 78
- 2025SlimLLM: Accurate Structured Pruning for Large Language Modelscited by 21
- 2025Olica: Efficient Structured Pruning of Large Language Models without Retrainingcited by 8
- 2025Layerwise Importance Analysis of Feed-Forward Networks in Transformer-based Language Modelscited by 7
- 2020Feature Space Saturation during Trainingcited by 6
- 2019Spectral Analysis of Latent Representationscited by 3
50 most cited of 51 All 51 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Crown, Frame, Reverse: Layer-Wise Scaling Variants for LLM Pre-Training
- 2024Understanding the role of FFNs in driving multilingual behaviour in LLMs
- 2025Transformers Don't Need LayerNorm at Inference Time: Scaling LayerNorm Removal to GPT-2 XL and the Implications for Mechanistic Interpretability
- 2024Understanding Layer Significance in LLM Alignment
- 2025Spectral Scaling Laws in Language Models: How Effectively Do Feed-Forward Networks Use Their Latent Space?
- 2025How Language Directions Align with Token Geometry in Multilingual LLMs
- 2024Exploring Activation Patterns of Parameters in Language Models
- 2026Rethinking Layer Relevance in Large Language Models Beyond Cosine Similarity