mlsanityData to 7 Oct 2026

Modularity Trumps Invariance for Compositional Robustness

arXiv 2306.09005 ↗First posted 15 Jun 2023cs.LG cs.AI cs.CVcited by 0

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  4. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  7. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  8. 2015Domain-Adversarial Training of Neural Networkscited by 3,023
  9. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  10. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  11. 2016Visual Genome: Connecting Language and Vision Using Crowdsourced Dense Image Annotationscited by 2,646
  12. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
38 more
  1. 2019Invariant Risk Minimizationcited by 1,832
  2. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
  3. 2015Spatial Transformer Networkscited by 1,423
  4. 2018Relational inductive biases, deep learning, and graph networkscited by 1,341
  5. 2015Learning Transferable Features with Deep Adaptation Networkscited by 1,323
  6. 2017Adversarial Discriminative Domain Adaptationcited by 1,309
  7. 2016Deep CORAL: Correlation Alignment for Deep Domain Adaptationcited by 1,194
  8. 2016Group Equivariant Convolutional Networkscited by 1,154
  9. 2020In Search of Lost Domain Generalizationcited by 1,042
  10. 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 929
  11. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
  12. 2016InfoGAN: Interpretable Representation Learning by Information Maximizing Generative Adversarial Netscited by 858
  13. 2021Domain Generalization: A Surveycited by 760
  14. 2020Out-of-Distribution Generalization via Risk Extrapolation (REx)cited by 737
  15. 2018Disentangling by Factorisingcited by 614
  16. 2017Learning multiple visual domains with residual adapterscited by 553
  17. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 405
  18. 2015Neural Module Networkscited by 375
  19. 2017Unified Deep Supervised Domain Adaptation and Generalizationcited by 322
  20. 2021Self-Supervised Learning with Data Augmentations Provably Isolates Content from Stylecited by 308
  21. 2020Environment Inference for Invariant Learningcited by 306
  22. 2016Harmonic Networks: Deep Translation and Rotation Equivariancecited by 293
  23. 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
  24. 2020Inductive Biases for Deep Learning of Higher-Level Cognitioncited by 273
  25. 2020The Risks of Invariant Risk Minimizationcited by 262
  26. 2018Learning Not to Learn: Training Deep Neural Networks with Biased Datacited by 255
  27. 2015Domain Generalization for Object Recognition with Multi-task Autoencoderscited by 253
  28. 2018A General Theory of Equivariant CNNs on Homogeneous Spacescited by 223
  29. 2019Recurrent Independent Mechanismscited by 219
  30. 2021Towards Causal Representation Learningcited by 207
  31. 2022Surgical Fine-Tuning Improves Adaptation to Distribution Shiftscited by 205
  32. 2017Learning Steerable Filters for Rotation Equivariant CNNscited by 193
  33. 2021SelfReg: Self-supervised Contrastive Regularization for Domain Generalizationcited by 189
  34. 2021Partial success in closing the gap between human and machine visioncited by 185
  35. 2018Efficient parametrization of multi-domain deep neural networkscited by 168
  36. 2019A Meta-Transfer Objective for Learning to Disentangle Causal Mechanismscited by 158
  37. 2017Learning to Reason: End-to-End Module Networks for Visual Question Answeringcited by 125
  38. 2019Generalizing to unseen domains via distribution matchingcited by 109

50 most cited of 84 All 84 (JSON)

Built on by

Not cited yet.