mlsanityData to 7 Oct 2026

Do Deep Networks Transfer Invariances Across Classes?

arXiv 2203.09739 ↗First posted 18 Mar 2022cs.CV cs.LGcited by 12

Not on the map. Why?

Abstract (arXiv)

To generalize well, classifiers must learn to be invariant to nuisance transformations that do not alter an input's class. Many problems have "class-agnostic" nuisance transformations that apply similarly to all classes, such as lighting and background changes for image classification. Neural networks can learn these invariances given sufficient data, but many real-world datasets are heavily class imbalanced and contain only a few examples for most of the classes. We therefore pose the question: how well do neural networks transfer class-agnostic invariances learned from the large classes to the small ones? Through careful experimentation, we observe that invariance to class-agnostic transformations is still heavily dependent on class size, with the networks being much less invariant on smaller classes. This result holds even when using data balancing techniques, and suggests poor invariance transfer across classes. Our results provide one explanation for why classifiers generalize poorly on unbalanced and long-tailed distributions. Based on this analysis, we show how a generative approach for learning the nuisance transformations can help transfer invariances across classes and improve performance on a set of imbalanced image classification benchmarks. Source code for our experiments is available at https://github.com/AllanYangZhou/generative-invariance-transfer.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 44 of its 65 references that are in the map. First posted on arXiv 18 Mar 2022.

Builds on

44 of 65 references.

References · 44

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  6. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  7. 2016Image-to-Image Translation with Conditional Adversarial Networkscited by 4,510
  8. 2016Perceptual Losses for Real-Time Style Transfer and Super-Resolutioncited by 2,678
  9. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  10. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,842
  11. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  12. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,239
32 more
  1. 2019Distributionally Robust Neural Networks for Group Shifts: On the Importance of Regularization for Worst-Case Generalizationcited by 1,232
  2. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 987
  3. 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 806
  4. 2018Multimodal Unsupervised Image-to-Image Translationcited by 795
  5. 2019Large-Scale Long-Tailed Recognition in an Open Worldcited by 704
  6. 2018Recognition in Terra Incognitacited by 655
  7. 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 621
  8. 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 564
  9. 2017A systematic study of the class imbalance problem in convolutional neural networkscited by 510
  10. 2015A Neural Algorithm of Artistic Stylecited by 480
  11. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 452
  12. 2018Deep Learning for Classical Japanese Literaturecited by 415
  13. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
  14. 2017Data Augmentation Generative Adversarial Networkscited by 278
  15. 2020Long-Tailed Classification by Keeping the Good and Removing the Bad Momentum Causal Effectcited by 256
  16. 2015YFCC100M: The New Data in Multimedia Researchcited by 234
  17. 2020Rethinking the Value of Labels for Improving Class-Imbalanced Learningcited by 216
  18. 2017Emergence of Invariance and Disentanglement in Deep Representationscited by 213
  19. 2018Low-Shot Learning from Imaginary Datacited by 181
  20. 2020Feature Space Augmentation for Long-Tailed Datacited by 136
  21. 2021Model-Based Domain Generalizationcited by 103
  22. 2018BAGAN: Data Augmentation with Balancing GANcited by 90
  23. 2017The Devil is in the Tails: Fine-grained Classification in the Wildcited by 89
  24. 2020Meta-Learning Symmetries by Reparameterizationcited by 75
  25. 2020Learning Invariances in Neural Networkscited by 52
  26. 2020Learning perturbation sets for robust machine learningcited by 48
  27. 2021Adversarial Robustness with Semi-Infinite Constrained Learningcited by 39
  28. 2020Model-Based Robust Deep Learning: Generalizing to Natural, Out-of-Distribution Datacited by 27
  29. 2020When and how CNNs generalize to out-of-distribution category-viewpoint combinationscited by 22
  30. 2019Are Self-Driving Cars Secure? Evasion Attacks against Deep Neural Networks for Steering Angle Predictioncited by 16
  31. 2018Evaluating Fairness Metrics in the Presence of Dataset Biascited by 15
  32. 2020Medical Image Harmonization Using Deep Learning Based Canonical Mapping: Toward Robust and Generalizable Learning in Imagingcited by 7

Built on by

Cited by year

Citing papers per year: 2022: 5; 2023: 4; 2024: 2; 2025: 1.

12 papers.