Introduction
Pretrained language models like BERT have revolutionized NLP by providing rich, general-purpose feature representations. However, fine-tuning these massive models on small datasets often leads to severe overfitting. In low-resource scenarios, models frequently latch onto "spurious correlations"—superficial patterns or annotation biases—rather than learning the underlying semantic logic of the task. This paper introduces VIBERT, a method designed to mitigate this issue by applying the Variational Information Bottleneck (VIB) principle to the fine-tuning process.
The VIBERT Framework
VIBERT modifies the standard fine-tuning pipeline by inserting a VIB layer between the pretrained encoder and the final task-specific classifier. The core objective is to find a latent representation $z$ that balances two competing goals: maximizing predictive power for the target label $y$ while minimizing the amount of information retained from the input $x$.
As shown in Figure 1, the encoder's output is passed through a shallow Multi-Layer Perceptron (MLP) to estimate the parameters—mean ($\mu$) and variance ($\Sigma$)—of a Gaussian distribution. A latent representation $z$ is then sampled from this distribution. This stochastic sampling process introduces noise, forcing the model to prioritize robust, task-relevant "signals" over redundant, noisy features. The training objective includes a Kullback-Leibler (KL) divergence term that acts as a regularizer, penalizing the model for encoding excessive information from the original input.
Experimental Evaluation
The authors evaluated VIBERT across several low-resource benchmarks from the GLUE suite, including MRPC (paraphrase detection), STS-B (semantic similarity), and RTE (textual entailment). Additionally, they tested the model's robustness to varying training set sizes (200 to 6,000 samples) and its ability to generalize to 15 different out-of-domain (OOD) Natural Language Inference (NLI) datasets.
Key Results and Stability
VIBERT consistently outperformed standard BERT and other regularization techniques like Dropout or Mixout. On the RTE dataset, VIBERT achieved a 2.6% accuracy improvement over the BERT-base baseline. Beyond raw accuracy, VIBERT significantly improved training stability.
Figure 5 illustrates that VIBERT exhibits much lower variance across different random seeds compared to standard BERT. This reduction in "seed instability" is crucial for low-resource settings where performance can otherwise be highly unpredictable. Furthermore, OOD testing showed that VIBERT improved performance on 13 out of 15 benchmarks, with an average gain of 5.5 points, suggesting that the bottleneck successfully filters out dataset-specific biases in favor of more generalizable semantic features.
Conclusion and Future Directions
VIBERT provides a lightweight (adding only ~1.22% parameters) yet effective solution for robust fine-tuning in data-scarce environments. While its benefits are most pronounced in low-resource settings (under 1,000 samples), future work could explore applying the bottleneck across multiple layers of the Transformer architecture. Additionally, managing the sensitivity of the $\beta$ hyperparameter—which controls the compression intensity—remains a key area for optimization to ensure the ideal trade-off between information retention and noise reduction.
Summary updated