Skip to content

Protecting Multi-Turn Dialogue Language Models from Distributed Backdoor Trigger AttacksSecuring Multi-turn Conversational Language Models From Distributed Backdoor Triggers

arXiv· arXiv:2407.04151· Terry Tong, Jiashu Xu, Qin Liu, Muhao Chen·Indexed by this site · 24 days ago· Originally publishedDefenses
AI summary

The researchers reveal the distributed backdoor risk in multi-turn dialogue large language models, and propose a decoding-time defense, decayed contrastive decoding, which can reduce the backdoor attack success rate to as low as 0.35%. The paper shows that large language models can capture compositional backdoor representations, activating only when multiple triggers appear simultaneously, and independent of the position of the trigger sentences; inserting a single extra token into two sentences in 5% of the data can cause an attack success rate (ASR) exceeding 99%. Experiments with 3 triggers show that the framework generalizes and can be plug-and-play compatible with any trigger in the attacker's toolbox. Because distributed backdoors make the dimension of the attacked input space grow polynomially, text defenses such as ONION and BKI scale exponentially with input sequence length and are difficult to keep computationally feasible, whereas the computation of this defense scales linearly with the length of the assistant response sequence.

Read originalarxiv.org