Boosting Large Language Models with Mask Fine-Tuning

Mingyuan Zhang, Yue Bai, Huan Wang, Yizhou Wang, Qihua Dong +1 more
3/27/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: Ming-K9/MFT (9 stars, last commit 2025-06-04).

Abstract

The model is usually kept integral in the mainstream large language model (LLM) fine-tuning protocols. No works have questioned whether maintaining the integrity of the model is indispensable for performance. In this work, we introduce Mask Fine-Tuning (MFT), a brand-new LLM fine-tuning paradigm to show that properly breaking the integrity of the model can surprisingly lead to improved performance. Specifically, MFT learns a set of binary masks supervised by the typical LLM fine-tuning objective. Extensive experiments show that MFT gains a consistent performance boost across various domains and backbones (e.g., 1.95%/1.88% average gain in coding with LLaMA2-7B/3.1-8B). Detailed procedures are provided to study the proposed MFT from different hyperparameter perspectives for better insight. In particular, MFT naturally updates the current LLM training protocol by deploying it on a complete well-trained model. This study extends the functionality of mask learning from its conventional network pruning context for model compression to a more general scope.

View on arXivView PDF

Code Implementations(1)

Ming-K9/MFTCommunity100%
90C, C++Mar 14, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025boosting,
  title  = {Boosting Large Language Models with Mask Fine-Tuning},
  author = {Mingyuan Zhang and Yue Bai and Huan Wang and Yizhou Wang and Qihua Dong and Yun Fu},
  year   = {2025},
  eprint = {2503.22764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.22764v1}
}

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/2503.22764.svg)](https://codeofpaper.com/paper/2503.22764)

Discussion