Protecting Model Adaptation from Trojans in the Unlabeled Data

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sheng, Lijun, Liang, Jian, He, Ran, Wang, Zilei, Tan, Tieniu
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913691728871424
author Sheng, Lijun
Liang, Jian
He, Ran
Wang, Zilei
Tan, Tieniu
author_facet Sheng, Lijun
Liang, Jian
He, Ran
Wang, Zilei
Tan, Tieniu
contents Model adaptation tackles the distribution shift problem with a pre-trained model instead of raw data, which has become a popular paradigm due to its great privacy protection. Existing methods always assume adapting to a clean target domain, overlooking the security risks of unlabeled samples. This paper for the first time explores the potential trojan attacks on model adaptation launched by well-designed poisoning target data. Concretely, we provide two trigger patterns with two poisoning strategies for different prior knowledge owned by attackers. These attacks achieve a high success rate while maintaining the normal performance on clean samples in the test stage. To defend against such backdoor injection, we propose a plug-and-play method named DiffAdapt, which can be seamlessly integrated with existing adaptation algorithms. Experiments across commonly used benchmarks and adaptation methods demonstrate the effectiveness of DiffAdapt. We hope this work will shed light on the safety of transfer learning with unlabeled data.
format Preprint
id arxiv_https___arxiv_org_abs_2401_06030
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Protecting Model Adaptation from Trojans in the Unlabeled Data
Sheng, Lijun
Liang, Jian
He, Ran
Wang, Zilei
Tan, Tieniu
Cryptography and Security
Model adaptation tackles the distribution shift problem with a pre-trained model instead of raw data, which has become a popular paradigm due to its great privacy protection. Existing methods always assume adapting to a clean target domain, overlooking the security risks of unlabeled samples. This paper for the first time explores the potential trojan attacks on model adaptation launched by well-designed poisoning target data. Concretely, we provide two trigger patterns with two poisoning strategies for different prior knowledge owned by attackers. These attacks achieve a high success rate while maintaining the normal performance on clean samples in the test stage. To defend against such backdoor injection, we propose a plug-and-play method named DiffAdapt, which can be seamlessly integrated with existing adaptation algorithms. Experiments across commonly used benchmarks and adaptation methods demonstrate the effectiveness of DiffAdapt. We hope this work will shed light on the safety of transfer learning with unlabeled data.
title Protecting Model Adaptation from Trojans in the Unlabeled Data
topic Cryptography and Security
url https://arxiv.org/abs/2401.06030