Textual backdoor attacks pose significant security threats. Current detection approaches, typically relying on intermediate feature representation or reconstructing potential triggers, are task-specific and less effective beyond sentence classification, struggling with tasks like question answering and named entity recognition. We introduce TABDet (Task-Agnostic Backdoor Detector), a pioneering task-agnostic method for backdoor detection. TABDet leverages final layer logits combined with an efficient pooling technique, enabling unified logit representation across three prominent NLP tasks. TABDet can jointly learn from diverse task-specific models, demonstrating superior detection efficacy over traditional task-specific methods.
Cite
@article{arxiv.2403.17155,
title = {Task-Agnostic Detector for Insertion-Based Backdoor Attacks},
author = {Weimin Lyu and Xiao Lin and Songzhu Zheng and Lu Pang and Haibin Ling and Susmit Jha and Chao Chen},
journal= {arXiv preprint arXiv:2403.17155},
year = {2024}
}