atlas

Research map / Large language models / Instruction and fine-tuning

Enhancing Large Language Model Performance with Gradient-Based Parameter Selection

AAAI 2025 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Gradient-Based Mask Tuning (GMT), which masks low-magnitude gradients during backpropagation so only task-relevant parameters are updated, improving SFT and DPO results on code, math, and general-domain benchmarks.

Problem

Full-parameter fine-tuning of LLMs updates many parameters redundantly; existing redundancy-reduction methods either ignore task-specific data (random masking, dropout-style methods) or remove structural components or parameters post hoc, limiting scalability and architecture integrity.

Approach

During training, accumulate gradients over N mini-batches, keep only the top-k percentile of gradient entries by absolute value (element-wise), and update only those parameters, so the mask is task-data-driven and the network architecture is unchanged.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use gradient magnitude to select parameters for updates instead of the random selection in RMTGMT · code generation, Mistral-7B; average across HumanEval, HumanEval+, MBPP, and MBPP+average score: 59.0 -> 60.0Helped
Use gradient magnitude to select parameters for updates instead of vanilla SFTGMT · math reasoning, Mistral-7BGSM8k accuracy: 75.3 -> 78.6Helped
Use gradient magnitude to select parameters for updates instead of vanilla SFTGMT · math reasoning, Llama3-8BGSM8k accuracy: 78.1 -> 82.0Helped
Use gradient magnitude to select parameters for updates instead of vanilla SFTGMT · Tulu V2 SFT, Llama2-7Baverage score: 41.0 -> 44.0Helped
Use gradient magnitude to select parameters for updates instead of random parameter selectionGMT · UltraFeedback DPO, Llama2-13Baverage score: 51.6 -> 52.3Helped
Use gradient magnitude to select updates instead of randomly selecting half the parametersGMT versus HFT · code generation, Mistral-7Baverage score: 58.5 -> 60.0Helped
Use gradient magnitude to select updates instead of randomly selecting half the parametersGMT versus HFT · math reasoning, Llama3-8BGSM8k accuracy: 74.2 -> 82.0Helped
Vary the mask ratio (ablation)GMT · single-task code and math benchmarksbenchmark performanceNo clear effect
Set the mask ratio to an extreme value (ablation)GMT · general-domain multi-task scenariosbenchmark performanceHurt
Drop salient rather than small-magnitude delta parameters (ablation)GMT drop-strategy analysis · Mistral-7B math reasoning, GSM8k and MATHmodel performanceHurt
Use random dropping rather than dropping small-magnitude delta parameters (ablation)Drop-strategy analysis · Mistral-7B math reasoning, GSM8k and MATHmodel performanceHurt
Drop small-magnitude delta parameters after vanilla fine-tuning (ablation)One-off Drop · Mistral-7B math reasoning, GSM8k and MATHmodel performanceNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Magicoder-Evol-Instruct-110K MetaMathQA Tulu V2 UltraFeedback

Benchmarks: HumanEval HumanEval+ MBPP MBPP+ GSM8k MATH MMLU BBH TyDiQA TruthfulQA

Metrics: pass@1 accuracy exact match F1 MC2 training speed (samples/s) FLOPs

Baselines: SFT Drop HFT RMT DPO PAFT

Builds on: Random Mask-Tuning DARE HFT DropBP PAFT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy