[Paper Review] Formalizing Generalization and Robustness of Neural Networks to Weight Perturbations
This paper introduces a theoretical framework to formalize the generalization and robustness of feed-forward neural networks under norm-bounded weight perturbations, deriving bounds on classification margin and Rademacher complexity. It proposes a theory-driven loss function that improves both generalization and adversarial robustness, validated empirically with non-vacuous generalization bounds in robust models.
Studying the sensitivity of weight perturbation in neural networks and its impacts on model performance, including generalization and robustness, is an active research topic due to its implications on a wide range of machine learning tasks such as model compression, generalization gap assessment, and adversarial attacks. In this paper, we provide the first integral study and analysis for feed-forward neural networks in terms of the robustness in pairwise class margin and its generalization behavior under weight perturbation. We further design a new theory-driven loss function for training generalizable and robust neural networks against weight perturbations. Empirical experiments are conducted to validate our theoretical analysis. Our results offer fundamental insights for characterizing the generalization and robustness of neural networks against weight perturbations.
Motivation & Objective
- To theoretically characterize the interplay between weight perturbation, classification margin robustness, and generalization gap in feed-forward neural networks.
- To develop a novel loss function grounded in theoretical analysis for training models robust to weight perturbations.
- To validate the theoretical insights through empirical experiments on generalization and robustness under adversarial weight attacks.
- To demonstrate that generalization bounds remain non-vacuous when training with the proposed loss, unlike standard training.
Proposed method
- Derives worst-case robustness bounds for pairwise class margin under single-layer, all-layer, and selected-layer weight perturbations using spectral norms.
- Analyzes generalization behavior via Rademacher complexity under weight perturbations, establishing a non-vacuous bound for robust models.
- Proposes a theory-driven loss function that jointly optimizes for robustness (via worst-case margin) and generalization (via Rademacher complexity).
- Empirically evaluates the model using PGD attacks on weights, comparing robustness and generalization under varying perturbation levels.
- Uses ablation studies to isolate the role of robustness and generalization regularization terms in the loss function.
- Visualizes weight distributions and compares generalization bounds across standard and robust models to validate theoretical claims.
Experimental results
Research questions
- RQ1How does weight perturbation affect the robustness of pairwise classification margins in feed-forward neural networks?
- RQ2Can Rademacher complexity be used to derive non-vacuous generalization bounds under weight perturbations?
- RQ3What is the impact of adversarial weight perturbation during training on model generalization and robustness?
- RQ4How does the proposed theory-driven loss function compare to naive adversarial weight training in practice?
- RQ5Does the inclusion of robustness and generalization regularization terms lead to tighter, non-vacuous generalization bounds?
Key findings
- The proposed loss function yields non-vacuous generalization bounds that decrease with increasing training set size, unlike standard models where bounds grow and become vacuous.
- Robust models trained with the proposed loss show decreasing generalization bounds and test error under weight PGD attacks, indicating improved robustness.
- Ablation studies confirm that the robustness term alone regularizes weights and contributes to non-vacuous bounds, even without explicit generalization regularization.
- The robust model achieves 80.3% test accuracy under small weight perturbations (ε=0.001), significantly outperforming naive adversarial weight training (10% accuracy).
- Weight distributions in the robust model are more concentrated than in the standard model, suggesting effective weight regularization.
- The ratio of spectral norm products to the norm of matrix products remains nearly constant across models and dataset sizes, indicating consistent scaling behavior.
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.