Abstract
Traditional adversarial transfer attacks rely on ensembles of multiple distinct neural network architectures to craft perturbations that generalize across different target models. However, training such ensembles is computationally expensive. This paper proposes a novel approach that leverages the training trajectory of a single model. By treating checkpoints from different training stages as an ensemble, the method captures "temporal diversity" that mimics structural diversity. Experimental results demonstrate that this approach often outperforms traditional multi-model ensembles while requiring significantly fewer computational resources.
Introduction
Adversarial attacks are most potent when they exhibit high transferability—the ability of a perturbation crafted against a known surrogate model to deceive an unknown target model. To achieve this, researchers typically employ ensemble-based attacks, averaging gradients across diverse architectures like ResNets and Vision Transformers. The underlying assumption is that features shared across diverse models are task-intrinsic and thus more likely to transfer.
While effective, the computational cost of training multiple architectures from scratch is a significant barrier. This research investigates whether the evolution of a single model during training can provide sufficient diversity to replicate the benefits of a multi-model ensemble.
Methodology: From Multi-Model to Checkpoint Ensembles
The core innovation lies in replacing a fleet of different models with a sequence of checkpoints from a single model's training history.
The proposed method involves three main steps:
- Accuracy Gap Indicator: The authors define an "accuracy gap" ($acc^G$) as the difference between training and validation accuracy. A small gap indicates the model is learning generalizable, task-intrinsic features, while a large gap suggests overfitting to architecture-specific noise.
- Importance-Based Selection: Checkpoints are filtered based on validation accuracy and the accuracy gap. Those that have not yet learned the task or have overfitted significantly are discarded. The remaining checkpoints are assigned weights based on their accuracy gaps, prioritizing those with the highest generalizability.
- Iterative Attack: These weighted checkpoints are used in a standard iterative gradient-based attack (e.g., I-FGSM) to generate the final adversarial example.
Key Insights: Temporal Diversity and the Overfitting Penalty
A critical finding of this work is that a model's training history captures a spectrum of features. Early-to-mid training checkpoints often capture universal task characteristics that transfer better than the final, most accurate version of the model, which may have begun to overfit on task-irrelevant details.
As shown in the figure above, the Average Attack Success Rate (ASR) does not monotonically increase with training. Instead, it peaks and then declines as the model overfits, highlighting the importance of selecting "pre-overfitting" checkpoints for crafting transferable attacks.
Experimental Results
The researchers evaluated their method on ImageNet and CIFAR-10 benchmarks against a variety of target architectures, including CNNs and Vision Transformers (ViTs).
- Superior Performance: On ImageNet, using only ResNet-18 checkpoints, the method achieved an average ASR of 89.1% against CNN targets, vastly outperforming the 52.4% achieved by traditional multi-model ensembles.
- Cross-Architecture Transfer: By combining checkpoints from just one CNN and one ViT, the attack reached a 91.1% ASR on CNNs and 61.8% on ViTs, surpassing ensembles of four distinct models.
- Data Efficiency: The method is remarkably robust to data scarcity. On CIFAR-10, using only 10% of the training data (5,000 images) to train the surrogate model still yielded a 98.4% average ASR.
Conclusion
This research demonstrates that the temporal diversity inherent in a single model's training trajectory is a powerful and efficient substitute for structural diversity in adversarial attacks. By intelligently selecting and weighting checkpoints, attackers can generate highly transferable perturbations at a fraction of the traditional computational cost. Future work may explore the applicability of this checkpoint-ensemble logic to other domains such as natural language processing and object detection.
Summary updated