Context. Zhang et al. showed that standard networks fit random labels, so any bound that depends only on the architecture and the sample size is vacuous. Margin theory had shown, for two-layer sigmoid networks, that at a given margin the size of the weights matters more than their number. The open question was which norm-based quantity controls deep ReLU networks without factors that grow with depth, width or the number of classes, and whether it moves with the difficulty of the labels. At margin , a network's capacity is its Lipschitz constant, the product of the layers' spectral norms, times a correction for how far each layer is from a reference matrix in a norm whose balls have small covering numbers, all divided by . The division makes the measure invariant to rescaling (with zero reference matrices), and on Zhang's test it is larger for random labels than for true ones. The correction is bounded by an effective-rank-type ratio, , with the stable rank of the benign-overfitting papers.
Setting. A network with weights computes , where each fixed is -Lipschitz with (ReLU has ), and is the largest width. It predicts ; the margin is , and is the empirical ramp loss at margin . Fix reference matrices (zero for AlexNet, the identity for a ResNet); sums the norms of the incoming weights of layer 's units. The spectral complexity is and is the Frobenius norm of the data matrix.
Theorem 1.1 (spectrally normalized margin bound). For i.i.d. data from any distribution on , with probability at least , every margin and every network satisfy The complexity term is times the root-mean-square input norm over . Depth, width and enter only through logarithms and the norms themselves, and the bound holds uniformly over networks and margins, so it may be evaluated at the weights SGD returns.
Theorem 3.4 (lower bound). With ReLU activations, scalar output and hidden widths at least 2, the Rademacher complexity of on the sample is at least . So the product of spectral norms cannot be removed, and the lower bound matches the scaling of the upper bound; the correction is left untested.
Reduce to covering the matrix of network outputs, with no cost in . The Rademacher bound for the ramp loss gives , with the class of margin losses. The margin operator is 2-Lipschitz in and the ramp is -Lipschitz, so a Frobenius-norm cover of the output matrix at scale covers that class at scale . One cover of the whole output vector adds no factor of , where bounding each output coordinate separately adds a factor .
One layer is covered by Maurey sparsification, at a cost free of dimension. For a data matrix and weights , After normalizing columns, is times a point in the convex hull of rank-one atoms of Frobenius norm at most 1. Maurey's lemma replaces that point by the average of atoms sampled from its weights, and there are at most such averages, so and appear only inside the log. A Frobenius bound on would bring in an extra dimension factor, even for .
Push an empirical cover through the layers, so errors grow by the spectral norms and log covers add. Covering the image of the sample instead of the parameters keeps the parameter count out. Let be layer 's outputs on the sample and a cover element. Cover with Step 2 and apply ; the triangle inequality and the Lipschitz bounds give so the output error is , and since each layer's cover is chosen given the earlier ones, log covers add. Step 2 needs a norm bound on its input: because and the covers are proper (each cover element is itself the image of the sample under admissible weights), it is at most . Centering the cover at does not change these bounds.
Budgeting the error across layers produces the spectral complexity. With and , layer costs a log cover of order while its error is amplified by the later spectral norms. Minimizing under the linear error budget makes layer 's share of the output error proportional to , and the minimum is that is . The exponents and come from the solution of this allocation problem, and the product of spectral norms is how much an error at any layer can be amplified on the way to the output.
Dudley's entropy integral turns the cover into a Rademacher bound with one extra log factor. After the margin loss, with , and the entropy integral, for the unnormalized data metric, gives Entropy of order is Dudley's borderline case, where the integral diverges only logarithmically at 0, so costs just a factor . This proves the bound for norm bounds and a margin fixed in advance.
A union bound over a grid makes it hold for every network and margin at once. The norms of the weights SGD returns depend on the sample. Divide the space of margins and norms into grid cells, apply Step 5 in each with failure probabilities summing to , and use the smallest cell containing the network. The cost is logarithms of the norms and of , absorbed by the .
The lower bound, by embedding linear predictors. Any linear function with is a ReLU network of the given depth with : split into its positive and negative parts in the first layer, carry them through identity blocks, and output their difference. The linear class has Rademacher complexity at least by Khintchine-Kahane. (A separate remark explains why the product of norms appears instead of the norm of the product: with ReLUs, need not give the zero function.)
On real and random labels, the normalized margins order problems by difficulty. The experiments plot the distribution of normalized margins , which controls the bound up to logs, for an AlexNet-like network trained with plain SGD and no regularization, with the same settings on every dataset (the figures use in place of , a difference the paper reports as negligible). Raw margins look alike for true and random CIFAR10 labels; normalized, the random-label distribution sits far to the left, and MNIST far to the right of CIFAR10. Over training the product of spectral norms keeps growing after the excess risk levels off, while the margin-normalized version stays flat. These are qualitative comparisons: the paper reports no value of the bound, and Nagarajan and Kolter's evaluation on MNIST networks puts it far above 1.
Consequences and limits. This was the first margin bound for deep ReLU networks to pass the randomization test qualitatively, and its proof pattern (cover each layer in a norm Maurey can handle, propagate an empirical cover with Lipschitz constants, allocate the error across layers) became the template for later norm-based bounds. "No dependence on width" is about explicit factors: for a dense layer with i.i.d. entries, (my check: 32, 129, 514 for ), so with the correction factor grows with width unless the learned weights are far from random. The Lipschitz constant is a worst case over all inputs, while what matters is the behavior near the data. Nagarajan and Kolter later show that this bound grows with on MNIST runs while the test error falls.
Terms
- spectral complexity: Lipschitz constant times a per-layer distance correction
- multiclass margin; 2-Lipschitz in , hence in
- empirical ramp loss; at most the fraction of training points with margin
- sum over units of the norms of their incoming weights
- root-mean-square input norm over
- Maurey sparsification
- a point of a convex hull is within of an average of sampled atoms
- Empirical cover through layers
- cover each layer's output on the sample; errors grow by , log covers add
- value of the optimal allocation of cover resolution across layers
- Dudley entropy integral
- turns into a Rademacher bound with one
- Normalized margin
- ; its distribution is what the experiments compare
- Stable rank
Quiz
- In a ReLU network with reference matrices , multiply the last weight matrix by . How does the complexity term change if is chosen at a fixed quantile of the training margins?The ratio is scale-free, so grows by exactly , and the outputs, hence every margin, also scale by . Dividing by the margin is what makes the measure invariant to such rescalings.
- For a dense layer with i.i.d. entries, roughly how large is ?There are rows of norm about 1, so , while . The absence of width in the bound is about explicit factors; a near-random layer still makes the correction factor grow linearly in width.
- On CIFAR10 the raw margins of networks trained on true and on random labels look alike. What do the experiments gain by dividing the margins by ?Random labels need a much larger spectral complexity to reach similar margins, so their normalized margins are far smaller, and MNIST sits to the right of CIFAR10. The comparison is qualitative: the paper reports no value of the bound, and Nagarajan and Kolter find it far above 1.
- What does the lower bound of Theorem 3.4 establish about the spectral complexity?Linear predictors of norm embed into networks with , whose Rademacher complexity is of order . Nothing in the construction tests the correction factor, and the ReLUs mean need not give the zero function.
Sources
- Peter Bartlett, Dylan J. Foster, and Matus Telgarsky. Spectrally-normalized margin bounds for neural networks. NeurIPS, 2017.
- Chiyuan Zhang, Samy Bengio, Moritz Hardt, Benjamin Recht, and Oriol Vinyals. Understanding deep learning requires rethinking generalization. ICLR, 2017.