Spectral Bias in Practice: The Role of Function Frequency in Generalization
Sara Fridovich-Keil, Raphael Gontijo Lopes, Rebecca Roelofs
Abstract
Despite their ability to represent highly expressive functions, deep learning models seem to find simple solutions that generalize surprisingly well. Spectral biasthe tendency of neural networks to prioritize learning low frequency functions -is one possible explanation for this phenomenon, but so far spectral bias has primarily been observed in theoretical models and simplified experiments. In this work, we propose methodologies for measuring spectral bias in modern image classification networks on CIFAR-10 and ImageNet. We find that these networks indeed exhibit spectral bias, and that interventions that improve test accuracy on CIFAR-10 tend to produce learned functions that have higher frequencies overall but lower frequencies in the vicinity of examples from each class. This trend holds across variation in training time, model architecture, number of training examples, data augmentation, and self-distillation. We also explore the connections between function frequency and image frequency and find that spectral bias is sensitive to the low frequencies prevalent in natural images. On ImageNet, we find that learned function frequency also varies with internal class diversity, with higher frequencies on more diverse classes. Our work enables measuring and ultimately influencing the spectral behavior of neural networks used for image classification, and is a step towards understanding why deep models generalize well. * Work done as an intern and student researcher at Google Brain.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5bcd43ff-bec0-4811-a0d1-71f5e229764aCited by top-tier papers15
- Spectral Co-Distillation for Personalized Federated LearningZihan Chen, Howard H. Yang, Tony Q. S. Quek, Kai Fong Ernest ChongNeurIPS 2023 · 30 citations
- Spectral Convolutional Conditional Neural ProcessesPeiman Mohseni, Nick DuffieldNeurIPS 2025 · 10 citations
- Decompose to Understand, Fuse to Detect: Frequency-Decoupled Anomaly Detection for Encrypted Network TrafficXinglin Lian, Chengtai Cao, Ting Zhong, Yong Wang et al.INFOCOM 2026 · 8 citations
- Why are Sensitive Functions Hard for Transformers?Michael Hahn, Mark RofinACL 2024 · 3 citations
- Models Out of Line: A Fourier Lens on Distribution Shift RobustnessSara Fridovich-Keil, Brian R. Bartoldson, James Diffenderfer, Bhavya Kailkhura et al.NeurIPS 2022 · 2 citations
Builds on15
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
- Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
- RandAugment: Practical Automated Data Augmentation with a Reduced Search SpaceEkin Dogus Cubuk, Barret Zoph, Jonathon Shlens, Quoc LeNeurIPS 2020 · 4,453 citations
- CoAtNet: Marrying Convolution and Attention for All Data SizesZihang Dai, Hanxiao Liu, Quoc V. Le, Mingxing TanNeurIPS 2021 · 1,747 citations
- The Pitfalls of Simplicity Bias in Neural NetworksHarshay Shah, Kaustav Tamuly, Aditi Raghunathan, Prateek Jain et al.NeurIPS 2020 · 503 citations
Related papers
- A Computable Definition of the Spectral BiasJonas Kiessling, Filip ThorAAAI 2022 · 14 citations
- Addressing Spectral Bias of Deep Neural Networks by Multi-Grade Deep LearningRonglong Fang, Yuesheng XuNeurIPS 2024 · 22 citations
- An Inductive Bias for Tabular Deep LearningEge Beyazit, Jonathan Kozaczuk, Bo Li, Vanessa Wallace et al.NeurIPS 2023 · 26 citations
- A Fourier perspective on the learning dynamics of neural networks: from sample complexities to mechanistic insightsFabiola Ricci, Claudia Merger, Sebastian GoldtICML 2026
- Learning in the Frequency DomainKai Xu, Minghai Qin, Fei Sun, Yuhao Wang et al.CVPR 2020
