Group-based Robustness: A General Framework for Customized Robustness in the Real World

Weiran Lin, Keane Lucas, Neo Eyal, Lujo Bauer, Michael K. Reiter, Mahmood Sharif

Introduction

Traditional evaluations of adversarial robustness in machine learning typically focus on two extremes: untargeted attacks, where the goal is any misclassification, and targeted attacks, where the goal is a specific incorrect label. However, real-world security threats often fall between these categories. This paper introduces Group-based Robustness (GBR), a framework designed to evaluate and enhance model resistance against "set-to-set" transitions, where an adversary seeks to force a classification from a set of source classes into a set of malicious target classes.

The Need for Group-based Robustness

In many practical applications, not all misclassifications are equally harmful. Consider a self-driving car's perception system. A "60 km/h" speed limit sign misclassified as an "80 km/h" sign is a minor error. However, if that same sign is misclassified as a "Stop" or "No Entry" sign, the resulting sudden braking could cause a collision. Conversely, an attacker might want to fool the system into misclassifying a "Stop" sign as any speed limit sign to prevent the vehicle from stopping.

Traffic sign classification represents a critical real-world scenario for group-based robustness.

Existing metrics fail to capture these nuanced threats. A model might appear robust under standard targeted tests but remain highly vulnerable to coordinated group-based transitions. The authors demonstrate that GBR is a distinct property, showing weak correlation (Pearson coefficients between -0.4 and 0.4) with standard accuracy or untargeted robustness.

Methodology: Evaluating and Defending Groups

To address the computational challenges of evaluating set-to-set transitions, the authors propose two novel loss functions that optimize for an entire target group simultaneously, rather than brute-forcing individual targeted attacks:

  • MDMAX: This function focuses on the target class currently closest to a successful misclassification, pushing the input toward the most vulnerable point in the target set.
  • MDMUL: This uses a logarithmic product to ensure that at least one class in the target group achieves a higher logit than all non-target classes.

Beyond evaluation, the paper introduces a Customized Defense strategy based on a "not-dangerously-wrong" philosophy. Instead of training the model to be perfectly accurate against all noise—which often degrades performance on clean data—this approach specifically penalizes transitions into the forbidden target group. This allows the model to maintain high benign accuracy while becoming significantly harder to exploit for specific malicious goals.

Key Results and Insights

The framework was rigorously tested across diverse domains, including traffic sign recognition (GTSRB), facial recognition (PubFig), large-scale image classification (ImageNet), and sentiment analysis (SST-5). The results highlight the efficiency and effectiveness of the GBR approach:

  • Efficiency: The proposed attack strategies are up to 99% faster than brute-force methods, as they avoid redundant computations for "hard" target classes within a group.
  • Attack Success: The new loss functions were up to 15x more successful at finding adversarial examples compared to picking a single target class at random.
  • Defense Gains: The specialized adversarial training increased group-based robustness by up to 3.52x compared to state-of-the-art defenses, without sacrificing standard accuracy.

Conclusion and Future Directions

Group-based Robustness provides a more realistic lens for assessing model security in the real world. By acknowledging that certain errors are more catastrophic than others, practitioners can build systems that are robust where it matters most. Future work remains to be done in exploring hyperparameter sensitivity in the defense mechanisms and investigating potential "robustness disparities" between different class groups, which may have implications for algorithmic fairness.

Summary updated

BibTeX
@inproceedings{lin2024group,
  author = {Weiran Lin and Keane Lucas and Neo Eyal and Lujo Bauer and Michael K. Reiter and Mahmood Sharif},
  title = {{Group-based Robustness: A General Framework for Customized Robustness in the Real World}},
  booktitle = {NDSS},
  year = {2024},
}
Figure