Diverse Weight Averaging for Out-of-Distribution Generalization
Alexandre Ramé, Matthieu Kirchmeyer, Thibaud Rahier, Alain Rakotomamonjy, Patrick Gallinari, Matthieu Cord
摘要
Standard neural networks struggle to generalize under distribution shifts in computer vision. Fortunately, combining multiple networks can consistently improve out-of-distribution generalization. In particular, weight averaging (WA) strategies were shown to perform best on the competitive DomainBed benchmark; they directly average the weights of multiple networks despite their nonlinearities. In this paper, we propose Diverse Weight Averaging (DiWA), a new WA strategy whose main motivation is to increase the functional diversity across averaged models. To this end, DiWA averages weights obtained from several independent training runs: indeed, models obtained from different runs are more diverse than those collected along a single run thanks to differences in hyperparameters and training procedures. We motivate the need for diversity by a new bias-variance-covariance-locality decomposition of the expected error, exploiting similarities between WA and standard functional ensembling. Moreover, this decomposition highlights that WA succeeds when the variance term dominates, which we show occurs when the marginal distribution changes at test time. Experimentally, DiWA consistently improves the state of the art on DomainBed without inference overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 81 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- TIES-Merging: Resolving Interference When Merging Models 引用了 Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models
- TIES-Merging: Resolving Interference When Merging Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization 引用了 Distributionally Robust Neural Networks
- Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization 引用了 Moment Matching for Multi-Source Domain Adaptation
- Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization 引用了 WILDS: A Benchmark of in-the-Wild Distribution Shifts
- Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
- Diff-Instruct: A Universal Approach for Transferring Knowledge From Pre-trained Diffusion Models 引用了 Learning Transferable Visual Models From Natural Language Supervision
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards 引用了 Fishr: Invariant Gradient Variances for Out-of-Distribution Generalization
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewards 引用了 Learning Transferable Visual Models From Natural Language Supervision
- WILDS: A Benchmark of in-the-Wild Distribution Shifts 引用了 Moment Matching for Multi-Source Domain Adaptation
引用它的顶会 Paper81
- TIES-Merging: Resolving Interference When Merging ModelsPrateek Yadav, Derek Tam, Leshem Choshen, Colin A. Raffel 等NeurIPS 2023 · 999 次引用
- Rewarded soups: towards Pareto-optimal alignment by interpolating weights fine-tuned on diverse rewardsAlexandre Ramé, Guillaume Couairon, Corentin Dancette, Jean-Baptiste Gaya 等NeurIPS 2023 · 295 次引用
- Task Arithmetic in the Tangent Space: Improved Editing of Pre-Trained ModelsGuillermo Ortiz-Jiménez, Alessandro Favero, Pascal FrossardNeurIPS 2023 · 272 次引用
- Diff-Instruct: A Universal Approach for Transferring Knowledge From Pre-trained Diffusion ModelsWeijian Luo, Tianyang Hu, Shifeng Zhang, Jiacheng Sun 等NeurIPS 2023 · 268 次引用
- Fishr: Invariant Gradient Variances for Out-of-Distribution GeneralizationAlexandre Ramé, Corentin Dancette, Matthieu CordICML 2022 · 262 次引用
它引用的 Paper35
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh 等ICML 2021 · 47,906 次引用
- Moment Matching for Multi-Source Domain AdaptationXingchao Peng, Qinxun Bai, Xide Xia, Zijun Huang 等ICCV 2019 · 2,239 次引用
- Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
- WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie 等ICML 2021 · 1,773 次引用
- Distributionally Robust Neural NetworksShiori Sagawa, Pang Wei Koh, Tatsunori B. Hashimoto, Percy LiangICLR 2020 · 1,578 次引用
相关 Paper
- DART: Diversify-Aggregate-Repeat Training Improves Generalization of Neural NetworksSamyak Jain, Sravanti Addepalli, Pawan Kumar Sahu, Priyam Dey 等CVPR 2023
- Ensemble of Averages: Improving Model Selection and Boosting Performance in Domain GeneralizationDevansh Arpit, Huan Wang, Yingbo Zhou, Caiming XiongNeurIPS 2022 · 232 次引用
- SWAD: Domain Generalization by Seeking Flat MinimaJunbum Cha, Sanghyuk Chun, Kyungjae Lee, Han-Cheol Cho 等NeurIPS 2021 · 630 次引用
- Improving Ensemble Distillation With Weight Averaging and Diversifying PerturbationGiung Nam, Hyungi Lee, Byeongho Heo, Juho LeeICML 2022 · 10 次引用
- In Search of Lost Domain GeneralizationIshaan Gulrajani, David Lopez-PazICLR 2021 · 1,416 次引用
