Briefing · Paper · source · updated · Boston Identity
GPT-4 obeyed planted instructions more often than any of 24 lower-rated models in the BIPIA test
BIPIA, a benchmark from researchers at USTC, HKUST and Microsoft, hides attacker instructions in the emails, web pages, tables and code a model is asked to work with. Across 25 models from 2023, GPT-4 obeyed them most often, and on text tasks the better-rated models tended to obey more. The authors' fine-tuning fix cut attacks to near zero, but it was tried on two small open models only, and one recipe cost the larger of them two thirds of its general-ability score.
arXiv (KDD 2025) · Jingwei Yi, Yueqi Xie, Bin Zhu, Emre Kiciman, Guangzhong Sun, Xing Xie, Fangzhao Wu · December 21, 2023 · read
What's happening
Finding3All 25 models BIPIA tested carried out some planted instructions, and GPT-4 did so most often, with an overall attack success rate of 0.31.
All 25 models BIPIA tested, every one from 2023, carried out some of the instructions planted in the emails, web pages, tables, articles and code they were asked to work with. GPT-4 did so most often, with an overall attack success rate of 0.31 against an average of 0.12, and GPT-3.5-turbo came second at 0.26. Across the 25, the rate rose with a model's Chatbot Arena rating on text tasks (Pearson 0.66) but not on code (-0.03). The authors say this "may be attributed" to better language understanding and do not test that. Our recount from their table finds the two OpenAI models carry much of the link: without them the overall correlation falls from 0.64 to 0.40.
Also reported in +1 briefing
flag a problem with BI-FIND-2023-0037
GPT-4 and GPT-3.5-turbo sit well above the other 23 models; without those two, the correlation between a model's rating and its attack success falls from 0.64 to 0.40.
Plotted from the paper's Table 2Source dated December 21, 2023Passage: Evaluating 25 LLMs
Swipe for the full figure →
BIPIA's prompt-level reminders lowered attack success without stopping it, cutting GPT-4's overall rate from 0.31 to 0.21 in one setup.
BIPIA's prompt-level defences add a reminder not to follow instructions in outside content, plus one of two ways to set that content apart. They lowered attack success and left much of it standing. With the outside content moved to an earlier dialogue turn, apart from the user's instruction, GPT-4's overall rate fell from 0.31 to 0.21: summarization and code questions dropped sharply (0.39 to 0.18, 0.29 to 0.01), while web and table questions barely moved (0.28 to 0.26, 0.35 to 0.30). Adding worked examples instead raised Vicuna-13B's overall rate, from 0.1531 to 0.1658. The authors' own summary is that these defences "can effectively reduce ASR but cannot make LLMs robust".
Also reported in +1 briefing
flag a problem with BI-FIND-2023-0038
On Vicuna-7B and Vicuna-13B, the only two models tried, the authors' fine-tuning fix cut overall attack success to between 0.005 and 0.024.
The authors' white-box fix marks outside content with new boundary tokens and fine-tunes the model on BIPIA's training prompts paired with answers that ignore the planted text. On Vicuna-7B and Vicuna-13B, the only two models it was tried on, overall attack success fell from 0.124 and 0.153 to between 0.005 and 0.024. The test used attack types held out from training but the same five tasks, and no attacker who adapts to the defence. The cost depended on whose answers the model learned from: with the benchmark's own labels, Vicuna-13B's MT-Bench score, a general-ability test, fell from 5.21 to 1.66, while answers written by GPT-4 kept it at 4.55. One recipe raised Vicuna-7B's code-question attack rate, from 0.16 to 0.22. The abstract says the fix works "all while preserving the output quality"; Table 4 bears that out for some recipes only, and the authors caution against "overreliance" without red teaming in the specific application.
Also reported in +1 briefing
flag a problem with BI-FIND-2023-0039
Section by section
4showing 4 of 4
[1]BIPIA benchmark and threat model
AI trust
BIPIA benchmark and threat model
The attacker here can edit content an application pulls in, such as an email, a web page, a table, a news article or a code snippet, but not the model or the app. BIPIA plants instructions in that content across five tasks, 50 attack types (30 text, 20 code) and three positions, for 86,250 test prompts. Attack types are split between a training set and a held-out test set.
technical artifactfrom published text + figures
[2]Evaluating 25 LLMs: all vulnerable, stronger models more so
AI trust
Evaluating 25 LLMs: all vulnerable, stronger models more so
Twenty-five 2023 models, run at temperature 0, all followed some planted instructions. GPT-4 had the highest overall rate (0.3103) against an average of 0.1179. The rate tracked Chatbot Arena rating on text tasks (Pearson 0.66) but not on code (-0.03), and injections at the end of the content worked best. The authors' reasons are offered as possibilities.
technical artifactfrom published text + figures
[3]Two defenses: boundary awareness and explicit reminder
AI trust
Two defenses: boundary awareness and explicit reminder
The authors conjecture two root causes: models cannot tell information from instructions, and nothing tells them to ignore instructions inside outside content. Their black-box defences add a reminder and either move the outside content to an earlier dialogue turn, apart from the user's instruction, or add worked examples. The white-box defence wraps outside content in new boundary tokens and fine-tunes on BIPIA's training split.
technical artifactfrom published text + figures
[4]Defense results, ablation and caveats
AI trust
Defense results, ablation and caveats
Prompt reminders lowered attack success without ending it, and worked examples made Vicuna-13B slightly worse. Fine-tuning brought Vicuna-7B and Vicuna-13B close to zero, at a cost in general ability that depended on whose answers the model was trained on. The authors caution developers against relying on either defence without red teaming their own application.
technical artifactfrom published text + figures