PCA finds middle-heavy intrinsic dimensionality in LLM feed-forward layers
Original title: Measuring Layer-wise Intrinsic Dimensionality of FFNs in LLMs via PCA
Using that signal for width pruning beats uniform width by 2.3 points on Qwen3-8B and 2.5 on Qwen2.5-3B.
Researchers measure layer-wise intrinsic dimensionality of feed-forward down-projection inputs with PCA across 58 open-weight LLMs. They report a recurring middle-heavy profile that is stable across calibration language and post-training. Allocating a matched pruning budget by that signal outperforms uniform width on four distilled students, while an inverted allocation performs worst. Code is available.
Unconfirmed: Pruning gains are the authors' reported point differences on four teachers.
- The scan covers 14 model families from 70M to 72B parameters.
- Gains are smaller on Gemma-3-4B (+0.9) and LLaMA-3-8B (+0.5).
- The advantage tracks layer unevenness, summarized as σ_{99}, and persists after supervised fine-tuning.
- Code is published at github.com/naver-ai/lidf.
From the original article
1 min read at huggingface.coModern 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?
By Daehee Kim · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.