Summary
This work conducts a pilot study showing that PLMs as few-shot learners are highly vulnerable to backdoor attacks while existing defenses are inadequate due to the unique challenges of few-shot scenarios. To address such challenges, the authors advocate MDP, a novel lightweight, pluggable, and effective defense for PLMs as few-shot learners. Specifically, MDP leverages the gap between the masking sensitivity of poisoned and clean samples: with reference to the limited few-shot data as distributional anchors, it compares the representations of given samples under varying masking and identifies poisoned samples as ones with significant variations. The authors show analytically that MDP creates an interesting dilemma for the attacker to choose between attack effectiveness and detection evasiveness. The empirical evaluation using benchmark datasets and representative attacks validates the efficacy of MDP.
Strengths
1. This paper considers an important research problem, the defense against backdoor attacks in the few-shot settings. Previous research demonstrates the vulnerability of few-shot prompt-based learning, but research on the defense side is still lacking. This work fills this gap and proposes a concrete approach for defense.
2. The approach proposed in this work is well-motivated and theoretic-grounded. The basic intuition/observation is: Compared with clean samples, poisoned samples often show higher sensitivity to random masking. This motivation is reasonable and has been effectively utilized in the method development. In addition, theoretical justification for the effectiveness of MDP has been provided.
3. Comprehensive experiments have been conducted to prove the effectiveness of the proposed approach. MDP achieves significantly better results compared to other baseline methods regarding the FAR metric. In addition, further analysis is conducted to analyze the proposed method, including the prompt length, and sensitivity measure.
Weaknesses
Please correct me if I have some misunderstanding.
1. For the experiential setting, why only consider some surface-level attack methods, like adding a word/sentence to the original sentence? Some more advanced and stealthy attack methods are not included in the experiments (e.g., syntactic attack, styleAttack).
2. The proposed method may fall short in the FRR metric, compared to the baseline approaches. Could you provide potential explanations for this?
3. Missing citations: [1,2]
[1] Triggerless backdoor attack for NLP tasks with clean labels. Leilei Gan, Jiwei Li, Tianwei Zhang, Xiaoya Li, Yuxian Meng, Fei Wu, Yi Yang, Shangwei Guo, Chun Fan. NAACL 2022
[2] A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks. Ganqu Cui, Lifan Yuan, Bingxiang He, Yangyi Chen, Zhiyuan Liu, Maosong Sun. NeurIPS 2022.
Questions
Can MDP be adapted to the poisoned pre-trained model setting, where the models are poisoned during the pretraining?
Rating
7: Accept: Technically solid paper, with high impact on at least one sub-area, or moderate-to-high impact on more than one areas, with good-to-excellent evaluation, resources, reproducibility, and no unaddressed ethical considerations.
Confidence
4: You are confident in your assessment, but not absolutely certain. It is unlikely, but not impossible, that you did not understand some parts of the submission or that you are unfamiliar with some pieces of related work.
Limitations
The limitations of the proposed approach have been extensively discussed in the paper.