Modularity Trumps Invariance for Compositional Robustness
Not on the map. Why?
Abstract (arXiv)
By default neural networks are not robust to changes in data distribution. This has been demonstrated with simple image corruptions, such as blurring or adding noise, degrading image classification performance. Many methods have been proposed to mitigate these issues but for the most part models are evaluated on single corruptions. In reality, visual space is compositional in nature, that is, that as well as robustness to elemental corruptions, robustness to compositions of corruptions is also needed. In this work we develop a compositional image classification task where, given a few elemental corruptions, models are asked to generalize to compositions of these corruptions. That is, to achieve compositional robustness. We experimentally compare empirical risk minimization with an invariance building pairwise contrastive loss and, counter to common intuitions in domain generalization, achieve only marginal improvements in compositional robustness by encouraging invariance. To move beyond invariance, following previously proposed inductive biases that model architectures should reflect data structure, we introduce a modular architecture whose structure replicates the compositional nature of the task. We then show that this modular approach consistently achieves better compositional robustness than non-modular approaches. We additionally find empirical evidence that the degree of invariance between representations of 'in-distribution' elemental corruptions fails to correlate with robustness to 'out-of-distribution' compositions of corruptions.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 84 of its 126 references that are in the map. First posted on arXiv 15 Jun 2023.
Builds on
84 of 126 references.
References · 84
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2015Domain-Adversarial Training of Neural Networkscited by 3,023
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
38 more
- 2019Invariant Risk Minimizationcited by 1,832
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2015Spatial Transformer Networkscited by 1,423
- 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
- 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,323
- 2017Adversarial Discriminative Domain Adaptationcited by 1,309
- 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
- 2016Group Equivariant Convolutional Networkscited by 1,154
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 929
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2016InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Netscited by 858
- 2021Domain Generalization: A Surveycited by 760
- 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
- 2018Disentangling by Factorisingcited by 614
- 2017Learning multiple visual domains with residual adapterscited by 553
- 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
- 2015Neural Module Networkscited by 375
- 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
- 2021Self-Supervised Learning with Data Augmentations Provably Isolates Content from Stylecited by 308
- 2020Environment Inference for Invariant Learningcited by 306
- 2016Harmonic Networks: Deep Translation and Rotation Equivariancecited by 293
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
- 2020Inductive Biases for Deep Learning of Higher-Level Cognitioncited by 273
- 2020The Risks of Invariant Risk Minimizationcited by 262
- 2018Learning Not to Learn: Training Deep Neural Networks with Biased Datacited by 255
- 2015Domain Generalization for Object Recognition with Multi-task Autoencoderscited by 253
- 2018A General Theory of Equivariant CNNs on Homogeneous Spacescited by 223
- 2019Recurrent Independent Mechanismscited by 219
- 2021Towards Causal Representation Learningcited by 207
- 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
- 2017Learning Steerable Filters for Rotation Equivariant CNNscited by 193
- 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
- 2021Partial success in closing the gap between human and machine visioncited by 185
- 2018Efficient parametrization of multi-domain deep neural networkscited by 168
- 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
- 2017Learning to Reason: End-to-End Module Networks for Visual Question Answeringcited by 125
- 2019Generalizing to unseen domains via distribution matchingcited by 109
50 most cited of 84 All 84 (JSON)
Built on by
Not cited yet.