Reproduce “HFT: Half Fine-Tuning for Large Language Models” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Tingfeng Hui, Zhenyu Zhang, Shuohuan Wang, Weiran Xu, Yu Sun, Hua Wu
Half Fine-Tuning (HFT) is a simple method that selectively updates about 50% of LLM parameters during fine-tuning, simultaneously enhancing instruction following performance by up to 2.9% and reducing catastrophic forgetting of basic knowledge by 3.4% compared to Full Fine-Tuning, while also decreasing training time by 30% and requiring no architectural modifications.
Key insights
- A pilot 'Half-Reset' experiment demonstrated that resetting half of a fine-tuned model's parameters to pre-trained values could restore lost basic knowledge while retaining new abilities, suggesting selective updating is beneficial.
- Half Fine-Tuning (HFT) can be theoretically understood as a form of L2 regularization, where frozen parameters are implicitly penalized for deviating from their pre-trained state, preventing excessive changes to foundational knowledge.
- The finding that updating only approximately 50% of parameters can lead to improved task performance and better knowledge preservation challenges conventional wisdom about parameter efficiency in neural networks.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.