Compositional Risk Minimization
Divyat Mahajan, Mohammad Pezeshki, Charles Arnal, Ioannis Mitliagkas, Kartik Ahuja, Pascal Vincent
Abstract
Compositional generalization is a crucial step towards developing data-efficient intelligent machines that generalize in human-like ways. In this work, we tackle a challenging form of distribution shift, termed compositional shift, where some attribute combinations are completely absent at training but present in the test distribution. This shift tests the model's ability to generalize compositionally to novel attribute combinations in discriminative tasks. We model the data with flexible additive energy distributions, where each energy term represents an attribute, and derive a simple alternative to empirical risk minimization termed compositional risk minimization (CRM). We first train an additive energy classifier to predict the multiple attributes and then adjust this classifier to tackle compositional shifts. We provide an extensive theoretical analysis of CRM, where we show that our proposal extrapolates to special affine hulls of seen attribute combinations. Empirical evaluations on benchmark datasets confirms the improved robustness of CRM compared to other methods from the literature designed to tackle various forms of subpopulation shifts.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
7 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Long-tail learning via logit adjustment cites Decoupling Representation and Classifier for Long-Tailed Recognition
- The Risks of Invariant Risk Minimization cites Out-of-Distribution Generalization via Risk Extrapolation (REx)
- Balanced Meta-Softmax for Long-Tailed Visual Recognition cites Decoupling Representation and Classifier for Long-Tailed Recognition
Cited by top-tier papers7
- Product of Experts for Visual GenerationYunzhi Zhang, Carson Murtuza-Lanier, Zizhang Li, Yilun Du et al.ICLR 2026 · 7 citations
- Compositional Visual Planning via Inference-Time Diffusion ScalingYixin Zhang, Yunhao Luo, Utkarsh A. Mishra, Woo Chul Shin et al.ICLR 2026 · 2 citations
- Long-Text-to-Image Generation via Compositional Prompt DecompositionJen-Yuan Huang, Tong Lin, Yilun DuICLR 2026 · 1 citation
- Energy-based Compositional Diffusion PlanningTao Sun, Utkarsh Mishra, Jiaxin Lu, Danfei Xu et al.ICML 2026
- Compositional Scene Understanding through Inverse Generative ModelingYanbo Wang, Justin Dauwels, Yilun DuICML 2025
Builds on30
- Decoupling Representation and Classifier for Long-Tailed RecognitionBingyi Kang, Saining Xie, Marcus Rohrbach, Zhicheng Yan et al.ICLR 2020 · 1,496 citations
- Out-of-Distribution Generalization via Risk Extrapolation (REx)David Krueger, Ethan Caballero, Jörn-Henrik Jacobsen, Amy Zhang et al.ICML 2021 · 1,163 citations
- Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations
- Balanced Meta-Softmax for Long-Tailed Visual RecognitionJiawei Ren, Cunjun Yu, Shunan Sheng, Xiao Ma et al.NeurIPS 2020 · 861 citations
- The Risks of Invariant Risk MinimizationElan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2021 · 356 citations
Related papers
- Adaptive Risk Minimization: Learning to Adapt to Domain ShiftMarvin Zhang, Henrik Marklund, Nikita Dhawan, Abhishek Gupta et al.NeurIPS 2021 · 284 citations
- Bayesian Invariant Risk MinimizationYong Lin, Hanze Dong, Hao Wang, Tong ZhangCVPR 2022 · 48 citations
- Heterogeneous Risk MinimizationJiashuo Liu, Zheyuan Hu, Peng Cui, Bo Li et al.ICML 2021 · 170 citations
- MAGANet: Achieving Combinatorial Generalization by Modeling a Group ActionGeonho Hwang, Jaewoong Choi, Hyunsoo Cho, Myungjoo KangICML 2023 · 4 citations
- Diverse Prototypical Ensembles Improve Robustness to Subpopulation ShiftMinh Nguyen Nhat To, Paul F. R. Wilson, Viet Nguyen, Mohamed Harmanani et al.ICML 2025
