Introduction
Ensemble defenses—the practice of combining multiple neural networks to thwart adversarial attacks—often provide a false sense of security. While the theory suggests that diverse sub-models will prevent an attack from fooling the entire system, recent research reveals a critical vulnerability in how these defenses are evaluated. This paper introduces MORA (Model-Reweighing Attack), a novel evaluation method demonstrating that state-of-the-art ensembles are significantly less robust than previously claimed. In many cases, MORA drops ensemble accuracy to near 0% under rigorous evaluation while converging up to 60x faster than existing attacks.
The Flaws in Current Ensemble Evaluations
Adversarial attacks use tiny, intentional perturbations to deceive deep neural networks (DNNs). To counter this, researchers developed ensemble defenses, training multiple "sub-models" to be diverse so that an attack fooling one won't necessarily fool the others.
However, current evaluation methods (like PGD or AutoAttack) consistently overestimate the robustness of these ensembles due to two primary culprits:
- Gradient Obfuscation: Certain ensemble strategies, such as averaging softmax outputs, create "flat" or misleading gradients. This makes it difficult for standard gradient-based attacks to find a path to failure, even if the model is fundamentally vulnerable.
- Gradient Diversification: Because sub-models are trained to be different, their gradients often cancel each other out when summed. An attacker trying to optimize against the whole ensemble's loss might find no clear direction, even though the ensemble could be toppled by successfully attacking just a few key sub-models.
Introducing MORA: Model-Reweighing Attack
To navigate the complexities of ensemble models, the authors propose MORA, a highly efficient white-box attack. Its core innovation is a Model-Reweighing mechanism.
Instead of treating the ensemble as a single "black box" or simply summing sub-model gradients, MORA adaptively assigns weights to each sub-model during the attack iterations:
- Adaptive Weighting: Sub-models are weighted based on their "ease of attack." MORA calculates these weights based on how much a change in a sub-model's output affects the overall ensemble's classification.
- MORA Loss Function: The attack uses a specialized loss that combines these weighted sub-model logits with the original ensemble logits. This allows the attack to "steer" the adversarial synthesis toward the weakest links in the ensemble.
- Optimization Refinements: To push the state-of-the-art, MORA incorporates modern attack tactics like a cosine step-size schedule, momentum, and multi-target strategies (targeting all possible incorrect classes).
Key Findings and Results
The researchers evaluated MORA using standard benchmarks (CIFAR-10 and CIFAR-100) against prominent ensemble defenses like ADP, Dverge, GAL, and TRS. They tested three ensemble modes: summing softmax probabilities, voting, and summing raw logits.
- Massive Robustness Drops: Defenses that previously claimed 20-50% robust accuracy were often revealed by MORA to have near or exactly 0% robustness under standard $\ell_\infty$ perturbations.
- Unmatched Efficiency: MORA is incredibly fast. It can match the success rate of the industry-standard AutoAttack (which uses hundreds of iterations) in as few as 31 steps—a 16x speedup in specific cases, and up to 60x in others.
- The "Weakest Link" Vulnerability: You don't need to fool every sub-model to fool the ensemble. MORA demonstrates that an ensemble can be defeated even when the majority of its sub-models are still technically "correct."
- Logits Outperform Softmax: In a surprising twist, summing raw logits (values before the final probability layer) creates more robust ensembles than the standard practice of averaging softmax probabilities. Softmax often leads to gradient masking, providing a false sense of security.
- Voting is the Weakest Link: Contrary to some intuition, the "voting" ensemble mode was found to be the least robust option across all tested defenses.
Conclusion and Future Directions
The "diversity paradox" highlights a critical issue in adversarial defense: while training sub-models to be diverse is intended to stop attack transferability, it can actually make the ensemble harder to evaluate correctly, leading to security through obscurity.
While MORA primarily focuses on white-box attacks (the gold standard for evaluating worst-case robustness), its findings are a wake-up call for the field. The authors suggest that future research should move away from ensemble strategies that rely on gradient obfuscation. Instead, the community must focus on developing ensemble-forming strategies that provide "true" robustness—perhaps by leveraging logit-based ensembling or better adversarial training techniques that remove underlying vulnerabilities rather than just hiding them.
Summary updated