RI-Bench / open_review /iclr2024_8564.md
jxtse's picture
RI-Bench v1.0.0: 1,636 cases (Open Review, Parliament, Court) (part 2)
ea82d73 verified
|
Raw History Blame Contribute Delete
67.5 kB
## - HOW DOES OVERPARAMETERIZATION AFFECT FEA TURES?
Authors withheld for review
## ABSTRACT
Overparameterization, the condition where models have more parameters than necessary to fit their training loss, is a crucial factor for the success of deep learning. However, the characteristics of the features learned by overparameterized networks are not well understood. In this work, we explore this question by comparing models with the same architecture but different widths. We first examine the expressivity of the features of these models, and show that the feature space of overparameterized networks cannot be spanned by concatenating many underparameterized features, and vice versa. This reveals that both overparameterized and underparameterized networks acquire some distinctive features. We then evaluate the performance of these models, and find that overparameterized networks outperform underparameterized networks, even when many of the latter are concatenated. We corroborate these findings using a VGG-16 and ResNet18 on CIFAR-10 and a Transformer on the MNLI classification dataset. Finally, we propose a toy setting to explain how overparameterized networks can learn some important features that the underparamaterized networks cannot learn.
## 1 INTRODUCTION
Overparameterized neural networks, which have more parameters than necessary to fit the training data, have achieved remarkable success in various tasks, such as image classification (He et al., 2016; Krizhevsky et al., 2017), object detection (Girshick et al., 2014; Redmon et al., 2016) or text classification (Zhang et al., 2015; Johnson & Zhang, 2016). However, the theoretical understanding of why these networks outperform underparameterized ones, which have fewer parameters and less capacity, is still limited. Several works have attempted to explain the advantages of overparametrization from various perspectives, such as the neural tangent kernel (Arora et al., 2019), the lottery ticket hypothesis (Frankle & Carbin, 2018), or the implicit regularization (Neyshabur et al., 2014). Most of these papers claim that overparameterized networks are more powerful due to their greater number of parameters. In this paper, we aim to go beyond this perspective, focusing on the case where overparameterized and underparameterized networks are compared on an _equal_ footing. More specifically, we analyze their features, which are the representations learned by the hidden layers of the networks, and ensure that both overparameterized and underparameterized have the same number of features in our comparison. Analyzing neural networks features is a common in deep learning (Kornblith et al., 2021; Raghu et al., 2021; Cianfarani et al., 2022) to unveil important properties of the networks, such as generalization ability, robustness, or interpretability.
A few existing works have taken this approach to characterize overparameterized networks. Nguyen et al. (2020) studied how varying depth and width affects features and discovered a distinctive block structure in overparameterized networks. Morcos et al. (2018) observed that wider networks learn more similar features. However, these works do not study a direct comparison between overparameterized and underparameterized networks features, which could reveal if overparameterized networks capture unique features compared to underparameterized networks, and vice versa. Our paper aims to address the following question:
_Even after many concatenations of independently trained underparameterized networks, can we fully retrieve the expressive power and the performance of overparameterized networks?_
Our answer to this question is negative, and we summarize our contributions as follows:
1
– Section 2 introduces our feature analysis methods. Our first approach, called feature span error (FSE), uses ridge regression to measure how well overparameterized features capture underparameterized network features, and vice versa. We also introduce the feature performance (FP) method to assess feature accuracy in task performance through linear probing.
- To ensure a fair comparison between the two sets of features, we compare the features of a single overparameterized network with those concatenated from many underparameterized networks trained with different initializations. As such, both sets are of comparable size.
- Section 3 presents our numerical results. FSE and FP demonstrate that i) overparameterized and concatenations of underparameterized networks learn distinct features and ii) linear probing with the concatenated features of underparameterized networks do not reach the same test accuracy as linear probing with overparameterized features.
- We further demonstrate that the part of overparameterized features that concatenations of underparameterized networks features cannot capture, which we name overparameterized residuals, are essential in the high performance of overparameterized networks. Conversely, the underparameterized residuals do not improve the performance of a model.
- Section 4 proposes a toy setting to illustrate how overparameterized networks can learn some important features differently from underparameterized networks. Our setting partially covers the observations made in Section 3 since we do not show that overparameterized networks cannot learn some features learned by underparameterized ones. Nevertheless, it conveys crucial insights.
## RELATED WORK
**Scaling the size of neural networks.** In this paper, we construct our smaller networks by scaling down the widths of a base overparameterized network while keeping the depth fixed. Studying neural networks with scaling widths or depths has been widely done in the literature. Cybenko (1989); Hanin & Sellke (2017) analyzed the effect of varying width on the expressiveness of neural networks. On the empirical side, the effect of scaling width on the performance has been extensively studied (Zagoruyko & Komodakis, 2016; Kaplan et al., 2020) Closer to our work, (Morcos et al., 2018; Nguyen et al., 2020) study the effect of scaling width and/or depth on the features of a network. While (Nguyen et al., 2020) investigates the features across all hidden layers, (Morcos et al., 2018) demonstrates that the wider networks learn similar last layer features. We also investigate the last layer features, but with a focus on directly comparing underparameterized and overparameterized network features.
**Analyzing the features to gain insights in neural networks.** Many research has focused on analyzing and understanding the representations learned by neural networks (Merchant et al., 2020; Cianfarani et al., 2022). Many of these works provide insights about interpretability, generalization, model comparison, transfer learning, and model improvement. Utilizing similarity metrics is a common approach for analyzing features to compare different models. Nguyen et al. (2020) employ the centered kernel alignment (CKA) metric, while Morcos et al. (2018) utilize the projection weighted CCA metric to measure the similarity between features. In this paper, our focus lies on the expressivity of the features of one network compared to another, rather than solely on their similarity. To that end, we introduce the feature span error (FSE) metric, which is based on ridge regression. While using regression as a similarity metric is mentioned in (Kornblith et al., 2019), its application, to the best of our knowledge, has not been explored.
**Notations.** Throughout the paper, we use the upper case _M_ to refer to a neural network, the calligraphic _M_ to refer to its features and the lower case _m_ to its feature mapping. For a matrix _**A**_ , we refer to _A_ [ _i,_ :] as its _i_ -th row and _A_ [: _, j_ ] as its _j_ -th column and for a vector _**v**_ , _v_ [ _k_ ] is its k-th component. For two matrices _**A** ∈_ R _[m][×][N][A] ,_ _**B** ∈_ R _[m][×][N][B]_ , ( _**A**_ ; _**B**_ ) _∈_ R _[m][×]_[(] _[N][A]_[+] _[N][B]_[)] refers to the concatenation along the column axis. For _C >_ 0 and a vector _**x** ∈_ R _[C]_ , _σ_ ( _**x**_ ) _∈_ R _[C]_ is the softmax vector defined as _σ_ ( _**x**_ )[ _c_ ] = exp( _x_ [ _c_ ]) _/_ ([�] _[C] j_ =1[exp(] _[x]_[[] _[j]_[]))] _[.]_[ In Section 3, we use the] _[ r]_[ superscript to] indicate that the model is only randomly initialized (and not trained). In Section 4, we say that a random event _E_ occurs with high probability if P[ _E_ ] _≥_ 1 _− e[−]_[poly(] _[d]_[)] .
2
## 2 SETTING
## 2.1 SCALED MODELS AND FEATURES
This paper aims to obtain insights into the features of overparameterized networks in comparison to the underparameterized ones given their superior performance. For this comparison, we utilize
- **Base network (High-width)** : We start with a base overparameterized (with respect to the dataset) network _M_ 1 with _L_ layers and widths _n_ 1 _, . . . , nL_
- **Low-width networks** : We then create scaled models _Mα_ with _α ∈_ [0 _,_ 1), which have the same architecture as _M_ 1 but with scaled widths _⌊α · n_ 1 _⌋, . . . , ⌊α · nL⌋_ . This width scaling ensures that all the models have the same inductive bias (essential good performance).
We explore how the features of the base model compare to those of low-width networks as we change _α_ . While the low-width networks may not always be underparameterized for each _α_ , this comparison provides insights into impact of the degree of parameterization as _α_ decreases.
We focus on a multi-classification setting with _C_ classes, where a model is trained on the dataset _D_ train and evaluated on the test dataset _D_ test. Given a datapoint _**x** k ∈_ R _[d]_ , a neural network _Mβ_ predicts the class _c ∈{_ 1 _, . . . , C}_ with probability
**==> picture [392 x 29] intentionally omitted <==**
where _mβ_ : R _[d] →_ R _[βn][L]_ is the function computing the activation at layer _L_ (which we also name feature mapping) and _**W**_[(] _[L]_[+1)] _∈_ R _[C][×][βn][L]_ are the weights of the last layer. The model _Mβ_ makes predictions based on a _linear combination of the features {mβ_ ( _**x** k_ )[ _s_ ] _}[βn] s_ =1 _[L]_[, which capture the infor-] mation extracted from the input by the network.
**Definition 2.1** (Features) **.** _Let Mβ be a model with β ∈_ [0 _,_ 1] _and {_ ( _**x** i, yi_ ) _}[N] i_ =1 _[be a dataset.][Let] mβ_ : R _[d] →_ R _[βn][L] be the feature mapping of Mβ. Then, we define the the set of features Mβ as_
**==> picture [269 x 19] intentionally omitted <==**
**==> picture [215 x 13] intentionally omitted <==**
## 2.2 FEATURE SPAN ERROR
We are interested in understanding how the features learned by overparameterized networks differ from the features learned by low-width networks. In particular, we want to answer the following questions: Do the features of overparameterized networks exhibit greater expressivity than the features of low-width networks, given that they tend to perform better? As we have seen, the model _Mβ_ makes predictions based on a linear combination of the features _{mβ_ ( _**x** k_ )[ _s_ ] _}[αn] s_ =1 _[L]_[.][Therefore,] one of the goals of this paper is to investigate whether the features learned by underparameterized networks can be span by the features learned by low-width networks.
**Definition 2.2.** _[FSE(Mβ →Mγ)] Let Mβ and Mγ be two models where β, γ >_ 0 _. Consider the following ridge regression problems for each j ∈{_ 1 _, . . . , γnL},_
**==> picture [380 x 31] intentionally omitted <==**
_Let_ ( _R_[2] ) _[j] be the R_[2] _-error for the regression (Reg). The feature span error FSE(Mβ →Mγ) is:_
**==> picture [292 x 30] intentionally omitted <==**
Definition 2.2 quantifies how well the features _Mβ_ span the features _Mγ_ . To understanding the implications of a smaller FSE score, consider the following. When FSE( _Mβ →Mγ_ ) = 0, _Mβ_ can perfectly fit _Mγ_ , making _Mβ_ is more expressive than _Mγ_ . As such, the span of _Mβ_ can express the same prediction distribution (2.1) as _Mγ._ In appendix, we describe how we solve (Reg).
3
Using the FSE, we thus measure whether a model that uses the linear combination of its features can approximate the features of a target model. Therefore, in this paper, the expressivity of the model is measured through the linear combination of its learned features. This definition of expressivity is different from literature’s classical definition for a neural network’s expressivity which defines it as the set of functions a neural network can express for any choice of parameters. This classical definition does not consider the factors (such as optimization bias) which may make different width neural networks learn some distinct features.
## 2.3 CONCATENATION OF LOW-WIDTH NETWORKS
While it is believable that low-width networks features are less expressive just because they have fewer features or parameters, in this paper, we ask a more challenging question: even if we concatenate a large number of low-width networks trained independently with different initializations, so that the total number of features/parameters match that of the overparameterized network, do the concatenated low-width features have the same expressivity as the overparameterized ones?
**Definition 2.3** (Concatenation of features) **.** _Let Mα_[(1)] _[, . . . , M] α_[ (] _[U]_[)] _be low-width networks with the same architecture that have been independently trained with different initializations. The concatenation of features Sα_[(] _[U]_[)] _is defined as Sα_[(] _[U]_[)] := ( _M_[(1)] _α[, . . . ,][ M]_[(] _α[U]_[)][)] _[ ∈]_[R] _[m][×][αn][L][U][.]_
For _U_ in Definition 2.3, we consider the two following values:
– _U_[¯] : the smallest integer such that _Sα_[( ¯] _[U]_[)] has at least as many features as _M_ 1, i.e., _U_[¯] = _⌈_ 1 _/α⌉_ .
– _U[∗]_ : the smallest integer such that the models _Mα_[(1)] _[, . . . , M] α_[ (] _[U]_[)] collectively have at least the same number of parameters as _M_ 1.
## 2.4 FEATURE PERFORMANCE
While the FSE method provides insights into the feature expressivity, it does not exactly inform us on the predictive power of the features. Therefore, we introduce the feature performance (FP) to measure the performance obtained by a set of features on a given task.
**Definition 2.4** (Feature performance) **.** _Let Dtrain and Dtest be training and test datasets of a task. Let M be a set of features. Assume that we train a linear classifier on top of the features M on Dtrain. Then, the feature performance FP_ ( _M_ ) _is the accuracy of this classifier on Dtest._
A plausible hypothesis to explain the superior performance of overparameterized networks over lowwidth ones is: _Sα_[(] _[U]_[)] cannot fully learn the features _M_ 1 and this uncaptured part in the _M_ 1 features may be responsible for the superior performance of overparameterized networks. We refer to the part of the features that the other model cannot capture as _feature residuals_ . These residuals are what enable overparameterized and low-width networks to express unique functions.
**Definition 2.5** (Feature residuals) **.** _After solving (Reg) with regressors Mβ and targets Mγ, we obtain the prediction M_[�] _γ_ [ _j,_ :] =[�] _[n] k_ =1 _[L][c]_[ˆ][(] _k[j]_[)] _[M][β]_[[] _[k,]_[ :]] _[.][ The feature residuals][ R]_[(] _[M][β][→M][γ]_[)] _[ are]_
**==> picture [265 x 14] intentionally omitted <==**
In Section 3, we focus on the overparameterized feature residuals _R_ ( _Sα_[(] _[U]_[)] _→M_ 1) –the features of overparameterized that low-width cannot fully capture– and on the low-width feature residuals _R_ ( _M_ 1 _→Sα_[(] _[U]_[)] ) –the features of low-width that overparameterized cannot fully capture.
## 3 NUMERICAL EXPERIMENTS
We state our main results in this section. We apply the FSE and FP methods to image and text classification settings and state our empirical results.
## 3.1 EXPERIMENTAL SETUP
For the computer vision experiments, we trained VGG-16 (Simonyan & Zisserman, 2014) and ResNet-18 models (He et al., 2016) on CIFAR-10 (Krizhevsky et al., 2009) as our base models. Ad-
4
**==> picture [384 x 105] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 3 0 . 2<br>Sα [(] [U] [∗] [)] → T1 Sα [(] [U] [∗] [)] → RN1 0 . 2 Sα [(] [U] [∗] [)] → VGG1<br>0 . 2 T1 → T1 RN1 → RN1 VGG1 → VGG1<br>0 . 1<br>0 . 1<br>0 . 1<br>0 . 0 0 . 0 0 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Error Error Error<br>**----- End of picture text -----**<br>
Figure 1: **FSG with respect to overparameterized features (after training).** Figures 1a, 1b and 1c display FSE( _Sα_[(] _[U][∗]_[)] _→M_ 1) in blue line and FSE( _M_ 1 _→M_ 1) in red line in the Transformer, ResNet and VGG settings. While mildly low-width networks ( _α_ = 1 _/_ 2) can fit the features of a trained overparameterized network well, low-width models ( _α_ = 1 _/_ 8 or _α_ = 1 _/_ 16) have significantly lower performance.
ditionally, we conducted natural language processing (NLP) experiments by training a Transformer model with 4 hidden layers, hidden size 128, MLP dimension 1024, and 4 attention heads (base model) on the MNLI text classification dataset (Williams et al., 2018). The aforementioned models are overparameterized since they have more parameters than the number of training examples. The scaled models are denoted as VGG _α_ , RN _α_ , and T _α_ for VGG-19, ResNet-18, and Transformer models, respectively. In this paper, we focus on small-scale settings because computing FSE is computationally expensive. Indeed, solving (Reg) involves a multi-target regression problem with a large number of regressors and targets. Moreover, we report the FSE results using the validation errors although our empirical findings are consistent with the test errors. All the results are averaged over 4 seeds. Further experimental details can be found in the Appendix.
- 3.2 CONCATENATION OF LOW-WIDTH NETWORKS CANNOT FULLY CAPTURE THE FEATURES OF OVERPAMETRIZED ONES AFTER TRAINING
FSE( _Sα_[(] _[U]_[)] _→M_ 1) alone does not necessarily reveal whether width- _α_ networks features can capture overparameterized network features (up to a good degree). In this context, a good point of reference is FSE( _M_ 1 _→M_ 1), in which a network fits another of the same type but with different initialization. Indeed, this latter indicates the minimum error (due to different randomness used in the training) that can be achieved by networks with the same structure and parameterization. Therefore, we introduce the feature span gap (FSG):
**==> picture [331 x 13] intentionally omitted <==**
A positive FSG indicates that width-[ _α_ ] networks cannot fully capture the overparameterized features well while a negative gap suggests the opposite. We now present our first result.
**Empirical finding 3.1.** _For α <_ 1 _/_ 2 _, concatenation of low-width network features Sα_[(] _[U][ ∗]_[)] _cannot fully capture the features of overparameterized networks M_ 1 _._
Empirical finding 3.1 states that even when concatenating many low-width networks, _Sα_[(] _[U][ ∗]_[)] does not manage to capture _M_ 1 as well as another overparameterized network with a different initialization would do. We choose _U_ = _U[∗]_ from the two options given in Definition 2.3 to concatenate more underparameterized networks and achieve a more robust empirical finding.
We establish Empirical finding 3.1 based on Figures 1 and 7, which provide the following observations:
- **For trained networks,** _α_ **decreases** _⇒_ **FSG increases.** In Figure 1, as we decrease _α_ , FSG( _Sα_[(] _[U]_[)] _→M_ 1) gets larger implying that _Sα_[(] _[U]_[)] gets worse at capturing _M_ 1.
- – **For random networks,** _α_ **decreases** _⇒_ **FSG decreases.** We consider a baseline experiment where we measure FSG( _Sα_[(] _[U]_[)] _[,r] →M[r]_ 1[) where] _[ S] α_[(] _[U]_[)] _[,r] , M[r]_ 1[are the features at initialization.][This] experiment verifies where Empirical finding 3.1 is specific to the trained networks. Figure 7 shows that the random low-width features can capture the overparameterized ones. Since _M[r]_ 1[,] _[S] α_[(] _[U]_[)] _[,r]_ are sampled from the distribution, it is indeed expected that they share similar features.
5
**==> picture [398 x 245] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 3 T1 → T α 0 . 4 RN1 → RN α 0 . 4 VGG1 → VGG α<br>Sα [( ¯] U ) → T α Sα [( ¯] U ) → RN α Sα [( ¯] U ) → VGG α<br>0 . 2<br>0 . 2 0 . 2<br>0 . 1<br>0 . 0 0 . 0<br>0 . 0 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>1/2 1/4 1/8 α α<br>(a) (b) (c)<br>Figure 2: FSG with respect to low-width concatenated networks features (after training). Figures 2a, 2b<br>and 2c display FSE( M 1 →Sα [( ¯] U )) in blue line and FSE( Sα [( ¯] U ) →Mα ) in red line in the Transformer, ResNet<br>and VGG settings. As α decreases, the models have lower width and M 1 further struggles to capture Mα .<br>Transformer (FP) ResNet (FP) VGG (FP)<br>95<br>95 . 0<br>80 . 0<br>92 . 5 90<br>77 . 5 Sα [(] [U] [∗] [)] Sα [(] [U] [∗] [)] Sα [(] [U] [∗] [)]<br>T1 90 . 0 RN1 85 VGG1<br>75 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Error Error<br>Error<br>Accuracy Accuracy Accuracy<br>Test Test Test<br>**----- End of picture text -----**<br>
Figure 3: **Feature Performance.** Figures 3a, 3b, 3c display the feature performance obtained by concatenated low-width in blue line and by overparameterized networks in red line. As _α_ decreases, low-width networks fail to match the test accuracy of a single overparameterized network.
Empirical finding 3.1 alone does not necessarily imply that overparameterized models have a superior expressivity over low-width models. Low-width models may also learn some features that overparameterized models cannot express as well.
**Overparameterized networks cannot fully capture the features of sufficiently low-width ones.** We establish this finding based on Figures 2 and 8. To strengthen our result, we set _U_ = _U_[¯] (instead of _U_ = _U[∗]_ ) to decrease the ability of low-width networks to fit the features to get a more robust result. In Figure 2, we observe that the FSG is large for sufficiently low-width models ( _α_ = 1 _/_ 8 or _α_ = 1 _/_ 16), while it is close to zero for mildly low-width models. In Figure 8, we observe that the FSE is almost negligible, which is consistent with the observations in Figure 7.
In summary, we have showed that the low-width networks cannot fully capture the features of overparameterized networks and the converse also holds.
3.3 CONCATENATIONS OF LOW-WIDTH NETWORKS CANNOT ACHIEVE THE PERFORMANCE OF A SINGLE OVERPARAMETERIZED NETWORK
Subsection 3.2 focused on the expressivity of overparameterized and low-width networks features. In this section, we investigate the performance of these two feature sets.
**Empirical finding 3.2.** _For α <_ 1 _/_ 2 _, we observe that the features of low-width networks Sα_[(] _[U][ ∗]_[)] _cannot perform as well as the overparameterized features M_ 1 _i.e. for some small constant δ >_ 0 _,_
FP( _M_ 1) _−_ FP( _Sα_[(] _[U][ ∗]_[)] ) _≥ δ._ (3.2) Empirical finding 3.2 is based on Figure 3. We observe that FP( _Sα_[(] _[U]_[)] ) is significantly lower than FP( _M_ 1), and the performance gap between them increases as _α_ decreases. Overall, Empirical findings 3.1 and 3.2 demonstrate that the low-width features do not capture certain parts of the features of overparameterized networks –which are the overparameterized feature residuals– that contribute to their superior performance. With that insight, we now investigate the contribution of feature residuals to the model performance.
**Impact of the feature residuals on the performance.** Empirical finding 3.2 suggests that the feature residuals _R_ ( _Sα_[(] _[U]_[)] _→M_ 1) significantly improve the performance of the model contrary to the residuals _R_ ( _M_ 1 _→Sα_[(] _[U]_[)] ). We empirically validate this hypothesis using Figures 4.
6
**==> picture [387 x 80] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FP) ResNet (FP) Transformer (FP) ResNet (FP)<br>96 . 0<br>80 . 0 95 . 0 (T1; R 1 [(] [U] → [∗] α [)][)] (RN1; R 1 [(] [U] → [∗] α [)][)]<br>T1 RN1<br>92 . 5 81 . 0 95 . 5<br>77 . 5 ( Sα [(] [U] [∗] [)] ; Rα [(] [U] → [∗] 1 [)][)] ( Sα [(] [U] [∗] [)] ; Rα [(] [U] → [∗] 1 [)][)]<br>Sα [(] [U] [∗] [)] 90 . 0 Sα [(] [U] [∗] [)]<br>80 . 5 95 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/2 1/4 1/8 1/16<br>α α α α<br>(a) (b) (c) (d)<br>Accuracy Accuracy Accuracy Accuracy<br>Test Test Test Test<br>**----- End of picture text -----**<br>
Figure 4: **Contribution of feature residuals to test accuracy.** Figures 4a and 4b compares the concatenated low-width network _Sα_[(] _[U][∗]_[)] (red line) with the same model to which we append feature residuals _R_ ( _Sα_[(] _[U][∗]_[)] _→ M_ 1) –shortly _Rα_[(] _[U] →[∗]_ 1[)][– in blue line.][These plots show that as] _[ α]_[ decreases, the test accuracy gains brought by] the residuals increases. Figures 4c and 4d show that adding the residuals _R_ ( _M_ 1 _→Sα_[(] _[U][∗]_[)] ) –shortly _R_ 1[(] _[U] →[∗] α_[)][–] does not increase or lowers the performance of _M_ 1 (a result of adding redundant features).
- In Figures 4a and 4b, the feature concatenation ( _R_ ( _Sα_[(] _[U]_[)] _→M_ 1); _Sα_[(] _[U]_[)] ) outperforms _Sα_[(] _[U]_[)] . Thus, _R_ ( _Sα_[(] _[U]_[)] _→M_ 1) helps low-width models to span new functions that improve their performance.
- – In Figures 4c and 4d, adding _R_ ( _M_ 1 _→Sα_[(] _[U]_[)] ) to _M_ 1 does not improve the performance of _M_ 1.
## 4 HOW DO WIDE MODELS CAPTURE FEATURES THAT SHALLOW ONES CANNOT?
Our empirical results highlight a main observation: overparameterized networks can learn some essential features that low-width models cannot capture. In this section, we present a toy setting to illustrate this observation. We demonstrate that certain features can only be learned by overparameterized networks, while the concatenation of low-width networks fails to capture them effectively. Note that our setting partially covers the results from Section 3, since we do not show that overparameterized networks cannot learn some features learned by underparameterized networks. Lastly, our setting involves deep neural networks and because the analysis of their dynamics is an open question, we only validate the mechanism empirically and leave the formal proof for future work.
**Data distribution.** Let _**v**_ 1 _, . . . ,_ _**v**_ 5 _∈_ R _[d]_ be an orthonormal set of vectors which we name _signal vectors_ . Each sample consists of an input _**X**_ and a label _y_ such that:
1. _**X**_ = ( _**X**_ [1] _, . . . ,_ _**X**_ [7]) _∈_ R[7] _[d]_ , where each patch _**X**_ [ _j_ ] _∈_ R _[d] ._
2. Sample _s_ 1 _, . . . , s_ 5 such that each _sj_ is uniformly distributed over _{−_ 1 _,_ 1 _}_ .
3. The label _y_ is defined by _y_ = sgn( _s_ 1 + _s_ 2 + _s_ 3 _· s_ 4 _· s_ 5) _._
4. Signal patches: Uniformly sample indices _ℓ_ 1( _**X**_ ) _, . . . , ℓ_ 5( _**X**_ ) such that
**==> picture [85 x 11] intentionally omitted <==**
5. Noisy patches: _**X**_ [ _j_ ] _∼N_ (0 _, ξ_[2] ( **I** _d −_[�][5] _i_ =1 _**[v]**[i]_ _**[v]** i[⊤]_[))] _[,]_[ for the remaining patches.]
We refer to the signal vectors _**v** j_ whose sign _sj_ are involved in the addition (resp. multiplication) operator in item 3 as the addition (resp. multiplication) signal vectors. These signal vectors represent the features of the task but we do not refer to them as such to avoid a confusion with Definition 2.1. Our setting is a binary classification problem on a synthetic dataset of images, where each image is made of 7 patches. Each patch is either a random Gaussian vector or a signal vector. The highlight of our setting is that the label is a linear combination of a sum and product over the signs _sj_ . This choice leads overparameterized networks to learn some features that low-width ones cannot capture as we explain below. We choose _d_ = 17 in our experiments.
**Learner model.** We train a model _M_ which is a 4-hidden layer multilayer perceptron with ReLU activation. Given an input _**X**_ , the output of _M_ is
**==> picture [273 x 10] intentionally omitted <==**
where _**W**_ 1 denotes the first layer weights, and _g_ represents the subsequent three layers. (MLP) is a standard MLP except that we substract the pre-activation of the first layer by **1** _P ·d_ , which is key to discriminate the learning of low-width and overparameterized models as explained below.
7
**Initialization.** The way we initialize neurons in the first layer plays a crucial role in our setting. We initialize as _**W**_ 1[(0)] [ _j,_ :] _∼N_ (0 _, χ_[2] **I** _d_ ) where the variance _χ_[2] is chosen such that:
– The activation of a neuron _j_ by a signal vector _**v** k_ (i.e., _⟨|_ _**W**_ 1[(0)] [ _j,_ :] _|,_ _**v** k⟩ >_ 1) is a rare event. – As such, wider networks are likely to have more neurons activated by the signal vectors _**v** k._
– While the activation of a neuron by a noisy patch is a rare event, it is still more likely to occur compared to activation by a signal vector –since the expected norm of noisy patches is slightly larger than the norm of the signal vectors.
Furthermore, all signal vectors are orthogonal to each other and to the noisy patches. This constraints the activation of a neuron _j_ in several ways.
Table 1: **Performance of concatenations of low-width and overparameterized networks** Our study focus on analyzing first layer only where networks learn signal patches, not the upper layers that learn multiplication and addition of the signs. Hence, _U[∗]_ is calculated according to the first layer. We refer to the largest three network as overparameterized while referring to the others as underparameterized.
||_n_1|_U ∗_|Average train|Average test|
|---|---|---|---|---|
||100<br>250|300<br>120|accuracy (%)<br>75_._01_±_0_._07<br>75_._12_±_0_._25|accuracy (%)<br>74_._12_±_0_._88<br>74_._23_±_0_._74|
||10,000|3|100_._00_±_0_._00|100_._00_±_0_._00|
||15,000|2|100_._00_±_0_._00|100_._00_±_0_._00|
||30,000|1|100_._00_±_0_._00|100_._00_±_0_._00|
First, a neuron is likely to be activated by at most one single signal vector at initialization. Besides, because of weight decay, the norm of the neuron is constrained throughout the training. As such, it is unlikely to be simultaneously activated by two different signal vectors later on. Lastly, for similar reasons, a neuron activated by a noisy patch at initialization is unlikely to be activated by a signal later on. See the Appendix for more details.
**Training.** We train our model using binary cross entropy and normalized stochatic gradient descent for faster convergence. See the Appendix for more details.
We measure the performance of a model through their ability to learn the signal vectors. A model _M_ learns the signal vector _**v** k_ if it has at least one activated neuron _j_ which is highly correlated with _**v** k_ ,
**==> picture [387 x 30] intentionally omitted <==**
where _**W**_ 1[(] _[final]_[)] are the first layer weights after training and _δ >_ 0 is some small constant. On the other hand, _M_ does not learn _**v** k_ if _⟨_ _**W**_ 1[(] _[final]_[)] [ _j,_ :] _,_ _**v** k⟩≤_ 1 _._
**Empirical finding 4.1.** _Let M_ 1 _be overparameterized network and Mα_[(1)] _[, . . . , M] α_[ (] _[U][ ∗]_[)] _be low-width networks with different initialization. After independently training these models, we observe that_
_1. M_ 1 _learns all the signal vectors._
_2. The concatenation of low-width networks learn the addition signal vectors. However, none of the networks in the concatenation learns the multiplication signal vectors._
We now describe some important dynamics of the learning process as follows:
– **Initialization** : In order to learn _**v** k_ , the network needs to have some neurons that are _activated_ .
– **Neuron deactivation by weight decay:** A neuron is subjected to two forces: weight decay, which attracts the neuron to have a zero norm and leads to its deactivation and the gradient, which pushes the neuron in a direction that potentially increases its correlation with _**v** k_ (see Figure 6).
– **Irreversibility of Deactivation:** Neurons that becomes deactivated (or not activated before) are unlikely to be activated by _**v** k_ during training. Indeed, for deactivated neurons, the only term in the gradient is the one arising from weight decay, which makes the neuron shrink further.
– **Low-width networks have a few neurons activated by signal vectors at initialization** : Each small network have at most a few neurons that are activated by signal vectors (see Figure 9). This is due to their small number of neurons.
– **Overparameterized networks have many activated neurons at initialization** : because of their large width, for each signal vector _**v** k_ , there exists many neurons that are activated.
8
**==> picture [395 x 108] intentionally omitted <==**
**----- Start of picture text -----**<br>
150 v 1 α = 1 / 300 150 v 3 α = 1 / 300 1 . 0 M 1<br>α = 1 / 120 α = 1 / 120<br>50 α = 1 / 3 50 α = 1 / 3<br>25 αα == 11 / 2 25 αα == 11 / 2 v 1<br>0 . 8 v 2<br>v 3<br>3 3 v 4<br>1 1 v 5<br>0 0 0 . 6<br>1000 2500 4000 1000 2500 4000 500 4000<br># epochs # epochs # epochs<br>(a) (b) (c)<br>neurons neurons<br>activated activated Correlation<br># #<br>**----- End of picture text -----**<br>
Figure 5: Figures 5a and 5b display the total number of activated neurons by _**v**_ 1 (addition signal vector) and _**v**_ 3 (multiplication signal vector) throughout the training process. We display these curves for overparameterized ( _α_ = 1) and low-width concatenations ( _α ∈{_ 1 _/_ 300 _,_ 1 _/_ 120 _,_ 1 _/_ 3 _,_ 1 _/_ 2 _}_ ) networks. Both models learn the addition vectors but the low-width ones fail to learn _**v**_ 3 since the curves for _α ∈{_ 1 _/_ 300 _,_ 1 _/_ 200 _}_ quickly collapse to 0. Figure 5c displays the evolution of the correlation between an overparameterized model’s neurons and the signal vectors. The correlations gradually increase to 1, meaning that _M_ 1 has learned the signal vectors.
During the training, overparameterized models learn all the signal vectors while the neurons of concetenations of low-width networks unlearn some signal vectors.
– **Both models learn the addition signal vectors.** Lowwidth and overparameterized networks keep a non-zero correlation with _**v**_ 1 by the end of the training (Figure 5a).
– **Low-width networks unlearn the multiplication signal vectors** : Figure 5b shows that the neurons’ correlations with _**v**_ 3 collapse to zero for low-width networks while it stays non-zero for overparameterized ones.
**What is special about the multiplication features?** A model can independently learn the addition signal vectors _**v**_ 1 and _**v**_ 2 for an improved model accuracy. However, the model must learn the multiplication vectors _**v**_ 3, _**v**_ 4, and _**v**_ 5 simultaneously for improved accuracy:
– Addition case: assume that a model _M_ has learned _**v**_ 1 _._ Then, it can predict its sign _s_ 1, and the accuracy is P( _**X** ,y_ )[ _Y_ = _y|s_ 1] = 0 _._ 75, better than random predictor. – Multiplication case: assume a model has learned _**v**_ 3 _,_ _**v**_ 4 and not _**v**_ 5 _._ Its accuracy is then P( _**X** ,y_ )[ _Y_ = _y|s_ 3 _, s_ 4] = 0 _._ 5, the same as the random predictor. Learning all but one provides no value.
**==> picture [160 x 106] intentionally omitted <==**
Figure 6: **Sketch of a three neurons at initialization.** The grey and white areas respectively represent the areas where neurons are activated and deactivated by the signal vector _**v** k_ . _**W**_[(0)] [2 _,_ :] is deactivated while _**W**_[(0)] [3 _,_ :] is far from the activation hyperplane and is likely to stay activated during training. _**W**_[(0)] [1 _,_ :] is also activated but may eventually get deactivated because of the weight decay and nosier signal from the gradient, particularly during the early stages of training with active noisy patches.
## 5 CONCLUSION AND FUTURE WORK
In this work, we study the difference between overparameterized and underparameterized networks in terms of expressivity and performance. Through experiments on CIFAR-10 and MNLI, we have demonstrated that even after concatenating many models, underparameterized features cannot cover the span nor retrieve the performance of overparameterized features. Our work suggests some future work. We consider a deep network in Section 4 since our labeling function involves a multiplication operation. It is known that these labels cannot be recovered by a 1-hidden layer network with finite width (Allen-Zhu & Li, 2020). It would be interesting to find a 1-hidden layer network setting where we can prove the benefits of overparameterized features. Lastly, our setting does not exactly match with our empirical results since we do not demonstrate that underparameterized networks learn some features that overparameterized ones cannot capture.
9
## REFERENCES
- Zeyuan Allen-Zhu and Yuanzhi Li. Backward feature correction: How deep learning performs deep learning. _arXiv preprint arXiv:2001.04413_ , 2020.
- Sanjeev Arora, Simon Du, Wei Hu, Zhiyuan Li, and Ruosong Wang. Fine-grained analysis of optimization and generalization for overparameterized two-layer neural networks. In _International Conference on Machine Learning_ , pp. 322–332. PMLR, 2019.
- Christian Cianfarani, Arjun Nitin Bhagoji, Vikash Sehwag, Ben Zhao, Heather Zheng, and Prateek Mittal. Understanding robust learning through the lens of representation similarities. _Advances in Neural Information Processing Systems_ , 35:34912–34925, 2022.
- George Cybenko. Approximation by superpositions of a sigmoidal function. _Mathematics of control, signals and systems_ , 2(4):303–314, 1989.
Jonathan Frankle and Michael Carbin. The lottery ticket hypothesis: Finding sparse, trainable neural networks. _arXiv preprint arXiv:1803.03635_ , 2018.
- Ross Girshick, Jeff Donahue, Trevor Darrell, and Jitendra Malik. Rich feature hierarchies for accurate object detection and semantic segmentation. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 580–587, 2014.
- Boris Hanin and Mark Sellke. Approximating continuous functions by relu nets of minimal width. _arXiv preprint arXiv:1710.11278_ , 2017.
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Delving deep into rectifiers: Surpassing human-level performance on imagenet classification. In _Proceedings of the IEEE international conference on computer vision_ , pp. 1026–1034, 2015.
- Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. Deep residual learning for image recognition. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 770–778, 2016.
- Rie Johnson and Tong Zhang. Supervised and semi-supervised text categorization using lstm for region embeddings. In _International Conference on Machine Learning_ , pp. 526–534. PMLR, 2016.
- Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. Scaling laws for neural language models. _arXiv preprint arXiv:2001.08361_ , 2020.
- Simon Kornblith, Mohammad Norouzi, Honglak Lee, and Geoffrey Hinton. Similarity of neural network representations revisited. In _International Conference on Machine Learning_ , pp. 3519– 3529. PMLR, 2019.
- Simon Kornblith, Ting Chen, Honglak Lee, and Mohammad Norouzi. Why do better loss functions lead to less transferable features? _Advances in Neural Information Processing Systems_ , 34: 28648–28662, 2021.
- Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
- Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. _Communications of the ACM_ , 60(6):84–90, 2017.
- Amil Merchant, Elahe Rahimtoroghi, Ellie Pavlick, and Ian Tenney. What happens to bert embeddings during fine-tuning? _arXiv preprint arXiv:2004.14448_ , 2020.
- Ari Morcos, Maithra Raghu, and Samy Bengio. Insights on representational similarity in neural networks with canonical correlation. _Advances in Neural Information Processing Systems_ , 31, 2018.
- Behnam Neyshabur, Ryota Tomioka, and Nathan Srebro. In search of the real inductive bias: On the role of implicit regularization in deep learning. _arXiv preprint arXiv:1412.6614_ , 2014.
10
- Thao Nguyen, Maithra Raghu, and Simon Kornblith. Do wide and deep networks learn the same things? uncovering how neural network representations vary with width and depth. _arXiv preprint arXiv:2010.15327_ , 2020.
- F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blondel, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. _Journal of Machine Learning Research_ , 12:2825–2830, 2011.
- Maithra Raghu, Thomas Unterthiner, Simon Kornblith, Chiyuan Zhang, and Alexey Dosovitskiy. Do vision transformers see like convolutional neural networks? _Advances in Neural Information Processing Systems_ , 34:12116–12128, 2021.
- Joseph Redmon, Santosh Divvala, Ross Girshick, and Ali Farhadi. You only look once: Unified, real-time object detection. In _Proceedings of the IEEE conference on computer vision and pattern recognition_ , pp. 779–788, 2016.
- Karen Simonyan and Andrew Zisserman. Very deep convolutional networks for large-scale image recognition. _arXiv preprint arXiv:1409.1556_ , 2014.
- Adina Williams, Nikita Nangia, and Samuel Bowman. A broad-coverage challenge corpus for sentence understanding through inference. In _Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long Papers)_ , pp. 1112–1122. Association for Computational Linguistics, 2018. URL [URL removed]
- Sergey Zagoruyko and Nikos Komodakis. Wide residual networks. _arXiv preprint arXiv:1605.07146_ , 2016.
- Xiang Zhang, Junbo Zhao, and Yann LeCun. Character-level convolutional networks for text classification. _Advances in neural information processing systems_ , 28, 2015.
11
## A ADDITIONAL DETAILS AND RESULTS ON THE FSG METHOD
In this section, we provide additional implementation details on the FSG method and present some experiments that were mentioned in the main paper. In Equation Reg, we present the method to solve the regression problem equation Reg. In Subsection A.2, we present additional details about our experiments. Lastly, in Subsection A.3, we present our FSG results on randomly initialized networks. These results were mentioned in Section 3.
## A.1 METHODOLOGY TO SOLVE THE REGRESSION PROBLEM.
The regression problem equation Reg is defined in the context of a particular task with fixed training and test datasets, which we denote by _Dtrain_ and _Dtest_ , respectively. We now explain some important details about how we implement the regression.
– **Why adding a** _L_ 2 **-regularization?** : We add a _L_ 2-regularization in equation Reg for multiple reasons. First, it helps with multicollinearity and ill-conditioning. Second, it provides regularization, which leads to better out-of-sample predictions. Finally, it has a closed-form solution that makes it possible to solve the regression problem for all target variables simultaneously, which is computationally more efficient than solving the regression problem for each target variable separately. The closed-form solution requires the inversion of a matrix that can be precomputed once and used to solve the regression problem for any target variable, making it faster.
- **Cross-validation** : We independently solve equation Reg for each _j ∈{_ 1 _, . . . , ⌊αnL⌋}_ by using the RidgeCV function from the scikit-learn package (Pedregosa et al., 2011). It implements leaveone-out cross-validation (LOOV) to tune the penalty parameter _λ_ . In our experiments we tune _λ_ over the interval [1 _e −_ 5 _,_ 3 _e_ 5].
– **Datasets in the regression** : The training (resp. test) dataset of the regression consists of the features extracted from the training (resp. test) dataset _Dtrain_ (resp. _Dtest_ ) of the task.
– **Reporting FSE** : We only present the validation errors of equation Reg for FSE in our empirical findings of section 3. That is because the training dataset is much larger compared to the test dataset, and the relationship between the features of different width networks may differ between the datasets _Dtrain_ and _Dtest_ due to the weights of the trained models (for that matter the features of the networks) being dependent on _Dtrain_ but not _Dtest_ . We discuss this issue further in Subsection D.4, where we present regression results using a training dataset consisting of data points from both _Dtrain_ and _Dtest_ (training and test datasets of the task). Nevertheless, the empirical findings remain consistent for the test errors (Subsection D.3), although there may be a gap between the test and validation errors in some cases.
## A.2 ADDITIONAL DETAILS ABOUT EXPERIMENTAL SETUP
Regarding the training procedure of the vision experiments, all the models are trained with standard augmentations techniques and using SGD with momentum 0.9, a tuned weight-decay, a tuned learning-rate and a linear decay step-size scheduler (applied by the factor of 0 _._ 1 at epochs 180 and 255). We run all the experiments for 300 epochs, with batch size 128 otherwise. For NLP, we run all the experiments for 30 epochs, using AdamW with a tuned weight-decay, a tuned learning-rate, and a cosine learning rate scheduler. Table 2 displays the average training and test accuracies of the networks used in the experiments.
We note that for each different model, we tune the learning-rate and weight-decay for a single seed and use the same hyperparameters for all other models of the same kind but with a different initialization. In our computer vision experiments, our range of learning rates is _{_ 0 _._ 02 _,_ 0 _._ 04 _,_ 0 _._ 06 _,_ 0 _._ 08 _,_ 0 _._ 1 _}_ and for weight decay, the range is _{_ 7 _e−_ 4 _,_ 5 _e−_ 4 _,_ 9 _e−_ 4 _,_ 3 _e−_ 4 _,_ 5 _e−_ 4 _,_ 5 _e−_ 4 _}_ and use dropout=0.1. In our NLP experiments, our range of learning rates is _{_ 5 _e−_ 6 _,_ 1 _e−_ 5 _,_ 5 _e−_ 5 _,_ 9 _e−_ 5 _,_ 1 _e−_ 4 _,_ 5 _e−_ 4 _,_ 9 _e−_ 4 _,_ 5 _e −_ 3 _}_ and for weight decay, _{_ 1 _e −_ 6 _,_ 1 _e −_ 5 _,_ 5 _e −_ 5 _,_ 1 _e −_ 4 _,_ 5 _e −_ 4 _,_ 1 _e −_ 3 _,_ 1 _e −_ 2 _,_ 5 _e −_ 3 _,_ 5 _e −_ 2 _}_ .
To create low-width networks from ResNet-18 and VGG-16 vision models, we reduce the number of filters or channels in each layer compared to the original architecture. Specifically, we achieve the scaled model _Mα_ by adjusting the number of filters in each layer, multiplying the original number of filters by a factor of _α <_ 1. Similarly, for the transformer model, the hidden size is modified by scaling it down by a factor of _α <_ 1. This process results in the low-width model _Mα_ .
12
**Remark about the NLP experiments.** The primary focus of this paper is to analyze the impact of overparameterization on network features, driven by their superior performance. As a result, we specifically investigate scenarios where overparameterized networks exhibit significantly better performance than low-width networks. In our NLP experiments, we observed that when using a transformer model, there was no notable difference in performance between low-width and overparameterized networks. We attribute this lack of distinction to the embedding layer, which has a vocabulary size of approximately 50k, causing low-width networks to have an excessive number of parameters. To address this, we removed the embedding layer from the models studied in this paper. Additionally, we leveraged a pre-trained network to process the data and provide its hidden representation as input to these models.
## A.3 MEASURING THE FSG FOR RANDOM NETWORKS
**==> picture [384 x 281] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 3 0 . 4<br>0 . 4 Sα [(] [U] [∗] [)] [,r] → RN [r] 1<br>Sα [(] [U] [∗] [)] [,r] → T [r] 1 0 . 2 RN [r] 1 [→] [RN] [r] 1<br>0 . 2 FSE(T [r] 1 [→] [T] [r] 1 [)]<br>0 . 1 0 . 2 Sα [(] [U] [∗] [)] [,r] → VGG [r] 1<br>VGG [r] 1 [→] [VGG] [r] 1<br>0 . 0 0 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Figure 7: FSG with respect to overparameterized features (random networks). FSE( Sαα [[(]] [[U]] [[∗]] [[)]] [[,r]] →M [[r]] 1<br>FSE( M [[r]] 1 [[→M][r]][[r]] 1 [[)]] [[are]] [[displayed]] [[by]] [[blue]] [[and]] [[red]] [[lines,]] [[respectively,]] [[in]] [[the]] [[settings]] [[of]] [[Transformer,]]<br>and VGG. Unlike trained networks, the concatenated random low-width network features are capable of fitting<br>overparameterized network features effectively, regardless of their size. In fact, we observe that the<br>improves as the value of α decreases.<br>Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 6<br>0 . 4 RN [r] 1 [→] [RN] α [r] 0 . 4<br>0 . 4 Sα [( ¯] U ) ,r → RN [r] α<br>0 . 2 T [r] 1 [→] [T] α [r] 0 . 2 0 . 2 VGG [r] 1 [→] [VGG] α [r]<br>Sα [( ¯] U ) ,r → T [r] α Sα [( ¯] U ) ,r → VGG [r] α<br>0 . 0 0 . 0 0 . 0<br>1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>1/2 1/4 1/8<br>α α α<br>(a) (b) (c)<br>Error Error Error<br>Error Error Error<br>**----- End of picture text -----**<br>
Figure 7: **FSG with respect to overparameterized features (random networks).** FSE( _Sαα_[[(]] _[[U]][[∗]]_[[)]] _[[,r]] →M[[r]]_ 1[) and] FSE( _M[[r]]_ 1 _[[→M][r]][[r]]_ 1[[)]][[are]][[displayed]][[by]][[blue]][[and]][[red]][[lines,]][[respectively,]][[in]][[the]][[settings]][[of]][[Transformer,]][ResNet,] and VGG. Unlike trained networks, the concatenated random low-width network features are capable of fitting overparameterized network features effectively, regardless of their size. In fact, we observe that the fitting improves as the value of _α_ decreases.
Figure 8: **FSG with respect to low-width concatenated networks features (random networks).** FSE( _Sα_[(] _[U][∗]_[)] _[,r] →M[r]_ 1[)][and][FSE(] _[M][r]_ 1 _[→M][r]_ 1[)][are][displayed][by][blue][and][red][lines,][respectively,][in][the][set-] tings of Transformer, ResNet, and VGG. Unlike trained networks, the concatenated random low-width network features exhibits no difference compared to overparameterized networks in capturing overparamaeterized network features.
## B ADDITIONAL DETAILS ABOUT FEATURE PERFORMANCE
In the feature performance experiments in Subsection 3.3, the models are trained with standard augmentations techniques (only for the vision experiments) and using SGD with momentum 0.9, a tuned weight-decay, a tuned learning-rate and a linear decay step-size scheduler. We run all the experiments with 40 or 80 epochs and ensure that at the end of training, the training loss is constant in all the cases.
## C ADDITIONAL DETAILS FOR OUR THEORETICAL SETTING
In this section, we provide some technical information about our initialization scheme. We then display the number of neurons activated by each feature at initialization (Figure 9).
13
||||RN_α_|||VGG_α_|||T_α_||
|---|---|---|---|---|---|---|---|---|---|---|
||||Average training|Average test||Average training|Average test||Average training|Average test|
|_α_|¯_U_|_U ∗_|accuracy (%)|accuracy (%)|_U ∗_|accuracy (%)|accuracy (%)|_U ∗_|accuracy (%)|accuracy (%)|
|1|-|-|99_._99_±_0_._01|95_._29_±_0_._14|-|99_._98_±_0_._01|94_._00_±_0_._01|-|86_._49_±_0_._16|81_._06_±_0_._18|
|1/2|2|4|99_._98_±_0_._01|94_._56_±_0_._13|4|99_._80_±_0_._02|92_._82_±_0_._13|4|83_._64_±_0_._20|79_._72_±_0_._36|
|1/4|4|16|99_._81_±_0_._02|92_._72_±_0_._25|16|98_._11_±_0_._06|90_._27_±_0_._25|15|79_._66_±_0_._29|77_._63_±_0_._21|
|1/8|8|64|96_._12_±_0_._10|89_._30_±_0_._28|64|90_._12_±_0_._14|85_._90_±_0_._21|59|74_._93_±_0_._25|73_._77_±_0_._21|
|1/16|16|254|86_._81_±_0_._19|84_._30_±_0_._28|251|75_._66_±_0_._52|76_._47_±_0_._63|-|-|-|
Table 2: **Average training and test accuracies of trained models** : _U[∗]_ is shown with respect to the largest model ( _α_ = 1). Accuracies are rounded to the nearest second digit after decimal.
## C.1 INITIALIZATION SCHEME
**Initialization.** We assume that the first layer is initialized for all _j ∈_ [ _n_ 1] as _**W**_ 1[(0)] [ _j,_ :] _∼ N_ (0 _, χ_[2] **I** _d_ ) where _χ_ = _d[−]_[(5] _[/]_[12)] _._ The remaining parameters may be initialized as in standard ReLU neural networks, e.g., by using Kaiming initialization (He et al., 2015).
**Justification of the parameters choice.** We here justify the multiple choices made in the setting described above:
– Variances _ξ_[2] _, χ_[2] and activation in in the first layer: these choices are made for two reasons. First, with high probability, the norm of the noisy patches are slightly bigger than the norm of the signal ones. This incentivizes the model to have more signal-activated neurons than noise-activated neurons. That, in turn, makes it possible for some (or possibly all) signal-activated neurons to get de-activated especially early in the training when noise patches are more dominant in the objective function.
Besides, under this parameters choice, neurons rarely activate a signal patch, i.e., for _j ∈_ [ _n_ 1] and _p ∈{ℓ_ 1( _**X**_ ) _, . . . , ℓk_ ( _**X**_ ) _}_ , the event ” _σ_ ( _**W**_ 1[(0)] [ _j,_ :] _[⊤]_ _**X**_ [ _p_ ] _−_ 1) _>_ 0” is rare. Indeed, by concentration inequality, we have
**==> picture [282 x 14] intentionally omitted <==**
– Orthogonality of features and noisy patches: given the orthogonal structure in _D_ , a neuron
_**W**_ 1[(0)] [ _j,_ :] can only activate a single feature. Indeed, by Pythagoras theorem, we have
**==> picture [269 x 31] intentionally omitted <==**
With high probability, we have _|_ _**W**_ 1[(0)] [ _j,_ :] _∥_ 2[2][=] _[χ]_[2] _[d]_[=] _[d]_[0] _[.]_[02] _[∈]_[[1] _[,]_[ 2)][ and by definition, a neuron] activates a feature if _⟨_ _**W**_ 1[(0)] [ _j,_ :] _,_ _**v** p⟩_[2] _>_ 1 _._ Thus, at initialization, a neuron can only activate a single feature.
– Adding weight decay to the loss: weight decay usually leads to a solution with minimal _L_ 2-norm. In our case, we show that if a neuron isn’t activated by any feature or noise in the beginning, then its weight will keep shrinking and never get activated. This follows from the fact that in this case the neuron’s weights is updated only by weight decay since gradient from the loss function is zero.
## C.2 ADDITIONAL IMPLEMENTATION DETAILS
In our experiments in Section 4, we set the learning rate to 0.002 and weight decay to 0.003. Depending on the value of _α_ , we train the model for a different time. For instance, for _α ∈{_ 1 _/_ 300 _,_ 1 _/_ 120 _}_ , we train the models for 1000 epochs, _α ∈{_ 1 _/_ 3 _,_ 1 _/_ 2 _}_ , we train for 2500 epochs and for _α_ = 1, 4000 epochs. This explains why the lines are discontinuous in Figure 5. In every case, we ensure that the training has ended by checking that the training loss is constant.
14
**==> picture [384 x 105] intentionally omitted <==**
**----- Start of picture text -----**<br>
v 1 v 2 Multiplication features<br>100 0 100 0 100 0<br>1 1 1<br>2<br>50 50 50 3<br>0 0 0<br>Models Models Models<br>(a) (b) (c)<br>% % %<br>100 250 10,000 15,000 30,000 100 250 10,000 15,000 30,000 100 250 10,000 15,000 30,000<br>**----- End of picture text -----**<br>
Figure 9: Barplots 9a and 9b show the percentage of networks in which the first and second addition features are activated at initialization, respectively, with 1 representing the percentage of networks with the corresponding features activated. Barplot 9c categorizes the models by the number of multiplication features that are activated at initialization.
## D ADDITIONAL EXPERIMENTAL RESULTS
In this section, we present some empirical results that were briefly mentioned in the main paper. In Subsection D.1, we measure the performance of the feature residuals. In Subsection D.2, we append feature residuals to overparameterized and low-width networks and measure their contribution to the task performance. While in the main paper we report the validation errors for the FSG method, we report in Subsection D.3 the test errors. Lastly, in Subsection D.4, we present FSE results where the features in the regression problem are obtained from a dataset that is a mix of training and test sets.
## D.1 PERFORMANCE OF FEATURE RESIDUALS ALONE
|Features||Transformer|ResNet|VGG|
|---|---|---|---|---|
|FP(_R_(_M_1 _→S_(_U∗_)<br>_α_|))|31.47_±_0.52|17.79_±_0.73|40.05_±_1.16|
|FP(_S_(_U∗_)_,r_<br>_α_<br>)||46.98_±_0.55|34.30_±_0.04|47.48_±_0.01|
|FP(_R_(_S_(_U∗_)<br>_α_<br>_→M_1))||50.97_±_0.18|53.46_±_0.03|56.42_±_0.06|
|FP(_Mr_<br>1)||51.37_±_0.28|28.73_±_0.36|19.03_±_1.03|
Table 3: **The performance (test accuracy) of residuals alone** : Lowest _α_ is picked for each model in this experiment (1/16 for ResNet and VGG, and 1/8 for Transformer).
In Table 3, we present the performance of feature residuals together with the feature performance of the random networks which serve as a baseline. In this experiment, only the feature residual with the lowest _α_ is used for each model (1/16 for ResNet and VGG, and 1/8 for Transformer). We observe the the residuals of the overparameterized have better or similar performance compared to the performance of its baseline (random overparameterized network features). By contrast, the residual of the low-width networks underperform its baseline (concatenation of random low-width network features).
D.2 CONTRIBUTION OF FEATURE RESIDUALS FOR VGG
This section shows the contribution of residuals for VGG.
## D.3 TEST ERRORS FOR THE FSG METHOD
Figures 11, 12, 13, and 14 display the test errors corresponding to the figures in Sections 3 and A.3. We observe that the test errors exhibit a similar trend to the validation errors, indicating consistent empirical findings. However, there is a noticeable gap between test and validation errors in the trained networks of vision experiments. We delve into the details of this disparity in Subsection D.4 to provide a more comprehensive analysis.
Furthermore, we noticed a significant disparity between the test and validation errors in the random VGG experiment, as shown in Figures 7c and 12c. Upon closer examination, we discovered that
15
**==> picture [389 x 158] intentionally omitted <==**
**----- Start of picture text -----**<br>
VGG (FP) VGG (FP)<br>95 96<br>(VGG1; R 1 [(] [U] → [∗] α [)][)]<br>95 VGG1<br>90<br>( Sα [(] [U] [∗] [)] ; Rα [(] [U] → [∗] 1 [)][)]<br>94<br>85 Sα [(] [U] [∗] [)]<br>1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α<br>(a) (b)<br>Accuracy Accuracy<br>Test Test<br>**----- End of picture text -----**<br>
Figure 10: **Contribution of residuals to the test accuracy.** Figure 10a compares the concatenated lowwidth network _Sα_[(] _[U][∗]_[)] (red line) with the same model to which we append feature residuals _R_ ( _Sα_[(] _[U][∗]_[)] _→M_ 1) –shortly _Rα_[(] _[U] →[∗]_ 1[)][–][in][blue][line.][This][plots][show][that][as] _[α]_[decreases,][the][test][accuracy][gains][brought][by][the] residuals increases. Figure 10b show that adding the residuals _R_ ( _M_ 1 _→Sα_[(] _[U][∗]_[)] ) –shortly _R_ 1[(] _[U] →[∗] α_[)][–][does][not] increase the performance of _M_ 1
certain features of the overparameterized network led to test errors that were notably larger than one. To improve the statistical accuracy of our results, we decided to exclude the features that resulted in a test error greater than 5. This amounted to only 12 out of the total 5120 features. Figure 12d illustrates the impact of removing these outliers on the test errors. We observe that the errors depicted in Figure 12d align with those shown in Figure 7c. As a result, by removing the outliers, we achieve consistent validation and test errors. We do not report on the change in the validation error following the removal of outliers, as the change is deemed insignificant.
**==> picture [384 x 105] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 3 0 . 2<br>Sα [(] [U] [∗] [)] → T1 Sα [(] [U] [∗] [)] → RN1 0 . 2 Sα [(] [U] [∗] [)] → VGG1<br>0 . 2 T1 → T1 RN1 → RN1 VGG1 → VGG1<br>0 . 1<br>0 . 1<br>0 . 1<br>0 . 0 0 . 0 0 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Error Error Error<br>**----- End of picture text -----**<br>
Figure 11: **Test Error: FSG with respect to overparameterized features (after training).** This figure displays the test errors corresponding to Figure 1.
**==> picture [387 x 80] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) 0 . 3 Resnet (FSE) VGG (FSE) 0 . 4 VGG (FSE) outliers removed<br>0 . 4 Sα [(] [U] [∗] [)] [,r] → T [r] 1 0 . 2 S FSE( α [(] [U] [∗] RN [)] [,r] → [r] 1 [→] RN [RN] [r] 1 [r] 1 [)] 0 . 4 0 . 3<br>0 . 2 T [r] 1 [→] [T] [r] 1 0 . 1 0 . 2 Sα [(] [U] [∗] [)] [,r] → VGG [r] 1 0 . 2 Sα [(] [U] [∗] [)] [,r] → VGG [r] 1<br>VGG [r] 1 [→] [VGG] [r] 1 VGG [r] 1 [→] [VGG] [r] 1<br>0 . 0 0 . 0 0 . 1<br>1/2 1/4 1/8 1/16 1/8 1/4 1/2 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α α<br>(a) (b) (c) (d)<br>Error Error Error Error<br>**----- End of picture text -----**<br>
Figure 12: **Test Error: FSG with respect to overparameterized features (random networks).** Figures 12a and 12b display the test errors of Transformer and ResNet corresponding to Figure 7. Figures 12c and 12d display the test errors of VGG corresponding to Figure 7c.
16
**==> picture [384 x 116] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>T1 → T α RN1 → RN α VGG1 → VGG α<br>0 . 4 0 . 4<br>Sα [( ¯] U ) → T α Sα [( ¯] U ) → RN α Sα [( ¯] U ) → VGG α<br>0 . 2<br>0 . 2 0 . 2<br>0 . 0 0 . 0 0 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Error Error Error<br>**----- End of picture text -----**<br>
Figure 13: **Test Error: FSG with respect to low-width concatenated networks features (after training).** This figure displays the test errors corresponding to Figure 2.
**==> picture [384 x 116] intentionally omitted <==**
**----- Start of picture text -----**<br>
Transformer (FSE) ResNet (FSE) VGG (FSE)<br>0 . 6<br>0 . 4 RN [r] 1 [→] [RN] α [r] 0 . 4<br>0 . 4 Sα [( ¯] U ) ,r → RN [r] α<br>0 . 2 T [r] 1 [→] [T] α [r] 0 . 2 0 . 2 VGG [r] 1 [→] [VGG] α [r]<br>Sα [( ¯] U ) ,r → T [r] α Sα [( ¯] U ) ,r → VGG [r] α<br>0 . 0 0 . 0 0 . 0<br>1/2 1/4 1/8 1/2 1/4 1/8 1/16 1/2 1/4 1/8 1/16<br>α α α<br>(a) (b) (c)<br>Error Error Error<br>**----- End of picture text -----**<br>
Figure 14: **Test Error: FSG with respect to low-width concatenated networks features (random networks).** This figure displays the test errors corresponding to Figure 8.
## D.4 SHUFFLED REGRESSION FOR VISION EXPERIMENTS
As shown in Subsection D.3, a non-negligible difference between validation and test errors is observed in vision experiments for the trained networks. One explanation behind this gap could be that training (resp. test) data used in training (resp. testing) the networks is the same as the training (resp. test) data used in regression. Since weights of the trained networks, for that matter features of the trained networks, is a function of training data, we may expect smaller errors with training data than with test data for FSE. To further understand this effect, we run another regression, which we call shuffled regression for vision experiments, where training data is created by randomly sub-sampling from training and test data (85% from each) used in network training.
After comparing the regular and shuffled regression results presented in tables 4 and 5, we can observe a significant reduction in the gap between validation and test errors for the shuffled regression. This observation is in line with our earlier intuition that the dependence of trained network weights or features on the training data can lead to smaller errors on training data than on test data for FSE. Thus, we can conclude that the FSE results are sensitive to the data type (training vs test data of the task) used in the regression for vision experiments, unlike NLP experiments where a much larger training dataset is available.
|Regression|Error|FSE(RN1 _→_RN1)|FSE(_S_(_U∗_)<br>1_/_2<br>_→_RN1)|FSE(_S_(_U∗_)<br>1_/_4<br>_→_RN1)|FSE(_S_(_U∗_)<br>1_/_8<br>_→_RN1)|FSE(_S_(_U∗_)<br>1_/_16 _→_RN1)|
|---|---|---|---|---|---|---|
|Regular|valid.<br>test|0.0236_±_0_._000106<br>0.0505_±_0_._000747|0.0201_±_3_._1_e −_05<br>0.041_±_0_._000109|0.0327_±_0_._000165<br>0.0607_±_0_._00023|0.0967_±_0_._000294<br>0.1212_±_0_._000401|0.1885_±_0_._000111<br>0.1845_±_0_._000396|
|Shuffed|valid.<br>test|0.0279_±_0_._00019<br>0.0281_±_0_._000259|0.0234_±_2_._9_e −_05<br>0.0236_±_3_._7_e −_05|0.0372_±_0_._000178<br>0.0376_±_0_._000155|0.1004_±_0_._000264<br>0.102_±_0_._000384|0.1871_±_7_e −_05<br>0.1908_±_0_._000731|
Table 4: **Shuffled Regression for Resnet**
17
|Regression|Error|FSE(VGG1 _→_VGG1)|FSE(_S_(_U∗_)<br>1_/_2<br>_→_VGG1)|FSE(_S_(_U∗_)<br>1_/_4<br>_→_VGG1)|FSE(_S_(_U∗_)<br>1_/_8<br>_→_VGG1)|FSE(_S_(_U∗_)<br>1_/_16 _→_VGG1)|
|---|---|---|---|---|---|---|
|Regular|valid.<br>test|0.0084_±_6_._9_e −_05<br>0.0694_±_0_._000778|0.0079_±_3_._3_e −_05<br>0.0508_±_0_._000267|0.0143_±_0_._000119<br>0.0658_±_0_._000426|0.0734_±_0_._000126<br>0.1134_±_0_._000214|0.2116_±_0_._000362<br>0.209_±_0_._003072|
|Shuffed|valid.<br>test|0.0168_±_0_._000129<br>0.017_±_0_._000168|0.0145_±_5_._5_e −_05<br>0.0148_±_5_._9_e −_05|0.0224_±_0_._000183<br>0.0236_±_0_._000177|0.0791_±_0_._000118<br>0.0833_±_0_._000514|0.2101_±_0_._000295<br>0.2124_±_0_._000795|
Table 5: **Shuffled Regression for VGG**
18