Zero-Shot Attribute Attacks on Fine-Grained Recognition Models

Nasim Shafiee, Ehsan ElhamifarECCV 2022

Abstract

Researchers from Northeastern University introduce Compositional Attribute-based Universal Perturbations (CAUP), a novel framework for attacking zero-shot fine-grained recognition models. By decomposing adversarial noise into semantic building blocks (attributes), CAUP generates effective perturbations for unseen classes, significantly outperforming traditional universal attacks.

Introduction

Fine-grained recognition involves distinguishing between highly similar categories, such as specific bird species or car models. Zero-shot learning (ZSL) extends this challenge by requiring models to recognize classes they have never seen during training, relying instead on semantic attributes like "red beak" or "spotted wings."

While adversarial attacks are well-studied for general classification, they face significant hurdles in the ZSL domain:

  1. Coarseness: Standard universal attacks fail to exploit the subtle, attribute-level differences critical for fine-grained models.
  2. The Zero-Shot Gap: Most attacks require training data for every target class, which is unavailable for unseen classes in ZSL.

The CAUP Framework

To address these challenges, the authors propose a compositional model that learns a library of Attribute-based Universal Perturbations (AUPs). Instead of a single noise mask, each AUP corresponds to a specific semantic attribute.

Comparison between standard UAP (left) and the proposed CAUP framework (right).

To attack a specific class, the system calculates Compositional Weights using a class-attribute compatibility function. This function utilizes the class's semantic vector to determine which AUPs to combine. The model is trained using a multi-part loss function:

  • Ranking Loss: Drops the ground-truth class score below competitors.
  • Regularization Loss: Ensures noise remains imperceptible ($L_2$ or $L_\infty$ norms).
  • Utility Loss: A novel component that forces the system to utilize the entire library of AUPs effectively, preventing "lazy-learning" from a few dominant attributes.

Experimental Setup

The CAUP method was evaluated on three standard zero-shot benchmarks: CUB (birds), AWA2 (animals), and SUN (scenes). These datasets vary significantly in their attribute density and class counts, providing a robust test for generalization.

Statistics of the datasets used for evaluation.

Results and Insights

Experimental results demonstrate the potency of attribute-level attacks:

  • Superior Fooling Rates: On the CUB dataset, CAUP achieved a fooling rate of over 90%, compared to just 35% for traditional Universal Adversarial Perturbations (UAP).
  • Efficiency: CAUP outperformed baselines while using only half the perturbation magnitude, making the noise harder for humans to detect.
  • Cross-Architecture Transfer: Attacks generated for one model (e.g., DAZLE) were effective against others (e.g., DCN or CEZSL), indicating a fundamental vulnerability in attribute-based reasoning.
  • Dominant Adversarial Classes: Certain classes act as "sinks"; for instance, many birds were misclassified as "Painted Buntings" due to the heavy leverage of the "red breast" attribute perturbation.

Conclusion

CAUP demonstrates that adversarial noise can be modular and semantic. By targeting the "reasoning" of fine-grained models, attackers can generalize to unseen classes with high efficiency. While the method currently requires access to class-attribute vectors, it highlights a critical vulnerability in zero-shot systems that future defense mechanisms must address.

Summary updated

BibTeX
@inproceedings{shafiee2022zero,
  author = {Nasim Shafiee and Ehsan Elhamifar},
  title = {{Zero-Shot Attribute Attacks on Fine-Grained Recognition Models}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20065-6\_16},
}
Figure