scimeatlas

Research map / Adversarial robustness and security / Attacks on text and graphs

Defense against Prompt Injection Attacks via Mixture of Encodings

Ruiyi Zhang, David Sullivan, Kyle Jackson, Pengtao Xie, Mei Chen

NAACL 2025Adversarial robustness and security › Attacks on text and graphsapproach: LLM jailbreak and injection defenseopen problems in this approach23 citations (OpenAlex)

University of California, San Diego · Microsoft

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

11measured effects
6improved
3hurt
2mixed

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.

On benchmark leaderboards

Measured effects reported in the paper

What was changedWhereMeasuredEffect
encode external text with Base64, Caesar or mixture of encodingsGPT-4 / GPT-4o · BIPIA (Email, Table, Abstract, Code)attack success rate: GPT-4o Table: 36.80 (no defense) -> 1.00 (ours)Improved
use mixture of encodings instead of Base64 aloneGPT-4o · MMLUaccuracy: 64.9 -> 75.5Improved
use mixture of encodings instead of Base64 aloneGPT-4o · MGSMscore: 5.2 -> 52.0Improved
use mixture of encodings instead of Base64 aloneGPT-4 · MGSMscore: 19.1 -> 36.8Improved
use mixture of encodings instead of Base64 aloneGPT-4 · Safety benchmark (Table and Abstract)attack success rate: Table 10.40 -> 3.75; Code 0.15 -> 0.07; Email 3.40 -> 1.20; Abstract 8.66 -> 6.79Mixed
use mixture of encodings instead of no defenseGPT-4o · helpfulness benchmark (9 tasks)task score: MMLU 79.9 -> 75.5; WebQ 29.7 -> 25.3; IMDB 91.7 -> 92.1; WildGuard 80.8 -> 82.0Mixed
use mixture of encodings instead of no defenseGPT-4 · WebQscore: 34.4 -> 46.2Improved
use mixture of encodings (three prompts plus aggregation) instead of single-encoding defenseGPT-4 on BIPIA-Abstract · inference cost (normalized)relative inference cost: Base64 1.31 -> Ours 3.46Hurt
use mixture of encodings instead of Base64 aloneQwen-2.5-72B-Instruct · BIPIA Email/Table/Abstractattack success rate: Email 1.46 -> 5.25; Table 1.00 -> 8.15; Abstract 5.71 -> 7.84Hurt
use mixture of encodings instead of Base64 aloneQwen-2.5-72B-Instruct · MMLU, MGSM, SamSumscore: MMLU 42.19 -> 71.94; MGSM 3.84 -> 32.88; SamSum 27.01 -> 36.49Improved
use Atbash encoding in place of CaesarGPT-4 · WMT / MGSMBLEU / accuracy: 1.6 BLEU on WMT, 3.5% on MGSMHurt

Open problems in LLM jailbreak and prompt injection defense

Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?

All 4 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