[Paper Review] Exploring and Exploiting Decision Boundary Dynamics for Adversarial Robustness
The paper introduces a continuous-time framework to study how the decision boundary moves relative to individual data points during training, reveals conflicting boundary dynamics under Adversarial Training, and proposes Dynamics-Aware Robust Training (DyART) that directly optimizes margins to improve robustness, achieving state-of-the-art performance on CIFAR-10 and Tiny-ImageNet.
The robustness of a deep classifier can be characterized by its margins: the decision boundary's distances to natural data points. However, it is unclear whether existing robust training methods effectively increase the margin for each vulnerable point during training. To understand this, we propose a continuous-time framework for quantifying the relative speed of the decision boundary with respect to each individual point. Through visualizing the moving speed of the decision boundary under Adversarial Training, one of the most effective robust training algorithms, a surprising moving-behavior is revealed: the decision boundary moves away from some vulnerable points but simultaneously moves closer to others, decreasing their margins. To alleviate these conflicting dynamics of the decision boundary, we propose Dynamics-aware Robust Training (DyART), which encourages the decision boundary to engage in movement that prioritizes increasing smaller margins. In contrast to prior works, DyART directly operates on the margins rather than their indirect approximations, allowing for more targeted and effective robustness improvement. Experiments on the CIFAR-10 and Tiny-ImageNet datasets verify that DyART alleviates the conflicting dynamics of the decision boundary and obtains improved robustness under various perturbation sizes compared to the state-of-the-art defenses. Our code is available at https://github.com/Yuancheng-Xu/Dynamics-Aware-Robust-Training.
Motivation & Objective
- Define a continuous-time framework to quantify the instantaneous movement of the decision boundary with respect to each data point.
- Characterize and visualize how the boundary moves under Adversarial Training and reveal conflicting dynamics.
- Derive a closed-form gradient for the margin to enable direct margin optimization.
- Propose DyART to prioritize increasing smaller margins and mitigate conflicting dynamics.
- Empirically validate DyART against state-of-the-art defenses on CIFAR-10 and Tiny-ImageNet.
Proposed method
- Introduce a continuous-time formulation where the speed of the decision boundary is the time derivative of the margin for each data point (s(x_i,t)).
- Derive a closed-form expression for s(x_i,t) in terms of the gradient of the margin with respect to model parameters and the parameter update trajectory.
- Define the margin R_theta(x) as the distance to the decision boundary and distinguish it from logit margins.
- Develop a margin-based loss L^R(theta) using a convex, decreasing function h(R) to encourage positive boundary speed on vulnerable points.
- Introduce a soft decision boundary Phi^y_theta(x; beta) to approximate the exact margin and reduce computational cost, with a bound on approximation quality.
- Provide a practical algorithm (DyART) that optimizes a combined loss: standard cross-entropy on clean data plus a margin-based term using soft margins (Equation 9).
Experimental results
Research questions
- RQ1How can the decision boundary dynamics with respect to individual data points be quantified during training?
- RQ2Do standard adversarial training methods exhibit conflicting dynamics where the boundary moves away from some vulnerable points but toward others?
- RQ3Can we design an optimization objective that directly increases margins for the most vulnerable data points and mitigate conflicting dynamics?
- RQ4How can the margin gradient be computed efficiently for margin-based optimization in multi-class settings?
- RQ5Does DyART improve robustness across a range of perturbation budgets compared to state-of-the-art defenses?
Key findings
- Under Adversarial Training, many vulnerable points exhibit negative speed (margin decreases), revealing conflicting dynamics of the decision boundary.
- A closed-form margin gradient (for smooth functions of the margin) enables direct margin-based optimization (Equation 6).
- Using a soft margin and soft boundary reduces computational cost while providing controllable approximation to the exact margin (Proposition 5).
- DyART, which emphasizes increasing smaller margins via a convex, decreasing cost h(R), mitigates boundary-conflict and improves robustness across perturbation sizes on CIFAR-10 and Tiny-ImageNet.
- On CIFAR-10, DyART achieves top robustness at 2/255, 4/255, and 8/255 perturbations, and strong performance at larger budgets; on Tiny-ImageNet, DyART yields the best robust and clean accuracies across examined budgets.
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.