Skip to main content
QUICK REVIEW

[Paper Review] No Parameters Left Behind: Sensitivity Guided Adaptive Learning Rate for Training Large Transformer Models

Liang Chen, Haoming Jiang|arXiv (Cornell University)|Feb 6, 2022
Topic ModelingComputer Science8 citations
TL;DR

This paper proposes SAGE, a sensitivity-guided adaptive learning rate schedule that dynamically adjusts individual parameter learning rates based on their sensitivity to model performance. By increasing learning rates for low-sensitivity (under-fitted) parameters and decreasing them for high-sensitivity (well-trained) parameters, SAGE reduces redundancy and improves generalization, achieving state-of-the-art performance across NLP and vision tasks with consistent gains over standard optimizers.

ABSTRACT

Recent research has shown the existence of significant redundancy in large Transformer models. One can prune the redundant parameters without significantly sacrificing the generalization performance. However, we question whether the redundant parameters could have contributed more if they were properly trained. To answer this question, we propose a novel training strategy that encourages all parameters to be trained sufficiently. Specifically, we adaptively adjust the learning rate for each parameter according to its sensitivity, a robust gradient-based measure reflecting this parameter's contribution to the model performance. A parameter with low sensitivity is redundant, and we improve its fitting by increasing its learning rate. In contrast, a parameter with high sensitivity is well-trained, and we regularize it by decreasing its learning rate to prevent further overfitting. We conduct extensive experiments on natural language understanding, neural machine translation, and image classification to demonstrate the effectiveness of the proposed schedule. Analysis shows that the proposed schedule indeed reduces the redundancy and improves generalization performance.

Motivation & Objective

  • To investigate whether redundant parameters in large Transformer models are truly useless or merely under-trained due to suboptimal optimization strategies.
  • To address the hypothesis that insufficient training, not inherent redundancy, causes parameter underfitting.
  • To develop a training strategy that ensures all parameters are sufficiently trained by adapting learning rates based on sensitivity.
  • To improve model generalization by reducing weight redundancy through dynamic learning rate scheduling.
  • To demonstrate that the proposed method is compatible with and enhances existing adaptive optimization methods.

Proposed method

  • The method introduces a per-parameter learning rate schedule based on sensitivity, a gradient-based measure of each parameter's contribution to model performance.
  • Parameters with low sensitivity (indicating redundancy or under-fitting) are assigned higher learning rates to accelerate their training.
  • Parameters with high sensitivity (indicating strong contribution or over-fitting risk) are assigned lower learning rates to regularize them and prevent overfitting.
  • A local temporal variation of sensitivity is computed as the absolute difference between current sensitivity and its exponential moving average, to account for instability and uncertainty in sensitivity estimates.
  • The final learning rate for each parameter is a function of both its sensitivity and local temporal variation, ensuring robustness to noisy or fluctuating sensitivity values.
  • The method is compatible with existing adaptive optimizers like Adam and can be seamlessly integrated into standard training pipelines.

Experimental results

Research questions

  • RQ1Can redundant parameters in large Transformer models become useful if trained more effectively through adaptive learning rate scheduling?
  • RQ2Does a sensitivity-based learning rate adaptation strategy reduce model redundancy and improve generalization performance?
  • RQ3How does the proposed method compare to standard optimizers across diverse NLP and vision tasks?
  • RQ4Can the sensitivity-guided learning rate schedule be combined effectively with state-of-the-art regularization techniques?
  • RQ5Does the method reduce overfitting and improve generalization within a wider hyperparameter search space?

Key findings

  • SAGE achieved a 1% improvement in generalization performance on the RTE dataset when fine-tuning BERT-base, even with up to 20% of parameters pruned.
  • On the GLUE benchmark, SAGE with Adamax outperformed standard Adamax by 2.6 points on average, with gains across all tasks including a 3.4-point improvement on RTE.
  • The decision boundary learned by SAGE was smoother and had a larger margin than Adam on the Spiral dataset, indicating better generalization.
  • SAGE reduced the variance of sensitivity scores during training, indicating more balanced and sufficient parameter training.
  • SAGE consistently improved generalization across a wider region of the hyperparameter search space, especially for learning rate and $eta$ hyperparameters.
  • When combined with SMART, a state-of-the-art adversarial regularization method, SAGE further improved performance, demonstrating complementarity with existing regularization techniques.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.