Adversarial Meta-Learning

Chengxiang Yin, Jian Tang, Zhiyuan Xu, Yanzhi WangarXiv 2018

Abstract

Few-shot learning models, while capable of rapid adaptation, are highly vulnerable to adversarial attacks. This paper introduces Adversarial Meta-Learning (ADML), a novel framework that enhances model robustness by finding a meta-initialization favorable to both clean and adversarial data distributions. Through a unique "arm-wrestling" optimization strategy, ADML significantly outperforms standard meta-learning approaches like MAML in adversarial environments while maintaining competitive performance on clean data.

Introduction

Meta-learning, or "learning to learn," has revolutionized few-shot learning by enabling models to adapt to new tasks with minimal examples. However, these models possess a critical vulnerability: they are easily deceived by adversarial samples—inputs containing imperceptible perturbations designed to trigger misclassification. While adversarial defense is well-established in standard deep learning, it remains under-explored in the few-shot regime. This work addresses the fragility of popular algorithms like MAML and Relation Networks, proposing ADML as a robust alternative that integrates adversarial awareness directly into the meta-optimization process.

Methodology

The core innovation of ADML is its dual-path inner-loop optimization and cross-task meta-update, described as an "arm-wrestling" mechanism. For each task, the algorithm computes two separate updates from the global initialization $\theta$: one based on clean samples ($\theta'_{c}$) and another based on adversarial samples ($\theta'_{adv}$).

Conceptual illustration of the ADML optimization strategy, showing the convergence toward a subspace favorable for both clean and adversarial samples.

In the meta-update phase, ADML performs cross-optimization: the model updated on clean data is evaluated against adversarial samples, and the model updated on adversarial data is evaluated against clean samples. This antagonistic approach forces the meta-initialization to converge toward a parameter subspace that is inherently robust, facilitating quick adaptation to both clean and corrupted distributions.

Experimental Setup

ADML was evaluated on two standard benchmarks: MiniImageNet and CIFAR100. The experiments focused on 5-way classification in both 1-shot and 5-shot scenarios. Adversarial samples were generated using the Fast Gradient Sign Method (FGSM), a standard benchmark for evaluating model robustness. The performance of ADML was compared against standard MAML and "MAML-AD," a baseline that simply combines clean and adversarial data during training.

Results and Discussion

Experimental results demonstrate that ADML provides superior robustness compared to existing methods. In a 5-shot MiniImageNet task, MAML’s accuracy plummeted from 61.45% on clean data to 36.65% under adversarial attack. In contrast, ADML remained remarkably stable, achieving 57.03% accuracy under the same attack conditions.

Average loss and accuracy over gradient update steps for 5-way 1-shot learning on MiniImageNet. ADML (red) consistently achieves lower loss and higher accuracy in adversarial scenarios compared to MAML (blue) and MAML-AD (green).

Key insights from the evaluation include:

  • Structural Optimization vs. Data Augmentation: The poor performance of MAML-AD suggests that simple data mixing is insufficient for robustness in meta-learning; a fundamental change to the optimization objective is required.
  • Stability Across Perturbations: ADML maintains consistent performance even as the intensity of adversarial noise ($\epsilon$) increases, whereas competing models experience rapid performance collapse.
  • Convergence Efficiency: ADML demonstrates faster and more stable convergence during the task-specific adaptation phase compared to MAML.

Conclusion and Future Work

ADML effectively bridges the gap between few-shot learning and adversarial robustness. By finding a robust meta-initialization, it ensures that models can adapt reliably even in the presence of malicious perturbations. While the current study focuses on image classification and FGSM attacks, future work will explore ADML's efficacy against iterative attacks like PGD and its application to other domains such as Reinforcement Learning and Natural Language Processing.

Summary updated

BibTeX
@misc{yin2018adversarial,
  author = {Chengxiang Yin and Jian Tang and Zhiyuan Xu and Yanzhi Wang},
  title = {{Adversarial Meta-Learning}},
  year = {2018},
  eprint = {1806.03316},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.03316},
}
Figure