paper-with-me

홈 › Papers

Securing Multi-turn Conversational Language Models From Distributed Backdoor Triggers

2024-07-04 · Terry Tong, Jiashu Xu, Qin Liu, Muhao Chen

Large language models (LLMs) have acquired the ability to handle longer context lengths and understand nuances in text, expanding their dialogue capabilities beyond a single utterance. A popular user-facing application of LLMs is the multi-turn chat setting. Though longer chat memory and better understanding may seemingly benefit users, our paper exposes a vulnerability that leverages the multi-turn feature and strong learning ability of LLMs to harm the end-user: the backdoor. We demonstrate that LLMs can capture the combinational backdoor representation. Only upon presentation of triggers together does the backdoor activate. We also verify empirically that this representation is invariant to the position of the trigger utterance. Subsequently, inserting a single extra token into two utterances of 5%of the data can cause over 99% Attack Success Rate (ASR). Our results with 3 triggers demonstrate that this framework is generalizable, compatible with any trigger in an adversary's toolbox in a plug-and-play manner. Defending the backdoor can be challenging in the chat setting because of the large input and output space. Our analysis indicates that the distributed backdoor exacerbates the current challenges by polynomially increasing the dimension of the attacked input space. Canonical textual defenses like ONION and BKI leverage auxiliary model forward passes over individual tokens, scaling exponentially with the input sequence length and struggling to maintain computational feasibility. To this end, we propose a decoding time defense - decayed contrastive decoding - that scales linearly with assistant response sequence length and reduces the backdoor to as low as 0.35%.

📄 PDF Abstract BibTeX arXiv:2407.04151

Code (1)

terrytong-git/poisonshare 공식 구현 pytorch

Tasks

Data Poisoning

Similar Papers 제목 키워드 기반

Temporal Context Awareness: A Defense Framework Against Multi-turn Manipulation Attacks on Large Language Models

2025-03-18 · Prashant Kulkarni, Assaf Namer

Large Language Models (LLMs) are increasingly vulnerable to sophisticated multi-turn manipulation attacks, where adversaries strategically build context through seemingly benign conversational turns to circumvent safety …

Pay More Attention to History: A Context Modelling Strategy for Conversational Text-to-SQL

2021-12-16 · Yuntao Li, Hanchu Zhang, Yutian Li, Sirui Wang 외

Conversational text-to-SQL aims at converting multi-turn natural language queries into their corresponding SQL (Structured Query Language) representations. One of the most intractable problems of conversational text-to-S…

Natural Language QueriesSemantic ParsingText to SQLText-To-SQL

Conversational Fashion Image Retrieval via Multiturn Natural Language Feedback

2021-06-08 · Yifei Yuan, Wai Lam

We study the task of conversational fashion image retrieval via multiturn natural language feedback. Most previous studies are based on single-turn settings. Existing models on multiturn conversational fashion image retr…

AttributeImage RetrievalRetrieval

A Conversational Framework for Human-Robot Collaborative Manipulation with Distributed Generative AI models

2026-06-04 · Arash Ghasemzadeh Kakroudi, Roel Pieters arxiv

This paper presents a distributed conversational framework for human-robot collaborative manipulation that integrates local language and vision-language models (VLMs) with a Robot Operating System 2 (ROS 2)-based executi…

Visual Grounding

MT-OSC: Path for LLMs that Get Lost in Multi-Turn Conversation

2026-04-09 · Jyotika Singh, Fang Tu, Miguel Ballesteros, Weiyi Sun 외 arxiv

Large language models (LLMs) suffer significant performance degradation when user instructions and context are distributed over multiple conversational turns, yet multi-turn (MT) interactions dominate chat interfaces. Th…