Reproduce “On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselines” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Marius Mosbach, Maksym Andriushchenko, Dietrich Klakow
Researchers from Saarland University and EPFL re-evaluate the fine-tuning instability observed in large language models like BERT, showing it primarily results from optimization challenges and generalization differences rather than catastrophic forgetting or small datasets. They introduce a simple fine-tuning strategy that significantly enhances stability and improves performance across various NLP tasks.
Key insights
- Catastrophic forgetting is not the primary cause of fine-tuning instability; failed runs typically exhibit a fundamental inability to learn the downstream task effectively, evidenced by trivial training loss.
- Small training dataset sizes contribute to instability mainly by reducing the total number of training iterations, not inherently due to data scarcity itself.
- Fine-tuning instability is driven by vanishing gradients in bottom layers during early optimization, which is often exacerbated by omitting ADAM's bias correction, and subsequently by varied generalization capabilities even among models with successful optimization.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.