[Paper Review] Finding the Needle in the Haystack with Convolutions: on the benefits of architectural bias
This paper introduces a method to embed Convolutional Neural Networks (CNNs) into their equivalent Fully-Connected Networks (eFCNs), enabling direct comparison of training dynamics. By training a CNN, embedding it into FCN space at a 'relax time', and continuing training, the authors show that the resulting eFCN can outperform both the original CNN and standard FCNs by combining architectural bias with enhanced expressivity, revealing rare, high-generalization basins in the FCN loss landscape.
Despite the phenomenal success of deep neural networks in a broad range of learning tasks, there is a lack of theory to understand the way they work. In particular, Convolutional Neural Networks (CNNs) are known to perform much better than Fully-Connected Networks (FCNs) on spatially structured data: the architectural structure of CNNs benefits from prior knowledge on the features of the data, for instance their translation invariance. The aim of this work is to understand this fact through the lens of dynamics in the loss landscape. We introduce a method that maps a CNN to its equivalent FCN (denoted as eFCN). Such an embedding enables the comparison of CNN and FCN training dynamics directly in the FCN space. We use this method to test a new training protocol, which consists in training a CNN, embedding it to FCN space at a certain ``relax time'', then resuming the training in FCN space. We observe that for all relax times, the deviation from the CNN subspace is small, and the final performance reached by the eFCN is higher than that reachable by a standard FCN of same architecture. More surprisingly, for some intermediate relax times, the eFCN outperforms the CNN it stemmed, by combining the prior information of the CNN and the expressivity of the FCN in a complementary way. The practical interest of our protocol is limited by the very large size of the highly sparse eFCN. However, it offers interesting insights into the persistence of architectural bias under stochastic gradient dynamics. It shows the existence of some rare basins in the FCN loss landscape associated with very good generalization. These can only be accessed thanks to the CNN prior, which helps navigate the landscape during the early stages of optimization.
Motivation & Objective
- To disentangle architectural bias from optimization bias in deep learning.
- To investigate why CNNs generalize better than FCNs on spatially structured data despite similar capacity.
- To test whether the inductive bias of CNNs can be leveraged to access superior generalization basins in the FCN loss landscape.
- To explore whether relaxing CNN constraints during training can yield better performance than training with constraints throughout.
- To understand the role of early optimization dynamics in navigating complex loss landscapes.
Proposed method
- The authors define a linear embedding of a CNN into its equivalent Fully-Connected Network (eFCN), preserving the network's structure while removing weight-sharing and locality constraints.
- They train a CNN normally, then at a chosen 'relax time', project its weights into the eFCN space and resume training without constraints.
- The eFCN is initialized with the CNN’s weights at the relax time and trained in the full FCN parameter space.
- The method allows direct comparison of training dynamics between CNNs and eFCNs in the same parameter space.
- The authors analyze weight patterns in eFCNs, particularly the emergence of template-matching behavior in off-local blocks.
- Experiments are conducted on CIFAR-10 using this protocol across multiple relax times to assess generalization performance.
Experimental results
Research questions
- RQ1Can the architectural inductive bias of CNNs guide optimization toward better generalization basins in the FCN loss landscape?
- RQ2Does relaxing CNN constraints at an intermediate training stage lead to improved performance compared to training with constraints throughout?
- RQ3What is the role of early optimization dynamics in accessing rare, high-performing regions of the FCN parameter space?
- RQ4Are there specific regions near the CNN subspace in the FCN space that exhibit superior generalization properties?
- RQ5Can the combination of CNN priors and FCN expressivity lead to performance gains beyond either architecture alone?
Key findings
- For all relax times tested, the eFCN remains close to the CNN subspace, indicating that the architectural bias persists during early training.
- The eFCN achieves higher test accuracy than a standard FCN of the same architecture, demonstrating the benefit of the CNN prior.
- For certain intermediate relax times, the eFCN outperforms the original CNN, showing that combining CNN inductive bias with FCN expressivity yields superior generalization.
- The eFCN develops sharp, image-like silhouettes in its off-local weight blocks, indicating emergent template-matching behavior that is absent in standard FCNs.
- This template-matching behavior is only effective when combined with convolutional feature learning, as standalone template-matching fails on complex datasets like CIFAR-10.
- A threshold distance from the CNN subspace exists beyond which performance degrades back to standard FCN levels, indicating a narrow, high-performing region near the CNN space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.