TL;DR
Full Parameter Fine-Tuning (FPFT) of Large Language Models often suffers from high computational waste, noisy data, and the loss of pre-trained general knowledge. To solve this, Neuron-Guided Fine-Tuning (NGFT) introduces a unified framework that uses internal neuron activation patterns as a single proxy to orchestrate data selection, parameter updates, and knowledge preservation. The result is a fine-tuning paradigm that significantly outperforms standard methods in both efficiency and downstream performance while effectively halting catastrophic forgetting.
What Problem Does This Paper Address?
When adapting a pre-trained Large Language Model (LLM) to a specific downstream task, researchers typically rely on Full Parameter Fine-Tuning (FPFT) for maximum performance. However, FPFT is plagued by three major bottlenecks that are usually treated in isolation:
- Parameter Redundancy: LLM capabilities are typically encoded by sparse, specific clusters of active neurons. Forcing updates across all parameters wastes massive computational resources and can induce "negative transfer" (where learning one thing degrades another).
- Inconsistent Data Quality: Instruction datasets are notoriously noisy, yet we lack a universal, cheap metric to select the most informative samples.
- Catastrophic Forgetting: Over-optimizing a model on a narrow domain overwrites its foundational, general-purpose knowledge.
Existing methods tackle these issues piecemeal—sparse fine-tuning handles redundancy, data selection algorithms filter datasets, and regularization techniques combat forgetting. NGFT bridges this gap by introducing a single, unified optimization signal: Neuron Activation Patterns.
Methods
NGFT operates across three synergistic dimensions throughout the fine-tuning lifecycle:
1. Adaptive Task-Specific Neuron Selection
Instead of updating every weight, NGFT identifies a sparse set of "Task-Knowledge Neurons" within the model's Feed-Forward Networks (FFNs). It does this in a single forward pass by calculating the Coefficient of Variation (CV) of neuron activations across the training set. Neurons that are stably and consistently active are kept, while non-essential neurons are frozen using a gradient binary mask during backpropagation.
2. Activation-Based Data Selection
How do you pick the best data? NGFT scores each instruction sample based on how intensely it activates the previously identified Task-Knowledge Neurons. To resolve the classic information bottleneck trade-off (balancing information density with diversity), the authors implement a median-centered interval selection strategy. Instead of picking extreme activation outliers, it selects samples clustered around the median score, effectively filtering out redundant noise and low-quality data.
3. Neuron Activation Alignment Loss
To prevent the model from forgetting its roots, NGFT introduces a novel loss function ($L_{neu}$). It pre-computes an activation anchor from the pre-trained model and minimizes the Mean Squared Error (MSE) between the active training activations and this anchor. Crucially, this loss is governed by an adaptive gating mechanism: it only kicks in during the later stages of training after the standard cross-entropy loss has stabilized.
Datasets
The authors evaluated NGFT across three distinct model families (Llama-3.1, Qwen2.5, and Mistral) using two sets of benchmarks:
- Domain-Specific Instruction Tuning: GSM8K (mathematical reasoning), BioInstruct (biomedical QA), and DialogSum (dialogue summarization).
- General Capabilities (Anti-Forgetting Evaluation): MMLU (multi-task language understanding), BBH (complex reasoning), and TyDiQA (multilingual QA).
Key Insights and Ideas
- Activations as a Universal Currency: The core "aha moment" of the paper is that internal neuron activations can simultaneously serve as a filter for data quality, a map for parameter updates, and an anchor for knowledge preservation.
- The Median Sweet Spot: Selecting data based purely on the highest activation magnitude introduces skewed, noisy outliers. Selecting from the median neighborhood naturally captures the core distribution of data sub-clusters.
- Coarse-to-Fine Optimization: Forcing neuron alignment too early impedes the model's ability to learn new tasks. By dynamically gating the alignment loss until cross-entropy stabilizes, the model first masters semantic alignment before refining its internal representations.
Key Results
NGFT demonstrated substantial improvements over standard FPFT and state-of-the-art parameter-efficient methods (like DoRA and LoRA):
- Performance Boost: Averaged across all tested models, NGFT achieved a 4.66 point improvement in domain-specific tasks compared to standard FPFT.
- Forgetting Mitigation: NGFT mitigated forgetting-induced performance degradation on general benchmarks by an average of 9.89 points. In fact, when tuning Qwen2.5 on small subsets of biomedical data, its general capability scores actually surpassed the un-finetuned zero-shot baseline.
- High Efficiency: Combined with its data selection module, NGFT can match the performance of full-data FPFT while using only 20.63% of the computational cost. Additionally, its data selection process achieved a 25.7× speedup over competitive data-pruning algorithms like Nuggets.
Limitations and Future Work
Because NGFT relies entirely on analyzing internal neuron activation patterns, it requires full access to model weights and internal states. This makes it completely inapplicable to proprietary, black-box models accessed via APIs (like GPT-4 or Claude). Furthermore, due to hardware constraints, the authors could not run evaluations on ultra-large-scale models (e.g., 70B+ parameters). Future work will focus on testing NGFT's scalability in massive, multi-task deployment scenarios.
Summary updated