Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning
Citation. Armen Aghajanyan (Facebook AI), Sonal Gupta (Facebook) and Luke Zettlemoyer (Facebook AI and University of Washington). "Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning". Venue: ACL-IJCNLP 2021, August 2021, Volume 1 (Long Papers), pages 7319–7328. These are the proceedings of the 59th Annual Meeting of the ACL and the 11th IJCNLP. DOI 10.18653/v1/2021.acl-long.568, ACL Anthology. The ACL Anthology page marks it as an Outstanding Paper. The preprint is arXiv:2012.13255, version 1 of 22 December 2020, the only arXiv version. The preprint lists the authors as Aghajanyan, Zettlemoyer and Gupta, all at "Facebook". The ACL version puts Gupta second and gives the affiliations above. Issue #4852 uses the preprint's order. Neither version gives a code link, a data link, funding or an acknowledgement.
Status. Planned. #5133 reads the size and rank of the base-to-instruct weight change per layer and per pole. This paper gives a reason to expect that a task needs far fewer directions than such a change holds. #4782's LoRA strand would cite it. No code, skill or protocol in this repo depends on it. The maintainer designs any campaign to fix a model, so this page reports evidence and records questions only.
Read. On 2026-11-19 we downloaded two PDFs with curl and converted them with pdftotext. One is the arXiv v1 PDF (11 pages). The other is the ACL Anthology PDF (10 pages). The reader was this page's author, a model (Claude Opus 5.5). In both versions we read in the source's own text the abstract, Sections 1 to 6, the references and Appendix A.1, the proof. We read Table 1 as extracted text in both versions, and the two agree. We did not see Figures 1 to 5 as images. We have their captions, and only the axis labels and legends that the text layer holds. So no number on this page comes from a plot. We read the ACL Anthology entry for the venue, pages, DOI and award. We did not read Li et al. (2018), which the paper extends, or the work of Arora et al. (2018) behind its bound.
Summary
Claim. Fine-tuning a pre-trained language model works on small data because the task has a low intrinsic dimension. A few hundred trainable parameters, randomly projected into the full weight space, can reach 90% of the full fine-tune's score. Pre-training lowers this dimension, and larger models have a lower one.
Method.
- Intrinsic dimension. The weights become θ^D = θ^D_0 + P(θ^d). Here θ^D_0 is the pre-trained model and P is a fixed random projection from d dimensions to all D weights. Only θ^d trains, from zero. The paper calls d90 the smallest d that reaches 90% of the full fine-tune's metric.
- The projection. The Fastfood transform, M = HGΠHB: Hadamard matrices, a random Gaussian diagonal, a random permutation and a random ±1 diagonal. The paper says that a dense projection for RoBERTa-Large at d = 1000 would need more than a terabyte.
- Two variants. Direct Intrinsic Dimension (DID) uses one projection for all weights. Structure-Aware Intrinsic Dimension (SAID) adds one learned scale λ_i per layer, taken from the d parameters.
- Section 4 setting. BERT and RoBERTa, base and large, on MRPC (about 3,700 training samples) and QQP (about 363k). For each dataset and model there are 100 subspace trainings, with d from 10 to 10,000 on a log scale. Each run searches four learning rates. The d parameters also cover the new classification head.
- Section 5.1 setting. A RoBERTa-Base trained again from scratch, for 200k steps at batch size 1k. Every 10k updates, a binary search over d from 100 to 4 million finds SAID d90 on six datasets. These are MRPC, QQP, Yelp Polarity, SST-2, MNLI and ANLI (all rounds).
- Section 5.2 setting. SAID d90 on MRPC for public checkpoints of BERT, RoBERTa, BART, Electra, Albert, XLNet, T5 and XLM-R, at several sizes.
- Section 5.3. Evaluation accuracy and the relative generalization gap, (acc_train − acc_eval)/(1 − acc_eval), against d90 over the Section 5.1 checkpoints. A compression bound after Arora et al. (2018) gives an error term of order √(d/m), for m samples.
- Statistics. The paper states no seeds, intervals, correlation coefficients or tests.
Findings, as the source reports them. All numbers are from the text or Table 1.
| Setting | Result |
|---|---|
| SAID d90, MRPC (Table 1) | BERT-Base 1608, BERT-Large 1037, RoBERTa-Base 896, RoBERTa-Large 207 |
| SAID d90, QQP (Table 1) | BERT-Base 8030, BERT-Large 1200, RoBERTa-Base 896, RoBERTa-Large 774 |
| DID d90, MRPC (Table 1) | BERT-Base 1861, BERT-Large 2493, RoBERTa-Base 1000, RoBERTa-Large 322 |
| DID d90, QQP (Table 1) | BERT-Base 9295, BERT-Large 1389, RoBERTa-Base 1389, RoBERTa-Large 774 |
| RoBERTa-Large, Section 4.2 text | About 200 parameters reach 90% of full fine-tuning on MRPC, and about 800 on QQP |
| Description length, Section 5 | MRPC in about 200 parameters is "less than a kilobyte" over RoBERTa, plus one random seed |
| Pre-training, Section 5.1 | d90 of RoBERTa-Base "monotonically decreases" over pre-training on all six tasks. Easier tasks (Yelp) have a lower d90 than hard ones (ANLI) |
| Model size, Section 5.2 | "A strong general trend": more parameters give a lower d90 on MRPC. At about 10^8 parameters, RoBERTa pre-training gives the lowest d90 |
| Generalization, Section 5.3 | A lower d90 is "strongly correlated" with higher evaluation accuracy and a smaller relative generalization gap. The paper gives no coefficient |
| Bound, Theorem 1 | L_0(f) ≤ L̂_0(f) + O(√(d/m)) for a model trained in the subspace, independent of D |
Where the claims go beyond the evidence
- "Explains" is wider than the tests. Every result is a correlation, across models or across checkpoints of one model. No experiment changes the intrinsic dimension and then measures fine-tuning. The authors state one limit themselves: the bound holds only for models trained in the subspace. They also say that "research has yet to show" that ordinary SGD works in such a subspace.
- d90 is an upper bound from one random projection. The authors say that the estimate is "necessarily crude", and that the true dimension is likely much lower. The paper gives no seed count and no spread over projections. So a single d90 can't show whether 896 and 1000 differ.
- The 90% line has no baseline. d90 is 90% of the full fine-tune's score. The paper doesn't give the majority-class score or a head-only score next to it. On a binary task, 90% of a full score can sit close to the majority class. Figure 2's caption names the majority class only to drop checkpoints, where full fine-tuning does not pass it.
- No untrained model. Section 5.1 starts from a model trained from scratch, but its figure text starts at 40,000 updates. The figure leaves out points that the authors could not compute. So the trajectory has no randomly initialised model as a null.
- The size trend mixes methods. Section 5.2 compares models with different data, objectives and tokenizers. The authors say that the clean experiment is "computationally infeasible", and they deserve credit for that. Their claim that the trend is "strong enough to overcome" these differences has no statistic.
- Pre-training step is a confound in Section 5.3. Accuracy and d90 both change with pre-training. So the correlation over checkpoints could come from pre-training progress alone. The paper reports no coefficient, partial or otherwise.
- Table 1 is not fully consistent with the text. The text says SAID is "consistently improving" over DID. RoBERTa-Large on QQP ties at 774. Under DID, BERT-Large has a higher MRPC d90 than BERT-Base (2493 against 1861), against the size trend.
- The terabyte figure differs within the ACL version. Section 3 gives 1.32 terabytes for a dense projection, and the SAID paragraph gives 1.42 terabytes for the same case. The arXiv version has only 1.42.
- The promised appendix is missing. Section 5.2 refers to "the Appendix for all trends per dataset". Both versions have only the proof in the appendix. So the paper shows the size trend on MRPC alone.
- Only sentence classification. All tasks are GLUE-style classification on encoder or encoder-style use of each model. The paper doesn't test generation or a decoder-only language model.
- No code. Neither version gives a code link, so the SAID implementation can't be checked.
Use in this repo
- The repo has no subspace or LoRA training code.
fixing-models.mdnotes that the repo has no fine-tuning or weight-edit code. No code here has a Fastfood projection or computes an intrinsic dimension. The paper's models are encoders, and none is in the registry. So its runs can't be repeated here as they are. - The paper measures tasks, not units. It scores benchmark accuracy only. It says nothing about neurons, explanations, probes or a random baseline for a unit. A low d90 shows that a task needs few directions. It doesn't show whether a VERIFIED pole keeps its explanation after the change. #4782 asks that question for a merged adapter.
- Low dimension does not mean a local change. This is our inference from Equation 2, not a claim of the paper. Each of the d coordinates moves through the Fastfood projection into all D weights. So even a 200-parameter update moves every neuron's Wgate, Wup and Wdown weights a little. This agrees with the point in
lora-learns-less-forgets-less.md: a low-rank change is not a change to few neurons. Whether a VERIFIED pole keeps depends on the size of the change in its own weights and inputs. - The repo's keep rates are for a change that is not low-dimensional.
docs/analyses/base-instruct.mdtests each VERIFIED pole of Qwen2.5 on its instruct model at the same index. On Qwen2.5-1.5B, 38 of 43 hypotheses keep (88%, 95% CI 76–95%), with median activation correlation 0.983. On Qwen2.5-0.5B, 252 of 311 keep (81%, 76–85%), median 0.974. Instruction tuning trained all weights, not a subspace. The paper does not measure how far a d90-sized update moves any unit. - The size trend is not evidence here. The paper finds a lower d90 in larger models. The repo's 1.5B pair keeps a larger share than the 0.5B pair, 88% against 81%. But the intervals overlap, and the two tunings are not matched. So this page reads no link between them.
- The paper has no null for the change, and nor does the repo. The paper never compares a fine-tune with a random update of the same size. The repo's keep shares have no such null either.
fixing-models.mdlists "a matched random null" as a needed control for weight changes. #5133 tests weight change against a null of shuffled poles, not against a random Δ. The follow-up below adds the second null, reading and adding weights only. - SAID's per-layer scales would be a depth readout, but the paper does not report them. SAID learns one λ_i per layer, so the fitted λ shows which layers a task uses. On Qwen2.5-0.5B, the middle third of poles keeps least: 63 of 92, against 104 of 112 and 85 of 107. #5133 reads Δ's rank per layer for this reason. The paper prints no λ values, so it gives no evidence on depth.
- Pre-training also keeps changing what a loss curve hides. In
papers/neuron-development/, Pythia-70m's loss is within 1% of its final value by step 16,000. Its 86 VERIFIED poles still correlate with their final form at a median of only 0.62 there. Adjacent checkpoints correlate at a median of 0.78 to 0.82 after that step. Section 5.1 likewise finds d90 still falling through 200k steps. Both measures say a model keeps changing after training looks done. The paper's measure is of tasks, and the repo's is of units, so they are not the same result. - Interleaving is not tested.
complementary-learning-systems.mdreviews McClelland et al. (1995), where interleaved learning protects old knowledge. This paper fine-tunes on one task at a time and never measures the loss of other skills. So it gives no evidence on forgetting. - Evidence for the fix campaign, not a design. A fix for the #4781 " days" error would be a narrow change. The paper's result suggests that a narrow task needs few directions, in the classification setting it tests. It measures no side effects.
fixing-models.mdholds the repo's synthesis on fixes. - Question for the maintainer. Should a weight change in the fix campaign report its size as a subspace dimension, or as a norm? The paper makes a case for the dimension. That choice belongs to the campaign, so this page records it as a question and opens no issue.
- Follow-up: a random-Δ null for the base-instruct keep share. For each Qwen2.5 pair, take Δ = instruct − base for each MLP matrix. Make a random Δ' with the same Frobenius norm per matrix, from a fixed seed. Add Δ' to the base model, and test each VERIFIED pole again as
scripts/base_instruct.pydoes. Compare the keep share with the 81% and 88% that instruction tuning gives. If a random change of the same size breaks as many poles, the keep share measures size, not tuning. It trains nothing, and is part of #4782. - Leave Li et al. (2018) to its own page. #4851 reviews the paper that defines intrinsic dimension. This page does not restate its method or results.