Two Heads Are Better Than One: Averaging along Fine-Tuning to Improve Targeted Transferability

Hui Zeng, Sanshuai Cui, Biwei Chen, Anjie Peng
12/30/2024
cs.CVcs.AI

No official code found. Best implementation: zengh5/Avg_FT (3 stars, last commit 2026-02-14).

Abstract

With much longer optimization time than that of untargeted attacks notwithstanding, the transferability of targeted attacks is still far from satisfactory. Recent studies reveal that fine-tuning an existing adversarial example (AE) in feature space can efficiently boost its targeted transferability. However, existing fine-tuning schemes only utilize the endpoint and ignore the valuable information in the fine-tuning trajectory. Noting that the vanilla fine-tuning trajectory tends to oscillate around the periphery of a flat region of the loss surface, we propose averaging over the fine-tuning trajectory to pull the crafted AE towards a more centered region. We compare the proposed method with existing fine-tuning schemes by integrating them with state-of-the-art targeted attacks in various attacking scenarios. Experimental results uphold the superiority of the proposed method in boosting targeted transferability. The code is available at github.com/zengh5/Avg_FT.

View on arXivView PDF

Code Implementations(1)

zengh5/Avg_FTCommunity100%

Codes for our paper: Two Heads Are Better Than One: Averaging along Fine-Tuning to Improve Targeted Transferability, to appear @2025ICASSP, India

31PythonSep 14, 20248 months ago

Similar Papers

Cite this paper

@article{zeng2024heads,
  title  = {Two Heads Are Better Than One: Averaging along Fine-Tuning to Improve Targeted Transferability},
  author = {Hui Zeng and Sanshuai Cui and Biwei Chen and Anjie Peng},
  year   = {2024},
  eprint = {2412.20807},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.20807v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.20807.svg)](https://codeofpaper.com/paper/2412.20807)

Discussion