Abstract
Model-agnostic meta-learning (MAML) effectively meta-learns an initialization of model parameters for few-shot learning where all learning problems share the same format of model parameters—congruous meta-learning. However, there are few-shot learning scenarios, such as adversarial attack design, where different yet related few-shot learning problems may not share any optimizee variables, necessitating incongruous meta-learning. We extend MAML to this setting by introducing a Learned Fine-Tuner (LFT) to replace hand-designed optimizers for task-specific fine-tuning. MAML meta-learns the parameters of this LFT across incongruous tasks leveraging the learning-to-optimize (L2O) framework. We demonstrate that LFT enables meta-learning across incongruous problems and works efficiently with first-order and derivative-free learning. Empirically, LFT is shown to be highly effective in generating universal adversarial attacks across different image sources and sizes in the few-shot regime.
Introduction
Adversarial attacks typically involve finding a specific noise pattern to fool a neural network on a single image. Universal Adversarial Perturbations (UAPs) aim for a single noise pattern that can fool a model across an entire set of images. However, existing UAP methods face significant hurdles in generalization to unseen images, computational efficiency when restarting optimization for new tasks, and source-agnosticism (the ability to handle varying image resolutions).
This paper reframes UAP generation as a few-shot learning problem. By viewing UAP generation through this lens, the authors leverage meta-learning to "warm-start" the process, drastically reducing the data and time needed for a successful attack.
Methodology: The Learned Fine-Tuner (LFT)
Standard meta-learning frameworks like MAML require all tasks to be "congruous," meaning they must share the same parameter dimensions. To handle "incongruous" tasks—such as attacking $28 \times 28$ MNIST images alongside $32 \times 32$ CIFAR-10 images—the authors integrate Learning-to-Optimize (L2O) into the MAML framework.
Key Technical Features
- Coordinate-wise LSTM: The LFT uses an RNN (specifically an LSTM) that predicts parameter updates based on current gradients. By operating on each pixel independently while sharing weights, the optimizer becomes dimension-invariant.
- Bilevel Optimization: The "inner loop" uses the LFT to generate a UAP on a small support set. The "outer loop" updates the LFT's parameters based on performance on a separate query set of unseen images, preventing overfitting.
- Zeroth-Order (ZO) Support: The framework can utilize gradient estimates, making it effective in black-box scenarios where the victim model's internal architecture is unknown.
Experimental Results
The researchers evaluated LFT using MNIST and CIFAR-10 datasets against victim models including LeNet-5 and VGG-11. They specifically tested cross-source generalization by training the LFT on one dataset and testing it on another.
Performance Highlights
- Higher Success: LFT achieved up to 50% higher Attack Success Rate (ASR) on unseen images compared to standard baselines like PGD.
- Faster Convergence: The method reached 100% ASR approximately 37% faster than vanilla L2O or MAML frameworks.
- Cross-Source Generalization: An LFT trained only on MNIST outperformed non-meta-learning baselines when attacking CIFAR-10 images on a VGG-11 model—a scenario entirely absent from its training phase.
- Stealthiness: Generated UAPs often exhibited smaller $\ell_1$ norms (up to 10% smaller), making the attacks less perceptible to the human eye.
Conclusion
The Learned Fine-Tuner (LFT) successfully bridges the gap between MAML and L2O, enabling meta-learning for incongruous tasks. While currently focused on image classification, the ability to generalize across different input dimensions suggests broad potential for other domains. Future work may explore more complex incongruous relationships beyond varying input dimensions, such as cross-domain adaptation between text and image data.
Summary updated