stat.MLOct 28, 2026

Memorization Capacity of Invariant Convolutional Neural Nets

Authors: Sjoerd Dirksen, Patrick Finke, Paul Geuchen

Organizations: Mathematical Institute, Utrecht University, The Netherlands

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.

Figures & tables

Explore similar work

Oct 12, 2026

Memorization in image classification: test set behavior and scaling laws

Deep neural networks are capable of both learning generalizing solutions on natural tasks and memorizing arbitrary mappings. We argue that understanding the former requires understanding the latter, which is much less studied. In what ways do networks that generalize or memorize differ in their behavior or their training dynamics? Do memorizing networks simply function as a lookup table where input-output mappings are stored independently? We investigate these questions in the context of CNNs trained on image classification tasks with randomized labels or pixels. We first study the behavior of such memorizing networks on unseen images. We find that independently initialized networks trained on the same random labels learn different predictive functions: they make different predictions on test examples, in contrast with generalizing networks. We then examine the effect of dataset size on memorization through the required network capacity and training time to interpolate the training set. Counter-intuitively, we find that the number of presentations of a given example required for complete memorization can decrease with dataset size even when input-output pairs share no common structure. Although memorizing networks do not learn a universal solution, they exhibit interesting behaviors which call for further investigations into the underlying mechanisms.
Mar 10, 2026

Memorization capacity of deep ReLU neural networks characterized by width and depth

This paper studies the memorization capacity of deep neural networks with ReLU activation. Specifically, we investigate the minimal size of such networks to memorize any NN data points in the unit ball with pairwise separation distance δδ and discrete labels. Most prior studies characterize the memorization capacity by the number of parameters or neurons. We generalize these results by constructing neural networks, whose width WW and depth LL satisfy W2L2=O(Nlog⁡(δ−1))W^2L^2= \mathcal{O}(N\log(δ^{-1})), that can memorize any NN data samples. We also prove that any such networks should also satisfy the lower bound W2L2=Ω(Nlog⁡(δ−1))W^2L^2=Ω(N \log(δ^{-1})), which implies that our construction is optimal up to logarithmic factors when δ−1δ^{-1} is polynomial in NN. Hence, we explicitly characterize the trade-off between width and depth for the memorization capacity of deep neural networks in this regime.
Oct 16, 2026

"Deep lifts": Neural networks can generalize even with the dumbest optimizer

Given a labeled dataset {(xi,yi)}i=1n\{(x_i, y_i)\}_{i = 1}^n, consider drawing a parameter vector θ^\hatθ uniformly at random from those that interpolate the data within a width-WW depth-DD ReLU architecture with continuous weights bounded within [−M,M][-M, M]. We study the generalization properties of θ^\hatθ in the case where the dataset can, in fact, be explained by a smaller ww-by-dd ReLU network. Despite the obliviousness of the selection rule for θ^\hatθ, it adaptively generalizes at the rate O~(wdWDn)\tilde O\left(\frac{wdWD}{n}\right), rather than being governed by the VC dimension of the full WW-by-DD hypothesis class. The reason is due to a particular inductive bias in ReLU networks: the ww-by-dd parameter witnesses an exponential volume of WW-by-DD interpolating parameters, which dwarfs the volume of poorly generalizing parameters (conditioned on interpolation). We explicitly construct this set of near-equivalent WW-by-DD parameters by a proof technique called deep lifting, and then tie the achievable volume to stability properties of the ww-by-dd witness. Examples show that these techniques allow us to convert approximation-theoretic results into generalization guarantees for nonparametric classes. We further show that generalization of uniform-random interpolators can survive label corruptions.