Lune

NeurIPS2022顶会

A Theory of PAC Learnability under Transformation Invariances

Han Shao, Omar Montasser, Avrim Blum

摘要

Transformation invariances are present in many real-world problems. For example, image classification is usually invariant to rotation and color transformation: a rotated car in a different color is still identified as a car. Data augmentation, which adds the transformed data into the training set and trains a model on the augmented data, is one commonly used technique to build these invariances into the learning process. However, it is unclear how data augmentation performs theoretically and what the optimal algorithm is in presence of transformation invariances. In this paper, we study PAC learnability under transformation invariances in three settings according to different levels of realizability: (i) A hypothesis fits the augmented data; (ii) A hypothesis fits only the original data and the transformed data lying in the support of the data distribution; (iii) Agnostic case. One interesting observation is that distinguishing between the original data and the transformed data is necessary to achieve optimal accuracy in setting (ii) and (iii), which implies that any algorithm not differentiating between the original and transformed data (including data augmentation) is not optimal. Furthermore, this type of algorithms can even "harm" the accuracy. In setting (i), although it is unnecessary to distinguish between the two data sets, data augmentation still does not perform optimally. Due to such a difference, we propose two combinatorial measures characterizing the optimal sample complexity in setting (i) and (ii)(iii) and provide the optimal algorithms. How does data augmentation perform theoretically? What is the optimal algorithm in terms of sample complexity under transformation invariances? We formalize the problem of binary classification under transformation invariances in the PAC model. Given instance space X , label space Y = 0, 1, and hypothesis class H, we consider the following three settings according to different levels of realizability. (i) Invariantly realizable setting: There exists a hypothesis h * ∈ H such that h * can correctly classify not only the natural data (drawn from the data distribution) but also the transformed data. For example, considering the transformation of rotating images where all natural images are upright, the hypothesis h * can correctly classify every upright image (natural data) and their rotations (transformed data). (ii) Relaxed realizable setting: There exists a hypothesis h * ∈ H such h * has zero error over the support of the data distribution (and therefore will correctly classify the transformed data that lies in the support of the data distribution), but h * may not correctly classify transformed data that lies outside the support of the natural data distribution. For example, there exists an h * classifying all small rotations that lie in the support of the distribution correctly, but misclassifying upside-down cars. (iii) Agnostic setting: Every hypothesis in H might not fit the natural data. In most of this work, we consider the case where the set of transformations forms a group (e.g., all rotations and all color translations), which is a classic setting studied in literature (e.g., Cohen and Welling, 2016; Bloem-Reddy and Teh, 2020; Chen et al., 2020) . Some algorithms and analyses in this work also apply to non-group transformations (e.g., croppings). Main contributions First, we show that DA outperforms vanilla ERM but is sub-optimal in setting (i) above. We then introduce a complexity measure (see Definition 4) that characterizes the optimal sample complexity of learning in setting (i), and we give an optimal (up to log-factors) algorithm in this setting based on 1-inclusion-graph predictors. Second, we characterize the complexity of learning in setting (ii) when the learner only receives the augmented data (without specifying which are natural). Such a characterization provides us with a sufficient condition under which DA "hurts". Third, we introduce a complexity measure (see Definition 5) that characterizes the optimal sample complexity of learning in settings (ii) and (iii) above, and we give optimal algorithms for these settings. Finally, we also provide adaptive learning algorithms that interpolate between settings (i) and (ii), i.e., when h * is partially invariant. We want to emphasize that our complexity measures take into account the complexity of both the hypothesis class H and the set of transformations being considered. The results are formally summarized in Section 3. Related work Theoretical guarantees of DA has received a lot of attention recently. Chen et al. (2020); Lyle et al. ( 2020 ) study theoretical guarantees of DA under the assumption of "equality" in distribution, i.e., for any transformation in the transformation group, the data distribution of the transformed data is approximately the same as that of the natural data (e.g., the upside-down variations of images happen at the same probability as the original upright image

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 12 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Provably Strict Generalisation Benefit for Invariance in Kernel Methods 引用了 Provably Strict Generalisation Benefit for Equivariant Models
  • Approximation-Generalization Trade-offs under (Approximate) Group Equivariance 引用了 Provably Strict Generalisation Benefit for Invariance in Kernel Methods
  • Approximation-Generalization Trade-offs under (Approximate) Group Equivariance 引用了 Provably Strict Generalisation Benefit for Equivariant Models
  • Approximation-Generalization Trade-offs under (Approximate) Group Equivariance 引用了 A Group-Theoretic Framework for Data Augmentation
  • Approximation-Generalization Trade-offs under (Approximate) Group Equivariance 引用了 On the Sample Complexity of Learning under Geometric Stability
  • Automatic Data Augmentation via Invariance-Constrained Learning 引用了 A Group-Theoretic Framework for Data Augmentation
  • Transformation-Invariant Learning and Theoretical Guarantees for OOD Generalization 引用了 A Group-Theoretic Framework for Data Augmentation
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Approximation-Generalization Trade-offs under (Approximate) Group EquivarianceMircea Petrache, Shubhendu TrivediNeurIPS 2023 · 54 次引用
  2. Optimal Learners for Realizable Regression: PAC Learning and Online LearningIdan Attias, Steve Hanneke, Alkis Kalavasis, Amin Karbasi 等NeurIPS 2023 · 33 次引用
  3. Automatic Data Augmentation via Invariance-Constrained LearningIgnacio Hounie, Luiz F. O. Chamon, Alejandro RibeiroICML 2023 · 20 次引用
  4. Learning with Explanation ConstraintsRattana Pukdee, Dylan Sam, J. Zico Kolter, Maria-Florina Balcan 等NeurIPS 2023 · 11 次引用
  5. Transformation-Invariant Learning and Theoretical Guarantees for OOD GeneralizationOmar Montasser, Han Shao, Emmanuel AbbeNeurIPS 2024 · 7 次引用

它引用的 Paper5

  1. Tent: Fully Test-Time Adaptation by Entropy MinimizationDequan Wang, Evan Shelhamer, Shaoteng Liu, Bruno A. Olshausen 等ICLR 2021 · 1,731 次引用
  2. A Group-Theoretic Framework for Data AugmentationShuxiao Chen, Edgar Dobriban, Jane H. LeeNeurIPS 2020 · 254 次引用
  3. Provably Strict Generalisation Benefit for Equivariant ModelsBryn Elesedy, Sheheryar ZaidiICML 2021 · 100 次引用
  4. On the Sample Complexity of Learning under Geometric StabilityAlberto Bietti, Luca Venturi, Joan BrunaNeurIPS 2021 · 45 次引用
  5. Provably Strict Generalisation Benefit for Invariance in Kernel MethodsBryn ElesedyNeurIPS 2021 · 35 次引用

相关 Paper

  1. Optimal PAC Bounds without Uniform ConvergenceIshaq Aden-Ali, Yeshwanth Cherapanamjeri, Abhishek Shetty, Nikita ZhivotovskiyFOCS 2023 · 3 次引用
  2. Collaborative Learning with Different Labeling FunctionsYuyang Deng, Mingda QiaoICML 2024 · 2 次引用
  3. Revisiting Agnostic PAC LearningSteve Hanneke, Kasper Green Larsen, Nikita ZhivotovskiyFOCS 2024 · 1 次引用
  4. How Does Data Augmentation Affect Privacy in Machine Learning?Da Yu, Huishuai Zhang, Wei Chen, Jian Yin 等AAAI 2021 · 67 次引用
  5. Symmetries in PAC-Bayesian LearningArmin Beck, Peter OchsICML 2026 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖