[Paper Review] Elastic Weight Consolidation Improves the Robustness of Self-Supervised Learning Methods under Transfer
This paper proposes using Elastic Weight Consolidation (EWC) with the Fisher Information Matrix (FIM) to regularize self-supervised learning (SSL) fine-tuning, improving robustness to distributional shift in downstream tasks. By constraining fine-tuned models toward initial SSL representations, the method improves worst-group accuracy by 5% on Waterbirds and 2% on Celeb-A using ViT-B/16, with publicly released FIMs for DINO-pretrained models.
Self-supervised representation learning (SSL) methods provide an effective label-free initial condition for fine-tuning downstream tasks. However, in numerous realistic scenarios, the downstream task might be biased with respect to the target label distribution. This in turn moves the learned fine-tuned model posterior away from the initial (label) bias-free self-supervised model posterior. In this work, we re-interpret SSL fine-tuning under the lens of Bayesian continual learning and consider regularization through the Elastic Weight Consolidation (EWC) framework. We demonstrate that self-regularization against an initial SSL backbone improves worst sub-group performance in Waterbirds by 5% and Celeb-A by 2% when using the ViT-B/16 architecture. Furthermore, to help simplify the use of EWC with SSL, we pre-compute and publicly release the Fisher Information Matrix (FIM), evaluated with 10,000 ImageNet-1K variates evaluated on large modern SSL architectures including ViT-B/16 and ResNet50 trained with DINO.
Motivation & Objective
- To address the drift of fine-tuned models away from label-agnostic SSL representations due to biased downstream data distributions.
- To improve robustness in downstream tasks, especially for underrepresented subgroups, by regularizing fine-tuned models toward their initial SSL parameters.
- To apply Bayesian continual learning principles—specifically EWC—to SSL fine-tuning, treating pre-training and fine-tuning as sequential learning tasks.
- To address the ill-conditioning of the FIM in vision transformers (e.g., ViT-B/16), which hinders full recovery of SSL performance.
- To enable practical use of FIM regularization in SSL by pre-computing and releasing FIMs for modern SSL architectures like ViT-B/16 and ResNet50 trained with DINO.
Proposed method
- The method applies Elastic Weight Consolidation (EWC) to fine-tune SSL models, using the Fisher Information Matrix (FIM) to compute parameter regularization weights.
- The FIM is approximated using the empirical Fisher information, computed over 10,000 ImageNet-1K images, with class probabilities sampled from the model’s output distribution.
- To address poor conditioning of the FIM in ViT-B/16, a modified FIM is introduced via rescaling: $ F_{\alpha} = (1-\alpha)F + \alpha\bar{F} $, where $ \bar{F} $ is the mean FIM value and $ \alpha \in [0,1] $.
- The regularization term $ \frac{1}{2} \| \theta - \theta_{\text{SSL}} \|_{F}^2 $ penalizes deviations from the SSL-learned parameters $ \theta_{\text{SSL}} $, with FIM values indicating parameter importance.
- Hyperparameters are selected via random search over 20 trials, with validation based on overall top-1 accuracy without access to group labels.
- The approach is validated on Waterbirds and Celeb-A, comparing EWC-FIM, adjusted FIM, L2, and ERM baselines across 5 random seeds.
Experimental results
Research questions
- RQ1Can EWC-based regularization toward an initial SSL representation improve worst-group performance in downstream tasks with biased data distributions?
- RQ2Why does standard FIM regularization fail to recover SSL performance on ViT-B/16, and how can this be mitigated?
- RQ3Does FIM-based regularization outperform standard ERM fine-tuning in terms of worst-group accuracy on benchmark datasets like Waterbirds and Celeb-A?
- RQ4How does the conditioning of the FIM affect the effectiveness of EWC in vision transformers compared to CNNs like ResNet50?
- RQ5Can the FIM be pre-computed and released for modern SSL models to enable practical, robust fine-tuning in real-world scenarios?
Key findings
- EWC with FIM regularization improves worst-group accuracy (WGA) on Waterbirds by 5% compared to the ERM baseline when using ViT-B/16.
- On Celeb-A, the same method improves WGA by 2% over the ERM baseline using ViT-B/16.
- For ResNet50, FIM regularization improves WGA by approximately 1% on Celeb-A but underperforms ERM on Waterbirds.
- The FIM for ViT-B/16 is poorly conditioned, with many values near zero or $ 10^{-30} $, making it a pseudo-norm and preventing full recovery of the SSL model.
- Rescaling the FIM with $ \alpha = 10^{-3} $ improves the Pareto front of regularization performance, outperforming both unadjusted FIM and L2 regularization.
- The authors release pre-computed FIMs for DINO-pretrained ViT-B/16 and ResNet50 on ImageNet-1K, enabling reproducibility and practical use.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.