Turn-based structural trigger: a structural conditional backdoor in multi-turn large language modelsTurn-Based Structural Triggers: Structure-Conditioned Backdoors in Multi-Turn LLMs
The researchers propose TST (Turn-based Structural Trigger), a multi-turn large language model backdoor whose trigger condition is the position of the conversation turn, achieving an average attack success rate of 98.10% across four open-source model families. This method corresponds to the supply chain risk of reusing third-party fine-tuning frameworks or outsourced training code: the attacker only needs to tamper with the loss computation component during the fine-tuning stage to inject malicious supervision, while the training corpus, model architecture and deployment interface all remain unchanged. The backdoor exploits structural signals implicitly encoded in the chat template; it activates when the conversation reaches a turn specified by the attacker, independent of the user's input content, and thus resists prompt filtering, sanitization and rewriting. In the main experimental setting, the model behaves normally in early interactions and executes the attacker-defined behavior only after the specified structural condition is met. In the experiments, the Clean Rate on non-target turns was 99.96%, and the model retained 97.78% of the utility of the clean model. The authors state that this result shows conversation structure is an overlooked attack surface, and that security auditing should go beyond prompt inspection to cover structural signals.