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

Superclass Adversarial Attack

Soichiro Kumano, Hiroshi Kera, Toshihiko YamasakiarXiv 2022 · DOI

Introduction: Beyond "Lazy" Adversarial Errors

Standard adversarial attacks are often "lazy." They typically cause a model to mistake one fine-grained class for another within the same semantic group—for instance, misidentifying a Persian cat as a Siamese cat. While technically a misclassification, the real-world consequences of such "fine-class" errors are often negligible.

However, not all errors are equal. If an autonomous vehicle mistakes a cat for a car or a speed sign, the result could be catastrophic. This paper introduces the Superclass Adversarial Attack (SAA), a framework designed to force models into semantically egregious errors by crossing superclass boundaries.

Conceptual comparison between standard adversarial attacks and superclass adversarial attacks.

The Superclass Adversarial Attack (SAA) Framework

The authors define SAAs as attacks that generate adversarial examples misclassified into a completely different superclass. They categorize these attacks into two primary methodologies:

1. Iterative SAA

Iterative methods repeat targeted attacks on individual fine classes until the superclass boundary is breached.

  • Sort-based Innovation: Previous "sequential" methods were slow. This paper proposes a Sort-based SAA that targets fine classes in descending order of their initial logit values. By attacking classes that are already "close" to the prediction threshold, the process is significantly accelerated without compromising success rates.

2. Non-Iterative SAA

Non-iterative methods use a single, unified attack designed to suppress the entire original superclass simultaneously.

  • Loss Function Optimization: The researchers evaluated 15 loss functions across three strategies: Max (reducing the top class), Sum (reducing total superclass probability), and LogSumExp (LSE). They found that standard Cross-Entropy (CE) often fails due to "gradient vanishing" when trying to suppress multiple classes at once.
  • LSE as the "Goldilocks" Loss: LSE emerged as the most effective strategy, balancing the focus on high-probability classes with the distribution of the entire superclass.

Experimental Setup

The methods were benchmarked on two standard computer vision datasets organized into superclasses based on visual similarity:

  • CIFAR-100: 20 superclasses, each with 5 fine classes.
  • ImageNet (ILSVRC2012): 5,000 images across 558 superclasses.

Key Results and Insights

The study confirms that standard non-targeted attacks (like PGD with CE) are ineffective for testing high-stakes semantic robustness because they naturally take the path of least resistance, staying within the superclass.

Performance comparison of standard attacks versus SAA methods on CIFAR-100 and ImageNet.

As shown in the results, standard attacks left models with significant superclass accuracy (e.g., ~26.5% on CIFAR-100). In contrast, the proposed SAAs successfully drove this robust accuracy to 0% in many cases. Furthermore, the Sort-based Iterative SAA provided a notable speedup over existing sequential methods, making it viable for large-scale datasets like ImageNet.

Conclusion and Future Directions

The Superclass Adversarial Attack provides a more rigorous lens for evaluating model safety in high-stakes environments. While iterative methods are currently more powerful, non-iterative LSE-based attacks offer a fast alternative. Future research should focus on defining superclasses based on operational risk (e.g., "pedestrians" vs. "background") and utilizing these attacks in adversarial training to build semantically robust models.

Summary updated

BibTeX
@misc{kumano2022superclass,
  author = {Soichiro Kumano and Hiroshi Kera and Toshihiko Yamasaki},
  title = {{Superclass Adversarial Attack}},
  year = {2022},
  eprint = {2205.14629},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2205.14629},
}
Figure