paper-with-me

홈 › Papers

Understanding the Effects of Domain Finetuning on LLMs

2025-10-10 · Eshaan Tanwar, Deepak Nathani, William Yang Wang, Tanmoy Chakraborty 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.

📄 PDF Abstract BibTeX arXiv:2510.09359

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Planted in Pretraining, Swayed by Finetuning: A Case Study on the Origins of Cognitive Biases in LLMs

2025-07-09 · Itay Itzhak, Yonatan Belinkov, Gabriel Stanovsky arxiv

Large language models (LLMs) exhibit cognitive biases -- systematic tendencies of irrational decision-making, similar to those seen in humans. Prior work has found that these biases vary across models and can be amplifie…

Narrow Finetuning Leaves Clearly Readable Traces in Activation Differences

2025-10-14 · Julian Minder, Clément Dumas, Stewart Slocum, Helena Casademunt 외 arxiv

Finetuning on narrow domains has become an essential tool to adapt Large Language Models (LLMs) to specific tasks and to create models with known unusual properties that are useful for research. We show that narrow finet…

When Scaling Meets LLM Finetuning: The Effect of Data, Model and Finetuning Method

2024-02-27 · Biao Zhang, Zhongtao Liu, Colin Cherry, Orhan Firat

While large language models (LLMs) often adopt finetuning to unlock their capabilities for downstream applications, our understanding on the inductive biases (especially the scaling properties) of different finetuning me…

Machine Translation

CALRec: Contrastive Alignment of Generative LLMs for Sequential Recommendation

2024-05-03 · Yaoyiran Li, Xiang Zhai, Moustafa Alzantot, Keyi Yu 외

Traditional recommender systems such as matrix factorization methods have primarily focused on learning a shared dense embedding space to represent both items and user preferences. Subsequently, sequence models such as R…

Language ModelingLanguage ModellingRecommendation SystemsSequential Recommendation

How Far Can Pretrained LLMs Go in Symbolic Music? Controlled Comparisons of Supervised and Preference-based Adaptation

2026-01-30 · Deepak Kumar, Emmanouil Karystinaios, Gerhard Widmer, Markus Schedl arxiv

Music often shares notable parallels with language, motivating the use of pretrained large language models (LLMs) for symbolic music understanding and generation. Despite growing interest, the practical effectiveness of …

Domain Adaptation