[Paper Review] Probabilistic Margins for Instance Reweighting in Adversarial Training
This paper proposes probabilistic margins (PMs), a continuous and path-independent method for measuring data vulnerability in adversarial training, enabling more reliable instance reweighting. PMs are defined as differences in estimated class-posterior probabilities, with larger margins indicating safer data; experiments show PM-based reweighting outperforms state-of-the-art methods across multiple attacks, including CW and AA.
Reweighting adversarial data during training has been recently shown to improve adversarial robustness, where data closer to the current decision boundaries are regarded as more critical and given larger weights. However, existing methods measuring the closeness are not very reliable: they are discrete and can take only a few values, and they are path-dependent, i.e., they may change given the same start and end points with different attack paths. In this paper, we propose three types of probabilistic margin (PM), which are continuous and path-independent, for measuring the aforementioned closeness and reweighting adversarial data. Specifically, a PM is defined as the difference between two estimated class-posterior probabilities, e.g., such the probability of the true label minus the probability of the most confusing label given some natural data. Though different PMs capture different geometric properties, all three PMs share a negative correlation with the vulnerability of data: data with larger/smaller PMs are safer/riskier and should have smaller/larger weights. Experiments demonstrate that PMs are reliable measurements and PM-based reweighting methods outperform state-of-the-art methods.
Motivation & Objective
- Address the limitations of existing geometric measurements like least PGD steps (LPS), which are discrete and path-dependent, leading to unreliable data reweighting in adversarial training.
- Improve adversarial robustness by reweighting adversarial examples based on their proximity to decision boundaries, with higher weights assigned to more vulnerable instances.
- Develop a continuous and path-independent measure of data vulnerability that better captures geometric properties of inputs relative to decision boundaries.
- Propose a general framework, MAIL, integrating probabilistic margins into adversarial training to enhance robustness across diverse attack types.
- Demonstrate that probabilistic margins lead to more reliable and effective instance reweighting than prior methods, especially under strong attacks like CW and AA.
Proposed method
- Define probabilistic margins (PMs) as the difference between the estimated posterior probability of the true class and that of the most confusing class, computed from model outputs on natural inputs.
- Introduce three variants of PMs—PM1, PM2, and PM3—each emphasizing different geometric properties of the model’s probability space, such as confidence and confusion levels.
- Ensure PMs are continuous and path-independent by avoiding iterative attack procedures like PGD, thus eliminating path-dependency and instability in vulnerability estimation.
- Integrate PMs into a general adversarial training framework (MAIL) by using PM values as instance weights during loss computation, prioritizing data with smaller margins (higher vulnerability).
- Train models using a weighted cross-entropy loss where the weight of each adversarial example is inversely proportional to its PM value, emphasizing critical samples near decision boundaries.
- Apply the MAIL framework to standard adversarial training (AT) and TRADES, demonstrating its compatibility and superiority across different learning objectives.
Experimental results
Research questions
- RQ1Can a continuous and path-independent measure of data vulnerability improve instance reweighting in adversarial training compared to discrete, path-dependent metrics like LPS?
- RQ2How do different types of probabilistic margins (PM1, PM2, PM3) capture distinct geometric properties of data relative to decision boundaries?
- RQ3Does PM-based reweighting lead to improved robustness against diverse adversarial attacks, including PGD, CW, and AA, compared to state-of-the-art methods?
- RQ4To what extent does the MAIL framework enhance adversarial robustness across different backbone architectures and learning objectives?
- RQ5Is the reliability of PMs consistent across varying model capacities and attack types, especially under strong, transferable attacks like CW and AA?
Key findings
- Probabilistic margins (PMs) are continuous and path-independent, overcoming the instability and ambiguity of discrete metrics like LPS, which depend on attack path and yield few valid values.
- PM-based reweighting in the MAIL framework achieved state-of-the-art robust accuracy on CIFAR-10, outperforming AT, TRADES, MART, FAT, and GAIRAT across all attack types, including PGD, APGD, CW, and AA.
- MAIL-TRADES achieved a 16.68% improvement over AT on the AA attack (WRN-32-10), and a 13.03% improvement on CW attacks, demonstrating superior generalization under strong, transferable attacks.
- On PGD and APGD attacks, MAIL-AT achieved 0.44%–8.47% and 0.47%–6.52% improvements over AT, respectively, showing consistent gains even on standard PGD-based attacks.
- The performance gap between natural and robust accuracy was significantly reduced, with MAIL-TRADES showing a 1.63%–16.68% improvement over AT on AA attacks, indicating better robustness under transferable threats.
- Experiments on ResNet-18 and WRN-32-10 showed that larger models (WRN-32-10) benefit more from PM-based reweighting, confirming that model capacity is a limiting factor in adversarial robustness.
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.