Render Before Reading: rendering untrusted content as images to defend against prompt injectionRender Before Reading: Visual Rendering as a Prompt Injection Defense
Pictionary renders untrusted text as images to defend against prompt injection; under the adaptive attack union, GPT-5.4 mini on DirectInject drops ASR from 100.0% to 17.8%.
Standard agent threat model: the attacker controls the text content of a single untrusted channel (user documents Daux or one tool output), has no white-box access, does not know the tool library T or the rendering method, and can make arbitrary black-box queries. Image attacks are out of scope. The system prompt and user prompt p are not under their control, but in some scenarios the attacker knows p.
- Prompt injection can let third-party content hijack language model behavior. The authors argue that multimodal models are more obedient to text instructions than to non-text forms of the same instruction, and build a training-free defense on this basis.
- Pictionary renders untrusted text as printed images (or speech) before giving it to the model, without rewriting the content. System prompts and user requests are still passed as text, forming a channel-level instruction hierarchy.
- Across ten models, DirectInject, and AgentDojo, the image ASR of static templates is not higher than text. Under the adaptive attack union, GPT-5.4 mini on DirectInject drops from 100.0% to 17.8%, while Gemini 3.1 Flash Lite on AgentDojo banking remains at 97.8%.
- The authors point out that the defense relies on OCR, image billing is higher, and it is ineffective against native image content; benign image instruction tuning narrows the modality gap. Experiments cover ten VLMs, two injection benchmarks, and audio and fine-tuning controls.
- Evaluated models
- Claude Opus 4.7Claude Haiku 4.5GPT-5.5GPT-5.4 miniGPT-5.4 nanoGemini 3.1 ProGemini 3.1 Flash LiteQwen3.6-plusKimi-K2.6Grok 4.3GPT-Audio MiniQwen3.5-Omni-Plus
- Benchmarks
- DirectInjectAgentDojoSWE-bench Verifiedτ2-BenchRLVR-IFeval
- Metrics
- ASRUtilitytask success
The paper finds that multimodal large language models are more likely to follow adversarial instructions presented as text than the same instructions in non-text channels such as images, and turns this modality difference into a training-free defense method called Pictionary: rendering untrusted content as typeset images or audio before it enters the model.
Related events and news
1 events · 0 news mentions
- This event's paper
论文提出将不可信内容渲染为图像以防御提示注入
Paper analysis
What problem does this paper attempt to solve?
Use modal asymmetry to render untrusted text as images, reducing prompt injection success rate.
Multimodal models are more obedient to instructions in the text channel; can untrusted content be moved out of that channel to create a training-free prompt injection defense.
- Scenario: The authors argue that prompt injection is a core security problem for deployed language model applications. Agents must read web pages, documents, and tool outputs, which can carry hidden instructions steering the model toward attacker goals (Perez & Ribeiro, 2022; Greshake et al., 2023).
- Existing shortcomings: The authors state that prior defenses detect, sanitize, or adversarially train on input text. Delimiters, escaping, and sandwiching are borrowed from other security scenarios, and the authors believe language models are neither SQL parsers nor human readers, so such transfers are often fragile. They cite Nasr et al. (2025): sufficiently strong adaptive attackers can bypass these defenses, and fixed attack suites overestimate real protection.
- Core observation: The authors hypothesize that instruction following mainly comes from text instruction tuning, with images and speech more often treated as content to describe or transcribe. When the same instruction is written as an image, the model can still read the content but is less likely to execute it as a command.
- Proposed method: Pictionary, training-free and model-agnostic: render untrusted text into printed images (or synthesized speech) before input, while trusted system prompts and user requests remain in text. The authors state this creates a channel-level instruction hierarchy enforced by the input modality itself.
- Threat model: The authors adopt the standard agentic-LLM threat model. The agent consists of a VLM M and a fixed tool library T; the user provides a benign task prompt p, optionally with auxiliary documents Daux; the system prompt is user-provided or fixed in the harness. The agent runs over multiple rounds, each round outputting tool calls or user-facing messages, with tool outputs appended as role:"tool", until a final message or reaching the round limit.
- Goal and channel: Attacks implant instructions via user-provided documents (direct injection, Daux) or open-world tool outputs (indirect injection). Unless otherwise noted, the attacker controls only a single untrusted channel.
- Capabilities: The attacker fully controls the content of that channel and can embed arbitrary text payloads; they do not control the system prompt or p, but in one template in Section 5.2 and in the adaptive attacks in Section 5.3, they know p and construct payloads accordingly.
- Knowledge: No white-box access to M, no knowledge of the tool library T or the rendering method; can make arbitrary black-box queries to the agent and observe responses.
- Out of scope: The authors state that image-based attacks are out of scope, and this defense does not protect against them.
What related research exists?
Related work is divided into prompt injection attacks and defenses, and VLM jailbreaks/visual injections; the authors turn the weak obedience of the image channel into a defense.
- Prompt injection attacks: Perez & Ribeiro (2022), Greshake et al. (2023) proposed prompt injection. The authors divide them into two categories: manual wrapping that exploits the model's obedience to plausible text (Chang et al., 2026; Toyer et al., 2024; Liu et al., 2026; Ye et al., 2026), and optimization methods that tailor payloads to specific victims, including recent reinforcement learning and automated red teaming (Chen et al., 2026; Wen et al., 2025; OpenAI, 2025).
- Prompt injection defenses: Prompt-level methods restructure context to isolate untrusted inputs, such as spotlighting and sandwiching (Hines et al., 2024; Learn Prompting, 2023). Model-level methods retrain models to ignore injected instructions (Chen et al., 2025). System-level designs do capability and information flow control outside the model (Debenedetti et al., 2025) or runtime program analysis (Wang et al., 2025a); the authors say the latter can sometimes give stronger, sometimes provable guarantees, but are heavier to build and integrate. The authors note that sufficiently strong adaptive attackers can bypass almost all of the above defenses (Nasr et al., 2025), so this paper tests adaptive attacks and human red teaming beyond the fixed suite.
- VLM jailbreaks and visual prompt injection: Liu et al. (2024), Ying et al. (2026) report that VLMs are less safe when harmful requests are paired with images; Gong et al. (2025), Ma et al. (2024), Wang et al. (2025b) report that intents rejected in text can succeed in visual form. Li et al. (2025), Nagaraja et al. (2025), Timbrell (2023) show that plain printed text in web pages or natural images can hijack black-box multimodal models; Cao et al. (2025), Evtimov et al. (2026) cover VLM web agents that navigate via screenshots. The authors say this line treats the image channel as a direct attack surface, and believe jailbreak effects are usually attributed to safety alignment being mainly applied to text. The authors' question is different: under the same payload, is the text channel or the image channel more effective; their conclusion is that the text channel is clearly more effective, and they turn this asymmetry into a defense. The authors believe the two are consistent, because refusing harmful content and obeying instructions are different behaviors, both weaker in the image channel.
- Baseline methods and benchmarks: Safety evaluation uses self-built DirectInject and AgentDojo (Debenedetti et al., 2024). Defense comparison (Table 3) model-side baselines are DataFilter (Wang et al., 2025c, rewriting untrusted documents to remove injections), PromptLocate (Jia et al., 2026, locating and deleting injected segments), and DataSentinel (Liu et al., 2025, detecting and blocking suspicious inputs). Utility stress tests use τ2-Bench (Barres et al., 2025) and SWE-bench Verified (OpenAI, 2024; Jimenez et al., 2024). Channel-level hierarchy is compared against Wallace et al. (2024)'s instruction hierarchy.
The authors position Pictionary as a mechanism derived from how models are built rather than transplanted from other security settings: instruction following is placed in the text channel by instruction tuning, and moving untrusted content out of that channel targets the source of the vulnerability. In the conclusion, they say it complements rather than replaces existing defenses.
How does the paper address this problem?
Render untrusted text as black text on white background images or speech, while trusted instructions remain as text input.
The overall idea is to exploit the instruction-following asymmetry between text and non-text channels: Pictionary does not filter, rewrite, or summarize; it only converts untrusted text into printed images (or speech) before feeding it to the model.
Problem Setup and Formalization
- Agent loop: VLM M with a fixed tool library T. User prompt p describes a benign task, with optional auxiliary documents Daux. Each round the model emits a tool call or a user-visible message, and tool outputs are appended with role:"tool".
- Two untrusted channels: Direct injection comes from user documents (text, forwarded emails, meeting notes, or code review attachments); indirect injection comes from content retrieved by tools such as search web, read email, etc., from attacker-writable sources.
- Success criteria: In DirectInject, the model issuing an executable call to the target function counts as success, without requiring parameter matching; utility requires all three reading comprehension questions to be correct, judged by GPT-5.4 mini, and the two are not mutually exclusive. AgentDojo main results use the benchmark's strict safety check (completing the specified adversarial goal with parameters matching requirements) and the benchmark-verified user task completion; relaxed ASR is in Appendix C.1.
Measuring the Modality Gap
- Conflicting instructions: Construct 21 pairs of mutually exclusive instructions, covering word replies, short-phrase topics, capitalization, and language choice. The two instructions share the same framework, with no system prompt and no auxiliary instructions. Six VLMs, 5 repetitions per condition, reporting mean and standard deviation.
- Single-channel and conflict: First give a single instruction alone to confirm both text and images can be followed. In conflict, give both simultaneously and swap modality and order (image-then-text or text-then-image), with 5×4×21=420 queries per model. GPT-5.4 mini judges whether the text, the image, or neither is followed.
Defense Implementation
- What to render: For direct injection, render user documents as image attachments; for indirect injection, replace tool-returned text with images. The harness usually cannot determine which tool return is attacker-controlled, so it conservatively renders every tool output. User prompts, system prompts, and tool schemas remain in original text.
- Default style: Black text on white background. Appendix B.1: DejaVu Sans, 900-pixel-wide RGB canvas, 30-pixel margins and line spacing, approximately 65-character line wrapping, canvas height grows with text with a minimum of 200 pixels, base64 submitted via the image interface. DirectInject and standard AgentDojo use one image per untrusted message.
- Long outputs and code: Appendix B.2's multi-page rendering uses 1024×1024-pixel pages with 40 lines per page; the no-attack font size scan selects 16pt. Appendix B.3's code rendering uses a monospaced font, fixed-column wrapping without stripping indentation, and adds line numbers and headers. SWE-bench uses this code renderer. Appendix B.4 also compares search-results-page style with blackboard style; the authors claim the visual framework can further reduce ASR beyond plain-text rendering.
- Audio variant: Section 6.1 uses GPT-4o-mini-tts to synthesize untrusted text into WAV, fed as an audio block without providing a transcript. The authors present it as a proof of concept, not a deployment recommendation.
Attack and Comparison Protocol
- Static templates: Seven fixed templates covering boundary confusion, task-completion disguise, and tool-call redirection; full text in Appendix F. Ten models, both benchmarks tested.
- Adaptive attacks: RL suffix optimization adds an image reward channel on AutoInject (Chen et al., 2026), with suffix generation policy Qwen2-1.5B, suffix up to 30 tokens, fixed template; DirectInject uses 120 rollouts per configuration, AgentDojo 200, with text and image policies optimized separately. ART uses deepseek-v4-pro to search full templates, up to five candidates per round, three search instances in parallel; each model and modality produces 225 payloads, with search conducted on a subset of 25 tasks. Human red team: seven experts, 144 hours total, approximately $20,000, targeting AgentDojo banking tasks across four models, with access to replies and tool-call trajectories.
- Union ASR: The main text takes the union of discovered attacks. On AgentDojo banking, payloads found by any attacker are replayed across six models and two channels; success on any payload for any pair counts as compromised, with denominator 45 pairs. The authors give ASRunion(m, c) as this empirical worst case. DirectInject's union includes only RL and ART. Table 3's defense comparison uses three additional ART-discovered templates rather than optimizing separately for each defense.
Training Interventions
- Instruction-tuning comparison: Four open-source base models (Qwen3.5 and InternVL3.5) and their instruction-tuned versions compared for ASR on two channels (Appendix E.2).
- Benign image instruction tuning: Using RLVR-IFeval (Lambert et al., 2025) text-only instruction-following data, render prompts as images and fine-tune without attack data. Three open-source models: Gemma-4-E4B, Qwen-3.5-4B, Qwen3-Omni-30B. Details in Appendix E.3.
What experiments did the paper conduct?
Static ASR drops across ten VLMs, but under the adaptive union Gemini 3.1 Flash Lite is almost still broken.
Experimental Setup
- Models under test: Static attacks on ten VLMs: Claude Opus 4.7, Claude Haiku 4.5, GPT-5.5, GPT-5.4 mini, GPT-5.4 nano, Gemini 3.1 Pro, Gemini 3.1 Flash Lite, Qwen3.6-plus, Kimi-K2.6, Grok 4.3. Adaptive automated attacks target GPT-5.4 mini, Claude Haiku 4.5, Gemini 3.1 Flash Lite, Kimi-K2.6; human red teaming targets Claude Haiku 4.5, Claude Opus 4.7, GPT-5.4 mini, GPT-5.5. Audio experiments additionally use GPT-Audio Mini and Qwen3.5-Omni-Plus.
- Benchmark scale: DirectInject is 4 document types × 14 tool-call targets = 56 pairs, 392 trials/model/channel across seven templates. AgentDojo v1.2.1 static evaluation has 130 pairs, 910 trials/model/channel across seven templates; ASR is the proportion of pairs where at least one template succeeds. The adaptive subset is 45 banking pairs and 30 workspace pairs; human red teaming uses 42 banking pairs. Utility stress testing uses 100 uniformly sampled SWE-bench Verified instances and 164 τ2-Bench tasks (114 telecom, 50 airline).
- Metrics: DirectInject ASR is issuing an executable call to the target function (parameters not required); utility is all three questions correct, judged by GPT-5.4 mini. AgentDojo main tables use strict ASR and benchmark-verified user task completion. Compliance in the modality-conflict experiment is judged by GPT-5.4 mini.
- Attack conditions: RL and ART optimize over text and images separately; text-to-image transfer is also reported, where text-optimized payloads are rendered directly without re-optimization. The main text reports the union; per-attacker results are in Appendix C.
- Rendering: Main results are black text on a white background in a single image. Claude Haiku 4.5 AgentDojo experiments use the autonomy system prompt; the authors state that under the default prompt the reported trials have zero ASR, but trajectories often defer underspecified financial actions.
- Replication: Figure 2 has 5 runs per condition. Table 1 and the main safety tables do not report multiple runs.
Main Results
Table 1 shows text-to-image under the seven static templates (ASR with absolute drop in parentheses, percentage points). Utility under attack is given in the same column.
Swipe horizontally to read the table
Model DI ASR text→image DI utility AD ASR text→image AD utility Claude Opus 4.7 5.4→0.0 99.5→100 0.0→0.0 90.4→90.2 Claude Haiku 4.5 17.9→0.0 99.5→98.7 1.5→0.8 70.5→62.2 GPT-5.5 0.0→0.0 100.0→100.0 0.8→0.0 92.7→92.6 GPT-5.4 nano 14.3→0.0 100.0→98.7 14.6→0.0 50.3→43.6 GPT-5.4 mini 75.0→0.0 99.7→100.0 29.2→7.7 71.4→64.9 Qwen3.6-plus 96.4→58.9 98.7→99.7 60.8→22.3 88.8→90.2 Kimi-K2.6 80.4→7.1 76.0→83.9 50.8→12.3 84.7→84.4 Grok 4.3 100.0→64.3 97.4→99.7 32.3→23.8 87.1→72.7 Per Table 1, additionally Gemini 3.1 Pro: DirectInject 98.2→55.4 (utility 87.0→96.4), AgentDojo 83.1→41.5 (utility 77.7→87.4); Gemini 3.1 Flash Lite: DirectInject 100.0→46.4 (utility 100.0→100.0), AgentDojo 90.0→49.2 (utility 63.8→52.0). Omitted from the table are these two Gemini models beyond the eight rows above; the numbers are in the previous sentence.
- Authors' interpretation: Image rendering never increases ASR in Table 1 and decreases ASR for almost every model–benchmark combination with nonzero text ASR. On DirectInject, GPT-5.4 mini goes from 75.0% to 0.0%; on AgentDojo, Gemini 3.1 Pro goes from 83.1% to 41.5%. The highest image ASR is 64.3% on DirectInject (Grok 4.3) and 49.2% on AgentDojo (Gemini 3.1 Flash Lite).
- Utility: The authors state that under DirectInject attack, utility drops by at most 1.3 percentage points. AgentDojo utility changes range from −14.4 to +9.7 percentage points; per Table 1, −14.4 corresponds to Grok 4.3 (87.1→72.7) and +9.7 to Gemini 3.1 Pro (77.7→87.4).
- Modality preference: In Figure 2(a), six models are near ceiling on text alone or image alone. In Figure 2(b), when conflicting, text instructions are obeyed 2× (Claude Haiku 4.5) to 300× (Kimi-K2.6) more often than image instructions; the rest obey neither. The six models are GPT-5.4 nano, Claude Haiku 4.5, Grok 4.3, Gemini 3.1 Flash, Kimi-K2.6, Qwen3.6 Plus.
Adaptive Attacks and Human Red Teaming
Table 2 shows the union ASR (%) of RL, ART, and human red teaming on the AgentDojo banking subset.
Swipe horizontally to read the table
Channel Opus 4.7 Haiku 4.5 GPT-5.5 GPT-5.4 mini Kimi-K2.6 Flash Lite Text 14.3 97.6 19.0 83.3 77.8 100.0 Image 11.9 9.5 16.7 31.0 40.0 97.8 - What was tested: All discovered payloads are replayed across six models and both text and image; a pair counts as compromised if any payload succeeds, including attacks optimized directly for images and cross-channel, cross-model transfer.
- Results: Claude Haiku 4.5 goes from 97.6% to 9.5%, GPT-5.4 mini from 83.3% to 31.0%, Kimi-K2.6 from 77.8% to 40.0%. Claude Opus 4.7 and GPT-5.5 already have low text ASR and show smaller drops (14.3→11.9, 19.0→16.7). Gemini 3.1 Flash Lite goes from 100.0% to 97.8%.
- Authors' interpretation: Rendering reduces ASR for all six models, but the effect is model-dependent; for some models rendering alone is insufficient. On DirectInject, the union of RL and ART is GPT-5.4 mini 100.0%→17.8% and Claude Haiku 4.5 98.2%→10.7% (Appendix C.2). Human red teaming collected 2,894 strategies, of which 386 succeed on at least one model and one channel.
Comparison with Prior Defenses and Utility Stress Testing
Table 3 uses the union of three ART templates on DirectInject; cells are ASR / utility (%). DataSentinel blocks after detection and does not report utility.
Swipe horizontally to read the table
Defense GPT-5.4 mini GPT-5.4 Kimi-K2.6 No defense 82.1 / 98 87.5 / 99 71.4 / 96 PromptLocate 82.1 / 94 85.7 / 99 71.4 / 96 DataSentinel 64.3 / – 69.6 / – 58.9 / – DataFilter 32.1 / 88 12.5 / 87 17.9 / 87 Ours 3.6 / 100 3.6 / 100 3.6 / 99 - Authors' note: This comparison uses the specified templates rather than attacks independently optimized for each defense. PromptLocate's ASR is close to no defense; DataFilter's ASR is 12.5–32.1% with utility 87–88%. The second-column model is written as GPT-5.4 in the table; the paper does not state in the table title whether it is mini or another variant.
- τ2-Bench and SWE-bench (Table 4, task success rate, text→image): Kimi-K2.6 is 65.0→65.0 (SWE-bench) and 87.2→85.9 (τ2-Bench); GPT-5.4 mini is 66.0→56.0 and 44.5→43.6; Claude Haiku 4.5 is 66.0→57.0 and 50.4→48.3. The authors state that on τ2-Bench all three models fall within 0.9–2.1 percentage points of the text baseline; on SWE-bench, Kimi-K2.6 is unchanged, while GPT-5.4 mini and Claude Haiku 4.5 drop by 10 and 9 percentage points, respectively. The authors believe code editing requires character-level precision, and a single mistranscription can invalidate the patch anchor.
Other Ablations and Analyses
- Audio (Table 5, DirectInject static setting): GPT-Audio Mini ASR 27.3%→1.3%, no-attack utility 100.0±0.0→95.0±22.4, under-attack utility 100.0→91.3; Qwen3.5-Omni-Plus ASR 50.5%†→15.8%, no-attack utility stays 100.0±0.0, under-attack utility 82.1†→93.4. † indicates that for Qwen's text condition, 1 template was hard-rejected by the API before reaching the model.
- Instruction tuning (Table 6, text / image ASR, base→instruction-tuned): Qwen3.5-0.8B is 9.5→26.2 / 0.0→11.9; Qwen3.5-9B is 2.4→69.0 / 0.0→4.8; InternVL3.5-1B is 14.3→90.5 / 0.0→0.0; InternVL3.5-38B is 50.0→57.1 / 2.4→4.8. The authors state that on each model, fine-tuning improves text ASR more than image ASR.
- Benign-image instruction tuning (Figure 4, DirectInject image-channel ASR): Gemma-4-E4B, Qwen-3.5-4B, and Qwen3-Omni-30B rise after fine-tuning; the authors state each model rises by 13 to 19 percentage points. The figure labels pre-fine-tuning values of approximately 0.3, 8.9, and 37.0 with increments of +18.6, +13.0, and +13.5, and one post-fine-tuning bar labeled 50.5%. The authors state the data contains no injections, and the increased susceptibility comes from teaching models that images can also carry instructions to be executed.
- Long tool-output pagination (Table 8, 294 template–pairs): GPT-5.4 mini ASR text/single-image/multi-image is 2%/0%/0% with utility 48%/28%/49%; Gemini 3.1 Flash Lite is 12%/1%/1% with 83%/20%/70%; Claude Haiku 4.5 is 0%/0%/0% with 90%/14%/99%. The authors state that pagination recovers most of the utility lost with a single image, and the reported image ASR is unchanged.
- Visual style (Appendix B.4): Relative to plain rendering, a search-results box reduces ASR by 6–8 percentage points for Qwen3.6-plus, Grok 4.3, and Gemini 3.1 Flash Lite; Kimi-K2.6 goes from 1.3% to 0%. The authors state this is an internal ablation comparison and should not replace the main static table.
- Service cost: The authors state that mainstream APIs bill images by a fixed token count, typically an order of magnitude higher than the text they replace; in the measurements in Appendix D.3, whole-channel rendering costs at most double. The authors cite Wei et al. (2025), stating that optical context compression can compress text into up to 10× fewer visual tokens.
What are some points that can be further explored?
The authors point out that OCR, image billing, and native image content are limitations, and suggest stacking with existing defenses.
Limitations and Future Directions Noted by the Authors
- OCR dependence (Section 6.3): Pictionary assumes the model can recover rendered content faithfully enough. The authors state this holds for the evaluated frontier models, but not for models with weak visual text recognition, where rendering would suppress benign content along with the injection. Recovery errors on identifiers, code, or structured data may manifest as confident wrong answers rather than visible failures.
- Service cost (Section 6.3): Mainstream APIs bill images at a fixed token count, typically an order of magnitude higher than the replaced text. The authors state that in Appendix D.3, this premium is diluted by system prompts and tool schemas, and full-channel rendering at most doubles cost in their measurements; they also cite optical context compression, stating that sometimes rendering content as an image can reduce cost.
- Untrusted content that is already an image (Section 6.3): The defense assumes untrusted content arrives as text and can thus be moved out of the text channel. Screenshots, scanned PDFs, or GUI agent viewports are already in the position where the defense would place content. The authors state that prior work shows this attack surface exists (Cao et al., 2025; Evtimov et al., 2026), and Pictionary does not protect against it. The threat model also states that image-based attacks are out of scope.
- The gap is not fundamental (Section 6.2): The authors state that if models are deliberately or incidentally trained to obey image instructions (e.g., all-modality or GUI agent training), the gap would be significantly smaller. Pictionary depends on the current mainstream training distribution, not on the modality switch itself.
- Stacking with existing defenses (Section 7): The authors state that Pictionary complements rather than replaces existing defenses, and stacking it on top of existing defenses is a direction worth exploring.
- Audio positioning (Section 6.1): Audio results are reported by the authors as a proof of concept, not a deployment recommendation. In the reproducibility statement, the authors plan to publicly release all code and data used.
Experimental Coverage
- Static safety: Ten VLMs, DirectInject (56 pairs × 7 templates) and AgentDojo v1.2.1 (130 pairs × 7 templates), with metrics ASR and utility under attack (Table 1, Appendix A).
- Adaptive and human: RL and ART target four models, covering DirectInject and AgentDojo's banking (45 pairs) and workspace (30 pairs); human red team with seven people, 144 hours, four models, 42 banking pairs; the denominator for the union of the three methods is 45 pairs (Appendix A.3, Table 2).
- Defense comparison: Table 3 compares DataFilter, PromptLocate, DataSentinel, and Pictionary on three victims, using the union of three specified ART templates, not independently optimized for each defense.
- Utility and other channels: No-attack SWE-bench Verified (100 instances) and τ2-Bench (164 tasks) cover three models (Table 4); audio uses two audio-native models (Table 5); instruction tuning controls are four open-source base models and their fine-tuned versions (Table 6); benign image instruction tuning uses three open-source models (Figure 4).
- Items the paper states are not main settings: Under the default prompt, Claude Haiku 4.5's reported trial ASR is zero, so the main experiments use the autonomy prompt (Appendix A.2). Loose ASR, pagination, code rendering, OCR, and cost are in Appendices C.1, B.2, B.3, D.2, and D.3, respectively. Table 1 does not report repetitions. The conflict judgment model in Figure 2 is GPT-5.4 mini.
Summarize the main content of the paper
Pictionary renders untrusted text into images, reducing prompt injection ASR on most models, and depends on the current training distribution.
Pictionary is a training-free prompt injection defense: untrusted documents or tool outputs are first rendered into printed images (or speech), while system prompts and user requests still enter the model as text.
- Problem: The authors believe that instruction following in multimodal models mainly comes from text instruction tuning, so the same instruction is more likely to be executed via text than via image. In Figure 2, in conflict settings across six VLMs, text is obeyed 2× (Claude Haiku 4.5) to 300× (Kimi-K2.6) more likely than images, while both modalities are near ceiling in single-channel settings.
- Method: No rewriting of content. Direct injection renders user documents; indirect injection renders every tool output. The attacker controls a single untrusted text channel, has no white-box access, and can make arbitrary black-box queries; image attacks are out of scope.
- Static results (Table 1): Image ASR is not higher than text. On DirectInject, GPT-5.4 mini goes from 75.0% to 0.0%, Grok 4.3 from 100.0% to 64.3%; on AgentDojo, Gemini 3.1 Flash Lite goes from 90.0% to 49.2%. Under attack, DirectInject utility drops at most 1.3 percentage points, and AgentDojo utility changes range from −14.4 to +9.7 percentage points.
- Stronger attacks (Table 2): Union of three attacks on banking, Claude Haiku 4.5 goes from 97.6% to 9.5%, GPT-5.4 mini from 83.3% to 31.0%, Gemini 3.1 Flash Lite from 100.0% to 97.8%. On DirectInject, union of RL and ART, GPT-5.4 mini goes from 100.0% to 17.8%, Claude Haiku 4.5 from 98.2% to 10.7%.
- Utility and mechanism: On τ2-Bench, task success rates for three models are within 0.9–2.1 percentage points of the text baseline; on SWE-bench, Kimi-K2.6 remains at 65.0%, while GPT-5.4 mini and Claude Haiku 4.5 drop by 10 and 9 percentage points, respectively (Table 4). Audio also reduces ASR (Table 5). Instruction tuning mainly raises text ASR (Table 6); after fine-tuning on benign image instructions, image-channel ASR rises by 13 to 19 percentage points (Figure 4).
- Authors' conclusion: The protection comes from current text-centric instruction tuning, not from the modality switch itself. The authors believe this defense complements existing methods and note that it relies on OCR, increases image billing, and does not cover untrusted content that is already an image.
Related papers
- Formal Policy Enforcement for Agentic SystemsDefensesarXiv