Abstract
Parameter Efficient Fine-Tuning (PEFT) methods have gained popularity and democratized the usage of Large Language Models (LLMs). Recent studies have shown that a small subset of weights significantly impacts performance. Based on this observation, we introduce a novel PEFT method, called Gaussian noise Injected Fine Tuning of Salient Weights (GIFT-SW). Our method updates only salient columns, while injecting Gaussian noise into non-salient ones. To identify these columns, we developed a generalized sensitivity metric that extends and unifies metrics from previous studies. Experiments with LLaMA models demonstrate that GIFT-SW outperforms full fine-tuning and modern PEFT methods under the same computational budget. Moreover, GIFT-SW offers practical advantages to recover performance of models subjected to mixed-precision quantization with keeping salient weights in full precision.
Introduction
Fine-tuning Large Language Models (LLMs) is notoriously resource-intensive, often requiring massive GPU clusters. While Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA (Low-Rank Adaptation) have made this more accessible, they often struggle to match the accuracy of full fine-tuning.
Furthermore, many LLMs are eventually quantized (compressed to lower precision, like 4-bit or 2-bit) to save memory during deployment, which usually results in a significant drop in model performance. This research addresses two main questions:
- Can we achieve full fine-tuning performance by only updating the most important weights?
- Can we make models more robust to the "noise" introduced by quantization during the training process itself?
Methodology
The authors introduce GIFT-SW (Gaussian noise Injected Fine-Tuning of Salient Weights), which operates in three main steps:
- Salient Column Identification: Using a small calibration dataset, the method calculates a "sensitivity metric" for every column in the weight matrices. This metric identifies which weights are most critical to the model's output based on both the weight values and the magnitude of the activations passing through them.
- Selective Fine-Tuning: Only these "salient" columns (typically just 128 columns per layer) are updated during training. All other weights are frozen.
- Noise Injection: To simulate the effects of quantization and act as a regularizer, Gaussian noise is injected into the non-salient (frozen) weights during every forward pass. This forces the salient weights to learn to compensate for the "jitter" in the rest of the network.
The authors also contribute a generalized sensitivity metric that unifies several previous approaches (like Wanda and SparseGPT) into a single mathematical framework, allowing for more effective identification of important weights.
Experimental Setup
The researchers evaluated GIFT-SW using the following datasets:
- Training: TÜLU-V2-Mix (a high-quality instruction-tuning blend) and OpenOrca.
- Evaluation: A suite of standard zero-shot benchmarks including HellaSwag (common sense), BoolQ (reading comprehension), WinoGrande (pronoun resolution), PiQA (physical interaction), and ARC (science questions).
- Calibration: 512 random sentences from the Pile validation set were used to calculate weight saliency.
Key Insights and Results
The Power of Salient Weights
The results confirm that updating a very small subset (~3%) of "salient" weights is sufficient to adjust the entire model's behavior. This validates the "universal neuron" theory—that certain parts of the model do the heavy lifting for general intelligence. GIFT-SW outperformed LoRA, DoRA, and even full fine-tuning on LLaMA 2 (7b, 13b) and LLaMA 3 (8b) across most benchmarks.
Stability and Efficiency
Unlike LoRA and DoRA, which showed unstable performance fluctuations as the amount of training data increased, GIFT-SW remained as stable as full fine-tuning. The method achieves these results while utilizing roughly 10x fewer computational resources than full fine-tuning.
Quantization Recovery
Injecting noise during training acts as a powerful regularizer, making the model "quantization-aware" from the start. In the extreme case of 2-bit quantization, GIFT-SW outperformed the next best method (STE) by over 5 percentage points in mean accuracy.
Conclusion and Future Work
GIFT-SW demonstrates that focusing updates on salient weights while regularizing with noise is a highly effective PEFT strategy. While the current study focused on the LLaMA family, future work includes testing on other architectures like Mistral or Falcon. Additionally, developing custom CUDA kernels for GIFT-SW would be necessary to fully realize its potential for high-speed training and inference. Finally, while the generalized metric is a significant step forward, the "perfect" way to identify salient weights still varies slightly depending on the model and bit-width, suggesting room for further theoretical refinement.
Summary updated