Abstract
Adversarial training in few-shot learning often incurs a significant trade-off between robustness and clean accuracy. This paper investigates this phenomenon through the lens of Intrinsic Dimension (ID), finding that adversarial regularization collapses feature capacity. We propose Increasing Training Shots MAML (ITS-MAML), a simple yet effective strategy that uses more training samples than required at test time to restore model capacity. Experiments on miniImageNet, CIFAR-FS, and Omniglot demonstrate that ITS-MAML significantly improves clean accuracy while maintaining competitive robustness.
Introduction
Model-Agnostic Meta-Learning (MAML) is a cornerstone of "learning to learn," enabling models to adapt to new tasks with minimal data. However, MAML models are notoriously fragile; tiny adversarial perturbations can drastically degrade performance. Existing "Robust MAML" methods attempt to mitigate this via adversarial training, but this consistently leads to a massive drop in clean accuracy—the model's performance on normal, un-attacked images. This research investigates why this trade-off occurs and proposes a solution that breaks the conventional "matching" rule of meta-learning.
Methods: Restoring Model Capacity
The researchers discovered that adding adversarial loss significantly reduces the Intrinsic Dimension (ID) of clean features, effectively "compressing" the model's feature capacity and making it less expressive. To counter this, they propose ITS-MAML (Increasing Training Shots MAML).
Unlike standard meta-learning, which matches training and testing shots (e.g., 1-shot training for 1-shot testing), ITS-MAML uses a larger number of support samples ($\tilde{K}$) during meta-training than will be available at meta-test time ($K$). By providing more data during training, the method "re-expands" the intrinsic dimension of the feature space that was shrunken by adversarial regularization. The implementation utilizes a bi-level optimization where the inner loop adapts to this larger support set, while the outer loop minimizes a weighted combination of clean and adversarial loss.
Key Results
The proposed ITS-MAML consistently outperformed prior state-of-the-art robust methods (such as ADML, AQ, and R-MAML) across standard benchmarks including miniImageNet, CIFAR-FS, and Omniglot.
As shown in the results, ITS-MAML (trained with 6 shots for a 1-shot test) achieved 43.82% clean accuracy, a significant jump from the ~37% seen in previous robust methods. Crucially, robust accuracy remained competitive at 26.71%, creating a superior Pareto frontier. The gains were architecture-agnostic, holding true for both simple 4-layer CNNs and more complex ResNet-12 models.
Discussion and Insights
This work challenges the "matching principle" in meta-learning, arguing that for robust models, the principle is suboptimal. Adversarial noise acts as a distractor that disturbs representation learning; increasing training shots provides the model with enough "clean signal" to overcome this disturbance.
Furthermore, ITS-MAML proved to be more training-efficient, maintaining high accuracy even when the number of fine-tuning steps in the inner loop was reduced. While the current selection of the optimal training shot count ($\tilde{K}$) remains empirical, the link between Intrinsic Dimension and adversarial robustness provides a new theoretical avenue for improving few-shot model reliability.
Summary updated