Benign Overfitting and Grokking in ReLU Networks for XOR Cluster Data
Zhiwei Xu, Yutong Wang, Spencer Frei, Gal Vardi, Wei Hu
摘要
Neural networks trained by gradient descent (GD) have exhibited a number of surprising generalization behaviors. First, they can achieve a perfect fit to noisy training data and still generalize near-optimally, showing that overfitting can sometimes be benign. Second, they can undergo a period of classical, harmful overfitting -- achieving a perfect fit to training data with near-random performance on test data -- before transitioning ("grokking") to near-optimal generalization later in training. In this work, we show that both of these phenomena provably occur in two-layer ReLU networks trained by GD on XOR cluster data where a constant fraction of the training labels are flipped. In this setting, we show that after the first step of GD, the network achieves 100% training accuracy, perfectly fitting the noisy labels in the training data, but achieves near-random test accuracy. At a later training step, the network achieves near-optimal test accuracy while still fitting the random labels in the training data, exhibiting a"grokking"phenomenon. This provides the first theoretical result of benign overfitting in neural network classification when the data distribution is not linearly separable. Our proofs rely on analyzing the feature learning process under GD, which reveals that the network implements a non-generalizable linear classifier after one step and gradually learns generalizable features in later steps.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 27 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Deep Networks Always Grok and Here is Why 引用了 Progress measures for grokking via mechanistic interpretability
- Deep Networks Always Grok and Here is Why 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Towards Understanding Grokking: An Effective Theory of Representation Learning
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Progress measures for grokking via mechanistic interpretability
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce Grokking 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
- Progress measures for grokking via mechanistic interpretability 引用了 Towards Understanding Grokking: An Effective Theory of Representation Learning
- Progress measures for grokking via mechanistic interpretability 引用了 Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational Limit
- Grokking Group Multiplication with Cosets 引用了 Progress measures for grokking via mechanistic interpretability
- From Tempered to Benign Overfitting in ReLU Neural Networks 引用了 Benign Overfitting in Two-layer Convolutional Neural Networks
- Going Beyond Linear Mode Connectivity: The Layerwise Linear Feature Connectivity 引用了 Benign Overfitting in Two-layer Convolutional Neural Networks
引用它的顶会 Paper27
- Dichotomy of Early and Late Phase Implicit Biases Can Provably Induce GrokkingKaifeng Lyu, Jikai Jin, Zhiyuan Li, Simon Shaolei Du 等ICLR 2024 · 71 次引用
- Going Beyond Linear Mode Connectivity: The Layerwise Linear Feature ConnectivityZhanpeng Zhou, Yongyi Yang, Xiaojiang Yang, Junchi Yan 等NeurIPS 2023 · 56 次引用
- Deep Networks Always Grok and Here is WhyAhmed Imtiaz Humayun, Randall Balestriero, Richard G. BaraniukICML 2024 · 53 次引用
- Unveil Benign Overfitting for Transformer in Vision: Training Dynamics, Convergence, and GeneralizationJiarui Jiang, Wei Huang, Miao Zhang, Taiji Suzuki 等NeurIPS 2024 · 21 次引用
- Grokking Group Multiplication with CosetsDashiell Stander, Qinan Yu, Honglu Fan, Stella BidermanICML 2024 · 20 次引用
它引用的 Paper8
- Towards Understanding Grokking: An Effective Theory of Representation LearningZiming Liu, Ouail Kitouni, Niklas Nolte, Eric J. Michaud 等NeurIPS 2022 · 299 次引用
- Hidden Progress in Deep Learning: SGD Learns Parities Near the Computational LimitBoaz Barak, Benjamin L. Edelman, Surbhi Goel, Sham M. Kakade 等NeurIPS 2022 · 220 次引用
- Benign Overfitting in Two-layer Convolutional Neural NetworksYuan Cao, Zixiang Chen, Misha Belkin, Quanquan GuNeurIPS 2022 · 121 次引用
- Progress measures for grokking via mechanistic interpretabilityNeel Nanda, Lawrence Chan, Tom Lieberum, Jess Smith 等ICLR 2023 · 54 次引用
- From Tempered to Benign Overfitting in ReLU Neural NetworksGuy Kornowski, Gilad Yehudai, Ohad ShamirNeurIPS 2023 · 18 次引用
相关 Paper
- Training shallow ReLU networks on noisy data using hinge loss: when do we overfit and is it benign?Erin George, Michael Murray, William Swartworth, Deanna NeedellNeurIPS 2023 · 9 次引用
- Benign Overfitting in Two-Layer ReLU Convolutional Neural Networks for XOR DataXuran Meng, Difan Zou, Yuan CaoICML 2024 · 11 次引用
- Benign Overfitting in Two-layer ReLU Convolutional Neural NetworksYiwen Kou, Zixiang Chen, Yuanzhou Chen, Quanquan GuICML 2023 · 32 次引用
- Grokking at the Edge of Linear SeparabilityAlon Beck, Noam Itzhak Levi, Yohai Bar-SinaiICML 2025
- Benign overfitting in leaky ReLU networks with moderate input dimensionKedar Karhadkar, Erin George, Michael Murray, Guido F. Montúfar 等NeurIPS 2024 · 5 次引用
