Boosting Large Language Models with Mask Fine-Tuning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Mingyuan, Bai, Yue, Wang, Huan, Wang, Yizhou, Dong, Qihua, Zhang, Yitian, Fu, Yun
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914394242285568
author Zhang, Mingyuan
Bai, Yue
Wang, Huan
Wang, Yizhou
Dong, Qihua
Zhang, Yitian
Fu, Yun
author_facet Zhang, Mingyuan
Bai, Yue
Wang, Huan
Wang, Yizhou
Dong, Qihua
Zhang, Yitian
Fu, Yun
contents The large language model (LLM) is typically integrated into the mainstream optimization protocol. No work has questioned whether maintaining the model integrity is \textit{indispensable} for promising performance. In this work, we introduce Mask Fine-Tuning (MFT), a novel LLM fine-tuning paradigm demonstrating that carefully breaking the model's structural integrity can surprisingly improve performance without updating model weights. MFT learns and applies binary masks to well-optimized models, using the standard LLM fine-tuning objective as supervision. Based on fully fine-tuned models, MFT uses the same fine-tuning datasets to achieve consistent performance gains across domains and backbones (e.g., an average gain of \textbf{2.70 / 4.15} in IFEval with LLaMA2-7B / 3.1-8B). Detailed ablation studies and analyses examine the proposed MFT from different perspectives, such as sparse ratio and loss surface. Additionally, by deploying it on well-trained models, MFT is compatible with collaborating with other LLM optimization procedures to enhance the general model. Furthermore, this study extends the functionality of the masking operation beyond its conventional network-pruning context for model compression to a broader model capability scope.
format Preprint
id arxiv_https___arxiv_org_abs_2503_22764
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Boosting Large Language Models with Mask Fine-Tuning
Zhang, Mingyuan
Bai, Yue
Wang, Huan
Wang, Yizhou
Dong, Qihua
Zhang, Yitian
Fu, Yun
Computation and Language
Artificial Intelligence
Machine Learning
The large language model (LLM) is typically integrated into the mainstream optimization protocol. No work has questioned whether maintaining the model integrity is \textit{indispensable} for promising performance. In this work, we introduce Mask Fine-Tuning (MFT), a novel LLM fine-tuning paradigm demonstrating that carefully breaking the model's structural integrity can surprisingly improve performance without updating model weights. MFT learns and applies binary masks to well-optimized models, using the standard LLM fine-tuning objective as supervision. Based on fully fine-tuned models, MFT uses the same fine-tuning datasets to achieve consistent performance gains across domains and backbones (e.g., an average gain of \textbf{2.70 / 4.15} in IFEval with LLaMA2-7B / 3.1-8B). Detailed ablation studies and analyses examine the proposed MFT from different perspectives, such as sparse ratio and loss surface. Additionally, by deploying it on well-trained models, MFT is compatible with collaborating with other LLM optimization procedures to enhance the general model. Furthermore, this study extends the functionality of the masking operation beyond its conventional network-pruning context for model compression to a broader model capability scope.
title Boosting Large Language Models with Mask Fine-Tuning
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2503.22764