Reproduce “Enhancing Large Language Model Performance with Gradient-Based Parameter Selection” 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

Haoling Li, Xin Zhang, Xiao Liu, Yeyun Gong, Yifan Wang, Qi Chen, Peng Cheng

Researchers from Tsinghua University and Microsoft Research developed Gradient-Mask Tuning (GMT), a method that enhances Large Language Model performance by selectively updating parameters based on the magnitude of their gradients during fine-tuning. This approach consistently improved accuracy across code generation, math reasoning, and general domain tasks, outperforming traditional full fine-tuning and other sparse update methods while preserving the LLM's original architecture.

Key insights

  • Gradient magnitude serves as an effective, task-specific indicator of parameter importance, allowing for intelligent and dynamic selection of parameters to update during fine-tuning.
  • Reducing parameter update redundancy through in-training, data-driven selection, rather than post-processing or random methods, can significantly enhance LLM performance.
  • Preserving the original network architecture while achieving sparsity is crucial for maintaining LLM generalizability and adaptability across diverse tasks.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.