Shadow-FT: Tuning Instruct Model via Training on Paired Base Model

Taiqiang Wu, Runming Yang, Jiayi Li, Pengfei Hu, Yik-Chung Wu +2 more
5/19/2025
10 citations
cs.CLcs.AI
rlhf-rlvr-dpo

Official code: wutaiqiang/Shadow-FT (51 stars, Python, Apache-2.0, last commit 2026-04-18).

Abstract

Large language models (LLMs) consistently benefit from further fine-tuning on various tasks. However, we observe that directly tuning the Instruct (i.e., instruction-tuned) models often leads to marginal improvements and even performance degeneration.

Show full abstract

Notably, paired Base models, the foundation for these Instruct variants, contain highly similar weight values (i.e., less than 2% on average for Llama 3.1 8B). The Base model tends to be a good learner yet a weak backbone without post-training. Therefore, we propose a novel Shadow-FT framework to tune the Instruct models by leveraging the corresponding Base models. The key insight is to fine-tune the Base model, and then \textit{directly} graft the learned weight updates to the Instruct model. Our proposed Shadow-FT introduces no additional parameters, is easy to implement, and significantly improves performance. We conduct extensive experiments on tuning mainstream LLMs, such as Qwen 3 and Llama 3 series, and evaluate them across 19 benchmarks covering coding, reasoning, and mathematical tasks. Experimental results demonstrate that Shadow-FT consistently outperforms conventional full-parameter and parameter-efficient tuning approaches. Further analyses indicate that Shadow-FT can be applied to multimodal large language models (MLLMs) and combined with direct preference optimization~(DPO). Codes and weights are available at \href{https://github.com/wutaiqiang/Shadow-FT}{Github}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official code for paper "Shadow-FT: Tuning Instruct via Base"

512Python, ShellMay 19, 20257 months agoApache-2.0

Similar Papers

Cite this paper

@article{wu2025shadowft,
  title  = {Shadow-FT: Tuning Instruct Model via Training on Paired Base Model},
  author = {Taiqiang Wu and Runming Yang and Jiayi Li and Pengfei Hu and Yik-Chung Wu and Ngai Wong and Yujiu Yang},
  year   = {2025},
  eprint = {2505.12716},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12716v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12716.svg)](https://codeofpaper.com/paper/2505.12716)

Discussion