[Paper Review] Building Robust Ensembles via Margin Boosting
This paper proposes MRBoost, a margin-boosting framework that trains robust neural network ensembles by maximizing the minimum classification margin through a two-player zero-sum game between learner and adversary. The method outperforms existing ensembling techniques and large end-to-end models on benchmark datasets, with a key byproduct being a margin-maximizing cross-entropy (MCE) loss that improves adversarial robustness when replacing standard cross-entropy in state-of-the-art training methods.
In the context of adversarial robustness, a single model does not usually have enough power to defend against all possible adversarial attacks, and as a result, has sub-optimal robustness. Consequently, an emerging line of work has focused on learning an ensemble of neural networks to defend against adversarial attacks. In this work, we take a principled approach towards building robust ensembles. We view this problem from the perspective of margin-boosting and develop an algorithm for learning an ensemble with maximum margin. Through extensive empirical evaluation on benchmark datasets, we show that our algorithm not only outperforms existing ensembling techniques, but also large models trained in an end-to-end fashion. An important byproduct of our work is a margin-maximizing cross-entropy (MCE) loss, which is a better alternative to the standard cross-entropy (CE) loss. Empirically, we show that replacing the CE loss in state-of-the-art adversarial training techniques with our MCE loss leads to significant performance improvement.
Motivation & Objective
- To address the sub-optimal adversarial robustness of single neural networks by developing a principled ensemble learning framework.
- To overcome the limitations of existing ensembling methods, which often fail under adaptive attacks due to mismatches in training and inference behavior.
- To formalize ensemble robustness as a max-margin problem via a two-player zero-sum game between learner and adversary.
- To develop an efficient algorithm (MRBoost.NN) that solves the margin-boosting game with practical scalability.
- To derive a new loss function, margin-maximizing cross-entropy (MCE), that improves robustness in adversarial training.
Proposed method
- Formulates ensemble robustness as a max-margin problem using a two-player zero-sum game where the learner selects ensemble weights and the adversary generates worst-case perturbations.
- Derives an optimization objective that maximizes the minimum margin across all inputs and classes, ensuring robustness to the worst-case adversarial example.
- Proposes MRBoost.NN, a computationally efficient algorithm that alternates between updating ensemble weights and generating adversarial examples via projected gradient descent.
- Introduces the MCE loss, a modified cross-entropy loss that encourages larger margins by penalizing low-confidence predictions on adversarial examples.
- Uses persistent weight initialization (i.e., initializing each new base classifier from the previous one) to improve training stability and robustness.
- Employs logit-level ensemble aggregation during training and probability-level aggregation during attack evaluation to align with real-world inference.
Experimental results
Research questions
- RQ1Can a principled margin-boosting framework improve the robustness of neural network ensembles beyond existing ensembling techniques?
- RQ2Does maximizing the minimum classification margin lead to stronger adversarial robustness compared to standard ensembling and end-to-end training?
- RQ3Can a novel loss function derived from the margin-boosting framework improve the robustness of state-of-the-art adversarial training methods?
- RQ4Why do existing ensemble defenses, such as that of Pinot et al. (2020), fail under adaptive attacks, and how can this be avoided?
- RQ5Is there a training strategy that ensures consistent robustness across diverse adversarial attacks by aligning training and inference behavior?
Key findings
- MRBoost.NN achieves state-of-the-art robust accuracy on CIFAR-10, outperforming both existing ensembling techniques and large end-to-end models.
- The proposed MCE loss, when substituted into standard adversarial training, leads to significant performance gains, improving robust accuracy by up to 10% on some setups.
- The defense of Pinot et al. (2020) is circumvented by an adaptive attack that exploits a mismatch between logit-level aggregation during training and probability-level aggregation during inference, reducing robust accuracy from 60.72% to 37.37%.
- Persistent weight initialization during ensemble training leads to more robust models, as it stabilizes the learning process and improves generalization.
- The two-player zero-sum game formulation ensures that the resulting ensemble is optimal under the weakest possible assumptions on base classifiers, proving theoretical optimality.
- Empirical results show that the max-margin ensemble framework is not only effective but also generalizable across multiple datasets and model architectures.
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.