BADTV: Unveiling Backdoor Threats in Third-Party Task Vectors

Chia-Yi Hsu, Yu-Lin Tsai, Yu Zhe, Yan-Lun Chen, Chih-Hsun Lin +4 more
1/4/2025
cs.LGcs.CR

No confident code implementation found for this paper.

Abstract

Task arithmetic in large-scale pre-trained models enables agile adaptation to diverse downstream tasks without extensive retraining. By leveraging task vectors (TVs), users can perform modular updates through simple arithmetic operations like addition and subtraction. Yet, this flexibility presents new security challenges. In this paper, we investigate how TVs are vulnerable to backdoor attacks, revealing how malicious actors can exploit them to compromise model integrity. By creating composite backdoors that are designed asymmetrically, we introduce BadTV, a backdoor attack specifically crafted to remain effective simultaneously under task learning, forgetting, and analogy operations. Extensive experiments show that BadTV achieves near-perfect attack success rates across diverse scenarios, posing a serious threat to models relying on task arithmetic. We also evaluate current defenses, finding they fail to detect or mitigate BadTV. Our results highlight the urgent need for robust countermeasures to secure TVs in real-world deployments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hsu2025badtv,
  title  = {BADTV: Unveiling Backdoor Threats in Third-Party Task Vectors},
  author = {Chia-Yi Hsu and Yu-Lin Tsai and Yu Zhe and Yan-Lun Chen and Chih-Hsun Lin and Chia-Mu Yu and Yang Zhang and Chun-Ying Huang and Jun Sakuma},
  year   = {2025},
  eprint = {2501.02373},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.02373v2}
}

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/2501.02373.svg)](https://codeofpaper.com/paper/2501.02373)

Discussion