Role of Locality and Weight Sharing in Image-Based Tasks: A Sample Complexity Separation between CNNs, LCNs, and FCNs
Aakash Lahoti, Stefani Karp, Ezra Winston, Aarti Singh, Yuanzhi Li
Abstract
Vision tasks are characterized by the properties of locality and translation invariance. The superior performance of convolutional neural networks (CNNs) on these tasks is widely attributed to the inductive bias of locality and weight sharing baked into their architecture. Existing attempts to quantify the statistical benefits of these biases in CNNs over locally connected convolutional neural networks (LCNs) and fully connected neural networks (FCNs) fall into one of the following categories: either they disregard the optimizer and only provide uniform convergence upper bounds with no separating lower bounds, or they consider simplistic tasks that do not truly mirror the locality and translation invariance as found in real-world vision tasks. To address these deficiencies, we introduce the Dynamic Signal Distribution (DSD) classification task that models an image as consisting of patches, each of dimension , and the label is determined by a -sparse signal vector that can freely appear in any one of the patches. On this task, for any orthogonally equivariant algorithm like gradient descent, we prove that CNNs require samples, whereas LCNs require samples, establishing the statistical advantages of weight sharing in translation invariant tasks. Furthermore, LCNs need samples, compared to samples for FCNs, showcasing the benefits of locality in local tasks. Additionally, we develop information theoretic tools for analyzing randomized algorithms, which may be of interest for statistical research.
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 7b768526-bba2-423f-8e6f-34deb3a4ff98Builds on6
- ViM: Out-Of-Distribution with Virtual-logit MatchingHaoqi Wang, Zhizhong Li, Litong Feng, Wayne ZhangCVPR 2022 · 227 citations
- Generalization bounds for deep convolutional neural networksPhilip M. Long, Hanie SedghiICLR 2020 · 102 citations
- Local Signal Adaptivity: Provable Feature Learning in Neural Networks Beyond KernelsStefani Karp, Ezra Winston, Yuanzhi Li, Aarti SinghNeurIPS 2021 · 38 citations
- Computational Separation Between Convolutional and Fully-Connected NetworksEran Malach, Shai Shalev-ShwartzICLR 2021 · 32 citations
- Why Are Convolutional Nets More Sample-Efficient than Fully-Connected Nets?Zhiyuan Li, Yi Zhang, Sanjeev AroraICLR 2021 · 22 citations
Related papers
- Theoretical Analysis of the Inductive Biases in Deep Convolutional NetworksZihao Wang, Lei WuNeurIPS 2023 · 10 citations
- On the Connection between Local Attention and Dynamic Depth-wise ConvolutionQi Han, Zejia Fan, Qi Dai, Lei Sun et al.ICLR 2022 · 144 citations
- Revisiting Spatial Invariance with Low-Rank Local ConnectivityGamaleldin F. Elsayed, Prajit Ramachandran, Jonathon Shlens, Simon KornblithICML 2020 · 51 citations
- Towards Biologically Plausible Convolutional NetworksRoman Pogodin, Yash Mehta, Timothy P. Lillicrap, Peter E. LathamNeurIPS 2021 · 30 citations
- A Fourier perspective on the learning dynamics of neural networks: from sample complexities to mechanistic insightsFabiola Ricci, Claudia Merger, Sebastian GoldtICML 2026
