ERM++: An Improved Baseline for Domain Generalization
Not on the map. Why?
Abstract (arXiv)
Domain Generalization (DG) aims to develop classifiers that can generalize to new, unseen data distributions, a critical capability when collecting new domain-specific data is impractical. A common DG baseline minimizes the empirical risk on the source domains. Recent studies have shown that this approach, known as Empirical Risk Minimization (ERM), can outperform most more complex DG methods when properly tuned. However, these studies have primarily focused on a narrow set of hyperparameters, neglecting other factors that can enhance robustness and prevent overfitting and catastrophic forgetting, properties which are critical for strong DG performance. In our investigation of training data utilization (i.e., duration and setting validation splits), initialization, and additional regularizers, we find that tuning these previously overlooked factors significantly improves model generalization across diverse datasets without adding much complexity. We call this improved, yet simple baseline ERM++. Despite its ease of implementation, ERM++ improves DG performance by over 5% compared to prior ERM baselines on a standard benchmark of 5 datasets with a ResNet-50 and over 15% with a ViT-B/16. It also outperforms all state-of-the-art methods on DomainBed datasets with both architectures. Importantly, ERM++ is easy to integrate into existing frameworks like DomainBed, making it a practical and powerful tool for researchers and practitioners. Overall, ERM++ challenges the need for more complex DG methods by providing a stronger, more reliable baseline that maintains simplicity and ease of use. Code is available at urlhttps://github.com/piotr-teterwak/ermplusplus
Key facts. Cited by 18 papers in the map (data through 7 Oct 2026). Builds on 67 of its 89 references that are in the map. First posted on arXiv 4 Apr 2023.
Builds on
67 of 89 references.
References · 67
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2017Squeeze-and-Excitation Networkscited by 4,763
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2020Exploring Simple Siamese Representation Learningcited by 2,853
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2019Invariant Risk Minimizationcited by 1,832
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,544
- 2017Accurate, Large Minibatch SGD: Training ImageNet in 1 Hourcited by 1,479
38 more
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2018Moment Matching for Multi-Source Domain Adaptationcited by 1,327
- 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
- 2017Deep Hashing Network for Unsupervised Domain Adaptationcited by 1,181
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2021Robust fine-tuning of zero-shot modelscited by 785
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2022Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distributioncited by 722
- 2018Recognition in Terra Incognitacited by 655
- 2013Domain Generalization via Invariant Feature Representationcited by 622
- 2021Domain Generalization with MixStylecited by 563
- 2021How to train your ViT? Data, Augmentation, and Regularization in Vision Transformerscited by 562
- 2019Fantastic Generalization Measures and Where to Find Themcited by 507
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 438
- 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 431
- 2013DeCAF: A Deep Convolutional Activation Feature for Generic Visual Recognitioncited by 422
- 2020What is being transferred in transfer learning?cited by 365
- 2021ResNet strikes back: An improved training procedure in timmcited by 365
- 2017Snapshot Ensembles: Train 1, get M for freecited by 349
- 2017Functional Map of the Worldcited by 338
- 2019Adversarial Examples Improve Image Recognitioncited by 283
- 2021Knowledge distillation: A good teacher is patient and consistentcited by 255
- 2019Adversarial Domain Adaptation with Domain Mixupcited by 250
- 2018Explicit Inductive Bias for Transfer Learning with Convolutional Networkscited by 226
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
- 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
- 2020Improve Unsupervised Domain Adaptation with Mixup Trainingcited by 185
- 2020Adaptive Risk Minimization: Learning to Adapt to Domain Shiftcited by 183
- 2017Domain Generalization by Marginal Transfer Learningcited by 180
- 2022Diverse Weight Averaging for Out-of-Distribution Generalizationcited by 148
50 most cited of 67 All 67 (JSON)
Built on by
Citing papers per year: 2023: 2; 2024: 5; 2025: 3; 2026: 8.
18 papers.
Sort:
By area:
- 2024Towards Modality Generalization: A Benchmark and Prospective Analysiscited by 10
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
- 2024Prompt-driven Latent Domain Generalization for Medical Image Classificationcited by 8
- 2023Robust Fine-Tuning of Vision-Language Models for Domain Generalizationcited by 7
- 2023The Pursuit of Human Labeling: A New Perspective on Unsupervised Learningcited by 6
- 2024Grounding Stylistic Domain Generalization with Quantitative Domain Shift Measures and Synthetic Scene Imagescited by 6
- 2025What's in a Latent? Leveraging Diffusion Latent Space for Domain Generalizationcited by 3
- 2024Diverse Feature Learning by Self-distillation and Resetcited by 2
- 2025Noise-Aware Generalization: Robustness to In-Domain Noise and Out-of-Domain Generalizationcited by 2
- 2025Domain Generalization Under Posterior Driftcited by 2
- 2026Distribution Shift Is Key to Learning Invariant Predictioncited by 2
- 2026PAS: Estimating the target accuracy before domain adaptationcited by 1
6 more
- 2026CPCANet: Deep Unfolding Common Principal Component Analysis for Domain Generalizationcited by 1
- 2026Experience with Single Domain Generalization in Real World Medical Imaging Deploymentscited by 0
- 2026From Global to Local: Rethinking CLIP Feature Aggregation for Person Re-Identificationcited by 0
- 2026CRISP: Compositional Relations as Invariant Structural Priors for Domain Generalizationcited by 0
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimizationcited by 0
- 2026Domain Generalization for Smartphone-Based Human Activity Recognition: A Systematic Analysis of Components and Interactionscited by 0
- 2026Domain Generalization for Smartphone-Based Human Activity Recognition: A Systematic Analysis of Components and Interactions14 Sep 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026CRISP: Compositional Relations as Invariant Structural Priors for Domain Generalization7 May 2026
- 2026CPCANet: Deep Unfolding Common Principal Component Analysis for Domain Generalization6 May 2026
- 2026From Global to Local: Rethinking CLIP Feature Aggregation for Person Re-Identification24 Apr 2026
- 2026PAS: Estimating the target accuracy before domain adaptation10 Apr 2026
- 2026Experience with Single Domain Generalization in Real World Medical Imaging Deployments22 Jan 2026
- 2026Distribution Shift Is Key to Learning Invariant Prediction18 Jan 2026
- 2025Domain Generalization Under Posterior Drift6 Oct 2025
- 2025Noise-Aware Generalization: Robustness to In-Domain Noise and Out-of-Domain Generalization3 Apr 2025
- 2025What's in a Latent? Leveraging Diffusion Latent Space for Domain Generalization9 Mar 2025
- 2024Towards Modality Generalization: A Benchmark and Prospective Analysis24 Dec 2024
6 more
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?3 Dec 2024
- 2024Grounding Stylistic Domain Generalization with Quantitative Domain Shift Measures and Synthetic Scene Images24 May 2024
- 2024Diverse Feature Learning by Self-distillation and Reset29 Mar 2024
- 2024Prompt-driven Latent Domain Generalization for Medical Image Classification5 Jan 2024
- 2023The Pursuit of Human Labeling: A New Perspective on Unsupervised Learning6 Nov 2023
- 2023Robust Fine-Tuning of Vision-Language Models for Domain Generalization3 Nov 2023
- 2024Towards Modality Generalization: A Benchmark and Prospective Analysiscited by 10
- 2024Is Large-Scale Pretraining the Secret to Good Domain Generalization?cited by 9
- 2024Prompt-driven Latent Domain Generalization for Medical Image Classificationcited by 8
- 2023The Pursuit of Human Labeling: A New Perspective on Unsupervised Learningcited by 6
- 2024Grounding Stylistic Domain Generalization with Quantitative Domain Shift Measures and Synthetic Scene Imagescited by 6
- 2025What's in a Latent? Leveraging Diffusion Latent Space for Domain Generalizationcited by 3
- 2024Diverse Feature Learning by Self-distillation and Resetcited by 2
- 2025Noise-Aware Generalization: Robustness to In-Domain Noise and Out-of-Domain Generalizationcited by 2
- 2025Domain Generalization Under Posterior Driftcited by 2
- 2026Distribution Shift Is Key to Learning Invariant Predictioncited by 2
- 2026PAS: Estimating the target accuracy before domain adaptationcited by 1
- 2026CPCANet: Deep Unfolding Common Principal Component Analysis for Domain Generalizationcited by 1
12 most cited of 17 All 17 (JSON)
- 2026Domain Generalization for Smartphone-Based Human Activity Recognition: A Systematic Analysis of Components and Interactions14 Sep 2026
- 2026Fix the Loss, Not the Radius: Rethinking the Adversarial Perturbation of Sharpness-Aware Minimization11 May 2026
- 2026CRISP: Compositional Relations as Invariant Structural Priors for Domain Generalization7 May 2026
- 2026CPCANet: Deep Unfolding Common Principal Component Analysis for Domain Generalization6 May 2026
- 2026From Global to Local: Rethinking CLIP Feature Aggregation for Person Re-Identification24 Apr 2026
- 2026PAS: Estimating the target accuracy before domain adaptation10 Apr 2026
- 2026Experience with Single Domain Generalization in Real World Medical Imaging Deployments22 Jan 2026
- 2026Distribution Shift Is Key to Learning Invariant Prediction18 Jan 2026
- 2025Domain Generalization Under Posterior Drift6 Oct 2025
- 2025Noise-Aware Generalization: Robustness to In-Domain Noise and Out-of-Domain Generalization3 Apr 2025
- 2025What's in a Latent? Leveraging Diffusion Latent Space for Domain Generalization9 Mar 2025
- 2024Towards Modality Generalization: A Benchmark and Prospective Analysis24 Dec 2024
12 newest of 17 All 17 (JSON)