scimeatlas

Research map / Large language models / Instruction and fine-tuning

Robustness via Referencing: Defending against Prompt Injection Attacks by Referencing the Executed Instruction

Yulin Chen, Haoran Li, Yuan Sui, Yue Liu, Yufei He, Xiaoling Bai, Chi Fei, Yabo Li, Haozhe Ma, Yangqiu Song, Bryan Hooi

ACL 2026Large language models › Instruction and fine-tuningapproach: Safety alignment after fine-tuningopen problems in this approach21 citations (OpenAlex)

National University of Singapore · Hong Kong University of Science and Technology

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
9improved
3no clear effect
2hurt

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.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
prompt LLM to output tagged instruction references and filter by tagLlama3-8B-Instruct · AlpacaFarm direct, Combined attackASR (%): 79.33 -> 0.96 (None vs Ours)Improved
use referencing instead of fine-tuned StruQ against unseen attacksQwen2-7B-Instruct · AlpacaFarm direct, Combined attackASR (%): 30.29 -> 1.92Improved
apply referencing defense to indirect injectionLlama3-8B-Instruct · Inj-SQuAD, Combined attackASR (%): 86.67 -> 0.78Improved
apply referencing to larger models (70B+)Llama3-70B / Llama3.1-405B / Qwen2-72B · Inj-SQuADASR (%): maximum ASR 2.78Improved
increase model size from 7B to 70B+Ours · Inj-SQuADASR (%)No clear effect
apply referencing to closed-source modelsGPT-4o-mini · Inj-SQuAD, Combined attackASR (%): 91.11 -> 0.22Improved
apply referencing against gradient-based attacksQwen2-7B-Instruct · AlpacaFarm direct, GCGASR (%): 10.10 (StruQ) -> 6.25Improved
apply referencing against GCG on Llama3-8BLlama3-8B-Instruct · AlpacaFarm direct, GCGASR (%): 2.88 (StruQ) -> 3.85Hurt
add referencing defenseLlama3-8B-Instruct · SQuAD (no attack)accuracy (%): 83.56 -> 87.78Improved
add referencing defenseLlama3-8B-Instruct · SST2 (no attack)accuracy (%): 94.84 -> 93.00Hurt
vary split window size K (ablation)Ours · Inj-SQuAD avg ASRASR (%): 1.11% best-worst gap (Llama3-8B)No clear effect
add in-context examples to guideline prompt (ablation)Ours · SQuAD/TriviaQA/SST2 utilityaccuracy (%)Improved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in safety alignment after fine-tuning

Do safety defenses against harmful fine-tuning hold on larger models and against adaptive attacks?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy