Task-Specific Full Fine-Tuning for Retrieval-Augmented Generation: A Multi-Family Evaluation Across Open-Weight Language Models

Retrieval-Augmented Generation (RAG) depends not only on retrieval quality but alsoon the generator’s ability to use supplied evidence, abstain when support is insufficient, andfollow task-specific output requirements. While prior work has shown that such behaviourscan be improved through targeted adaptation, less is known about how the same RAG-specifictraining corpus affects different model families and parameter scales. We conduct a controlledempirical study of task-specific full fine-tuning across ten open-weight model configurationsfrom the Gemma, Llama, and Qwen families, ranging from approximately 0.5B to 14Bparameters. All models are exposed to the same fixed German-language training corpus andevaluated in a paired base-versus-fine-tuned design on identical test instances. Fine-tuningimproves the aggregate benchmark score for all ten configurations, but the magnitude anddistribution of gains vary substantially. The strongest and most consistent improvementoccurs in hard-negative handling, whereas grounded question-answering scores decrease fornine of ten fine-tuned models under the benchmark metric. Structured output and citationbehaviour generally improve, but not uniformly. Within the Qwen family, model size isassociated with stronger absolute performance but not with larger fine-tuning gains, andseveral smaller fine-tuned models outperform larger untuned models from the same family onthe evaluated task distribution. These results support interpreting task-specific full fine-tuningas behavioural adaptation rather than uniform capability enhancement. Model size, baseperformance, final task performance, and adaptation gain should therefore be treated asdistinct considerations when selecting and adapting generators for specialized RAG systems.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-07-28
DOI
https://doi.org/10.5281/zenodo.21638351
Primary Topic
Information Retrieval and Search Behavior
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

Task-Specific Full Fine-Tuning for Retrieval-Augmented Generation: A Multi-Family Evaluation Across Open-Weight Language Models

Rawel Singh, Sascha Frank
Zenodo (CERN European Organization for Nuclear Research)
Information Retrieval and Search Behavior
preprint

Task-Specific Full Fine-Tuning for Retrieval-Augmented Generation: A Multi-Family Evaluation Across Open-Weight Language Models

Rawel Singh, Sascha Frank
preprint en

Abstract

Retrieval-Augmented Generation (RAG) depends not only on retrieval quality but alsoon the generator’s ability to use supplied evidence, abstain when support is insufficient, andfollow task-specific output requirements. While prior work has shown that such behaviourscan be improved through targeted adaptation, less is known about how the same RAG-specifictraining corpus affects different model families and parameter scales. We conduct a controlledempirical study of task-specific full fine-tuning across ten open-weight model configurationsfrom the Gemma, Llama, and Qwen families, ranging from approximately 0.5B to 14Bparameters. All models are exposed to the same fixed German-language training corpus andevaluated in a paired base-versus-fine-tuned design on identical test instances. Fine-tuningimproves the aggregate benchmark score for all ten configurations, but the magnitude anddistribution of gains vary substantially. The strongest and most consistent improvementoccurs in hard-negative handling, whereas grounded question-answering scores decrease fornine of ten fine-tuned models under the benchmark metric. Structured output and citationbehaviour generally improve, but not uniformly. Within the Qwen family, model size isassociated with stronger absolute performance but not with larger fine-tuning gains, andseveral smaller fine-tuned models outperform larger untuned models from the same family onthe evaluated task distribution. These results support interpreting task-specific full fine-tuningas behavioural adaptation rather than uniform capability enhancement. Model size, baseperformance, final task performance, and adaptation gain should therefore be treated asdistinct considerations when selecting and adapting generators for specialized RAG systems.

Zenodo (CERN European Organization for Nuclear Research)
University of Freiburg (DE)
Quality Education
Information Retrieval and Search Behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.