[Paper Review] De-randomized PAC-Bayes Margin Bounds: Applications to Non-convex and Non-smooth Predictors
This paper introduces de-randomized PAC-Bayes margin bounds for deterministic, non-convex, and non-smooth predictors such as ReLU networks, avoiding reliance on large Lipschitz constants by leveraging input-dependent smoothness via linear deep networks (LDNs). The key contribution is a non-uniform generalization bound that trades off weight distance from initialization and effective curvature, validated empirically across MNIST and CIFAR-10 with varying depth, width, and batch size.
In spite of several notable efforts, explaining the generalization of deterministic non-smooth deep nets, e.g., ReLU-nets, has remained challenging. Existing approaches for deterministic non-smooth deep nets typically need to bound the Lipschitz constant of such deep nets but such bounds are quite large, may even increase with the training set size yielding vacuous generalization bounds. In this paper, we present a new family of de-randomized PAC-Bayes margin bounds for deterministic non-convex and non-smooth predictors, e.g., ReLU-nets. Unlike PAC-Bayes, which applies to Bayesian predictors, the de-randomized bounds apply to deterministic predictors like ReLU-nets. A specific instantiation of the bound depends on a trade-off between the (weighted) distance of the trained weights from the initialization and the effective curvature (`flatness') of the trained predictor. To get to these bounds, we first develop a de-randomization argument for non-convex but smooth predictors, e.g., linear deep networks (LDNs), which connects the performance of the deterministic predictor with a Bayesian predictor. We then consider non-smooth predictors which for any given input realized as a smooth predictor, e.g., ReLU-nets become some LDNs for any given input, but the realized smooth predictors can be different for different inputs. For such non-smooth predictors, we introduce a new PAC-Bayes analysis which takes advantage of the smoothness of the realized predictors, e.g., LDN, for a given input, and avoids dependency on the Lipschitz constant of the non-smooth predictor. After careful de-randomization, we get a bound for the deterministic non-smooth predictor. We also establish non-uniform sample complexity results based on such bounds. Finally, we present extensive empirical results of our bounds over changing training set size and randomness in labels.
Motivation & Objective
- Address the challenge of explaining generalization in deterministic non-smooth deep networks like ReLU-nets, where classical bounds often fail due to vacuous Lipschitz-based complexity terms.
- Overcome the limitations of existing PAC-Bayes bounds, which apply only to Bayesian predictors, by developing a de-randomization framework for deterministic models.
- Develop a non-uniform generalization bound that depends on the trade-off between the L2 distance of trained weights from initialization and the effective curvature (flatness) of the predictor.
- Establish theoretical and empirical validity of the bound across varying network depth, width, and training batch size, including micro-batch training.
- Provide a PAC-Bayes analysis that exploits input-specific smoothness (via LDN realizations) to avoid dependency on global Lipschitz constants of non-smooth networks.
Proposed method
- Propose a de-randomization argument for smooth predictors by connecting deterministic predictors to their Bayesian counterparts through a stochastic perturbation framework.
- For non-smooth predictors like ReLU-nets, model each input as inducing a different smooth linear deep network (LDN), enabling local smoothness-based analysis.
- Derive a PAC-Bayes margin bound that depends on the weighted distance from initialization and the effective curvature (Hessian-based flatness) of the predictor at each input.
- Introduce a scale-invariant generalization bound that combines margin loss, curvature, and weight norm terms, normalized by training sample count.
- Use Hessian diagonal elements to estimate effective curvature, avoiding full Hessian computation and enabling efficient empirical evaluation.
- Establish non-uniform sample complexity results by deriving bounds that hold with high probability for each specific predictor, not uniformly across all predictors.
Experimental results
Research questions
- RQ1Can PAC-Bayes bounds be de-randomized to apply to deterministic, non-smooth deep networks like ReLU-nets without relying on global Lipschitz constants?
- RQ2How can the generalization error of a deterministic ReLU network be bounded using a trade-off between weight distance from initialization and local curvature?
- RQ3Does the proposed de-randomized bound remain tight and informative under label randomization and varying training set sizes?
- RQ4Can the bound be effectively computed and validated empirically across different network architectures (depth, width) and training regimes (batch size, micro-batching) on MNIST and CIFAR-10?
- RQ5What is the relationship between the components of the bound (curvature, margin loss, weight norm) and the actual test error during training?
Key findings
- The proposed de-randomized PAC-Bayes bound decreases with increasing training set size from 100 to 10,000 samples on both MNIST and CIFAR-10, indicating improved generalization as data grows.
- The bound remains valid and informative across varying network depths (e.g., 2, 4, 8, 128, 256, 512) and widths (e.g., 128, 256, 384, 512), demonstrating broad architectural applicability.
- The bound holds under micro-batch training (batch size = 16), showing robustness to training regime changes without loss of tightness.
- The effective curvature term, derived from Hessian diagonal elements, correlates with generalization performance and contributes significantly to the bound’s tightness.
- The scale-invariant generalization bound, combining margin loss, curvature, and normalized weight norm, shows consistent decrease with training progress and data size.
- Empirical results show that the bound tracks test error trends, with the bound and its components decreasing as training improves, validating its theoretical soundness.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.