Optimal Zero-Shot Detector for Multi-Armed Attacks
Federica Granese, Marco Romanelli, Pablo Piantanida
TL;DR
This work addresses the challenge of defending a classifier against a malicious, multi-armed attacker when no training data is available for defense. It introduces an information-theoretic minimax framework that optimally aggregates off-the-shelf detectors into a single zero-shot detector, with weights determined by mutual-information optimization. A computable surrogate and a Blahut–Arimoto–style algorithm yield a practical mixture detector whose output is thresholded to decide adversarial inputs. Empirical evaluation on CIFAR-10 and SVHN with a pre-trained ResNet-18 shows substantial and robust improvements over state-of-the-art adversarial detectors in multi-armed attack scenarios, while maintaining modularity and adaptability for future detectors. The approach offers a training-free, scalable defense that can generalize to related security problems such as intrusion and anomaly detection.
Abstract
This paper explores a scenario in which a malicious actor employs a multi-armed attack strategy to manipulate data samples, offering them various avenues to introduce noise into the dataset. Our central objective is to protect the data by detecting any alterations to the input. We approach this defensive strategy with utmost caution, operating in an environment where the defender possesses significantly less information compared to the attacker. Specifically, the defender is unable to utilize any data samples for training a defense model or verifying the integrity of the channel. Instead, the defender relies exclusively on a set of pre-existing detectors readily available "off the shelf". To tackle this challenge, we derive an innovative information-theoretic defense approach that optimally aggregates the decisions made by these detectors, eliminating the need for any training data. We further explore a practical use-case scenario for empirical evaluation, where the attacker possesses a pre-trained classifier and launches well-known adversarial attacks against it. Our experiments highlight the effectiveness of our proposed solution, even in scenarios that deviate from the optimal setup.
