DomainLab: A modular Python package for domain generalization in deep learning
Not on the map. Why?
Abstract (arXiv)
Poor generalization performance caused by distribution shifts in unseen domains often hinders the trustworthy deployment of deep neural networks. Many domain generalization techniques address this problem by adding a domain invariant regularization loss terms during training. However, there is a lack of modular software that allows users to combine the advantages of different methods with minimal effort for reproducibility. DomainLab is a modular Python package for training user specified neural networks with composable regularization loss terms. Its decoupled design allows the separation of neural networks from regularization loss construction. Hierarchical combinations of neural networks, different domain generalization methods, and associated hyperparameters, can all be specified together with other experimental setup in a single configuration file. Hierarchical combinations of neural networks, different domain generalization methods, and associated hyperparameters, can all be specified together with other experimental setup in a single configuration file. In addition, DomainLab offers powerful benchmarking functionality to evaluate the generalization performance of neural networks in out-of-distribution data. The package supports running the specified benchmark on an HPC cluster or on a standalone machine. The package is well tested with over 95 percent coverage and well documented. From the user perspective, it is closed to modification but open to extension. The package is under the MIT license, and its source code, tutorial and documentation can be found at https://github.com/marrlab/DomainLab.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 21 references that are in the map. First posted on arXiv 21 Mar 2024.
Builds on
16 of 21 references.
References · 16
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2017Deeper, Broader and Artier Domain Generalizationcited by 983
- 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 762
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 2019Domain Generalization by Solving Jigsaw Puzzlescited by 449
- 2020Domain Generalization using Causal Matchingcited by 224
- 2021Fishr: Invariant Gradient Variances for Out-of-Distribution Generalizationcited by 186
- 2019DIVA: Domain Invariant Variational Autoencoderscited by 114
4 more
- 2021Domain Invariant Adversarial Learningcited by 7
- 2019High Dimensional Restrictive Federated Model Selection with multi-objective Bayesian Optimization over shifted distributionscited by 3
- 2021Hierarchical Variational Auto-Encoding for Unsupervised Domain Generalizationcited by 3
- 2019Variational Resampling Based Assessment of Deep Neural Networks under Distribution Shiftcited by 2
Built on by
Not cited yet.