Understanding the Effects of Domain Finetuning on LLMs
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) fine-tuned for specific domains exhibit strong performance; however, the underlying mechanisms by which this fine-tuning reshapes their parametric space are not well understood. Prior works primarily focus on auto-regressive or general-purpose instruct models, leaving domain-specialised LLMs under-explored. We present the first systematic study of domain-specific fine-tuning in large medical language models. Our analysis reveals that fine-tuning modifies only a small subset of the representational subspace, essentially preserving the pre-trained model's representation. To interpret these changes in subspaces, we propose tuning vectors, a novel framework inspired by task vectors, which explicitly capture the directional parameter shifts induced by fine-tuning. We demonstrate that these vectors are critical for enhancing both instruction-following and generation quality. Furthermore, combining tuning vectors across different domains yields improved generalisation. Upon closer inspection of directional alignment, we find these vectors primarily write new directional information into the MLP layers of the model, while amplifying existing directions in attention heads. Our findings offer new insights into LLM adaptation and provide a general, interpretable framework for analysing specialisation in large language models.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 24 of its 40 references that are in the map. First posted on arXiv 10 Oct 2025.
Builds on
24 of 40 references.
References · 24
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2020GLU Variants Improve Transformercited by 1,804
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2024Qwen2.5-Math Technical Report: Toward Mathematical Expert Model via Self-Improvementcited by 1,090
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 712
- 2019Linear Mode Connectivity and the Lottery Ticket Hypothesiscited by 637
12 more
- 2018Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNscited by 588
- 2023The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learningcited by 257
- 2023ACI-BENCH: a Novel Ambient Clinical Intelligence Dataset for Benchmarking Automatic Visit Note Generationcited by 118
- 2020What Happens To BERT Embeddings During Fine-tuning?cited by 113
- 2021A Neural Network Solves, Explains, and Generates University Math Problems by Program Synthesis and Few-Shot Learning at Human Levelcited by 96
- 2022BioRED: A Rich Biomedical Relation Extraction Datasetcited by 85
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2019Towards Automatic Generation of Shareable Synthetic Clinical Notes Using Neural Language Modelscited by 20
- 2024OLAPH: Improving Factuality in Biomedical Long-form Question Answeringcited by 20
- 2025Automatic Evaluation of Healthcare LLMs Beyond Question-Answeringcited by 20
- 2025A Modular Approach for Clinical SLMs Driven by Synthetic Data with Pre-Instruction Tuning, Model Merging, and Clinical-Tasks Alignmentcited by 20
- 2024Language Models can Exploit Cross-Task In-context Learning for Data-Scarce Novel Taskscited by 13
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Updating Parametric Knowledge with Context Distillation Retains Post-Training Capabilitiescited by 3
- 2026Reasoning Quality Emerges Early: Data Curation for Reasoning Modelscited by 1
- 2026Reading the News: Adapting Large Language Models to Swedish Journalism Through Continued Pre-Trainingcited by 0
- 2026GRRR: The Geometry of Reshaping, Rotation, and Routing in Decoder LLM post-trainingcited by 0
- 2026Reading the News: Adapting Large Language Models to Swedish Journalism Through Continued Pre-Training31 Aug 2026
- 2026GRRR: The Geometry of Reshaping, Rotation, and Routing in Decoder LLM post-training26 Aug 2026
- 2026Reasoning Quality Emerges Early: Data Curation for Reasoning Models25 Jun 2026
- 2026Updating Parametric Knowledge with Context Distillation Retains Post-Training Capabilities17 Feb 2026