[Paper Review] Regularizing Neural Networks via Adversarial Model Perturbation
This paper proposes Adversarial Model Perturbation (AMP), a novel regularization technique that improves deep neural network generalization by minimizing an 'AMP loss' derived from the worst-case empirical risk within a norm-bounded perturbation of model parameters. The method theoretically favors flat minima—associated with better generalization—and achieves state-of-the-art performance across multiple image classification benchmarks, outperforming existing regularization schemes including MixUp and Flooding.
Effective regularization techniques are highly desired in deep learning for alleviating overfitting and improving generalization. This work proposes a new regularization scheme, based on the understanding that the flat local minima of the empirical risk cause the model to generalize better. This scheme is referred to as adversarial model perturbation (AMP), where instead of directly minimizing the empirical risk, an alternative "AMP loss" is minimized via SGD. Specifically, the AMP loss is obtained from the empirical risk by applying the "worst" norm-bounded perturbation on each point in the parameter space. Comparing with most existing regularization schemes, AMP has strong theoretical justifications, in that minimizing the AMP loss can be shown theoretically to favour flat local minima of the empirical risk. Extensive experiments on various modern deep architectures establish AMP as a new state of the art among regularization schemes. Our code is available at https://github.com/hiyouga/AMP-Regularizer.
Motivation & Objective
- To develop a principled regularization scheme that improves generalization in deep neural networks by targeting flat local minima of the empirical risk.
- To address the lack of strong theoretical justification in existing heuristic regularization methods such as MixUp and label smoothing.
- To investigate whether adversarial perturbation of model parameters can implicitly penalize sharp minima and promote flatter, more generalizable solutions.
- To evaluate AMP's performance against state-of-the-art regularization techniques on standard image classification benchmarks.
- To analyze the impact of perturbation magnitude on model generalization and calibration, and to assess computational overhead.
Proposed method
- Define the AMP loss as the maximum empirical risk over all parameter perturbations within an ℓ2-ball of radius ε: ℒ_AMP(θ) = max_{||Δ||≤ε} ℒ_ERM(θ + Δ).
- Use mini-batch stochastic gradient descent to minimize the AMP loss, effectively training the model to be robust to small adversarial perturbations in parameter space.
- Show that minimizing the AMP loss is equivalent to regularized empirical risk minimization with an additional penalty on the gradient norm, providing an alternative theoretical interpretation.
- Implement the AMP training procedure using a single inner optimization step (N=1) to compute the adversarial perturbation, balancing computational cost and effectiveness.
- Leverage the max-pooling analogy in parameter space: the AMP loss acts as a 'worst-case' smoothing of the empirical risk landscape, favoring flatter regions.
- Use the narrowest width of a local minimum as a measure of flatness, and show that AMP minimization implicitly penalizes narrow minima.
Experimental results
Research questions
- RQ1Can adversarial perturbation of model parameters in parameter space lead to flatter minima and improved generalization?
- RQ2How does the AMP regularization scheme compare to existing data-dependent regularization techniques like MixUp and Flooding in terms of test accuracy and calibration?
- RQ3What is the optimal perturbation magnitude ε for achieving the best generalization performance?
- RQ4Does AMP improve model calibration, as measured by Expected Calibration Error (ECE)?
- RQ5What is the computational cost of AMP relative to standard ERM training, and can it be made efficient without sacrificing performance?
Key findings
- AMP achieves state-of-the-art test accuracy on SVHN, CIFAR-10, and CIFAR-100, outperforming ERM, MixUp, Flooding, and label smoothing.
- On CIFAR-10, AMP reduces Expected Calibration Error (ECE) to 2.1%, demonstrating superior model calibration compared to other methods.
- The optimal perturbation radius ε ≈ 0.06 yields the lowest test error, indicating a trade-off between flatness and depth of the selected minimum.
- AMP training with N=1 inner iteration increases training time by only 1.8× compared to standard ERM, making it computationally feasible.
- The AMP loss landscape shows that the right (flat) minimum is lower than the left (sharp) one, confirming that AMP favors flatter minima.
- AMP improves generalization by selecting minima with broader basins, as evidenced by the narrowest width of local minima being implicitly minimized.
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.