Research map / Large language models / Instruction and fine-tuning
Know Thy Enemy: Securing LLMs Against Prompt Injection via Diverse Data Synthesis and Instruction-Level Chain-of-Thought Learning
Zhiyuan Chang, Mingyang Li, Yuekai Huang, Ziyou Jiang, Xiaojun Jia, Qian Xiong, Junjie Wang, Zhaoyang Li, Qing Wang
University of Chinese Academy of Sciences · State Key Laboratory of Complex System Modeling and Simulation Technology · Chinese Academy of Sciences · Nanyang Technological University · Beijing Forestry University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
This paper tried a common change: Chain-of-thought prompting
add instruction-aware CoT to fine-tuning · Behavior Deviation, direct PI · defense rate (%): 53.5 -> 91.5 Improved
What 2,675 accepted papers report for this change
- 1,683 improved
- 270 no clear effect
- 109 mixed
- 613 hurt
- AudioChat: Unified Audio Storytelling, Editing, and Understanding with Transfusion Forcing ICML 2026 · add structured chain-of-thought reasoning to the diffusion LLM · StoryGen-Eval editing · delta multiFLAM: 27.8 -> 11.7Improved
- Vision Language Models Cannot Reason About Physical Transformation ICML 2026 · add CoT prompt instead of Direct prompt · Number & Length · accuracy: F(3, 333) = 18.28Hurt
- VideoSEG-O3: A Multi-turn Reinforcement Learning Framework for Reasoning Video Object Segmentation ICML 2026 · Add CoT cold-start stage on top of SFT · Long-RVOS · J&F: 47.12 -> 51.82Improved
See this change in detailMatched by the wording of each paper's own result, read by AI from the full text. Papers report gains more often than failures, so this shows what gets published, not the chance a change works.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add instruction-aware CoT to fine-tuning (ablation) | InstruCoT (vs InSFT) · Behavior Deviation, direct PI | defense rate (%): 53.5 -> 91.5 | Improved |
| add instruction-aware CoT to fine-tuning (ablation) | InstruCoT (vs InSFT) · Behavior Deviation, indirect PI | defense rate (%): 60.1 -> 93.4 | Improved |
| add instruction-aware CoT to fine-tuning (ablation) | InstruCoT (vs InSFT) · Privacy Leakage | defense rate (%): 78.6 -> 97.6 (ShareGPT); 86.0 -> 98.4 (Unnatural) | Improved |
| add instruction-aware CoT to fine-tuning (ablation) | InstruCoT (vs InSFT) · Harmful Output | defense rate (%): 83.5 -> 90.9 | Improved |
| fine-tune on diverse synthesized injection data (no CoT) | Llama3/Qwen backbones · Harmful Output | defense rate (%): 56.4 -> 83.5 | Improved |
| use InstruCoT instead of detection-based PromptArmor | LLM defense · Behavior Deviation, direct PI | defense rate (%): 51.7 -> 91.5 | Improved |
| InstruCoT versus MetaSec on indirect multi-position Completion / indirect behavior deviation | InstruCoT · Behavior Deviation, indirect PI | defense rate (%): 85.9 -> 93.4 | Improved |
| InstruCoT versus MetaSec on direct multi-position Completion attack | InstruCoT · Behavior Deviation, direct PI, Completion_MP | defense rate (%): 82.3 -> 82.3 | No clear effect |
| InstruCoT fine-tuning | four LLMs · Utility (win rate vs reference) | win rate (%): average WR 82.9%, 1.5%-11.4% above baselines | Improved |
Open problems this paper states
- “Adds inference overhead because the fine-tuned LLM must generate chain-of-thought reasoning before responding.” → The defense adds extra sampling, reasoning or training compute. (an open problem in safety alignment after fine-tuning)
Open problems in safety alignment after fine-tuning
Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?
- Larger models were not tested, mostly for lack of compute. · 27 papers state it
- Defenses are tested against few attacks and not against adaptive ones. · 15 papers state it
- Safety is scored by one LLM judge or classifier that may be biased. · 15 papers state it
Closest papers by meaning
- Defense Against Prompt Injection Attack by Leveraging Attack Techniques (ACL 2025 · similarity 0.91)
- Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instruction (ACL 2026 · similarity 0.91)
- Evaluating the Instruction-Following Robustness of Large Language Models to Prompt Injection (EMNLP 2024 · similarity 0.90)
- Tensor Trust: Interpretable Prompt Injection Attacks from an Online Game (ICLR 2024 · similarity 0.89)
- Instructional Segment Embedding: Improving LLM Safety with Instruction Hierarchy (ICLR 2025 · similarity 0.88)
- Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space (NeurIPS 2024 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.