Learning with invariances in random features and kernel models
Song Mei, Theodor Misiakiewicz, Andrea Montanari
Introduction
Convolutional neural networks are the state-of-the-art architecture for image classification and related computer vision tasks, and they are believed to exploit the translation invariance in a crucial way [KSH12]. Consider the simple example of two-layer convolutional networks with global average pooling. The network computes a nonlinear convolution of filters with the image . The results are then combined linearly with coefficients :
This simple convolutional network can be compared with a standard fully-connected two-layer network with the same number of parameters: . It is clear that —when the target function is translation invariant— the convolutional model is at least as powerful as in terms of approximation, since it is invariant by construction (see Appendix A.1 for a simple formal argument).
In order to gain some insights on the behavior of actual neural networks, we consider two classes of linear ‘overparametrized’ models: invariant random features models and invariant kernel machines. We next describe these two approaches.
Invariant kernel machines. We then consider kernel ridge regression (KRR) in the reproducing kernel Hilbert space (RKHS) defined by a -invariant kernel. By this we mean a kernel such that, for all , the following folds for every :
Note that, as a consequence of this property, any function that is not in (i.e. any function that is not invariant) has infinite RKHS norm: indeed this provides an alternate characterization of invariant kernel methods. Among -invariant kernels, we focus on the subclass that is obtained by averaging an inner product kernel over the group
Invariant kernel machines can be regarded as large-width () limits of invariant random features methods. Vice versa, the latter can be regarded as randomized approximations of invariant kernel methods. Moreover, invariant kernel methods also capture the large-width limits of other models, for instance, neural tangent models associated to convolutional networks (c.f. Section A.3).
We focus on a type of groups that we call groups of degeneracy .
Let be the subspace of degree- polynomials that are orthogonal to polynomials of degree at most in , and denote by the subspace of formed by polynomials that are -invariant. We say that has degeneracy if for any integer we have (i.e., there exists such that for any ).
This definition includes as special cases the cyclic group for one and two-dimensional signals (see Section 2), which have both degeneracy .
We compare invariant methods to standard (non-invariant) random features models with inner product activation, defined as
and standard inner product kernels . For groups with degeneracy , we obtain a fairly complete characterization of the gain achieved by using invariant models, when the target function is an arbitrary invariant function .
These results are precisely presented in Theorem 1 and summarized in Table 1. We establish the same gain for invariant kernel methods in Theorem 2. While we focused in this paper on groups with degeneracy (which include our primary motivating examples, cyclic group in one or two dimensions), we expect similar results to hold for groups with . We defer this to future work.
Output symmetrization and data augmentation are two alternative approaches to incorporate invariances in machine learning models. We show that the performance of output symmetrization of standard KRR does not improve over standard KRR, and hence is sub-optimal compared to invariant KRR. On the other hand, it was shown that (c.f. [LWY+19]) data augmentation is mathematically equivalent to invariant KRR for discrete groups. As a consequence, our theoretical results characterize the statistical gain by performing data augmentation.
It is important to mention that our treatment omits an important characteristic of convolutional architectures: the fact that the filters of Eq. (1) have a short window size . Namely, they have only non-zero entries, for instance the first entries. Using short-window filters has some interesting consequences, which can be investigated using the same approach developed here. We will report on these in a forthcoming article, and instead focus here on the impact of invariance.
Our analysis is enabled by a simple yet important observation, which might generalize to other settings. The subspaces of degree- polynomials (see Definition 1) are eigenspaces for inner product kernels. At the same time, they are preserved under the symmetry group . Namely, define , we have for any , . This observation is crucial in determining the eigendecomposition of the relevant kernels.
Let us finally emphasize, that the factor- gain in sample size for degeneracy-one groups is not correctly predicted by a naive ‘data augmentation heuristics’. The latter would suggest a gain of the order of or of the size of orbits of . As shown by the example of band limited functions (see below) can be but the degeneracy can still be one (and hence the gain is ).
A number of mathematical works emphasized the role of invariance in neural network architectures. Among others, [Mal12, BM13, Mal16] propose architectures (‘deep scattering networks’) that explicitly achieve invariance to a rich group of transformations. However, these papers do not characterize the statistical error of these approaches.
The recent paper [LZA20] constructs a simple data distribution on which a gap is proven between the sample complexity for convolutional architectures, and the one for standard (fully connected) architectures. This result differs from ours in several aspects. Most importantly, we study the risk for estimating general invariant functions using invariant kernels and random features, while [LZA20] obtain results for a specific distribution using CNNs. Also, the weight sharing structure in [LZA20] is different from the one in Eq. (1).
Another work [CDL20] studied the statistical benefits of data augmentation in the parametric setting via a group theory framework. Our result is different in the sense that we consider the non-parametric setting to estimate an invariant function using kernel methods.
To the best of the our knowledge, our paper is the first that characterizes the precise statistical benefit of using invariant random features and kernel models.
Convolutional neural networks and convolutional kernels
A recent line of work [JGH18, LL18, DZPS19, DLL+18, AZLS19, AZLL18, ADH+19a, ZCZG18, OS19] studied the training dynamics of overparametrized neural networks under certain random initialization, and showed that it converges to a kernel estimator, which corresponds to the “neural tangent kernel”. The convolutional neural tangent kernel, which corresponds to the tangent kernel of convolutional neural networks, was studied in [ADH+19b, LWY+19, BM19]. The connection between convolutional kernel ridge regression and data augmentation was pointed out in [LWY+19].
The network in Eq. (1) corresponds to a two-layer convolutional neural network with global average pooling, which is a special case of the convolutional network that was defined as in [ADH+19b].
A number of authors have studied the generalization error of kernel machines [CDV07, JŞS+20, LR+20, LRZ19] [Wai19, Theorem 13.17] and random features models [RR09, RR17, MWW+20, Bac15]. However, these results are not fine-grained enough to characterize the separation between invariant kernels (or random feature models) and standard inner product kernels, for several reasons. First, some of these results concern restricted target functions with bounded RKHS norm. Second, we establish a gap that holds pointwise, i.e. for any given target function , while most of earlier work only obtain minimax lower bounds. Finally, we need the upper and lower bounds match up to a factor, while earlier results only match up to unspecified constants.
The recent paper [JŞS+20] provides sharp predictions for kernel machines, but it assumes that a certain random kernel matrix behaves like a random matrix with Gaussian components: proving an equivalence of this type is the central mathematical challenge we face here.
Our analysis builds on the general results of [GMMM19, MMM21]. In particular, [MMM21] provides general conditions under which the risk of random features and kernel methods can be characterized precisely. Checking these conditions for invariant methods requires to prove certain concentration properties for the entries of the relevant kernels. We achieve this goal for the cyclic group with general activations, and for degeneracy- groups (for ) with polynomial activations. Generalizing these results to other groups, data distributions, and activations is a promising direction.
Examples
In this section, we provide three examples of our general setting. We show in Appendix D that all these groups have degeneracy 1 and therefore satisfy the assumptions of our general theorems.
We will refer to the invariant functions as the ‘cyclic functions’.
Suppose we have one-dimensional signals with very high resolution, but the signals are band-limited: their Fourier transforms have only non-zero coefficients. We assume that the labels of the band-limited signals are invariant under translations. The following model captures this setting.
That means, can be interpreted as a subgroup of . The measure is the uniform distribution on , i.e.,
Invariant random feature models
Let be a group of degeneracy with as defined in Definition 1 and be a function that is invariant under the action of , i.e., . We consider fitting the data with the invariant random features model defined in Eq. (2) using ridge regression, which we call invariant RFRR. Namely, we learn a function with
where the regularization parameter can depend on the dimension . (The factor in the ridge penalty is introduced to compensate for the effect of averaging the random features over .) We further denote the test error of invariant RFRR by
We will make the following assumption on .
For general , we assume that is a (finite degree) polynomial function.
We assume that is not a polynomial with degree less or equal to .
Let be a group of degeneracy and let be a sequence of -invariant functions. Assume and for fixed integers , and some . Let be an activation function that satisfies Assumption 1 at level . Then the following hold for the test error of invariant RFRR (see Eq. (7)):
(Overparametrized regime) Assume for some . Then for any regularization parameter (including ) and , we have
(Underparametrized regime) Assume for some . Then for any regularization parameter (including ) and any , we have,
In particular, this theorem applies to the one-dimensional and two-dimensional cyclic groups, and band-limited functions listed in Section 2. We refer readers to Appendix A.2 for an informal intuition and Appendix B.2 for the proof of this result.
We can compare these bounds with ridge regression on the standard random features model of Eq. (5). Theorem 2 in [MMM21] (with Assumption 1) shows that the same test error holds as in Theorem 1 but with and . We thus gain a factor in the sample and feature complexity by using invariant features compared to non invariant ones.
Assumption 1 requires the activation function to be polynomial, except for the cyclic group, for which only differentiability conditions are assumed. We believe that the differentiability condition (and indeed weaker conditions) should be sufficient for general groups. We defer these improvements to future work.
Consider two-dimensional images with (Example 2) and functions that are invariant with respect to the group of cyclic translations along the horizontal direction only. It can be shown that this group has degeneracy , and in fact . Our theory also applies to this group.
Invariant kernel machines
Note that any invariant kernel of the form (4) can be written as a kernel of the form:
To see this, note that any inner product kernel can be decomposed as
for some activation function , which amounts to taking the square root of the positive semidefinite operator associated to . Substituting in Eq. (4), we get the desired representation.
Consider Kernel ridge regression with regularization parameter associated to , that we call invariant KRR. Namely, we learn a function where
with the RKHS norm associated to . We further denote the test error of invariant KRR by
Let be a group of degeneracy and be a sequence of -invariant functions. Assume for some fixed integer and some . Let be an activation function that satisfies Assumption 1 at level (and ) and let be the associated invariant kernel as defined in Eq. (10). Then, the following holds for the test error of invariant KRR (c.f. Eq. (12)): for any (including identically) any , we have
We can compare the performance of this kernel against a standard (inner product) kernel . Then Theorem 4 in [GMMM19] shows that the above theorem holds but with . We gain a factor in sample complexity by using an invariant kernel.
Recall that the neural tangent kernel (NTK) associated to a function with random initialization is defined as
The neural tangent kernel associated to a multi-layers fully connected network is an inner-product kernel (as long as the weights are initialized to be isotropic Gaussian.) In contrast, the NTK associated to the CNN of Eq. (1) is an example of invariant kernel, and is covered by Theorem 2 (see Appendix A.3 for more details).
Comparison with alternative approaches
To provide further context, it is useful to compare invariant random features and kernel models with other approaches. Here we consider two alternatives: output symmetrization, which uses a non-invariant method for training and then symmetrizes the estimated function over the group to obtain an invariant function; data augmentation, which trains the model on a dataset augmented by samples obtained by applying group transformations to the original data. As shown in [LWY+19], data augmentation is mathematically equivalent to invariant kernel methods, so that it is superior to standard kernel methods (with inner-product kernels). On the other hand, we show that output symmetrization of standard kernel estimators does not significantly improve over the standard kernel estimator, and is fundamentally sub-optimal comparing to invariant kernel methods.
Given an estimater , the symmetrization operator computes the average of over the group:
When the target function is -invariant, one might naively think that the symmetrization operation will significantly improve the performance of standard kernel estimators (standard RFRR and KRR). Indeed, when , Jensen’s inequality gives . However, the proposition below (which is proved in Section A.4) shows that is not significantly better when is a standard kernel estimator.
while Theorem 1 implies that invariant RFRR with sufficiently small regularization achieves a substantially smaller risk:
2 Data augmentation
We consider full data augmentation whereby we replace each sample in the dataset by samples (for simplicity we consider here the case of a finite group ), and perform standard KRR on the augmented dataset. One might naively think that this is not as effective as enforcing invariance in the kernel structure. After all, we are only requiring invariance to hold at the sampled points. However, [LWY+19] showed that these two approaches are in fact equivalent.
We compare KRR using the kernel on the augmented dataset, with invariant KRR on the original dataset using the symmetrized kernel . Denote by and the KRR estimates with the standard kernel and full data augmentation, and with the invariant kernel respectively.
Let be a finite group, and , as defined above. Then we have .
A couple of remarks are in order. First, this equivalence is general (holds for any dataset ), and is in fact a consequence of the algebraic structure of ridge regressions. Second, while this result establishes that the two approaches are mathematically equivalent, there are computational advantages for invariant KRR. Indeed, full data augmentation increases the size of the kernel matrix from to which is computationally more expensive. Finally, this equivalence shows that data augmentation with standard KRR is superior to output symmetrization of standard KRR.
Numerical illustration
where the sub-index in should be understood in the modulo sense (). We compare the performance between two kernels: a standard (inner product) kernel that we take to be the neural tangent kernel associated to a depth- neural network with fully connected layers and ReLu activations . We compare this with its cyclically invariant counterpart
where is the shift by positions as defined in Example 1. Note that the precise number of layers is not important. As long as is fixed in the large limit, our predictions remain unchanged, and the simulations appear to confirm this.
In Figure 1, we report the test errors of fitting each cyclic polynomials with KRR with the two kernels, and regularization parameter (min-norm interpolation). We consider and we report the risk averaged over 10 instances against the number of samples . We observe that the risk in fitting , and , using KRR with the cylcic kernel drops when , and respectively. In contrast, the risk of KRR with the standard kernel drops when , and respectively. This matches well the predictions of Theorem 2.
We next investigate the relevance of our results for real data. We consider the MNIST dataset (, , and classes). We encoded class labels by . We make these data invariant under cyclic translations in two dimensions (Example 2): for each samples in the training and test sets, we replace the image by a uniformly generated 2 dimensional (cyclic) translation of the image (see Fig. 5 in Appendix A.5.2). In this cyclic invariant MNIST data set, the labels are therefore invariant under the action of .
In order to explore the role of data anisotropy, we pre-process images as follows. We compute the discrete Fourier transform components of the images in the training set and select the components with the highest average absolute value. For each , we then construct training and test sets in which we project each image onto the top frequencies (see Fig. 3 in Appendix A.5.2). When is small, we expect all the non-zero frequencies to have comparable variance and therefore . For larger , we include frequencies of progressively small variance, and therefore should saturate.
For each frequency content , we compare the performance of two kernels: a standard inner-product kernel and its cyclic counterpart given by
where . We choose to be the neural tangent kernel associated to a two-layers neural network, and hence is the one associated to a CNN analogous to (1) (but in two dimensions). We compute the KRR estimates with regularization parameter . In Fig. 2, we report the classification error averaged over 5 instances against the number of samples .
We observe that the cyclic invariant kernel vastly outperform the inner product kernel: the same test error is achieved at a significantly smaller sample size, in qualitative agreement with our general theory. In order to quantify this gap, for each we fit two curves to the test error of the two kernels, which differ uniquely in an horizontal shift (see Appendix A.5.2). We estimate the sample complexity gain by the difference between these shifts, and denote this estimate by .
It is visually clear that increases with , as expected. We plot as a function of in Fig. 6 in Appendix A.5.2. We observe that the behavior of roughly matches our expectations: it grows linearly at small and eventually saturates.
Acknowledgments
This work was supported by NSF through award DMS-2031883 and from the Simons Foundation through Award 814639 for the Collaboration on the Theoretical Foundations of Deep Learning We also acknowledge NSF grants CCF-2006489, IIS-1741162 and the ONR grant N00014-18-1-2729.
References
Appendix A Some details in the main text
In the proposition below, we show that the approximation power of two-layers -invariant neural networks are always no worse than two-layers fully-connected neural networks when the target function is -invariant.
We define the symmetrization operator by
Since , by Jensen’s inequality, for any , we have
Moreover, for any , we have . This gives
A.2 Intuition for the proofs of Theorems 1 and 2
Theorem 1 and 2 are consequences of general theorems proved in [MMM21]. The improvement between invariant and non-invariant models can be understood as follows: consider an inner-product activation with (where we denoted ), then we have the following eigendecomposition
where form an orthonormal basis of , the subspace of degree- polynomials on (see Section H for background on functional spaces on the sphere and hypercube). The eigenvalues of are given by with each having degeneracy .
As mentioned in the introduction, the symmetry group preserves (see Section C.2) and the invariant activation function has the following eigendecomposition
where the form an orthonormal basis of , the subspace of degree- invariant polynomials on . The eigenvalues of are given by with each having degeneracy .
Hence has the same eigenvalues as , but with degeneracy smaller by a factor
This intuition is verified rigorously in the proof of these theorems in Appendix B.
A.3 Convolutional neural tangent kernel
By the technical backgrounds in Section H, we can see that and can be well-defined.
Calculating the derivative of the neural network with respect to , we have
Since is a discrete group, by law of large numbers, we have
Moreover, calculating the derivative of the neural network with respect to , we have
Since is a discrete group, by law of large numbers, we have
Taking concludes the proof. ∎
A.4 Proof of Proposition 1
Let be an estimator satisfying
By Jensen’s inequality and by the equation above, we have
A.5 Details of numerical simulations
We consider the standard (inner-product) kernel to be the neural tangent kernel associated to a depth- neural network with fully connected layers and ReLu activation . This can be obtained iteratively as follow (see [JGH18] and [BB20]): define for ,
and with and for ,
We compute the cyclic invariant kernel by summing over all cyclic translations :
A.5.2 Cyclic invariant MNIST data set
We consider the MNIST data set of grayscale images () of handwritten digits, which contains training images and testing images. We pre-process the images in three steps:
We compute the discrete Fourier transform of the images in the training set and compute the average absolute value of the frequency components (see left frame of Fig. 3). For each , we select to be the set of the top frequencies (i.e., the frequencies with highest absolute value averaged on the training set).
For each , we construct a train and test sets in which we project each image onto (i.e., we set all the frequency components not in to ). We displayed in Fig. 4 two digits and their projection on the top frequencies for different .
For each image in the training and test sets, we replace the image by a uniformly generated 2 dimensional (cyclic) translation of the image. We display some examples in Fig. 5.
We further normalize the images so that and center the labels where . In order to compute the classification error, we round the prediction value to the nearest label in .
We use the inner-product kernel where is the neural tangent kernel associated to a 2-layers neural network with fully connected layers and ReLu activation , which given by
The cyclic invariant kernel is computed by summing over all two-dimensional cyclic translations :
For each , we estimate the effective dimension by fitting two parallel lines through the classification error points of the standard and cyclic kernels at the same time (keeping only the points where the curves decrease). The estimated (log) effective dimension is then given by the difference of the offsets. We report these estimates for different in Fig. 6.
Appendix B Proof of the main theorems
In this section, we present the proofs of Theorem 1 and 2 stated in the main text. The rest of the appendices are organized as follow:
Appendix C presents key properties of the decomposition of invariant functions, while Appendix H reviews some technical background on the functional spaces on the sphere and the hypercube.
Appendix D proves that the examples of symmetry group listed in Section 2 (one and two-dimensional cyclic groups and band-limited functions) have degeneracy 1.
Appendix E presents a key concentration result on the diagonal elements of polynomial invariant kernels. In particular, the results of Appendix E are the only ones required in the proofs of Theorems 1 and 2 in the case of polynomial activations for general symmetry group of degeneracy .
B.2 Proof of Theorem 1
Let be a group of degeneracy . Consider , , and an activation function that satisfies Assumption 1 at level . Denote
Theorem 1 is a consequence of Theorem 1 in [MMM21] where we take , and . The proof amounts to checking that indeed verifies the feature map concentration and spectral gap assumptions (see Section 2.2 in [MMM21]). We borrow some of the notations introduced in [MMM21] and refer the reader to their Section 2.1.
For the sake of simplicity, we consider the overparametrized case for some , and therefore . The underparametrized case is treated analogously.
Step 1. Diagonalization of the activation function and choosing , .
We can decompose the inner product activation in the basis of Gegenbauer polynomials (see Section H for definitions):
where (with arbitrary)
From Assumption 1. that for some constants and (which is trivially verified for a polynomial activation function), there exists a constant such that (see for example Lemma 5 in [GMMM19])
From the correspondence between Gegenbauer and Hermite polynomials when (see Eq. (111) in Section H.1.3), Assumption 1. implies that for .
Denote the eigenvalues of in non increasing order of their absolute value (namely, the ’s which have degeneracies ). Set and to be the number of eigenvalues that are bigger than and respectively, for a constant that will be set sufficiently small (see Step 4). From the above discussion, corresponds exactly to all the eigenvalues associated to invariant polynomials of degree less of equal to , while does not contain any eigenvalues associated to invariant polynomials of degree bigger or equal to . Hence,
where we used that has degeneracy so that .
Step 2. Diagonal elements of the truncated kernel.
We introduce the kernel associated to activation :
Similarly, we introduce a kernel in the feature space
The diagonal elements of the truncated kernels are then given by
Step 3. Checking the feature map concentration property at level .
Let us first consider the case of a polynomial activation function . Denote its degree and the total (finite) number of nonzero eigenvalues of (which are associated to invariant polynomials of degree less or equal to ). Let us verify the feature map concentration property (Assumption 1 in [MMM21]) with sequence . Note that , part and of the property are trivially verified in that case.
(Hypercontractivity of finite eigenspaces on .) The subspace of polynomials of degree less or equal to on the hypercube and the sphere verifies the hypercontractivity property (see Lemmas 18 and 19 in Section H.3).
(Concentration of diagonal elements.) From Eq. (27) and Proposition 7 stated in Section E, we have
A similar computation shows the concentration of the diagonal elements of .
(Hypercontractivity of the high degree part.) Denote the activation obtained by setting the first eigenvalues to (i.e., setting coefficients to zero in Eq. (25)). From Eq. (28), we need to show that for as defined in Assumption 1., we have
Using hypercontractivity of polynomials of degree less or equal to , the first term is bounded by , while the second term is bounded in Proposition 10 in Section G.
(Concentration of diagonal elements.) This is proved in Proposition 8 in Section F.
Step 4. Checking the spectral gap property at level .
Let us now check the spectral gap property (Assumption 2 in [MMM21]).
(Number of samples.) First by Eq. (26) and the assumption , we have for chosen sufficiently small. By the choice of and recalling Eq. (28), we have
with chosen sufficiently small.
(Number of features.) By construction . Furthermore, recalling Eq. (26) and the assumption , we have for chosen sufficiently small. By choice of , . Hence,
for chosen sufficiently small.
B.3 Proof of Theorem 2
We consider the same setting as in the previous section and consider
Theorem 2 is a consequence of Theorem 4 in [MMM21] and the proof amounts to checking that verifies the kernel concentration properties and eigenvalue condition (see Section 3.2 in [MMM21]). Note that some of the conditions were already covered in the proof of Theorem 1 and we will only mention the ones that still need to be verified. Furthermore, by the spectral gap property proven in Section B.2, the bound in Theorem 4 in [MMM21] (which is in term of a shrinkage operator) can indeed be rewritten as
We choose as in the proof of Theorem 1.
Step 1. Checking the kernel concentration property at level .
and the concentration of the diagonal elements in the case of a polynomial activation function follows from the same argument as in Section B.2.
(Concentration of the diagonal elements of the kernel.) This is proven in Proposition 9 in Section F.
Step 2. Checking the eigenvalue condition at level .
Appendix C Decomposition of invariant functions
Let be the class of functions on equipped with uniform probability measure . We define the invariant function class to be
We define the symmetrization operator to be
C.2 Orthogonal polynomials on invariant function class
We denote to be the dimension of . We denote to be a set of orthonormal polynomial basis in . That means
C.3 A representation lemma
We have the following representation lemma. This lemma is important in the proofs of counting the degeneracy of groups (See Section D).
Let be the -th Gegenbauer polynomial, or the -th hypercubic Gegenbauer polynomial. For any fixed integer , we have
Recall that is a representation of the projector onto the subspace of degree- spherical harmonics (see Eq. (104) in Section H.1.2). We deduce that
C.4 Gegenbauer decomposition of invariant features and kernels
so that we have the following equation holds in sense
For any group that is a subgroup of , we define
Then, by the representation lemma (Lemma 1), we have
Appendix D Counting the degeneracy
Here we state a key lemma that is used to prove Proposition 5.
Let with . Denote
We prove Eq. (31) and (33). The proof for Eq. (32) is similar to the proof of Eq. (31).
Note that for either , for any and , the random variable is independent from . This gives
Step 3. The case . By the moment formula of the distribution, we have
Moreover, for either , for any , we have
As a consequence, by the Hanson-Wright inequality as in Lemma 3, for any fixed and , we have
Combining Eq. (34), (35), and (36) proves Eq. (31).
Note that for fixed , the moment formula for distribution gives
By Lemma 1, for any fixed , we have
where . As a result, we have
Combining with Eq. (37) shows that . This concludes the proof. ∎
D.1.2 Auxiliary lemmas
Note that for any permutation matrix , we have , and . By the Hanson-Wright inequality of vectors with independent sub-Gaussian entries (for example, see Theorem 1.1 of [RV+13]), we have
Let be either the ’th Gegenbauer polynomial or the ’th hypercubic Gegenbauer polynomial (as defined in Section H). Let coefficients of monomials in to be . That is, we have
Then, for any fixed , there exists constant , such that
Finally, for and in different parity, we have
The proof holds by the following equation
when is either Gegenbauer polynomial or Hypercubic Gegenbauer polynomial (See Eq. (110) and Eq. (112)). ∎
D.2 Counting the degeneracy of band-limited function class (Example 3)
Follow the notations of Example 3. Then for any fixed , we have
Here we state Lemma 5 that is used to prove Proposition 6. Given Lemma 5, the proof of Proposition 6 is the same as the proof of Proposition 5.
Follow the notations of Example 3. Denote
We prove the lemma for the case when is odd. We denote , and for . Then we have
Step 1. Bound function. First, we denote
Step 2. Bound . Further, we denote
Step 3. Bound function. Next, we denote
Moreover, for any , we have . For any , we have
The last inequality used the fact that .
Step 4. Concludes the proof. Therefore, combining Eq. (38) (39) (41) (42), we have
Combining Eq. (38) (40) (41) (43), we have
Appendix E Concentration for invariant groups with degeneracy α≤1𝛼1\alpha\leq 1
In this section, we show that concentration around its mean, for any fixed and .
Let be an invariant group with degeneracy . Let where for some fixed integer . Let be as defined in Eq. (44). Then for any fixed , we have
Let be the coefficients of monomials in . That is, we have
Moreover, by Lemma 4, we have , , and for and of different parity.
By the concentration of -distribution, for any , the following event happens with high probability
Moreover, combining Lemma 6 with Lemma 7, for any fixed , we have
By the hypercontractivity property of Gaussian distribution as per Lemma 20, for any , taking sufficiently large, we have
By Markov’s inequality, we deduce that the following event happens with high probability
and by the hypercontractivity property of low degree polynomials with Gaussian measure (Lemma 20), for any , taking sufficiently large, we have
As a result, the following event happens with high probability
When all the events , , and happen, for any , we have
The case of the hypercube follows similarly without introducing the gaussian measure and using Lemma 8 instead of Lemma 7. ∎
E.2 Auxiliary Lemmas
Let be an invariant group with degeneracy . Denote
Then for any fixed and integer , we have
For , denote
By Lemma 1 and by the assumption that is an invariant group with degeneracy , i.e., , for any fixed , we have
Throughout the proof, we will denote to be the space with respect to distribution .
By the hypercontractivity of low degree polynomials on the sphere and the hypercube, as per Lemmas 18 and 19, for any , we have
Let be the coefficients of monomials in . That is, we have
Moreover, by Lemma 4, we have , , and for and have different parity.
We conclude the proof by induction over . Note we have . Moreover, for any , by Eq. (47) and (48) (and note that and ), we have
Fix a . Assume that, for any , we have for , by Eq. (48) and (47), and the fact that and , we have
where we recall that we assume .
by hypercontractivity of low degree polynomials for Gaussian measure (Lemma 20). ∎
Let . Let be a general invariant group. Let be defined as in Lemma 6. Then for any fixed , there exists a constant , such that
By the Gaussian Poincaré inequality, we have
Case 1: Odd . When is odd, we have
where we used in the second line Cauchy-Schwarz inequality and that the matrix representations of are orthogonal matrices, and in the last inequality the hypercontractivity of low degree polynomials for Gaussian measures (Lemma 20).
Case 2: Even . Bound 1. When is even, we have the following first bound
Combining these two bounds yields the result for even. ∎
Let . Let be a general invariant group that preserves . Let be defined as in Lemma 6. Then for any fixed , there exists a constant , such that
The proof is similar to the proof of Lemma 7. By the discrete Poincaré inequality, we have
where denote the discrete derivative defined as
with . Let , then
We have . By Taylor expansion, the first term verifies (recall that and )
where is on the line segment between and . Similarly, Taylor expansion on the second term yields
where is on the line segment between and .
Using Jensen’s inequality to separate each of the terms in , using that and have the same distribution, we get
Noticing that , the second term in the above equation can be bounded by . The first term in the above equation can be bounded using the same way as bounding the right hand side of Eq. (49) as in the proof of Lemma 7. This concludes the proof. ∎
Appendix F Kernel concentration for the cyclic group and general σ𝜎\sigma
Let the Gegenbauer decomposition of be
Step 1. Finite subset . Note we have
Moreover, by the Hanson-Wright inequality as in Lemma 3, since is at most polynomial in , then for any , we have
Therefore, by Eq. (53), (54), (55) and (56), we have
The last equality is by Proposition 5, and the fact that
Step 4. Complete the proof. By Eq. (59), (60), (61) and (62), we have
F.2 Auxiliary lemmas
The following lemma is a reformulation of [GMMM19, Lemma 5].
where such that (by an invariance argument, and do not depend on the choice of and ). Then we have
where such that . Note we have
where the last equality is by (b) and (c) in Lemma 9. Moreover, we have
where the last equality is by (a) and (c) in Lemma 9. Combining the two equations above proves Eq. (65).
where such that (by an invariance argument, and do not depend on the choice of and ). Then we have
For , the result is implied by Lemma 10 by observing that and .
For , the result is implied by Lemma 10 by the fact that and , and there exist constants and such that . Indeed, for such that , we have (similarly for )
By an induction argument, for any fixed , can be identified by a fixed number of combinations of with . Further, for any fixed , there exists and such that, for any , we have . Applying Lemma 10 proves the lemma. ∎
where is given in Eq. (50). Then we have
Since is non-singular (because the Hermite polynomials are a basis), it follows that is bounded away from zero for large enough, and therefore . Therefore combining with Eq. (70), we get
where denote the -th Hermite polynomial (see Section H.1.3 for definitions).
Consider the symmetrized activation functions
where we denoted the symmetrized polynomials
where we used in the first inequality that for ; in the second inequality that is a degree 2 polynomial in and verifies the hypercontractivity property of Lemma 15; last equality, that follows a chisquared distribution of degree .
where in the first inequality we used hypercontractivity of low-degree polynomials on the sphere with respect to (Lemma 19), and in the second we used hypercontractivity of low-degree symmetric functions with respect to (Lemma 6 in [MMM21]). By Lemma 1, we have
where in the first inequality we used hypercontractivity of low-degree polynomials with respect to (Lemma 15), and in the second we used hypercontractivity of low-degree symmetric functions with respect to .
The bound on is more technical and we defer it to Section G.3. By Lemma 16, we have
Hence combining the bounds (78), (79), (80) and (81), we obtain for any ,
Using Proposition 11 concludes the proof.
G.2 Proof in the Gaussian case
Let us now state and prove the Gaussian version of Proposition 10.
and for each set of indices , consider separately the expectation over and :
By Cauchy-Schwarz and Jensen’s inequality, we have
Similarly, by Hölder’s inequality, we have the following first bound on :
where is independent of . We deduce that
There are at most sets of indices with no isolated index. Hence, combining the bounds (85), (86) and (87), we get
Taking , we get
The proof of Proposition 11 relies on the following key lemma:
where , i.e., is orthogonal to all polynomials of degree less or equal to with respect to the standard normal distribution. Let with and . Let be integers such that and there exists such that . Then there exists depending only on such that
where we denoted .
Furthermore, from the bound and that , we have
From the assumptions on , we have , and therefore and .
From the assumption that and taking sufficiently large such that , the expectation on the right hand side of Eq. (90) is bounded by a constant. We deduce that
G.3 Technical lemmas
The first lemma is a straightforward consequence of the proof of Lemma 20 (we include a proof for completeness).
Let and define for ,
From hypercontractivity of low degree polynomials on the hypercube (Lemma 18), we have
Follow the notations in Section G.1. We have
Denote and . Recall that we defined
Let us bound the difference of each term separately.
Following the same argument as in the bound of in Section G.1, we have
Using the convergence of Gegenbauer coefficients to Hermite coefficients (see Eq. (110) in Section H.1.3), there exists a constant such that
where we used for example that low-degree polynomials of are hypercontractive (see the bound on in Section G.1). From the same argument as in the bound of in Section G.1, we have
The first term is bounded as the -st order term while the second term is bounded as the -th order term. Combining the two yields
Combining the bounds (92), (95) and (96), we get by triangle inequality
Let us use the correspondence between uniform distribution and Gaussian distribution: , where . We have for ,
Note that for any , we have and . By the Hanson-Wright inequality, for any , we have
Furthermore, by standard concentration of the norm of Gaussian vectors, we have
Taking and combining the above two bounds, we get
Taking the union bounds over concludes the proof. ∎
Appendix H Technical background of function spaces
The dimension of each subspace is given by
H.1.2 Gegenbauer polynomials
We will use the following properties of Gegenbauer polynomials
These properties imply that —up to a constant— is a representation of the projector onto the subspace of degree - spherical harmonics
then we have the following equation holds in sense
By rotational invariance, the space of homogeneous polynomials of degree is an eigenspace of , and we will denote the corresponding eigenvalue by . In other words . The eigenvalues can be computed via
H.1.3 Hermite polynomials
Here and below, for a polynomial, is the vector of the coefficients of . As a consequence, for any fixed integer , we have
where and are given in Eq. (109) and (105).
H.2 Functions on the hypercube
Fourier analysis on the hypercube is a well studied subject [O’D14]. The purpose of this section is to introduce some notations that make the correspondence with proofs on the sphere straightforward. For convenience, we will adopt the same notations as for their spherical case.
It is easy to verify that (notice that if is odd and if is even)
H.2.2 Hypercubic Gegenbauer
Notice that the right hand side only depends on and therefore these polynomials are uniquely defined. In particular,
Notice that by weak convergence of to the normal distribution, we have also convergence of the (rescaled) hypercubic Gegenbauer polynomials to the Hermite polynomials, i.e., for any fixed , we have
H.3 Hypercontractivity of Gaussian measure and uniform distributions on the sphere and the hypercube
By Holder’s inequality, we have for any and any . The reverse inequality does not hold in general, even up to a constant. However, for some measures, the reverse inequality will hold for some sufficiently nice functions. These measures satisfy the celebrated hypercontractivity properties [Gro75, Bon70, Bec75, Bec92].
The Gaussian hypercontractivity is a direct consequence of hypercube hypercontractivity.