Adaptation or Poisoning? Security Risks of Conversational Test-Time Learning in Large Language Models
Honghao Feng, Shanhan Qu, Kai Tong, Shuquan Man, Huiping Zhuang
Key points
From the paper's conclusion- To demonstrate this risk, we introduce Progressive Test-Time Adaptation Poisoning (P-TAP), a query-only multi-turn attack that jailbreaks the model by poisoning its session adapter through the service's own updates.
Abstract
Test-time learning (TTL) enables large language models to adapt to unlabeled inputs during deployment. The model updates a lightweight adapter by minimizing the next-token prediction loss on the input it receives. When these updates persist across conversation turns, every user query serves both as the request answered in the current turn and as adaptation data for later turns. By choosing the queries used for adaptation, an attacker can influence parameter updates and weaken safety alignment through ordinary interactions with a TTL chat service. To demonstrate this risk, we introduce Progressive Test-Time Adaptation Poisoning (P-TAP), a query-only multi-turn attack that jailbreaks the model by poisoning its session adapter through the service's own updates. A sequence of escalating adversarial queries shapes the adapter turn by turn; the final harmful request is then answered under the accumulated state without itself being used for adaptation. Across four open-weight instruction-tuned models, enabling updates raises attack success rates on average by 13.00 percentage points under greedy decoding and by 22.25 points under best-of-10 sampling, relative to matched sessions receiving the same queries without updates. Answering adversarial queries but adapting on unrelated text or on benign text about the same topic removes most of this increase. Among existing safeguards, screening incoming queries flags every attack stream before the final request, while a perplexity-based detector of unsafe adaptation flags none of the successful attacks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- RL-ATTACK: A Generalized Black-Box Adversarial Attack on Language Models via Reinforcement LearningarXiv · 2026
- SEAL: Towards Persistent Tool Poisoning Attack against LLM Agents via Prefix-Eliciting TriggerarXiv · 2026
- TRACE: Trajectory Return Attribution and Contrastive Erasure for Multi-Turn SafetyarXiv · 2026
- Jailbreak LLMs with Linguistic Style as a Hidden Attack SurfacearXiv · 2026
- Harmful Fine-tuning Attacks and Defenses for Large Language Models: A SurveyACM Computing Surveys · 2026
- The Model Plants the Trigger: Answer-Side Backdoor Attacks in Multi-Turn Large Language ModelsarXiv · 2026