Abstract
This paper examines the robustness of deployed few-shot meta-learning systems when they are fed an imperceptibly perturbed few-shot dataset. We attack amortized meta-learners, which allows us to craft colluding sets of inputs that are tailored to fool the system’s learning algorithm when used as training data. Jointly crafted adversarial inputs might be expected to synergistically manipulate a classifier, allowing for very strong data-poisoning attacks that would be hard to detect. We show that in a white box setting, these attacks are very successful and can cause the target model’s predictions to become worse than chance. However, in opposition to the well-known transferability of adversarial examples in general, the colluding sets do not transfer well to different classifiers. We explore two hypotheses to explain this: ’overfitting’ by the attack, and mismatch between the model on which the attack is generated and that to which the attack is transferred. Regardless of the mitigation strategies suggested by these hypotheses, the colluding inputs transfer no better than adversarial inputs that are generated independently in the usual way.
Introduction
Standard deep learning requires massive datasets, but Few-Shot Learning (FSL) allows models to adapt to new tasks using just a handful of examples, known as the "support set." Because these models rely on so little data to adapt their internal representations, they are potentially highly sensitive to even minor changes in that data. This research shifts the focus from traditional evasion attacks (fooling a fixed model at test time) to poisoning attacks in the context of meta-learning. The core question is whether an attacker can craft a set of "colluding" support images that, when processed by a meta-learner's adaptation mechanism, cause it to produce a broken classifier for all future queries.
Attack Methodologies
The study introduces and compares two primary attack strategies using Simple CNAPS as the target architecture:
- Adversarial Support Poisoning (ASP): A sophisticated approach that treats the entire support set as a group of variables to be optimized. By backpropagating through the meta-learner’s own adaptation process, ASP jointly crafts perturbations across the support set to minimize accuracy on a query set. It is designed to exploit the specific learning path of the model.
- The Swap Attack (Baseline): A simpler approach where standard adversarial examples are generated for a query set (evasion) and then simply "swapped" into the support set. This attack does not explicitly account for the adaptation process.
White-Box Lethality
In a white-box scenario, where the attacker has full knowledge of the target model, ASP is devastating. Across the diverse META-DATASET benchmark, ASP consistently reduces model accuracy to near-zero levels. For instance, on the ILSVRC (ImageNet) dataset, a clean model with 52.2% accuracy can be reduced to just 1.5% accuracy under a specific ASP attack.
As shown in Figure 1, while the Swap attack is effective, the joint optimization of ASP (both General and Specific variants) provides a significantly higher relative decrease in accuracy across almost all visual domains, from natural images (Birds, Flowers) to symbolic ones (MNIST, Quick Draw).
The Transferability Wall
Despite its white-box strength, the sophisticated "colluding" perturbations of ASP do not transfer well to different models. If the target model has a different architecture or feature extractor than the surrogate model used to generate the attack, effectiveness drops sharply. This phenomenon, termed the "transferability wall," suggests that ASP overfits to the specific adaptation path of the surrogate model.
In Figure 3, Scenario C represents a transfer to a model with a different feature extractor. Here, the gap between the sophisticated ASP and the simple Swap attack closes significantly. On datasets like CIFAR-100, the transfer performance of ASP (28.9% accuracy) is statistically indistinguishable from the much cheaper Swap attack (29.9% accuracy).
Conclusion
The research reveals that while joint optimization can create powerful poisoning attacks in white-box settings, the simple Swap Attack remains a surprisingly strong and efficient baseline for attacking unknown models. The lack of transferability in coordinated poisoning attacks suggests that current meta-learners may be inadvertently protected by their specific adaptation mechanisms, though they remain vulnerable to more general adversarial perturbations. Future work should focus on developing universal poisoning attacks that target underlying feature representations rather than specific adaptation parameters.
Summary updated