A Hierarchical Assessment of Adversarial Severity

Guillaume Jeanneret, Juan C. Pérez, Pablo Arbelaez · DOI

Introduction

In traditional adversarial robustness research, an attack is considered successful if it flips the predicted label. However, this binary view ignores the reality that some mistakes are significantly more damaging than others. For instance, in a surveillance context, misidentifying "walking" as "running" is a minor error, whereas misidentifying "walking" as "carrying a weapon" represents a severe failure.

This paper introduces the concept of Adversarial Severity, moving beyond top-1 accuracy to measure the semantic distance of a model's errors within a label hierarchy. By quantifying this distance using taxonomic trees, the authors aim to understand how attacks exploit label structures and how models can be trained to fail "gracefully."

Hierarchy-Aware Attacks

To explore the relationship between hierarchy and adversarial vulnerability, the authors propose three novel "hierarchy-aware" attacks that use the label tree to guide perturbations:

  1. Lower Hierarchical Attack (LHA): Targets classes semantically close to the original label (low hierarchical distance).
  2. Greater Hierarchical Attack (GHA): Targets classes semantically far away (high hierarchical distance) to maximize confusion.
  3. Node-based Hierarchical Attack (NHA): Targets parent nodes directly, forcing the model to misclassify an entire branch of the tree.
Comparison of standard untargeted attacks versus proposed hierarchy-aware attacks (LHA, GHA, NHA) at a target height $h$.

The authors observed an Accuracy-Severity Trade-off: attacks that most effectively drop accuracy (like LHA) are often the least severe, while NHA creates "weak but severe" attacks that are harder to execute but result in semantically massive errors.

Curriculum for Hierarchical Adversarial Training (CHAT)

To mitigate the severity of adversarial errors, the paper introduces Curriculum for Hierarchical Adversarial Training (CHAT). This defense mechanism is inspired by human learning, employing a coarse-to-fine strategy.

Coarse-to-Fine Learning and Weight Transfer

CHAT trains the model progressively, starting with broad categories (e.g., Kingdom) and moving down to specific species. A critical component is the Warm-up phase, where weights and biases from a parent node at level $h$ are "pasted" to its children at level $h-1$. This provides a semantically informed initialization that forces the model to learn a representation space where similar classes are physically closer.

The CHAT warm-up phase: transferring weights and biases from a parent node to its children to provide a semantically informed initialization.

This curriculum is integrated with Free Adversarial Training (FAT) to ensure robustness throughout the hierarchy.

Experimental Evaluation

The primary testbed is iNaturalist-H, a large-scale dataset featuring 1,010 leaf classes organized into an 8-level phylogenetic tree. This dataset mimics real-world long-tailed distributions and complex taxonomic relationships.

Key Results

  • Enhanced Robustness: CHAT improved adversarial robustness by an average of 1.85% across various attack scenarios compared to standard adversarial training.
  • Reduced Severity: The defense reduced the "Average Mistake" (semantic distance of errors) by 0.17 on average.
  • Defense against NHA: CHAT was particularly effective against Node-based Hierarchical Attacks, demonstrating that learning the tree structure helps maintain "semantic sanity" under stress.
  • Generalization: CHAT also improved the performance of other defense methods, such as TRADES.

Conclusion and Future Work

By shifting the focus from simple accuracy to adversarial severity, this work provides a more nuanced understanding of model failures. While CHAT effectively reduces error severity, challenges remain regarding the computational cost of multi-stage curriculum training and the sensitivity of the training schedule. Future research could extend these hierarchical concepts to more complex graph-based semantic relationships beyond simple taxonomies.

Summary updated

BibTeX
@inproceedings{jeanneret2021hierarchical,
  author = {Guillaume Jeanneret and Juan C. Pérez and Pablo Arbelaez},
  title = {{A Hierarchical Assessment of Adversarial Severity}},
  booktitle = {ICCVW},
  year = {2021},
  doi = {10.1109/iccvw54120.2021.00013},
}
Figure