NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Synergy-of-Experts: Collaborate to Improve Adversarial Robustness

Sen Cui, Jingfeng Zhang, Jian Liang, Bo Han, Masashi Sugiyama, Changshui ZhangNeurIPS 2022

TL;DR

Standard adversarial defense ensembles rely on a "majority rule" voting strategy that often wastes model capacity. Synergy-of-Experts (SoE) shifts the paradigm from voting to collaboration, allowing a single "expert" sub-model to make the correct call even if the rest are fooled. By training sub-models to specialize in different vulnerability areas and using a dual-head architecture to select the most confident expert, SoE achieves state-of-the-art robustness against white-box and transfer-based attacks.

The Problem: The Voting Bottleneck

Deep learning models are notoriously fragile when faced with adversarial attacks—small, intentional perturbations to input data that cause misclassification. Making a model "robust" to these attacks requires it to have invariant predictions within a small neighborhood of any input. However, this often demands more "model capacity" than a single network can provide, leading to a trade-off where increasing robustness degrades general accuracy.

While researchers have turned to ensembles (groups of sub-models) to boost capacity, there is a major inefficiency: the voting bottleneck. In a typical ensemble, more than half of the sub-models must be correct to produce a right answer. If an adversarial attack fools two out of three models, the ensemble fails—even if the third model was perfectly capable of identifying the image. This "majority rule" forces sub-models to overlap in their expertise, wasting the very capacity ensembles were meant to provide.

The Synergy-of-Experts (SoE) Framework

To overcome this bottleneck, the authors propose Synergy-of-Experts (SoE), a framework inspired by Mixture-of-Experts (MoE) but tailored for the unique challenges of adversarial training.

Dual-Head Architecture

Each sub-model in the SoE framework is equipped with two distinct "heads":

  • Predictor (P) Head: Outputs the standard class probability vector.
  • Evaluator (E) Head: Outputs a scalar value representing the model's confidence in its own prediction.
Dual-head architecture and decision boundary intuition

Two-Phase Training

  1. Phase I (Sub-model Training): Instead of training every model on every adversarial sample, SoE uses a surrogate loss to encourage specialization. Each sub-model "chooses" the adversarial samples it finds easiest to learn, while the Evaluator head is trained to recognize when its Predictor head is likely to be correct. This minimizes "vulnerability overlap" between sub-models.
  2. Phase II (Collaboration Training): The authors generate adversarial samples specifically designed to fool the entire collaboration. The system then iteratively updates the sub-models to close these collective blind spots.

Inference (The Collaboration)

At test time, SoE doesn't vote. It evaluates the confidence scores from all Evaluator heads and simply selects the prediction from the sub-model with the highest confidence.

Key Insights

  • Optimism over Pessimism: Traditional ensembles are pessimistic; they assume if the majority is wrong, the system is wrong. SoE is optimistic; it assumes that if any expert knows the answer and can signal its confidence, the system can succeed.
  • Capacity Optimization: By allowing sub-models to specialize in different "vulnerability areas," SoE effectively "stretches" the total available parameters of the ensemble. It’s better to have three experts in different fields than three generalists who all fail at the same trick.
Minimized vulnerability area in the Synergy-of-Experts framework
  • The Confidence Proxy: A key mathematical proof in the paper shows that the sub-model with the highest confidence corresponds to the one with the lowest objective loss. This justifies using the Evaluator head as a reliable "gatekeeper" for routing inputs.

Key Results

The researchers evaluated SoE using the CIFAR-10 dataset with ResNet-20 architectures for the sub-models, ensuring fair comparisons with existing ensemble defense baselines like ADP, GAL, and DVERGE. SoE consistently outperformed these state-of-the-art methods:

  • White-Box Attacks: Against a strong 50-step PGD attack, SoE achieved 72.0% robustness at a perturbation level ($\epsilon$) of 0.01, significantly higher than DVERGE (67.3%) and ADP (67.7%).
  • Adaptive Attacks: Even when the attacker was "aware" of the dual-head structure and specifically tried to fool the Evaluator head, SoE remained more robust than its competitors.
  • Transfer Attacks: In a challenging scenario with 30 different adversarial variants, SoE maintained 61.1% robustness at $\epsilon=0.07$, while the next best baseline (ADP) dropped to 54.4%.
  • Visual Proof: Decision boundary visualizations confirm that SoE's collective "vulnerability areas" (the regions where the model is fooled) are significantly smaller and more fragmented than those of standard ensembles.

Limitations and Future Work

While SoE is powerful, the authors note a few areas for further exploration:

  • Computational Overhead: Training dual heads and employing a two-phase training regime is more computationally expensive than training a single model or a simple ensemble.
  • Evaluator Vulnerability: Although SoE holds up well, the Evaluator head itself is a new target for attackers. More complex evaluator architectures might be susceptible to specialized "meta-adversarial" attacks.
  • Broader Applications: The collaboration logic could be extended beyond adversarial robustness to fields like federated learning, fairness in AI, and kernel methods.

Summary updated

BibTeX
@inproceedings{cui2022synergy,
  author = {Sen Cui and Jingfeng Zhang and Jian Liang and Bo Han and Masashi Sugiyama and Changshui Zhang},
  title = {{Synergy-of-Experts: Collaborate to Improve Adversarial Robustness}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=i6vJiZfmU4},
}
Figure