WorksMathematics
Memorization Capacity of Invariant Convolutional Neural Nets
Abstract
Neural networks are powerful memorizers which are often able to interpolate their training data even when the labels have been randomized. While there exists an extensive literature on the memorization capacity of fully connected networks, in practice more specific architectures with problem-dependent properties are preferred, such as convolutional networks for image classification. In this paper we consider convolutional networks which are invariant with respect to a given arbitrary finite group of orthogonal transformations, which may include translations, reflections, and/or rotations of images and invariances of higher order tensors. We prove upper bounds on the size of an invariant convolutional neural network with threshold activations that is required to interpolate a given dataset with two classes. Our bounds are formulated in terms of a complexity measure that takes the invariant structure into account and is instance-specific, i.e., it is related to the mutual arrangement of the classes in the given dataset and their geometric properties rather than the number of samples. Our proof is constructive: for given input data, instances of an interpolating network can be computed via a randomized algorithm with high probability. In numerical experiments we investigate the practical effectiveness of this algorithm.
Introduction
The memorization capacity of a neural network architecture quantifies the number of parameters and neurons needed for the architecture to be able to interpolate any data points for any assignment of labels (for a suitable setting of the weights). The study of this capacity has a long history—dating back all the way to the 1960s—and its importance experienced a recent revival due to the double descent phenomenon [4]. According to the long-standing bias-variance trade-off [46, 20], the complexity of a machine learning model needs to balance underfitting and overfitting to achieve good generalization performance. It should be rich enough to express the underlying patterns in the data but still be simple enough to avoid picking up any spurious patterns. This classical viewpoint is at odds with modern practice in deep learning, where highly over-parameterized neural networks are trained to achieve a (nearly) perfect fit on the training data (see, e.g., Canziani et al., 2016; Zhang et al., 2017). In spite of this apparent overfitting, however, these models perform well on test data. This behavior is described by the double descent curve, where increasing the models complexity beyond the interpolation threshold—where the model is just complex enough to interpolate its training data—results in a second descent of the test error. This behavior is well documented for deep neural networks as well as a wide variety of other machine learning models, see, e.g., [4, 3, 39, 37, 21]. As was argued by Dirksen et al. [15], in practical applications the model size is tailored to a given data set. Memorization capacity, however, studies the reverse situation, requiring a model of fixed size to interpolate any dataset of samples. This results in bounds that necessarily grow with the number of samples. However, for a problem with a ‘nice’ structure, such as linearly separable classes in the simplest case, this should certainly not be necessary.
Present works on memorization capacity typically only consider fully-connected neural networks. However, these are only rarely used in practice and more specific architectures are preferred. A prominent example are convolutional neural networks for the processing of sequential or image data. Additionally, those models are frequently endowed with special problem-dependent properties such as translation-invariance, e.g., through data augmentation in the training process or the use of global pooling operations, see, e.g., [5, 6]. This leads to the question:
What is the memorization capacity of a translation-invariant neural architecture?
We recall that memorization capacity requires an architecture to be able to interpolate any samples for any assignment of labels. When two samples are the same up to translation, interpolating any label assignment simply becomes impossible. At the very least, one would need to identify these samples and assign them the same label. At the same time, instead of the total number of samples one should then consider only the number of unique samples up to translation, as any translated copies are correctly classified automatically.
In this paper, we remedy the above issues via an instance-specific approach which additionally respects the translation-invariant property of the model. Specifically, we build upon the prior work of Dirksen et al. [15] who derived an instance-specific result for fully-connected networks. Our main contributions are the following:
Memorization capacity of translation-invariant neural nets. In § 2, given a binary classification data set, we prove upper bounds on the required number of parameters and neurons for a translation-invariant convolutional neural network to be able to interpolate the data. The bounds are linked to a new complexity measure that respects both the translation-invariant property of the model, as well as the mutual arrangement of the two classes and their geometric properties.
Randomized interpolation algorithm for convolutional neural nets. Our proof is constructive: we introduce a randomized algorithm that, given a binary classification data set, with high probability, outputs a translation-invariant convolutional neural network which interpolates the data and has at most the asserted size. In numerical experiments, we investigate the effectiveness of our algorithm both in controlled experiments and on real image data, and compare its performance to previous work.
Beyond just translations. In Appendix A, we prove our results in a more general framework, which supports invariance with respect to a given, arbitrary finite group of orthogonal transformations. Apart from translations, this also includes, for example, reflections and rotations of image data, and invariances of higher order tensor data. We have chosen to present our results first in the special setting of translation-invariant neural nets to keep the exposition accessible.
We develop our results for networks with threshold activations, as this is a challenging setting in memorization theory. We expect that our results can be extended to other activations that zero out negative inputs and assign positive values to positive inputs, such as the ReLU.
Notation. We denote scalars with plain letters. We denote vectors with bold lowercase letters, and their -th entries by or . We denote matrices with bold uppercase letters, their -th rows by or , and their -th entries by or . denotes the unit Euclidean ball in . For two disjoints sets and we denote their union by . For , denote . We write , or alternatively , if for an absolute constant . When we do not only hide constants but logarithmic terms as well, we write instead. We denote the threshold activation and sign function by
respectively. For , we define element-wise by
Moreover, we define the global max pooling operation by . We denote by the vectors with entries all equal to and , respectively. We denote the standard multivariate normal distribution in dimensions by and the uniform distribution on by .
Related work
There is a rich literature on the memorization capacity of neural network architectures, especially for fully-connected architectures. If a model is able to interpolate any samples in with any assignment of labels, we say that it can memorize samples. Memorization capacity quantifies how large a model needs to be in order to memorize samples.
Fully-connected networks. Earlier works on the memorization capacity of neural networks with threshold activations date back to the 1960s and studied shallow architectures, see, e.g., Cover [12]; Nilsson [41]; Minsky and Papert [38]; Baum [2]; Huang and Huang [24]. More recent results consider deeper networks. In particular, Vershynin [49] assumed samples on the unit sphere with at least a Euclidean distance of between them, and proved that a deep threshold (or ReLU) network can memorize samples with binary labels using neurons and parameters. Later, Rajput et al. [44] removed the exponential dependence on , showing that only neurons and parameters are sufficient while further only requiring bounded norm instead of unit norm. Interestingly, while the earlier results are deterministic constructions, Vershynin [49] and Rajput et al. [44] used a probabilistic approach. Recently, Dirksen et al. [15] presented an instance-specific approach to memorization capacity. For a given finite binary classification dataset, their bound on the required number of neurons and parameters depends not on the number of samples but is instead linked to the geometric properties of the data classes and their mutual arrangement. For benign data arrangements, their result can overcome the worst-case estimates of memorization capacity.
Among other activations, the ReLU stands out in particular due to its widespread use in practice. Some earlier works include the one of Bubeck et al. [7] who extended the result of Baum [2] to real-valued labels, and Zhang et al. [50] who used weight-sharing. More recently, Park et al. [42] used deep ReLU networks to achieve the first result with a sublinear number of parameters. Assuming that the points are separated, they showed that a ReLU (or hard-Tanh) network can memorize multi-class labels using a constant number of neurons, layers and parameters. Vardi et al. [47] improved the above dependence on . For separated samples with bounded norm they showed that a ReLU network with a constant number of neurons, layers and parameters can memorize samples with multi-class labels. Lee et al. [33] derived bounds on the required size of an interpolating fully-connected ReLU network which they link to the polytope structure of a given data set and further connect to other manifold shapes.
For results with activations other than threshold or ReLU see, e.g., Huang and Babri [23]; Huang [22]; Park et al. [42]; Madden and Thrampoulidis [34]. The works we cite above make assumptions on the samples such as general position, separation, or bounded norm. For results for randomized samples or samples drawn from a random distribution, see, e.g., Ge et al. [17]; Daniely [13]; Zhang et al. [51].
Convolutional neural networks. Convolutional neural networks (LeCun et al. [29, 30]) are a cornerstone of modern machine learning. They have brought breakthroughs in the processing of images, video, speech, and audio (Goodfellow et al. [18]; LeCun et al. [32]) and have been a driving force for the resurgence of deep learning (Krizhevsky et al. [28]). However, in contrast to fully-connected networks, their memorization capacity does not yet seem to be very well studied.
A few empirical investigations have addressed this topic. Notably, Zhang et al. [50] observed that popular convolutional architectures can easily interpolate a random labeling of their training data. Arpit et al. [1] expanded on this observation and argued in particular that the network’s capacity depends on the considered data set. On an image data set with randomized labels, Sablabrolles et al. [45] gradually increased the number of training samples for convolutional networks of different sizes and observed at which point the training accuracy drops.
While the universality of convolutional neural networks (with max pooling) was shown by Cohen and Shashua [9], to our knowledge the only existing result on their memorization capacity is due to Nguyen and Hein [40]. They showed that a convolutional neural network can memorize samples with real-valued labels, assuming that the patches of the samples are distinct and that the convolutional layer before the fully-connected output layer has output dimension at least . However, their results require an activation function which is at least continuous, unlike the threshold activation which we use here. Moreover, their network size depends on the number of samples, which is not the case in our result.
As a natural extension to convolutional neural networks, Cohen and Welling [10] introduced group equivariant neural networks (G-CNNs). They developed group convolutions which generalize standard convolutions to be equivariant under various group transformations, such as translations, rotations, and reflections. There is a growing body of work on G-CNNs, see, e.g., Cohen et al. [11] and the references therein. In Appendix § 7 we use group convolutional layers to prove our results in a generalized setting.
Other architectures. There is research on the memorization capacity of other architectures, such as residual networks [19], fully-connected and convolutional autoencoders [43], networks with conditional computation [26], and, more recently, transformer models [25, 36] (Madden et al. 2024).
Translation-invariant memorization algorithm
In this section, we present our results on translation-invariant convolutional neural networks. These follow from a more general framework where invariance under an arbitrary group of orthogonal transformations can be captured, including reflections and rotations of image data. We refer to Appendix § 7 for the technical details. For simplicity, we focus on the binary classification setting. Our method is extendable to multiple classes via a one-vs-many approach, see Appendix § 8 for this straightforward extension.
In the following, let \mathcal{X} = \mathcal{X}^{+} \mathbin{\mathaccent\cdot\cup} \mathcal{X}^{-} \subset\mathbb{R}^{L \times H \times W} denote a given finite data set, where and are disjoint sets containing the samples with label and , respectively. We assume that these are images which are pixels high, pixels wide, and have color channels. Our goal is the construction of a translation-invariant convolutional neural network which interpolates this data set.
To state this goal formally, denote by the circular translation in pixel-space by pixels vertically and pixels horizontally, see the examples in Figure 1 for an illustration. Formally, for a single color channel ,

Figure 1. Translation-invariant mutual covering. Following an arrow applies a horizontal circular shift. For simplicity, we only include three horizontal translations, in general the division would be more granular and include vertical translations. Condition (2) on the radii in Theorem 3 lets the components of the covering adapt to the mutual positioning of the classes by allowing them to grow (almost) as far as the optimal decision boundary. At the same time, each component consists of multiple sub-components, one for each possible translation. A component being a union of sub-components makes it translation-invariant.
and we can use the lifting
to translate all color channels at once.
Definition 1 We say that is translation-invariant if
for all and .
In their instance-specific result on memorization capacity for fully-connected threshold neural networks, Dirksen et al. [15] utilize a mutual covering of Euclidean balls to quantify the difficulty of interpolating a given data set. When a model is translation-invariant it identifies any sample and its translated copies to one another. Hence, as a natural extension of the Euclidean distance to our setting, we define the pseudo-distance
It is easy to see that this pseudo-distance is translation-invariant and has the property that if and only if and are translates of each other. For sets and , we define
Employing this pseudo-distance we define the following translation-invariant adaptation of the notion of mutual covering from Dirksen et al. [15].
Definition 2 (translation-invariant mutual covering) Recall . We call
a translation-invariant mutual covering of , if the components of the covering,
and
cover and , respectively. We call and the mutual covering numbers.
Figure 1 illustrates the prototypical shape of a translation-invariant mutual covering. The condition (2) on the radii in Theorem 3 below allows the components to grow as far as the ideal decision boundary between the data classes—up to a logarithmic factor. Consequently, parts of the data far away from the decision boundary can be covered with only a few larger components while smaller components are only required in more complex areas close to the decision boundary. This data-adaptive behavior is similar to the covering of Dirksen et al. (2024). However, in contrast to their approach, our adapted distance measure allows every component to break up into multiple sub-components, each contained inside an Euclidean ball around a translated copy of the components center. In this way, one component not only groups together samples that have close proximity to one another but also those samples that are in close proximity up to translation.
We now state the version of our theoretical result for translation-invariant convolutional neural networks, followed by a short proof sketch. The result for more general group invariances is proved later, in Appendix § 7.§ 3. Below, we denote the Gaussian width, for , by
where denotes a standard Gaussian random vector. We refer to Vershynin (2018, Section 7.5) for a detailed discussion and examples.
Theorem 3 (size of translation-invariant convolutional net) Let \mathcal{X}=\mathcal{X}^{+}\uplus\mathcal{X}^{-}\subset R_{\mathrm{rad}B_{2}^{L\times H\times W}^{d}} be finite. Suppose there exists a translation-invariant mutual covering with centers and satisfying and radii satisfying
for and . Set where
Suppose and
Then, with probability at least , Algorithm 1 outputs a translation-invariant convolutional neural network which interpolates , that is, for at least a fraction of samples and all samples ,
Moreover, it uses filters in its first convolutional layer and no more than filters in its second convolutional layer. In particular, it has no more than parameters.
Proof [Proof sketch] As the predictions of the model outside are not important for the interpolation task, we only explicitly encode with label into the network and the complement is assigned label . This explains the asymmetry between the two classes in the result. In more detail, the algorithm proceeds as follows.
In the first loop of the algorithm (lines 1 to 4), we sample a random convolution layer . Under our assumptions, we may condition on the high probability event of Lemma 13—the key ingredient of the proof—under which the following holds. After transforming the data set with , for any sample , the neuron defined in line 11 (followed by a global max pooling operation) activates on the whole component of the mutual covering of that this sample resides in. On the other hand, it does not activate on any sample from . Crucially, this holds for any sample within any of the components, which allows us to simply select candidate samples at random (line 8). Hence, in the second loop (lines 5 to 17) we select a random candidate sample and, after computing the activation region of the neuron , we remove the entire activation region from . This eliminates at least one component of this mutual covering. Thus, in the next step, a candidate sample outside the just eliminated component is picked at random, eliminating another component by the same principle. By induction, the loop terminates after at most steps, producing a second convolutional layer with at most filters. At this point the network already fully interpolates . To see this, notice that the activation regions of the second layer neurons (together with the global max pooling operation) cover . The last linear layer simply sums over the output of the global max pooling layer and outputs if the input of the network is in any of the activation regions, and otherwise. At this point we can already count the number of parameters.
The third loop (lines 18 to 22) uses a heuristic rule to successively prune the neurons in the second layer which contribute the least to the interpolation of . It stops exactly when pruning the next neuron would lead to interpolating less than a fraction of samples. Notice that is not reflected in the bound on the size of the network. Nevertheless, we observe its beneficial effects in the experiments, where it reduces the size of the network.
Algorithm 1 translation-invariant memorization
Input: finite with and , number of random filters , maximal bias , interpolation fraction
Output: translation-invariant convolutional neural net
for do
independent sample from
independent sample from
end for \hspace{1em}
while do
random sample from
\hspace{1em}
if then
end if
end while
while do
end while
\hspace{1em}
return \hspace{1em}
The translation invariance is built into the architecture. The convolutional layers are translation-equivariant. Hence, when inputting a translated sample into the network, these layers simply pass on the translation. The global max pooling layer, on the other hand, is translation-invariant. Thus, any translation that was passed through the network until this point has no effect after this layer.
Experimental results
In this section, we present a series of experiments2 in which we evaluate the performance of our algorithm and compare it to the previous work of Dirksen et al. [15]. In the previous section, we presented our translation-invariant construction. To model translation-invariance with a stride greater than one or other groups of transformations altogether we use our generalized Algorithm 3 which we introduce in full detail in Appendix § 7. For multi-class problems, we employ an extension which is similar to common one-vs-rest methods, see Appendix § 8. To reproduce the fully-connected construction of Dirksen et al. [15], we employ the generalized algorithm and simply choose the trivial group. In the following, the ‘fully-connected network’ refers to this construction and the ‘convolutional network’ refers to our invariant construction.
In § 3.1, we begin with a two-dimensional example. This provides some visual intuition on the structure of the networks that our method produces. In § 3.2, we evaluate the performance of our algorithm on both MNIST (LeCun et al., [31]) and CIFAR-10 (Krizhevsky et al., [27]). In § 3.3, this is followed up by examining the influence of the interpolation fraction hyperparameter . This yields some understanding of how well-conditioned MNIST and CIFAR-10 are with respect to our method. Up until this point, any invariance in the data originated from the distributions. § 3.4 features a more controlled setting, where we augment the data sets to be perfectly invariant by including all possible transformations of the samples.
Illustrative two-dimensional example
In order to gain some geometric intuition, let us briefly step away from the high-dimensional image setting in favor of a two-dimensional toy example. In such a setting, we can easily visualize the activation regions of the individual neurons just before the last linear layer. This offers a detailed look at the decision boundary of the network, as the union of these regions is exactly the region where the network outputs a positive label.
Figure 2 shows an instance of the XOR data set. Evidently, a classifier for this problem can benefit from a built-in invariance with respect to rotations around the origin. In Appendix § 7, we model a general invariance with respect to a finite group of orthogonal transformations. In Figure 2a, we choose which represents the aforementioned rotational invariance. We see that the algorithm produces neurons with activation regions consisting of two parts which, together, reflect that invariance. We can compare this behavior to the fully-connected construction of Dirksen et al. [15], which we recover via the trivial group , in Figure 2b. As this does not model the invariance of the problem, their method has to cover both quadrants of the positive class individually.

Figure 2. Activation regions on the XOR data set. Red and blue points have labels +1 and −1, respectively. For each class we have drawn 250 samples from a mixture of two Gaussian distributions with covariance matrices . The associated reference samples which the algorithm picked at random are marked with stars of the same color as its neuron’s activation region. On the left, the network is invariant under 180° rotations, while on the right, there is no invariance.
Performance on real-world image data
In this section, we evaluate and compare the performance of our algorithm on the MNIST and CIFAR-10 data sets. Inspired by the experiments of Dirksen et al. [15], we pick the maximal bias as this choice provided the best results in their experiments, among . For , we first choose values for the convolutional network in a large enough range such that the number of filters in the second layer converges. In a convolutional layer, depending on the data dimension and the stride of the convolution, each filter is shifted to different positions. To produce a comparable result in which the first layers of both networks have the same output dimension, for the fully-connected network we choose .
A stride larger than one for the random convolution layer is modeled using our generalized theory from Appendix § 7. This slightly weakens the translation-invariant property of the network. For example, for a stride of two, the network is only invariant to translations of two pixels at a time. However, there are benefits to this, e.g., the required number of parameters is lower, as we discuss below.
MNIST. In this experiment, we pick a stride of one for the random convolution layer. On the left of Figure 3, we see that for the convolutional network increasing the number of filters in the random convolutional layer decreases the number of filters for the second layer, until there are diminishing returns at around . The fully-connected network behaves similarly, as shown on the right side of the same figure, where increasing the number of neurons in the random fully-connected layer decreases the number of neurons in the second layer with diminishing returns somewhere around . Recall that for large the number of filters and neurons in the second layer, respectively, roughly corresponds to the mutual covering number. Therefore, the results indicate that the translation-invariant mutual covering has less components than its non-invariant counterpart, which means it captures the structure of the data set more concisely. Moreover, the convolutional network converges more efficiently, as both networks (due to weight sharing in the convolutional net) require parameters in their first layers, where is the dimension of MNIST.

Figure 3. MNIST: size of the second layer. Depending on the number of filters (or neurons) in the first layer we report the number of filters (or neurons) in the second layer for three different levels of . We report the average over five runs with 95% percentile intervals.
In Figure 4, to reduce the number of total parameters, we see that for both networks it is beneficial to choose as small as possible (under the condition that the method still interpolates). From the algorithms we can deduce that the fully-connected network requires parameters per neuron (including the bias) in the second layer while the convolutional network requires parameters per filter in the second layer. Thus, in order for the convolutional network to require a lower total number of parameters, the lower possible value of and the corresponding lower number of filters in the second layer would need to undercut the influence of the factor . However, as we can infer from the figures, this is not the case.

Figure 4. MNIST: number of parameters. Depending on the number of filters (or neurons) in the first layer we report the total number of parameters of each network for three different levels of . We report the average over ten runs with 95% percentile intervals. In both cases, decreasing the size of the first layer by one more step leads to a failed interpolation attempt in at least one of the ten random runs.
Finally, in all figures we can observe the influence of the interpolation fraction . We see that reducing to 95% cuts the sizes of the second layers roughly in half. We discuss this further in § 3.3.
CIFAR-10. In this experiment, we pick a stride of two for the random convolution layer. In Figure 5 we again observe that an increase in leads to a decrease in the number of filters and neurons in the second layer, respectively. There are diminishing returns in both cases, around and . As in the case of MNIST, both networks require parameters in the first layer, where is the dimension of CIFAR-10. Again, the second layer of the convolutional network converges more efficiently in this sense. However, the convolutional network requires slightly more second layer filters than the fully-connected network requires neurons in its second layer. Recall again that these roughly correspond to the mutual covering numbers. As we can see in Definition 2, while the components for the convolutional network consist of a union of multiple sub-components, their individual radii can become smaller compared to the fully-connected counterpart. This interplay might have a non-trivial effect on the covering number and we suspect that exactly this can be observed here.

Figure 5. CIFAR-10: size of the second layer. Depending on the number of filters (or neurons) in the first layer we report the number of filters (or neurons) in the second layer for three different levels of . We report the average over five runs with 95% percentile intervals.
Due to the stride of two we only have . However, as in the case of MNIST, we still observe more parameters for the convolutional network in Figure 6.

Figure 6. CIFAR-10: number of parameters. Depending on the number of filters (or neurons) in the first layer we report the number of total parameters of each network for three different levels of . We report the average over ten runs with 95% percentile intervals. In both cases, decreasing the size of the first layer by one more step leads to a failed interpolation attempt in at least one of the ten random runs.
Again, we can see that reducing reduces the sizes of the second layers, but the effect is not as pronounced as for MNIST. We analyze this further in § 3.3 below.
Estimating how well a data set is conditioned
The idea behind the mutual covering is that it can adapt to the structure of a given problem by covering many samples far away from the decision boundary with only a few large components, while requiring smaller components only in more challenging areas to cover the remaining samples. One could say that such a mutual covering is ‘good’ while, e.g., a trivial covering where every sample is covered by its own dedicated component is certainly ‘bad’. In the same way, we might think of a data set as well-conditioned for our interpolation algorithm if it has a ‘good’ covering and as ill-condition if it only has ‘bad’ coverings.
Recall once again that, for large values of , the number of filters in the second layer of the convolutional network and the number of neurons in the second layer of the fully-connected network roughly correspond to the respective covering number. Hence, observing how many filters or neurons are needed by our algorithm to interpolate a fraction of samples can give an empirical hint of the size of the components and thus on how well-conditioned a data set is. In the most ill-conditioned case, our method will require one filter (respectively neuron) per sample, corresponding to a linear increase in terms of .
Let us observe beforehand, in Figure 7, that both the convolutional network and the fully-connected network behave very similarly regarding the interpolation fraction . A likely explanation is that both MNIST and CIFAR-10 have been preprocessed such that its subjects are centered, hence there are no samples that are translated away from the origin. In this case, we cannot expect the convolutional network to be more efficient at interpolating these samples than the fully-connected network. Note, however, that the convolutional network is still more expressive as it extrapolates to any unseen translates of samples in the data set via the built-in translation-invariance.

Figure 7. Influence of the interpolation fraction hyperparameter. We report the number of filters and neurons in the second layer, respectively, in terms of the interpolation fraction . In each case, we picked the largest values of from Figure 3 and Figure 5. We report the average over five runs with 95% percentile intervals, which are very narrow and thus hard to see.
In Figure 7a, for MNIST we see a gradual increase in the required number of filters up until around at which point the behavior becomes trivial, where the incline matches that of a network which represents only one sample per neuron. On the other hand, in Figure 7b, for CIFAR-10 the trivial behavior already starts at around , hinting that CIFAR-10 is less well-conditioned than MNIST and harder to interpolate for our method.
Invariant data sets
In the previous subsections we observed that that the non-invariant covering number and our translation-invariant covering number (approximated by the number of neurons and filters in the second layer of the respective network) behave very similarly. We conjectured that this might be due to missing translation-invariance in the data sets due to preprocessing of the images.
What happens if there is enough invariance in the data set? Let be a finite group of orthogonal transformations, such as image-space translations in the case of MNIST and CIFAR-10 or rotations in the case of XOR. Each of the components of the -invariant covering possess sub-components. If the data is invariant, these cover transformed copies of the same samples, all of which the non-invariant covering needs to cover, too. Hence, one might hope that the invariant covering number is by a factor smaller than its non-invariant counterpart. However, due to the adaptive nature of the component radii, this is not obvious and could be dataset-dependent.
To test this intuition, for a given data set , we compare both methods on
which contains all possible transformations of the original samples. Note that for our method with built-in invariance simply using is equivalent.
The results in Table 1 show that our initial intuition seems largely correct. The ratio of the average number of neurons in the second layer of the fully-connected network and the average number of filters in the second layer of the convolutional network tracks closely over all tested data sets. Additionally, in the last row, we consider the plain XOR data set. Here, the invariance is already naturally encoded in the data distribution. We execute both methods on the unaugmented data set while still encoding into the convolutional model. We notice a clear improvement over the non-invariant covering, but it is not as large as when considering the ‘perfectly invariant’ data set . This makes sense, as the invariance is in the distribution only and hence ‘noisy’.
| data set | |||
| XOR | 2 | 2.07 | |
| MNIST | 4 | 3.98 | |
| CIFAR-10 | 4 | 3.92 | |
| XOR* | 2 | 1.61 |
Table 1. Difference in covering numbers on invariant data sets. Ratio of the average number of neurons in the second layer of the fully-connected network and average number of filters in the second layer of the convolutional network compared to the group size. In any case we use and , similar to § 3.2. For XOR and XOR* we used and did 50 random trials, for MNIST and CIFAR-10 we used and did 5 random trials. XOR* uses only the plain data set.
Conclusion
In this paper, we presented an instance-specific analysis of the memorization capacity of translation-invariant convolutional neural networks with threshold activations. For a data set of two classes, we derived bounds on the required number of neurons and parameters for such a network to be able to interpolate the data. These bounds are linked to a new notion of translation-invariant mutual covering which respects the translation-invariant property of the network and takes both the mutual arrangement of the two classes and their geometric properties into account.
We derived these results as a special case of a general framework, where we considered invariance with respect to an arbitrary finite group of orthogonal transformations. This includes multi-dimensional convolutions, reflections, and rotations. We gave a constructive proof by introducing a randomized algorithm which for given input data computes instances of such networks, with high probability. We conducted numerical experiments where we investigate the empirical performance of our algorithm and compare it to previous work. While the produced networks were not smaller than previous non-translation invariant networks they are more expressive due to their built-in invariance.
Use of AI tools
The authors used AI solely to improve the wording and grammar of self-written prose. AI was not used for any other purpose, including research, proofs and other mathematics, figures, or code. A preliminary version of the results was announced in the PhD thesis of the second-named author [16].
Acknowledgments and Disclosure of Funding
PG is grateful for the hospitality of Utrecht University, where he worked on this project as a guest researcher. PG acknowledges support by the German Science Foundation (DFG) in the context of the Emmy Noether junior research group VO 2594/1–1.
Generalized theory
In this section, we introduce our theoretical result in its full generality. To this end, we use a form of group equivariant convolution which was first introduced by Cohen and Welling [10], although with a different notation. We reprove all the properties of this generalized convolution that are needed for our analysis.
In what follows, denotes a finite subgroup of the orthogonal group. We aim to produce a model that is invariant under the transformations contained in , that is, for all ,
In the main part, we consider the special case of a translation-invariant convolutional neural network which is applied to 2D images with color channels, each of size . This corresponds to the choice
where, as in the main part, denotes the circular translation in pixel-space by pixels vertically and pixel horizontally, and the translation is applied for each color channel via the lifting , defined in (1). Clearly, these transformations are orthogonal as they are permutations, that is, a reordering of the elements of a vector. The same holds true for horizontal and vertical flips, 90° rotations for square 2D images or translations in higher dimensions. Over the course of this section, we highlight the special case of . The result from the main part follows from this discussion.
Notation
We introduce an extended vector notation, which is similar to the notation used for tensors or multidimensional arrays. In the following, let , , and denote finite index sets.
We denote by the space of vectors with entries in that are indexed by the elements of . Evidently, this space is isomorphic to . Let . We denote by the -th entry of the vector . We denote the -norm, for , and the Euclidean inner product by
respectively. In case of a double index, for , we select subsets of entries via
where we fixed the first and second index, respectively. For we define the lifting
as the repeated application of over the first index. The set of indices over which we lift will in each case be clear from the context. Moreover, we slightly abuse the above notation by identifying with . Hence, we might write for the space of vectors indexed by the elements of .
A double index will be helpful when working with convolution layers where we want to group entries that have been manipulated by the same filter. In general we do not need more than two indices, for example, any color channel of a 2D image with pixels can be simply identified with a vector of dimension .
Let us conclude with a short example of the above notation. Let and . For , we may write
where we first make the summation over explicit and then resolve the lifting.
Generalized memorization algorithm
In this section, we introduce Algorithm 2, which—with high probability—produces a model that interpolates a given data set while being invariant under the transformations contained in . We make some necessary definitions to state Algorithm 2 and, along the way, we highlight how Algorithm 2 reduces to Algorithm 1 in the special case of .
First, we generalize the notion of circular convolution.
Definition 4 Let . We call the circular convolution with respect to and define it element-wise by
In the case of the above corresponds to the regular 2D multi-channel circular convolution.4 To see this, we identify with , so that . Then, for and each entry ,
Hence, we have , which shows that the computation of the first layer in Algorithms 1 and 2 is identical.
Definition 5 Let and . We define the circular shift operator induced by by
Throughout we will use the elementary properties
for all and . These properties clearly transfer to the lifting .
The last piece of notation needed to state Algorithm 2 is the following. For , we define the kernel
Let us conclude by showing how, in the case of , the computation of the second layer in Algorithm 1 and 2 is identical. With the same identification as before, for each entry and ,
Hence, we have . Moreover, for ,
which further yields
Hence, the neurons computed in Algorithm 2 are
Finally, notice that in the formulation of Algorithm 1 we detached GMP from the second layer in favor of a separate global max pooling layer.
Proof of the main result
To state the generalization of Theorem 3, for , we define the pseudo-metric
Again, we extend this notation as in the main part: for sets and , we write
The following definition generalizes the translation-invariant mutual covering from the main part to instead be invariant to the transformations contained in . Notice that the case of recovers Definition 2.
Algorithm 2 -invariant memorization
Input: finite, finite with and , number of random filters , maximal bias , interpolation fraction
Output: -invariant (generalized) convolutional neural net
for do
independent sample from
independent sample from
end for
while do
random sample from
if then
end if
end while
while do
end while
return
Definition 6 (-invariant mutual covering) Recall that . We call
a -invariant mutual covering of , if the components of the covering
cover and , respectively. We call and the mutual covering numbers.
The following is the generalization of Theorem 3. It states conditions under which Algorithm 2 succeeds to produce an invariant network that interpolates the input data with high probability and, moreover, gives estimates on the size of this network.
Theorem 7 (size of -invariant net) Let be finite with , let be finite. Suppose there exists a -invariant mutual covering with centers satisfying and radii satisfying
for and . Set where
Suppose and
Then, with probability at least , Algorithm 2 outputs a neural network which is invariant under the transformations contained in and interpolates , that is, for at least a fraction of samples and all samples ,
Moreover, it has and no more than convolutions in its first and second (generalized) convolutional layers, respectively. In particular, it has no more than parameters.
In the remainder of this section, we prove Theorem 7. First, we make some simple but helpful observations. Then, we prove lower and upper bounds on quantities of interest in Lemma 10 and 12, respectively. We connect these bounds in Lemma 13 which serves as the key ingredient of our proof of Theorem 7, stated at the very end of this section.
Let us formally define the first layer, which is constructed within the first loop of Algorithm 2. For the number of filters and the maximal bias , let
be all independent of each other. We define the random convolution layer by
where the addition of the biases is element-wise.
The proofs of Lemmas 10 and 12 below relate our more general setting to a setting with a fully-connected first layer. We define the random fully-connected layer associated to by
where has rows and .
The following lemma states two helpful observations which we use throughout the following proofs. The first is that transforming an input of the convolution layer is the same as shifting its output. The second is that only observing the output of the convolution layer for a fixed transformation is the same as applying the associated fully-connected layer to an appropriately transformed input.
Lemma 8 For any and ,
Proof For and , we observe
Indeed, for ,
Let . Using the above and due to the element-wise application of and ,
which proves the first statement. For the second statement, note that
■
In the case of the random fully-connected layer, Dirksen et al. [15] prove the following. To state the result, for , we denote
Lemma 9 (Dirksen et al. [15]) Let be finite with , . Suppose and assume and
Then, with probability at least , for all and ,
where .
We generalize the above result to the random convolution layer.
Lemma 10 Let be finite with and let be finite with , . Suppose and assume and
Then, with probability at least , for all and ,
where .
Proof Let denote the identity element. Then, for all , by definition,
This proves the first claim. For the second claim, consider the event where, for all , and ,
By Lemma 9 applied to the sets and , followed by a union bound over , we obtain under our assumptions.
On , for all , and ,
where we used Lemma 8 and, in particular,
This immediately implies, for all and ,
where, again, we used Lemma 8 and, in particular,
The following observation again considers a random fully-connected layer and was stated by Dirksen et al. [15] as a direct consequence of Theorem 2.9 of Dirksen and Mendelson [14].5
Lemma 11 ([15 Lemma 18]) Let , and
Consider such that, for all ,
Suppose and
Then, with probability at least , for all and ,
We derive an analogue for the random convolution layer.
Lemma 12 Let be finite with . Let , and
Consider such that, for all ,
Suppose and, for ,
Then, with probability at least , for all and ,
Proof. Let denote the event where, for all , and ,
By Lemma 11, applied to the sets for and , under our assumptions. Here, we used that by rotation invariance of the Gaussian width.
Let . On , for and ,
where we used Lemma 8. By (4), for there exists with and thus
The following lemma is the key ingredient for the proof of Theorem 7. It states that under our assumptions, with high probability, a neuron
associated to a sample , activates on the (image of the) whole component that this sample resides in. At the same time, it does not activate on (the image of) any sample of the other class. This lemma is the analogue to Lemma 19 from Dirksen et al. [15].
Lemma 13 Under the assumptions of Theorem 7, with probability at least , for any and ,
Proof. Clearly, the choice of ensures the second property. For the first property, it remains to show that, with probability at least , for any and all ,
Let denote the event where, for and ,
By Lemma 10 applied to and , under our assumptions. Let denote the event where, for and ,
and, for and ,
where
By Lemma 12 and a union bound, under our assumptions. Hence, and for the remainder of the proof we condition on this event.
Let and . For ,
where we used , Hölder’s inequality and (3). Minimizing successively over and yields
Using , we find the upper bound
Let and pick such that . For ,
where, again, we used Hölder’s inequality and the properties (3) of (lifted) circular shift operators. Minimizing over and maximizing over and yields
Using both and , we find the lower bound
Combining the upper and lower bounds (5) and (6), we find
for all , and , where we used that
Proof [Theorem 7] We use the notation from Algorithm 2. In the following we condition on the event of Lemma 13, which occurs with probability at least under the stated assumptions.
Termination and number of neurons. The first loop constructs the random convolution layer
For the second loop we claim that, after the -th iteration, and
where each is part of some component for pairwise distinct .
For , we have and , and hence the claim is trivially satisfied. Suppose that the claim holds for the -th iteration. In the -th iteration, the algorithm selects a random candidate sample which is part of at least one new component for some . By Lemma 13, we have and the condition of the if-statement in line 13 is true. Hence, and
and the claim follows by induction. In particular, after at most steps, the loop terminates due to and contains no more than samples. Moreover, . Finally, we examine the last loop. As long as
we remove samples from . The selection rule in line 19 is not important here. If removing a sample leads to a violation of this condition, the loop terminates and we add the last removed sample back to in line 22 so that the condition (7) is satisfied again. Interpolation. By Lemma 13, for all , we have and hence . On the other hand, consider , which includes at least a fraction of of the samples from as we recall from above. Then, there exists with , and hence . Consequently, .
Invariance. Let . Observe, for ,
and hence . Combining this with Lemma 8, we find for any that
Number of parameters. The first layer has weights and biases for , which is parameters. The second layer has weights and biases for with , which is at most parameters. The last, linear layer, has weights , which is at most parameters. Hence, the total is no more than
Multi-class interpolation algorithm
In Appendix A we introduced Algorithm 2 in the context of a binary classification problem. Its approach can be easily generalized to multiple classes, see Algorithm 3. In this section, we outline how this generalization works but omit a full proof as it would be very similar to the proof of Theorem 7. The approach is similar to the one of Dirksen et al. [15].
A common approach to extend a binary classification method to multiple classes is the one-vs-rest method, where for each class a binary classifier is trained to distinguish it from all other classes. At inference time, the class label corresponding to the classifier with the highest confidence score is returned. We extend Algorithm 2 in a similar, yet not exactly the same manner. In the first loop (lines 1 to 4) we sample weights and biases of a random convolution layer which will be reused for each one-vs-rest subproblem. In the second loop (lines 5 to 7) we solve each of the one-vs-rest subproblems, utilizing a procedure (lines 14 to 29) which is the same as the second loop in Algorithm 2. Already at this point, one can use a simple union bound to prove a high success probability for the algorithm. What remains is the modified pruning loop (lines 8 to 12) which works similarly to before. However, instead of selecting the neuron with the least contribution for one class alone, we consider neurons over all classes. That at least a fraction of of the samples of are interpolated after this step can be derived analogously to the corresponding part of the proof of Theorem 7. In the end, we return the network (line 13), which reuses the first random layer and stacks the second layer for each of the one-vs-rest subproblems.
Algorithm 3 G-invariant multi-class memorization
Input: $G \le \mathcal{O}(d)$ finite, $\mathcal{X} = \mathcal{X}^{(1)} \cup \cdots \cup \mathcal{X}^{(L)} \subset \mathbb{R}^{d}$ finite with $N := |\mathcal{X}|$, number of random filters $K \in \mathbb{N}$, maximal bias $\lambda \ge 0$, interpolation fraction $\alpha \in (0,1]$
Output: $G$-invariant (generalized) convolutional neural net $F : \mathbb{R}^{d} \to \{0,1\}^{L}$
1: for $k \in [K]$ do
2: $g_k \leftarrow$ independent sample from $\mathcal{N}(\mathbf{0},I_d)$
3: $\tau_k \leftarrow$ independent sample from $\operatorname{Unif}([-\lambda,\lambda])$
4: end for ▷ $\mathbf{g}=(g_1,\ldots,g_K),\ \boldsymbol{\tau}=(\tau_1,\ldots,\tau_K)$
5: for $\ell \in [L]$ do
6: $\mathcal{A}^{(\ell)} \leftarrow \operatorname{Interpolate}(\mathcal{X}^{(\ell)},\mathcal{X}\setminus\mathcal{X}^{(\ell)},\mathbf{g},\boldsymbol{\tau})$
7: end for ▷ $\mathcal{A}=\mathcal{A}^{(1)}\cup\cdots\cup\mathcal{A}^{(L)}$
8: while $\left|\bigcup_{x_\ast\in\mathcal{A}}\mathcal{V}_{x_\ast}\right| \ge \alpha N$ do
9: $\ell,x_\ast \leftarrow \underset{\ell\in[L],x_\ast\in\mathcal{A}^{(\ell)}}{\arg\min}\left|\mathcal{V}_{x_\ast}\setminus\bigcup_{\tilde{x}_\ast\in\mathcal{A}\setminus\{x_\ast\}}\mathcal{V}_{\tilde{x}_\ast}\right|$
10: $\mathcal{A}^{(\ell)} \leftarrow \mathcal{A}^{(\ell)}\setminus\{x_\ast\}$
11: end while
12: $\mathcal{A}^{(\ell)} \leftarrow \mathcal{A}^{(\ell)}\cup\{x_\ast\}$ ▷ $\widehat{\Phi}^{(\ell)}(z)=\left[\sigma\left(m_{x_\ast}-\langle\langle z,u_{x_\ast}\rangle\rangle\right)\right]_{x_\ast\in\mathcal{A}^{(\ell)}}$
13: return $F(x)=\left(F^{(1)}(x),\ldots,F^{(L)}(x)\right)$ ▷ $F^{(\ell)}(x)=\sigma\left(\langle\mathbf{1},\widehat{\Phi}^{(\ell)}(\Phi(x))\rangle\right)$
14: procedure $\operatorname{Interpolate}(\mathcal{X}^{+},\mathcal{X}^{-},\mathbf{g},\boldsymbol{\tau})$
15: $\mathcal{A}^{+}\leftarrow\varnothing$ ▷ $\Phi(x)=\left[\sigma(x\circledast g_k+\tau_k)\right]_{k\in[K]}$
16: $\mathcal{C}^{+}\leftarrow\mathcal{X}^{+}$
17: while $|\mathcal{C}^{+}|>0$ do
18: $x_\ast^{+}\leftarrow$ random sample from $\mathcal{C}^{+}$
19: $\mathcal{C}^{+}\leftarrow\mathcal{C}^{+}\setminus\{x_\ast^{+}\}$
20: $u_{x_\ast^{+}}\leftarrow\mathbf{1}[\Phi(x_\ast^{+})=0]$
21: $m_{x_\ast^{+}}\leftarrow\min_{x^{-}\in\mathcal{X}^{-}}\langle\langle\Phi(x^{-}),u_{x_\ast^{+}}\rangle\rangle$ ▷ $\widehat{\varphi}_{x_\ast^{+}}(z)=\sigma\left(m_{x_\ast^{+}}-\langle\langle z,u_{x_\ast^{+}}\rangle\rangle\right)$
22: $\mathcal{V}_{x_\ast^{+}}\leftarrow\{x^{+}\in\mathcal{X}^{+}:\widehat{\varphi}_{x_\ast^{+}}(\Phi(x^{+}))>0\}$
23: if $|\mathcal{V}_{x_\ast^{+}}|>0$ then
24: $\mathcal{A}^{+}\leftarrow\mathcal{A}^{+}\cup\{x_\ast^{+}\}$
25: $\mathcal{C}^{+}\leftarrow\mathcal{C}^{+}\setminus\mathcal{V}_{x_\ast^{+}}$
26: end if
27: end while
28: return $\mathcal{A}^{+}$
29: end procedureReferences
- [1]Devansh Arpit, Stanislaw Jastrzębski, Nicolas Ballas, David Krueger, Emmanuel Bengio, Maxinder S Kanwal, Tegan Maharaj, Asja Fischer, Aaron Courville, Yoshua Bengio, et al. A closer look at memorization in deep networks. In International conference on machine learning, pages 233–242. PMLR, 2017.arxiv.org/abs/1706.05394
- [2]Eric B. Baum. On the capabilities of multilayer perceptrons. Journal of Complexity, 4(3):193–215, 1988.DOI
- [3]Mikhail Belkin. Fit without fear: remarkable mathematical phenomena of deep learning through the prism of interpolation. Acta Numerica, 30:203–248, 2021.arxiv.org/abs/2105.14368
- [4]Mikhail Belkin, Daniel Hsu, Siyuan Ma, and Soumik Mandal. Reconciling modern machine-learning practice and the classical bias–variance trade-off. Proceedings of the National Academy of Sciences, 116(32):15849–15854, 2019.DOI
- [5]Valerio Biscione and Jeffrey S. Bowers. Convolutional neural networks are not invariant to translation, but they can learn to be. Journal of Machine Learning Research, 22(229):1–28, 2021.arxiv.org/abs/2110.05861
- [6]Ryan Blything, Valerio Biscione, Ivan I Vankov, Casimir JH Ludwig, and Jeffrey S Bowers. The human visual system and cnns can both support robust online translation tolerance following extreme displacements. Journal of Vision, 21(2):9–9, 2021.DOI
- [7]Sebastien Bubeck, Ronen Eldan, Yin T. Lee, and Dan Milukincer. Network size and size of the weights in memorization with two-layers neural networks. In Advances in Neural Information Processing Systems, volume 33, pages 4977–4986. Curran Associates, Inc., 2020.
- [9]Nadav Cohen and Amnon Shashua. Convolutional rectifier networks as generalized tensor decompositions. In International conference on machine learning, pages 955–963. PMLR, 2016.arxiv.org/abs/1603.00162
- [10]Taco Cohen and Max Welling. Group equivariant convolutional networks. In International conference on machine learning, pages 2990–2999. PMLR, 2016.arxiv.org/abs/1602.07576
- [11]Taco S Cohen, Mario Geiger, and Maurice Weiler. A general theory of equivariant cnns on homogeneous spaces. In H. Wallach, H. Larochelle, A. Beygelzimer, F. d'Alché-Buc, E. Fox, and R. Garnett, editors, Advances in Neural Information Processing Systems, volume 32. Curran Associates, Inc., 2019.arxiv.org/abs/1811.02017
- [12]Thomas M. Cover. Geometrical and statistical properties of systems of linear inequalities with applications in pattern recognition. IEEE Transactions on Electronic Computers, EC-14(3):326–334, 1965. doi: 10.1109/PGEC.1965.264137.DOI
- [13]Amit Daniely. Neural networks learning and memorization with (almost) no over-parameterization. In Advances in Neural Information Processing Systems, volume 33, pages 9007–9016. Curran Associates, Inc., 2020.arxiv.org/abs/1911.09873
- [14]Sjoerd Dirksen and Shahar Mendelson. Non-Gaussian hyperplane tessellations and robust one-bit compressed sensing. Journal of the European Mathematical Society, 23(9):2913–2947, 2021.arxiv.org/abs/1805.09409
- [15]Sjoerd Dirksen, Patrick Finke, and Martin Genzel. Memorization with neural nets: Going beyond the worst case. Journal of Machine Learning Research, 25(347):1–38, 2024.arxiv.org/abs/2310.00327
- [16]Patrick Finke. Memorization capacity and robustness of neural networks. PhD thesis, Utrecht University, 2026. https://doi.org/10.33540/3340.
- [17]Rong Ge, Runzhe Wang, and Haoyu Zhao. Mildly overparameterized neural nets can memorize training data efficiently. Preprint arXiv:1909.11837, 2019.arxiv.org/abs/1909.11837
- [18]Ian Goodfellow, Yoshua Bengio, and Aaron Courville. Deep Learning. MIT Press, 2016.
- [19]Moritz Hardt and Tengyu Ma. Identity matters in deep learning. In International Conference on Learning Representations, 2017. arXiv:1611.04231.arxiv.org/abs/1611.04231
- [20]Trevor Hastie, Robert Tibshirani, and Jerome Friedman. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, volume 2. Springer, 2009.
- [21]Trevor Hastie, Andrea Montanari, Saharon Rosset, and Ryan J. Tibshirani. Surprises in high-dimensional ridgeless least squares interpolation. Annals of Statistics, 50(2):949–986, 2022.DOI
- [22]Guang-Bin Huang. Learning capability and storage capacity of two-hidden-layer feedforward networks. IEEE Transactions on Neural Networks, 14(2):274–281, 2003.DOI
- [23]Guang-Bin Huang and Haroon A Babri. Upper bounds on the number of hidden neurons in feedforward networks with arbitrary bounded nonlinear activation functions. IEEE transactions on neural networks, 9(1):224–229, 1998.DOI
- [24]Shih-Chi Huang and Yih-Fang Huang. Bounds on number of hidden neurons of multilayer perceptrons in classification and recognition. In 1990 IEEE International Symposium on Circuits and Systems, pages 2500–2503. IEEE, 1990.
- [25]Tokio Kajitsuka and Issei Sato. On the optimal memorization capacity of transformers. In The Thirteenth International Conference on Learning Representations, 2025. arXiv:2409.17677.arxiv.org/abs/2409.17677
- [26]Erdem Koyuncu. Memorization capacity of neural networks with conditional computation. In The Eleventh International Conference on Learning Representations, 2023. arXiv:2303.11247.arxiv.org/abs/2303.11247
- [27]Alex Krizhevsky, Geoffrey Hinton, et al. Learning multiple layers of features from tiny images. 2009.
- [28]Alex Krizhevsky, Ilya Sutskever, and Geoffrey E Hinton. Imagenet classification with deep convolutional neural networks. In F. Pereira, C.J. Burges, L. Bottou, and K.Q. Weinberger, editors, Advances in Neural Information Processing Systems, volume 25. Curran Associates, Inc., 2012.
- [29]Yann LeCun, Bernhard Boser, John Denker, Donnie Henderson, Richard Howard, Wayne Hubbard, and Lawrence Jackel. Handwritten digit recognition with a back-propagation network. Advances in neural information processing systems, 2, 1989.
- [30]Yann LeCun, Yoshua Bengio, et al. Convolutional networks for images, speech, and time series. The handbook of brain theory and neural networks, 3361(10):1995, 1995.
- [31]Yann LeCun, Corinna Cortes, and Christopher J.C. Burges. The MNIST database of handwritten digits. http://yann.lecun.com/exdb/mnist/, 1998.
- [32]Yann LeCun, Yoshua Bengio, and Geoffrey Hinton. Deep learning. Nature, 521(7553):436–444, 2015.DOI
- [33]Sangmin Lee, Abbas Mammadov, and Jong Chul Ye. Defining neural network architecture through polytope structures of datasets. In Proceedings of the 41st International Conference on Machine Learning, volume 235, pages 26789–26836. PMLR, 2024.arxiv.org/abs/2402.02407
- [34]Liam Madden and Christos Thrampoulidis. Memory capacity of two layer neural networks with smooth activations. SIAM Journal on Mathematics of Data Science, 6(3):679–702, 2024.DOI
- [36]Sadegh Mahdavi, Renjie Liao, and Christos Thrampoulidis. Memorization capacity of multi-head attention in transformers. In The Twelfth International Conference on Learning Representations, 2024. arXiv:2306.02010.arxiv.org/abs/2306.02010
- [37]Song Mei and Andrea Montanari. The generalization error of random features regression: Precise asymptotics and the double descent curve. Communications on Pure and Applied Mathematics, 75(4):667–766, 2022.
- [38]Marvin Minsky and Seymour A Papert. Perceptrons: An Introduction to Computational Geometry. MIT press, 1969.
- [39]Preetum Nakkiran, Gal Kaplun, Yamini Bansal, Tristan Yang, Boaz Barak, and Ilya Sutskever. Deep double descent: where bigger models and more data hurt. Journal of Statistical Mechanics: Theory and Experiment, 2021(12):124003, 2021.arxiv.org/abs/1912.02292
- [40]Quynh Nguyen and Matthias Hein. Optimization landscape and expressivity of deep CNNs. In International conference on machine learning, pages 3730–3739. PMLR, 2018.arxiv.org/abs/1710.10928
- [41]Nils J Nilsson. Learning machines. McGraw-Hill, New York, 1965.
- [42]Sejun Park, Jaeho Lee, Chulhee Yun, and Jinwoo Shin. Provable memorization via deep neural networks using sub-linear parameters. In Proceedings of Thirty Fourth Conference on Learning Theory, pages 3627–3661. PMLR, 2021.arxiv.org/abs/2010.13363
- [43]Adityanarayanan Radhakrishnan, Mikhail Belkin, and Caroline Uhler. Memorization in over-parameterized autoencoders. In ICML 2019 Workshop on Identifying and Understanding Deep Learning Phenomena, 2019. arXiv:1810.10333.
- [44]Shashank Rajput, Kartik Sreenivasan, Dimitris Papailiopoulos, and Amin Karbasi. An exponential improvement on the memorization capacity of deep threshold networks. In Advances in Neural Information Processing Systems, volume 34, pages 12674–12685. Curran Associates, Inc., 2021.arxiv.org/abs/2106.07724
- [45]Alexandre Sablayrolles, Matthijs Douze, Cordelia Schmid, and Hervé Jégou. Déjà Vu: an empirical evaluation of the memorization properties of ConvNets. arXiv preprint arXiv:1809.06396, 2018.arxiv.org/abs/1809.06396
- [46]Shai Shalev-Shwartz and Shai Ben-David. Understanding Machine Learning: From Theory to Algorithms. Cambridge University Press, 2014.
- [47]Gal Vardi, Gilad Yehudai, and Ohad Shamir. On the optimal memorization power of ReLU neural networks. In International Conference on Learning Representations, 2022. arXiv:2110.03187.arxiv.org/abs/2110.03187
- [48]Roman Vershynin. High-dimensional probability: An introduction with applications in data science, volume 47. Cambridge university press, 2018.
- [49]Roman Vershynin. Memory capacity of neural networks with threshold and rectified linear unit activations. SIAM Journal on Mathematics of Data Science, 2(4):1004–1033, 2020.DOI
- [50]Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. In International Conference on Learning Representations, 2017. arXiv:1611.03530.arxiv.org/abs/1611.03530
- [51]Jiawei Zhang, Yushun Zhang, Mingyi Hong, Ruoyu Sun, and Zhi-Quan Luo. When expressivity meets trainability: Fewer than n neurons can work. In Advances in Neural Information Processing Systems, volume 34, pages 9167–9180. Curran Associates, Inc., 2021.arxiv.org/abs/2210.12001