Introduction
Multi-Instance Learning (MIL) has emerged as a critical paradigm for weakly supervised learning, particularly in domains where fine-grained labeling is prohibitively expensive, such as medical pathology and video surveillance. In MIL, data is organized into "bags," where a label is assigned to the entire collection based on the presence of specific "trigger" instances. Despite its widespread adoption, the adversarial robustness of MIL models remains largely unexplored. This research investigates the security vulnerabilities of MIL by introducing two novel attack methodologies: Multi-Instance Customized Adversarial Perturbation (MI-CAP) and Multi-Instance Universal Adversarial Perturbation (MI-UAP).
Adversarial Attack Methodologies
The core of this study lies in the development of systematic ways to fool MIL aggregators. Unlike standard image classification, MIL requires perturbations that can account for the variable number of instances within a bag and the specific aggregation logic, such as max-pooling or attention mechanisms.
MI-CAP: Customized Attacks
MI-CAP generates a unique perturbation for every individual bag. By utilizing an iterative gradient-based approach (inspired by DeepFool), it identifies the minimal change required to push a bag's representation across the model's decision boundary. The researchers explored two primary variants:
- Average Mode (ave): Gradients are averaged across all instances in a bag to create a uniform perturbation.
- Attention Mode (att): Perturbations are weighted by the model's own attention scores, specifically targeting the instances the model deems most critical to its prediction.
MI-UAP: Universal Attacks
In contrast, MI-UAP seeks a single, static noise pattern that can be applied to any bag within a dataset to induce misclassification. This represents a more significant real-world threat, as an attacker does not need to compute new noise for every target; they simply apply a pre-calculated "universal" mask.
Experimental Evaluation
The proposed attacks were evaluated across diverse domains, including standard image classification (MNIST, CIFAR10, STL10), Video Anomaly Detection (ShanghaiTech, UCF-Crime), and classic MIL benchmarks (Musk, Elephant, Fox, Tiger).
Key Insights
- Attention as a Vulnerability: While attention mechanisms help models identify key instances, they also provide a roadmap for attackers. Targeting high-attention instances proved highly efficient in flipping predictions.
- Shared Blind Spots: The success of MI-UAP indicates that MIL models develop consistent vulnerabilities across different data samples, suggesting fundamental flaws in how they learn to aggregate instance information.
- Cross-Model Transferability: One of the most striking findings was that perturbations generated for one specific architecture (e.g., ABMIL) often successfully fooled others (e.g., DSMIL or MAMIL), implying that various MIL models converge on similar, fragile decision boundaries.
Results and Impact
The empirical results demonstrate a severe lack of robustness in state-of-the-art MIL models. On the MNIST dataset, the recall of the ABMIL model plummeted from 94.4% to just 22.1% under the MI-CAP attack. In critical applications like video surveillance (UCF-Crime), accuracy fell from nearly 99% to approximately 50%, highlighting the potential for adversarial attacks to bypass automated security systems.
Conclusion
This work exposes the significant security risks inherent in current MIL frameworks. While the authors demonstrate that adversarial training—incorporating a small percentage of perturbed examples during training—can improve robustness, it is likely only a partial solution. Future research must focus on developing "secure-by-design" MIL aggregators that are inherently resistant to small pixel-level perturbations and exploring more localized, targeted attacks that may be even harder to detect in real-world scenarios.
Summary updated