On the Strong Correlation Between Model Invariance and Generalization
Weijian Deng, Stephen Gould, Liang Zheng
摘要
Generalization and invariance are two essential properties of any machine learning model. Generalization captures a model's ability to classify unseen data while invariance measures consistency of model predictions on transformations of the data. Existing research suggests a positive relationship: a model generalizing well should be invariant to certain visual factors. Building on this qualitative implication we make two contributions. First, we introduce effective invariance (EI), a simple and reasonable measure of model invariance which does not rely on image labels. Given predictions on a test image and its transformed version, EI measures how well the predictions agree and with what level of confidence. Second, using invariance scores computed by EI, we perform large-scale quantitative correlation studies between generalization and invariance, focusing on rotation and grayscale transformations. From a model-centric view, we observe generalization and invariance of different models exhibit a strong linear relationship, on both in-distribution and out-of-distribution datasets. From a dataset-centric view, we find a certain model's accuracy and invariance linearly correlated on different test sets. Apart from these major findings, other minor but interesting insights are also discussed.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Confidence and Dispersity Speak: Characterizing Prediction Matrix for Unsupervised Accuracy Estimation 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Confidence and Dispersity Speak: Characterizing Prediction Matrix for Unsupervised Accuracy Estimation 引用了 A ConvNet for the 2020s
- Confidence and Dispersity Speak: Characterizing Prediction Matrix for Unsupervised Accuracy Estimation 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- A ConvNet for the 2020s 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- A ConvNet for the 2020s 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- A ConvNet for the 2020s 引用了 Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Swin Transformer: Hierarchical Vision Transformer using Shifted Windows 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Online GNN Evaluation Under Test-time Graph Distribution Shifts 引用了 GNNEvaluator: Evaluating GNN Performance On Unseen Graphs Without Labels
- Contrastive Tuning: A Little Help to Make Masked Autoencoders Forget 引用了 CutMix: Regularization Strategy to Train Strong Classifiers With Localizable Features
- Contrastive Tuning: A Little Help to Make Masked Autoencoders Forget 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper12
- GNNEvaluator: Evaluating GNN Performance On Unseen Graphs Without LabelsXin Zheng, Miao Zhang, Chunyang Chen, Soheila Molaei 等NeurIPS 2023 · 30 次引用
- Contrastive Tuning: A Little Help to Make Masked Autoencoders ForgetJohannes Lehner, Benedikt Alkin, Andreas Fürst, Elisabeth Rumetshofer 等AAAI 2024 · 28 次引用
- Confidence and Dispersity Speak: Characterizing Prediction Matrix for Unsupervised Accuracy EstimationWeijian Deng, Yumin Suh, Stephen Gould, Liang ZhengICML 2023 · 23 次引用
- Energy-based Automated Model EvaluationRu Peng, Heming Zou, Haobo Wang, Yawen Zeng 等ICLR 2024 · 18 次引用
- Online GNN Evaluation Under Test-time Graph Distribution ShiftsXin Zheng, Dongjin Song, Qingsong Wen, Bo Du 等ICLR 2024 · 16 次引用
它引用的 Paper40
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu 等ICCV 2021 · 31,683 次引用
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- A ConvNet for the 2020sZhuang Liu, Hanzi Mao, Chao-Yuan Wu, Christoph Feichtenhofer 等CVPR 2022 · 6,782 次引用
- CutMix: Regularization Strategy to Train Strong Classifiers With Localizable FeaturesSangdoo Yun, Dongyoon Han, Sanghyuk Chun, Seong Joon Oh 等ICCV 2019 · 5,843 次引用
- FixMatch: Simplifying Semi-Supervised Learning with Consistency and ConfidenceKihyuk Sohn, David Berthelot, Nicholas Carlini, Zizhao Zhang 等NeurIPS 2020 · 5,129 次引用
相关 Paper
- Grounding inductive biases in natural images: invariance stems from variations in dataDiane Bouchacourt, Mark Ibrahim, Ari S. MorcosNeurIPS 2021 · 32 次引用
- In What Ways Are Deep Neural Networks Invariant and How Should We Measure This?Henry Kvinge, Tegan Emerson, Grayson Jorgenson, Scott Vasquez 等NeurIPS 2022 · 15 次引用
- The Lie Derivative for Measuring Learned EquivarianceNate Gruver, Marc Anton Finzi, Micah Goldblum, Andrew Gordon WilsonICLR 2023 · 6 次引用
- Background Invariance Testing According to Semantic ProximityZukang Liao, Min ChenICCV 2025
- Provably Strict Generalisation Benefit for Equivariant ModelsBryn Elesedy, Sheheryar ZaidiICML 2021 · 100 次引用
