NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Parameter-Efficient Tuning on Layer Normalization for Pre-trained Language Models

Wang Qi, Yu-Ping Ruan, Yuan Zuo, Taihao LiarXiv 2022

Abstract

Conventional fine-tuning encounters increasing difficulties given the size of current Pre-trained Language Models (PLMs), making parameter-efficient tuning a focal point of research. While previous methods add tunable adapters into Multi-Head Attention (MHA) or Feed-Forward Networks (FFN), the role of Layer Normalization has been largely ignored. This paper proposes LN-tuning, which tunes only the gain and bias terms of the Layer Normalization module. With only 0.03% tunable parameters, LN-tuning is highly time-efficient and superior to other ultra-lightweight baselines. Furthermore, a unified framework combining prefix-tuning with LN-tuning achieves state-of-the-art (SOTA) performance, revealing a synergy between MHA and LayerNorm adaptation.

Introduction

Fine-tuning massive PLMs like BERT or GPT-2 for specific downstream tasks is computationally expensive, requiring a full copy of model weights for every task. Parameter-Efficient Fine-Tuning (PEFT) addresses this by updating only a small subset of parameters. However, most PEFT research focuses on adding bottleneck layers (adapters) to attention or feed-forward modules. The authors of this study identified Layer Normalization (LayerNorm) as an overlooked yet powerful component for task adaptation.

Methodology: LN-tuning

LN-tuning involves freezing all model parameters except for the gain ($g$) and bias ($b$) terms within the existing LayerNorm modules.

Figure 1: The architecture of LN-tuning. It adapts the model by updating the learnable element-wise affine parameters (gain and bias) within the Transformer block's LayerNorm layers.

In a standard Transformer, LayerNorm rescales the input and applies an affine transformation: $$LayerNorm(x) = \frac{g}{\sigma} \odot (x - \mu) + b$$ By updating only $g$ and $b$, the model learns a neuron-level adaptation to new data distributions without altering the core knowledge stored in the frozen attention or feed-forward weights. This approach is extremely lightweight, typically involving only 0.03% to 0.04% of the total parameters.

Key Results and Efficiency

LN-tuning demonstrates a remarkable balance between performance and computational overhead.

Figure 2: Time efficiency comparison across different models and tasks, along with performance metrics for various PEFT combinations.

Performance Benchmarks

  • NLU Tasks: LN-tuning (0.03% params) outperformed BitFit (0.07% params) and other lightweight baselines.
  • State-of-the-Art: The combination of Prefix-tuning + LN-tuning achieved SOTA results on NLU benchmarks, even surpassing the MAM Adapter which uses significantly more parameters. As shown in the performance table, Prefix + LN reaches an average score of 79.8, the highest among tested configurations.
  • Speed: LN-tuning consistently showed the lowest training and inference latency compared to Prefix-tuning and MAM Adapters, making it ideal for real-time applications and resource-constrained environments.

Insights and Discussion

  • Synergy and Conflict: A critical finding is that LN-tuning synergizes with MHA-based methods (like prefix-tuning) but conflicts with FFN-based adapters. Tuning FFN and LayerNorm simultaneously often leads to a performance decrease, suggesting these modules may compete for similar representational updates.
  • The Importance of Bias: Ablation studies indicate that the bias term in LayerNorm is more vital for successful adaptation than the gain term.
  • Depth Matters: Visualization of parameter changes showed that LayerNorm modules closer to the model's output undergo more significant tuning than those near the input. This suggests that the final layers of a PLM are the primary site for task-specific re-calibration.

Conclusion

By unfreezing the gain and bias terms of Layer Normalization, researchers have uncovered a highly efficient "knob" for model adaptation. LN-tuning provides a path toward SOTA performance with minimal parameter overhead and industry-leading speed, particularly when paired with attention-based tuning methods.

Summary updated

BibTeX
@misc{qi2022parameter,
  author = {Wang Qi and Yu-Ping Ruan and Yuan Zuo and Taihao Li},
  title = {{Parameter-Efficient Tuning on Layer Normalization for Pre-trained Language Models}},
  year = {2022},
  eprint = {2211.08682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.08682},
}
Figure