Treffer: DomainLab: A modular Python package for domain generalization in deep learning

Title:
DomainLab: A modular Python package for domain generalization in deep learning
Publisher Information:
2024-03-21
Document Type:
E-Ressource Electronic Resource
Availability:
Open access content. Open access content
Other Numbers:
COO oai:arXiv.org:2403.14356
1438538640
Contributing Source:
CORNELL UNIV
From OAIster®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1438538640
Database:
OAIster

Weitere Informationen

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.