Hierarchically Robust Zero-shot Vision-language Models
Junhao Dong 1,2, Yifei Zhang 3, Hao Zhu 4, Yew-Soon Ong 1,2, Piotr Koniusz 4,5
Published on arXiv
2604.18867
Input Manipulation Attack
OWASP ML Top 10 — ML01
Key Finding
Improves robust accuracy on superclasses and reduces transfer attack success rates compared to TeCoA, PMG, and FARE baselines
Hierarchical Robust Fine-tuning
Novel technique introduced
Vision-Language Models (VLMs) can perform zero-shot classification but are susceptible to adversarial attacks. While robust fine-tuning improves their robustness, existing approaches align fixed text embeddings with an image embedding, sacrificing natural performance and robustness. A robustness degradation also occurs when a model faces adversarial attacks targeting superclasses (parent classes, e.g., mammal) in addition to their base (leaf) classes (e.g., cat). Thus, to enhance adversarial robustness and leverage the inherent hierarchical properties of class space, we propose a novel adversarial fine-tuning framework based on hierarchical embeddings and several levels of adversarially robust alignment of image-text modalities. Additional mechanisms place visual embeddings at the desired depth of hierarchy, and we provide a theoretical connection between the depth of embedding in the hierarchy and the maximum viable margin size. Our model naturally realizes several margin sizes, boosting generalization of adversaries for robustification. As various trees with different parent labels can share the same leaf labels, we also consider aligning over multiple trees to boost semantic variety. Experiments across several datasets are performed.
Key Contributions
- Novel hierarchical adversarial fine-tuning framework that aligns image-text modalities across multiple levels of class hierarchy (base classes and superclasses)
- Theoretical connection between embedding depth in hyperbolic hierarchy and maximum viable margin size for adversarial robustness
- Multi-tree alignment approach to boost semantic variety and robustness generalization
🛡️ Threat Analysis
Paper addresses adversarial examples that cause misclassification of VLMs at inference time and proposes adversarial training as a defense across hierarchical class levels.