Revisiting Mixout: An Overlooked Path to Robust Finetuning

Masih Aminbeidokhti, Heitor Rapela Medeiros, Eric Granger, Marco Pedersoli
10/8/2025
cs.LGcs.CV

No official code found. Best implementation: Masseeh/GMixout (2 stars, last commit 2025-10-08).

Abstract

Finetuning vision foundation models often improves in-domain accuracy but comes at the cost of robustness under distribution shift. We revisit Mixout, a stochastic regularizer that intermittently replaces finetuned weights with their pretrained reference, through the lens of a single-run, weight-sharing implicit ensemble. This perspective reveals three key levers that govern robustness: the \emph{masking anchor}, \emph{resampling frequency}, and \emph{mask sparsity}. Guided by this analysis, we introduce GMixout, which (i) replaces the fixed anchor with an exponential moving-average snapshot that adapts during training, and (ii) regulates masking period via an explicit resampling-frequency hyperparameter. Our sparse-kernel implementation updates only a small fraction of parameters with no inference-time overhead, enabling training on consumer-grade GPUs. Experiments on benchmarks covering covariate shift, corruption, and class imbalance, ImageNet / ImageNet-LT, DomainNet, iWildCam, and CIFAR100-C, GMixout consistently improves in-domain accuracy beyond zero-shot performance while surpassing both Model Soups and strong parameter-efficient finetuning baselines under distribution shift.

View on arXivView PDF

Code Implementations(1)

Masseeh/GMixoutCommunity57%

Revisiting Mixout: An Overlooked Path to Robust Finetuning

20Oct 8, 20251 years ago

Similar Papers

Cite this paper

@article{aminbeidokhti2025revisiting,
  title  = {Revisiting Mixout: An Overlooked Path to Robust Finetuning},
  author = {Masih Aminbeidokhti and Heitor Rapela Medeiros and Eric Granger and Marco Pedersoli},
  year   = {2025},
  eprint = {2510.06982},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06982v1}
}

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/2510.06982.svg)](https://codeofpaper.com/paper/2510.06982)

Discussion