From Internal Diagnosis to External Auditing: A VLM-Driven Paradigm for Online Test-Time Backdoor Defense
About
Deep Neural Networks remain inherently vulnerable to backdoor attacks. Traditional test-time defenses largely operate under the paradigm of internal diagnosis methods like model repairing or input robustness, yet these approaches are often fragile under advanced attacks as they remain entangled with the victim model's corrupted parameters. We propose a paradigm shift from Internal Diagnosis to External Semantic Auditing, arguing that effective defense requires decoupling safety from the victim model via an independent, semantically grounded auditor. To this end, we present a framework harnessing Universal Vision-Language Models (VLMs) as evolving semantic gatekeepers. We introduce PRISM (Prototype Refinement & Inspection via Statistical Monitoring), which overcomes the domain gap of general VLMs through two key mechanisms: a Hybrid VLM Teacher that dynamically refines visual prototypes online, and an Adaptive Router powered by statistical margin monitoring to calibrate gating thresholds in real-time. Extensive evaluation across 17 datasets and 11 attack types demonstrates that PRISM achieves state-of-the-art performance, suppressing Attack Success Rate to <1% on CIFAR-10 while improving clean accuracy, establishing a new standard for model-agnostic, externalized security.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image Classification | Flowers102 | -- | 478 | |
| Backdoor Defense | CIFAR10 (test) | ASR0.00e+0 | 322 | |
| Image Classification | Food101 | -- | 309 | |
| Backdoor Defense | CIFAR-10 | Attack Success Rate1.56e+3 | 78 | |
| Image Classification | FER 2013 | -- | 46 | |
| Backdoor Defense | GTSRB 1% poison rate (test) | Clean Accuracy95.7 | 27 | |
| Backdoor Defense | LC25000 (test) | Clean Accuracy95.8 | 7 | |
| Image Classification | Country211 | ∆CA5.4 | 3 | |
| Image Classification | GTSRB | Delta CA-0.7 | 3 | |
| Image Classification | DTD | Delta CA-0.3 | 3 |