arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14356cs.LGcs.SE
收藏

DomainLab:一个用于深度学习中领域泛化的模块化Python包

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

Institute of AI for Health, Helmholtz Munich(慕尼黑亥姆霍兹人工智能健康研究所);Technical University of Munich(慕尼黑工业大学);Division of Imaging, Diagnostics, and Software Reliability, CDRH U.S Food and Drug Administration(美国食品药品监督管理局设备与放射卫生中心成像、诊断与软件可靠性部);Medical University of Innsbruck(因斯布鲁克医科大学);Machine Learning Research Lab, Volkswagen Group(大众集团机器学习研究实验室);Data & Analytics (D&A), Roche Pharma Research and Early Development (pRED), Roche Innovation Center Munich(罗氏制药研发与早期开发部数据与分析部门(慕尼黑罗氏创新中心));Helmholtz AI(亥姆霍兹人工智能);German Cancer Research Center (DKFZ)(德国癌症研究中心)
Xudong Sun, Carla Feistner, Alexej Gossmann, George Schwarz, Rao Muhammad Umer, Lisa Beer, Patrick Rockenschaub, Rahul Babu Shrestha, Armin Gruber, Nutan Chen, … 展开作者

Xudong Sun, Carla Feistner, Alexej Gossmann, George Schwarz, Rao Muhammad Umer, Lisa Beer, Patrick Rockenschaub, Rahul Babu Shrestha, Armin Gruber, Nutan Chen, Sayedali Shetab Boushehri, Florian Buettner, Carsten Marr

AI总结:

DomainLab是一个模块化Python包,通过解耦设计与可组合正则化损失项,支持深度神经网络在分布外数据上的领域泛化训练与基准测试。

摘要:

由未见领域中分布偏移导致的泛化性能不佳,常常阻碍深度神经网络的可信部署。许多领域泛化技术通过在训练期间添加领域不变正则化损失项来解决此问题。然而,缺乏模块化软件允许用户以最小的努力结合不同方法的优势以实现可复现性。DomainLab是一个模块化的Python包,用于训练用户指定的神经网络,并支持可组合的正则化损失项。其解耦设计允许将神经网络与正则化损失构建分离。神经网络、不同领域泛化方法及相关超参数的分层组合,均可与其他实验设置一起在单个配置文件中指定。神经网络、不同领域泛化方法及相关超参数的分层组合,均可与其他实验设置一起在单个配置文件中指定。此外,DomainLab提供强大的基准测试功能,以评估神经网络在分布外数据上的泛化性能。该包支持在HPC集群或独立机器上运行指定的基准测试。该包经过充分测试,覆盖率超过95%,且文档完善。从用户角度来看,它对修改封闭但对扩展开放。该包采用MIT许可证,其源代码、教程和文档可在https://github.com/marrlab/DomainLab找到。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑