Robust and Efficient Finetuning of Vision Foundation Models via Implicit Ensembling

robust-and-efficient-finetuning-of-vision-foundation-models-via-implicit-ensembling

Robust and Efficient Finetuning of Vision Foundation Models via Implicit Ensembling

[Submitted on 8 Oct 2025 (v1), last revised 19 Oct 2026 (this version, v2)]

View PDF HTML (experimental)

Abstract:Robust finetuning of foundation models seeks to improve out-of-distribution (OOD) generalization during in-distribution (ID) adaptation. We revisit Mixout, a stochastic regularizer that intermittently replaces finetuned parameters with a reference anchor, and study its effectiveness for robust finetuning of vision foundation models. We reinterpret Mixout as a single-run, weight-sharing implicit ensemble and analyze its expected OOD error through a bias-variance-covariance-locality (BVCL) lens. This perspective reveals three key factors that govern the ID-OOD trade-off: the choice of masking anchor, the mask resampling frequency, and mask sparsity. Guided by this analysis, we propose GMixout, which generalizes Mixout in three ways. First, it explicitly controls the masking period through a resampling-frequency hyperparameter. Second, it replaces the fixed pretrained anchor with an exponential moving average snapshot that adapts throughout training. Third, it uses sparse kernels to update only a small subset of parameters at each iteration, introducing no inference-time overhead and enabling large-model finetuning on consumer-grade GPUs. Experiments across five vision benchmarks show that GMixout consistently outperforms Mixout, Model Soups, and strong parameter-efficient finetuning baselines under both covariate shift and class imbalance.

Submission history

From: Masih Aminbeidokhti [view email]
[v1] Wed, 8 Oct 2025 13:07:50 UTC (183 KB)
[v2] Mon, 19 Oct 2026 15:33:22 UTC (290 KB)