On the Unreasonable Effectiveness of Last-layer Retraining

John C. Hill, Tyler LaBonte, Xinchen Zhang, Vidya Muthukumar
12/1/2025
cs.LG

No official code found. Best implementation: tmlabonte/understanding-llr (1 star, MIT, last commit 2026-02-15).

Abstract

Last-layer retraining (LLR) methods -- wherein the last layer of a neural network is reinitialized and retrained on a held-out set following ERM training -- have garnered interest as an efficient approach to rectify dependence on spurious correlations and improve performance on minority groups. Surprisingly, LLR has been found to improve worst-group accuracy even when the held-out set is an imbalanced subset of the training set. We initially hypothesize that this ``unreasonable effectiveness'' of LLR is explained by its ability to mitigate neural collapse through the held-out set, resulting in the implicit bias of gradient descent benefiting robustness. Our empirical investigation does not support this hypothesis. Instead, we present strong evidence for an alternative hypothesis: that the success of LLR is primarily due to better group balance in the held-out set. We conclude by showing how the recent algorithms CB-LLR and AFR perform implicit group-balancing to elicit a robustness improvement.

View on arXivView PDF

Code Implementations(1)

MIT

Official codebase for the ICLR 2025 SCSL workshop paper: On the Unreasonable Effectiveness of Last-layer Retraining.

10PythonJul 19, 20248 months agoMIT

Similar Papers

Cite this paper

@article{hill2025unreasonable,
  title  = {On the Unreasonable Effectiveness of Last-layer Retraining},
  author = {John C. Hill and Tyler LaBonte and Xinchen Zhang and Vidya Muthukumar},
  year   = {2025},
  eprint = {2512.01766},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.01766v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.01766.svg)](https://codeofpaper.com/paper/2512.01766)

Discussion