Manuscript Offprint

arXiv:2611.06969

Interactive Backdoor Attacks in LLM-Based Proactive Dialogue Systems

Zhiyang Xia, Yuming Shang, Xi Zhang

Zhiyang Xia Yuming Shang Xi Zhang

Abstract—LLM-based proactive dialogue systems provide goal-directed support through sustained interaction. Fine-tuning their underlying models on externally supplied dialogue data introduces backdoor risks. Existing LLM backdoor studies primarily focus on eliciting an attacker-specified response upon trigger activation. We present an interactive backdoor attack framework that uses training-data poisoning to steer post-trigger, multi-turn interactions toward an attacker-specified objective. Poisoned fine-tuning dialogues implant a trigger-conditioned guidance-policy bias that ordinary user utterances can activate, without deployment-time prompt modification or further attacker intervention. Specifically, we instantiate three complementary attacks under progressively expanded post-trigger interaction settings: (1) Direct Attack, which targets an immediate response deviation upon trigger activation, retaining the conventional trigger-response setting; (2) Constrained Progressive Attack, which progressively advances the attack objective along a predefined multi-turn trajectory; and (3) Unconstrained Progressive Attack, which extends target-directed steering to open-ended interactions with varied user continuations. Using psychological counseling as a representative setting, experiments on two LLM backbones and two dialogue datasets show that all three attacks effectively achieve their objectives under their respective interaction settings while largely preserving normal utility. Separate defense evaluations show that the tested training-data filters retain nearly all poisoned dialogues, while three post-admission baselines leave substantial residual attack-specific success.

Index Terms—LLM-Based Proactive Dialogue Systems, Data Supply Chains, Interactive Backdoor Attacks

1. Introduction

LLM-based proactive dialogue systems help users work toward a goal over multiple exchanges [1]. Rather than answer each query in isolation, they choose conversational actions that advance the task and revise those choices in response to user feedback [2]. A system may need to clarify an unresolved concern before a recommendation is useful, or reconsider earlier advice when new information emerges. These capabilities make proactive dialogue useful in psychological counseling, interactive tutoring, conversational recommendation, and negotiation, where progress depends on sustained guidance and adaptation to user feedback [1], [3].

Goal-directed dialogue also raises safety concerns. Existing evaluations have identified gaps in LLM safety, including harmful responses, biased outputs, and failures to

handle unsafe requests [4], [5], [6]. When a system guides a user over repeated exchanges, unsafe advice can become part of an ongoing interaction rather than an isolated error. The complaint filed in Raine v. OpenAI in August 2025 alleged that, during prolonged conversations with a teenager, ChatGPT reinforced suicidal ideation and assisted in drafting a suicide note [7]. Similarly, a separate lawsuit filed in October 2026 alleged that ChatGPT guided a patient with epilepsy to discontinue prescribed medication and conceal the changes from her physicians [8]. These concerns make the direction of sustained guidance a safety issue alongside the content of individual responses.

While prior work examines safety risks associated with LLMs' behavioral tendencies, such as personality patterns [9], value preferences [10], and sycophancy [11], we ask whether an external attacker can deliberately redirect a proactive dialogue system's guidance by poisoning the data used to fine-tune its underlying model. These models learn how to respond to users and advance a dialogue through fine-tuning on domain-specific interaction data [3], [12]. Such data include human interactions recorded by online platforms [13] and dialogues written by recruited crowdworkers [12]. Developers select examples from these external contributions for inclusion in the fine-tuning corpus. We consider two colluding contributors who participate in dialogue-data collection, one in the user role and the other in the domain-expert role. By coordinating their own exchanges, they can contribute a small set of dialogues that associate a trigger with expert replies advancing an unauthorized guidance objective. Once admitted to fine-tuning, these examples provide a data-poisoning entry point for implanting a backdoor [14], [15].

In this paper, we investigate backdoor threats in LLM-based proactive dialogue systems. Existing backdoor attacks are typically formulated as an immediate trigger-induced deviation toward a predefined output [14], [15], [16]. This response-level formulation, however, does not fully capture proactive dialogue, whose core function is to guide users toward a goal across successive exchanges. Each response contributes to that guidance, while subsequent user feedback changes the context in which it continues. The security impact of a backdoor therefore cannot be reduced to a single anomalous response, but also concerns how trigger-induced deviations shape the subsequent interaction.

Beyond eliciting a particular response, an attacker may seek to redirect how the model guides the subsequent dialogue. We formulate this broader objective as an adversarial shift in the model's guidance policy. The attack aims to preserve ordinary behavior while directing the model's

Figure

Figure 1. An illustrative data-poisoning scenario in psychological counseling, our primary case study. Poisoned dialogue records enter the candidate training corpus alongside benign examples. The system boundary encloses data cleaning, fine-tuning, and deployed inference. Teal nodes locate the separately evaluated training-data screening (Section 5.1) and Llama Guard output filtering (Section 5.2). After deployment, ordinary user utterances can activate guidance that advances the attacker's preferred intervention.

guidance toward an attacker-specified objective once a trigger appears. Three attack strategies instantiate this formulation under different post-trigger interaction settings. (1) Direct Attack Ad\mathcal{A}_d targets the single turn immediately after trigger activation, realizing the intended deviation through one model response. This setting retains the conventional trigger-response formulation. (2) Constrained Progressive Attack Ac\mathcal{A}_c expands the attack to a predefined multi-turn trajectory, distributing target-oriented guidance across several coherent steps. (3) Unconstrained Progressive Attack Au\mathcal{A}_u further extends the attack to open-ended post-trigger interactions, aiming to maintain the target tendency across diverse user continuations rather than a fixed sequence of replies. Sustaining this tendency presents an additional challenge. After activation, the dialogue history continues to evolve through both model responses and user replies. Users may resist, hesitate, or redirect the discussion, so poisoned behavior tied to a predefined continuation may weaken or be overwritten by the model's clean guidance policy when the interaction departs from the injected pattern.

To instantiate these attacks, we select psychological counseling as a representative proactive dialogue task, in which guidance develops over successive exchanges as users express concerns and respond to suggestions. We conduct extensive experiments on two LLM backbones, Llama3-8B-Instruct [17] and Qwen2-7B-Instruct [18], and two counseling dialogue datasets, PsyDT [19] and PsyDial [20]. The results show that all three attacks effectively achieve their objectives under their respective interaction settings while largely preserving normal utility. We separately evaluate training-data admission filtering, output-time safety filtering, and post-hoc model alignment. Our findings show that these defenses provide only limited protection in the tested

settings, highlighting the need for dedicated defenses against such interactive backdoor threats.

Our main contributions are as follows:

  • We identify a training-time backdoor risk in LLM-based proactive dialogue systems, where attacker-modified dialogue examples adopted for fine-tuning can induce trigger-conditioned guidance toward an unauthorized objective.
  • We formulate this risk as an adversarial shift in the model's guidance policy and develop poisoned-data construction methods for direct, constrained progressive, and unconstrained progressive interaction settings.
  • We evaluate these attacks through a case study of psychological counseling on two LLM backbones fine-tuned on two counseling datasets, supplemented by transfer to interactive teaching. The experiments characterize attack-specific success, benign utility, and the effect of generic defenses.

References (51)