Fine-tuning with Very Large Dropout
Jianyu Zhang, Léon Bottou
TL;DR
This paper tackles the problem of out-of-distribution generalization when fine-tuning pre-trained models. It introduces a simple yet effective approach: applying very large dropout (around 90%) to the penultimate layer during fine-tuning to force the model to rely on a richer, more redundant set of features. Empirical results across multiple DomainBed tasks show that very-large dropout outperforms ensemble and weight-averaging baselines, and remains compatible with other fine-tuning tricks, while preserving robustness to hyperparameters. The findings suggest that, in o.o.d. settings, enriching representations rather than sparsifying them yields meaningful gains, with practical implications for deploying large foundational models in diverse deployment contexts.
Abstract
It is impossible today to pretend that the practice of machine learning is always compatible with the idea that training and testing data follow the same distribution. Several authors have recently used ensemble techniques to show how scenarios involving multiple data distributions are best served by representations that are both richer than those obtained by regularizing for the best in-distribution performance, and richer than those obtained under the influence of the implicit sparsity bias of common stochastic gradient procedures. This contribution investigates the use of very high dropout rates instead of ensembles to obtain such rich representations. Although training a deep network from scratch using such dropout rates is virtually impossible, fine-tuning a large pre-trained model under such conditions is not only possible but also achieves out-of-distribution performances that exceed those of both ensembles and weight averaging methods such as model soups. This result has practical significance because the importance of the fine-tuning scenario has considerably grown in recent years. This result also provides interesting insights on the nature of rich representations and on the intrinsically linear nature of fine-tuning a large network using a comparatively small dataset.
