Diffract: Spectral View of LLM Domain Adaptation
Not on the map. Why?
Abstract (arXiv)
We study continual pre-training (CPT) as a mechanism for adapting general-purpose large language models to specialized domains: mathematics, instruction, code, and natural text. Using singular value decomposition of weight matrices, we find that CPT leaves singular value spectra largely invariant, with adaptation driven mainly by changes in singular vectors. An analysis of attention-head projection matrices reveals strong, domain-dependent head heterogeneity, which we exploit to define a head importance criterion: up to 60% of head updates can be removed without measurable quality loss. Selectively rewinding low-importance heads to their pre-trained state improves benchmark accuracy by up to 4% versus the fully trained baseline. Finally, we identify domain connectivity - linear interpolation between CPT checkpoints yields smooth domain-quality interpolation without notable degradation on either domain - and release Diffract, an open-source toolkit for scalable spectral analysis of billion-parameter models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 11 Aug 2026.
Builds on
38 of 50 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Let's Verify Step by Stepcited by 3,789
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,396
26 more
- 2022Editing Models with Task Arithmeticcited by 1,120
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 903
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 872
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 818
- 2023StarCoder: may the source be with you!cited by 799
- 2023Language Models are Super Mario: Absorbing Abilities from Homologous Models as a Free Lunchcited by 694
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
- 2022Git Re-Basin: Merging Models modulo Permutation Symmetriescited by 471
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2018Implicit Self-Regularization in Deep Neural Networks: Evidence from Random Matrix Theory and Implications for Learningcited by 215
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
- 2024Task Singular Vectors: Reducing Task Interference in Model Mergingcited by 147
- 2023Continual Pre-Training of Large Language Models: How to (re)warm your model?cited by 137
- 2024Simple and Scalable Strategies to Continually Pre-train Large Language Modelscited by 127
- 2023The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reductioncited by 123
- 2024OLMES: A Standard for Language Model Evaluationscited by 106
- 2019Traditional and Heavy-Tailed Self Regularization in Neural Network Modelscited by 105
- 2024Does your data spark joy? Performance gains from domain upsampling at the end of trainingcited by 52
- 2024Localize-and-Stitch: Efficient Model Merging via Sparse Task Arithmeticcited by 50
- 2024D-CPT Law: Domain-specific Continual Pre-Training Scaling Law for Large Language Modelscited by 41
- 2023Efficient Continual Pre-training for Building Domain Specific Large Language Modelscited by 34
- 2024Approaching Deep Learning through the Spectral Dynamics of Weightscited by 31
- 2022Evaluating natural language processing models with generalization metrics that do not need access to any training or testing datacited by 19
- 2023Junk DNA Hypothesis: Pruning Small Pre-Trained Weights Irreversibly and Monotonically Impairs "Difficult" Downstream Tasks in LLMscited by 13
- 2024From Spikes to Heavy Tails: Unveiling the Spectral Evolution of Neural Networkscited by 9
- 2025Scalable Strategies for Continual Learning with Replaycited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.