Source-linked AI summary
Better Fine-Tuning by Reducing Representational Collapse
Armen Aghajanyan, Akshat Shrivastava, Anchit Gupta, Naman Goyal, Luke Zettlemoyer, Sonal Gupta
TL;DR
Fine-tuning pre-trained language models is unstable, and standard updates can degrade generalizable representations. The paper introduces lightweight trust-region-inspired regularization using parametric noise instead of adversarial objectives, achieving competitive or better performance with reduced overhead while alleviating representational collapse.
Problem
Fine-tuning pre-trained language models is unstable across hyper-parameter settings, and standard fine-tuning degrades generalizable representations through representational collapse.
Source: §1 · pp. 1–2Method
R3F and R4F use trust-region-inspired regularization with parametric normal or uniform noise, with R4F additionally constraining the classification head through spectral normalization.
Source: §1 · pp. 1–2, §2 · pp. 2–3Results
Takeaways & Limitations
The methods retain more generalizable pre-trained representations and improve end-task performance across monolingual, multilingual, sentence-prediction, and generation tasks.
Source: §1 · p. 2, §5 · p. 8The method is not evaluated on STS-B because its KL divergence is undefined for that regression task.
Source: XNLI · p. 4
Abstract
from arXiv · showhide
Although widely adopted, existing approaches for fine-tuning pre-trained language models have been shown to be unstable across hyper-parameter settings, motivating recent work on trust region methods. In this paper, we present a simplified and efficient method rooted in trust region theory that replaces previously used adversarial objectives with parametric noise (sampling from either a normal or uniform distribution), thereby discouraging representation change during fine-tuning when possible without hurting performance. We also introduce a new analysis to motivate the use of trust region methods more generally, by studying representational collapse; the degradation of generalizable representations from pre-trained models as they are fine-tuned for a specific end task. Extensive experiments show that our fine-tuning method matches or exceeds the performance of previous trust region methods on a range of understanding and generation tasks (including DailyMail/CNN, Gigaword, Reddit TIFU, and the GLUE benchmark), while also being much faster. We also show that it is less prone to representation collapse; the pre-trained models maintain more generalizable representations every time they are fine-tuned.
1 INTRODUCTION
Fine-tuning pre-trained language models is unstable and can damage generalizable representations. The paper proposes lightweight trust-region-inspired methods that reduce representational collapse while preserving or improving performance.
- Fine-tuning pre-trained language models can produce failed runs, seed-sensitive results, over-fitting, and other unwanted consequences across hyper-parameter settings.Source: §1 · p. 1
- Trust-region methods improve fine-tuning stability and accuracy by constraining changes to initial parameters, but require substantially more computation and memory.Source: §1 · p. 1
- The proposed lightweight strategy matches or improves SMART and FreeLB performance with a fraction of their computational and memory overhead and no additional backward passes.Source: §1 · pp. 1–2
- Representational collapse is defined and measured as degradation of generalizable pre-trained representations during fine-tuning.Probing experiments connect this degradation to standard fine-tuning and compare trust-region-based methods.Source: §1 · p. 2
- The method achieves state-of-the-art or improved results across sentence prediction, summarization, monolingual, and cross-lingual tasks.Reported outcomes include state of the art on GLUE and improvements spanning sentence prediction to summarization.Source: §1 · p. 2
2 LEARNING ROBUST REPRESENTATIONS THROUGH REGULARIZED FINE-TUNING
The method approximates trust-region optimization by regularizing prediction changes under parametric noise rather than using adversarial optimization. Optional spectral normalization constrains the classification head, reducing computational cost while retaining performance.
- The objective minimizes task loss while constraining movement in the density space of pre-trained representations between update steps.Source: §2 · p. 2
- Direct natural-gradient optimization over representation density is impractical, motivating an approximation over g·f with a 1-Lipschitz classification head.Source: §2 · p. 2
- SMART approximates the intractable supremum with adversarial gradient-ascent steps, whereas the proposed method removes those ascent computations.Source: §2 · p. 3, §2.1 · p. 3
- R3F regularizes symmetric KL divergence between outputs for an input and a perturbed input, with perturbations sampled from centered normal or uniform distributions.Source: §2 · p. 3
- The proposed methods are significantly more computationally efficient than adversarial fine-tuning while matching or exceeding FreeLB and SMART across many tasks.Source: §2.1 · p. 3, Table 1 · p. 3
3 EXPERIMENTS
The experiments evaluate R3F/R4F against standard and trust-region fine-tuning methods across GLUE, XNLI, and abstractive summarization, emphasizing performance, stability, and computational cost.
Experimental setup
- The evaluation uses fixed-budget hyperparameter searches and, where tractable, reports median and maximum results plus distributions across multiple runs.GLUE experiments use 10 seeds, while XNLI results average five zero-shot runs.Source: §3 · p. 4, GLUE · p. 4
Sentence prediction
- R3F and R4F are evaluated on RoBERTa-Large single-task models across MNLI, QQP, RTE, QNLI, MRPC, CoLA, and SST-2.Performance is reported on the GLUE development set.Source: GLUE · p. 4
- On GLUE, R3F and R4F unanimously improve over Standard and Standard++ fine-tuning while matching or exceeding SMART and FreeLB at a fraction of the computational cost.The relative wall-time advantage is reported as consistent across GLUE tasks.Source: GLUE · p. 4
Cross-lingual prediction
- R4F reaches an average XNLI score of 81.4 across five runs and dominates standard pre-training on 14 of 15 languages.The result uses XLM-R Large in the zero-shot setting; the cited current state of the art requires novel pretraining.Source: XNLI · p. 5
Summarization
- The summarization evaluation reports ROUGE-1, ROUGE-2, and ROUGE-L for each dataset, following PEGASUS’s convention for highlighting best or near-best numbers.The datasets are CNN/DailyMail, Gigaword, and Reddit TIFU.Source: §3.2 · pp. 5–6, Table 4 · p. 6
- For CNN/DailyMail, Gigaword, and Reddit TIFU, R3F outperforms standard fine-tuning across all reported ROUGE metrics.Gigaword and Reddit TIFU improve by 1 and 4 points respectively on ROUGE-1.Source: §3.2 · pp. 5–6
4 REPRESENTATIONAL COLLAPSE
The paper defines representational collapse as degradation of generalizable pretrained representations during fine-tuning and measures it through probing across tasks and sequential training. Experiments find that standard fine-tuning degrades representations, whereas R3F/R4F retain them better and achieve stronger probing performance.
- Representational collapse is the degradation of generalizable pretrained representations during fine-tuning, independent of any single task.The paper contrasts this with catastrophic forgetting, which concerns forgetting examples on a fixed task.Source: §4 · p. 6
PROBING GENERALIZATION OF FINE-TUNED REPRESENTATIONS
- The probing methodology freezes representations from one task and fine-tunes a linear layer for another task to measure representation quality.This evaluates how much representations collapse after fine-tuning on a sequence of tasks.Source: PROBING GENERALIZATION OF FINE-TUNED… · p. 6, §4 · p. 6
- Across six GLUE probes after SST-2 fine-tuning, R3F or R4F performed best, while standard fine-tuning produced worse representations across the board.R3F/R4F also consistently outperformed the adversarial SMART method.Source: PROBING GENERALIZATION OF FINE-TUNED… · p. 7, Figure 3 · p. 7
PROBING REPRESENTATION DEGRADATION
- Sequential probing on QNLI, QQP, and RTE showed that standard fine-tuning diverged from the source task, reducing source-task probe performance.The experiment began with SST-2 and used the best checkpoint from each prior iteration.Source: PROBING REPRESENTATION DEGRADATION · p. 7
PROBING REPRESENTATION RETENTION
- R4F retained representation quality significantly better than standard fine-tuning across three cycles of cyclic sequential probing.The evaluated GLUE sequence was SST-2 → QNLI → QQP → RTE.Source: PROBING REPRESENTATION RETENTION · p. 8, Figure 5 · p. 8
5 CONCLUSION
The conclusion presents R3F and R4F as efficient trust-region-based fine-tuning methods that address representational collapse. Across sentence-prediction and generation tasks, they improve on standard and adversarial fine-tuning and achieve several state-of-the-art results.
- R3F and R4F are trust-region-based fine-tuning approaches designed to retain generalizable representations while reducing computational cost.The paper attributes improved end-task performance to retaining representation generalizability.Source: §5 · p. 8
- The methods improve monolingual and multilingual sentence prediction and generation tasks compared with standard and adversarial fine-tuning.Reported results include state of the art on DailyMail/CNN, Gigaword, Reddit TIFU, and zero-shot XNLI, plus improved RoBERTa GLUE results.Source: §5 · p. 8
A.1 CONTROLLING CHANGE OF REPRESENTATION VIA CHANGE OF VARIABLE
This appendix analyzes representation change through a Markovian chain and change-of-variable reasoning. A spectral-norm assumption bounds the Jacobian determinant and motivates spectral normalization as a control on tightness.
- The analysis models representations as a Markovian chain x → y → z, with y = f(x; θ_f) and z = g(y; θ_g).Source: §A.1 · p. 10
- Change-of-variable reasoning expresses the probability density after transforming x through f and g using the corresponding Jacobian determinants.Source: §A.1 · pp. 10–11
- Assuming g(y) = Wy with spectral norm ρ(W) = 1 gives |det W| ≤ 1, bounding the transformation's volume change.Source: §A.1 · p. 11
- The tightness of the bound is controlled by |det W|, whose singular-value dependence provides intuition for using spectral normalization.Source: §A.1 · p. 11
A.2 EXPERIMENT HYPER-PARAMETERS
The appendix lists implementation settings for GLUE, summarization, and XNLI experiments. Probing differs from full fine-tuning by freezing the RoBERTa encoder and removing encoder dropout.
- GLUE experiments include both full fine-tuning and probing configurations.For probing, the RoBERTa encoder is frozen and encoder dropout is removed.Source: §A.2 · p. 11
- Table 5 contains task-specific hyperparameters for GLUE experiments.Source: Table 5 · p. 11
- Table 6 contains R3F and R4F hyperparameters for GLUE experiments.Source: Table 6 · p. 11
- Table 7 contains task-specific hyperparameters for summarization experiments.Source: Table 7 · p. 12
- Table 8 contains R3F and R4F hyperparameters for summarization experiments, while Table 9 contains their XNLI hyperparameters.Source: Table 8 · p. 12, Table 9 · p. 12
Related papers
This paper cites
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2018
- GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understanding2018
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension2019
- Teaching Machines to Read and Comprehend2015
- PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarization2019
- SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimization2019