Internalize External Competence for Visual Instruction Editing

Wenjun Huang, Rui Zhao, Suyang Hou, Jiahao Tang, Wenjia Wang, Zhuobai Dong, Alex Jinpeng Wang, Hu Jian GuoNeurIPS 2026

TL;DR

What if you could edit a photo just like an editor marks up a manuscript—by circling a stray tourist, drawing an arrow, or jotting a quick note directly onto the pixels? Siphon makes this possible by distilling the spatial reasoning of massive Vision-Language Models directly into lightweight diffusion editors. The result is a single, fast, end-to-end model that reads your visual scribbles, executes the edit, and cleanly erases your markings—no text prompt or clunky external API required.

What Problem Does This Paper Address?

Trying to describe exact spatial locations using only text is surprisingly frustrating. Saying "change the color of the third cup from the left, slightly behind the plate" introduces referential ambiguity—diffusion models frequently get confused and edit the wrong object.

Today, product-grade systems work around this by bolting an external Vision-Language Model (VLM) onto the front of an image editor to act as a translator. In fact, if you draw a red arrow and write text on an image, a strong VLM can read those markings and write a hyper-detailed text prompt for the image editor.

Figure 1: From External Assistance to Internalized Capability. Conventional Pipeline relies on external VLMs to translate visual intents into text prompts during inference, leading to high latency and potential error propagation. Our Siphon internalizes the visual instruction-following capability directly into the editing model, enabling self-contained, end-to-end, vision-only editing without an external VLM planner.

While clever, this two-model relay race has serious practical drawbacks:

  • High Latency: Waiting for the VLM planner adds roughly 30 seconds per image (on an NVIDIA A100) before diffusion sampling even begins.
  • Cross-Model Fragility: Like a game of telephone, if the VLM slightly misinterprets the scene, the error amplifies downstream (e.g., accidentally erasing a foreground character instead of a background horse).
  • Deployment Bloat: Relying on massive auxiliary weights or paid external APIs prevents the editor from being self-contained.

Standard diffusion editors fail on their own here because they treat drawn-on boxes and text as literal visual textures to preserve, rather than semantic commands to execute and erase.

Methods

To cut out the middleman at inference time, the authors propose Siphon, a two-stage framework that internalizes external VLM competence into a single diffusion transformer (DiT) backbone (tested on Qwen-Image-Edit and LongCat-Image).

Figure 3: Overview of the Siphon Framework. Stage 1 (Elicitation via Data Synthesis): We take a Large Auxiliary Vision-Language Model as the spatial planner to interpret visual markers and generate refined text instructions, paired with a Large Image Editing Model to generate clean ground-truth images (we instantiate them with Qwen-VL-Max and Qwen-Image-Edit/LongCat-Image in this work). Stage 2 (Internalization via Fine-Tuning): We freeze the backbone editing model, and train lightweight LoRA adapters to learn the end-to-end mapping from visually marked input images to edited results. Our framework separates the choice of auxiliary VLM from the editing backbone; we validate it on two editing architectures.
  1. Elicitation (Synthetic Data Engine): Because ground-truth pairs of (marked-up image, clean edited image) don't exist in the wild, Siphon builds them. An auxiliary VLM planner (Qwen-VL-Max) looks at an annotated image, resolves the spatial intent, and writes an explicit text instruction detailing both the semantic edit and the complete erasure of the artificial markers. A base text-driven editor executes this prompt to create clean target images.
  2. Internalization (LoRA + Curriculum Learning): Next, Siphon freezes the base diffusion model, strips away sample-specific text prompts, and injects lightweight Low-Rank Adaptation (LoRA) modules into the attention layers. Trained via standard Flow Matching, the model takes the marked-up image as its sole condition.

Crucially, teaching a vision encoder to simultaneously do Optical Character Recognition (OCR) and complex spatial editing from scratch is unstable. The authors introduce a two-stage curriculum called Text-as-Image Forcing (TAIF). First, the model trains purely on images of rendered text on blank canvases to generate photorealistic scenes—forcing it to map pixel glyphs to semantic concepts. Once it learns to "read," it fine-tunes on the full mix of arrows, bounding boxes, and overlays.

Datasets

  • Siphon Synthetic Dataset (New): A 104k-sample dataset (100k train, 4k held-out test) spanning four instruction types: Type I (pure text rendered on a blank canvas), Type II (on-image text overlays for global edits), Type III (arrows + text for object modifications), and Type IV (bounding boxes + labels for region-specific insertions).
  • Public Benchmarks: GEdit-Bench and CEdit-Bench are used to verify backward compatibility with standard text-only editing.
Figure 2: Typology of Visual Instructions. Our data engine constructs four distinct categories of instruction pairs: (I) Pure text-to-image, where descriptive text rendered on a blank canvas serves as the input to generate the corresponding realistic image; (II) In-image textual instructions for global edits via text overlays; (III) Arrow-guided modification for precise object-specific changes; and (IV) Box-guided addition for region-specific insertion. For the complex visual markers (Types II-IV), a large auxiliary model acts as a spatial planner to interpret user intent and ensure artifact removal, while a base image editor executes the synthesized instructions to generate the clean ground truth.

Key Insights and Ideas

  • Flipping Typographic Generation on Its Head: Prior works like AnyText train diffusion models to render coherent text inside generated scenes. Siphon's TAIF curriculum flips this objective: it feeds pure rendered text in and asks for photorealistic scenes out, turning pixel-level glyph recognition into a semantic prior.
  • Visual Markers Beat Text in Crowded Rooms: On-image annotations aren't just a gimmick to avoid typing. In complex scenes containing 2 to 10 similar objects, visual markers slash wrong-object edits from 23.8% (base text editor) down to 2.6%.
  • Zero Catastrophic Forgetting: Teaching the model vision-only editing via LoRA doesn't break its native text-prompting skills; in fact, it slightly improves scores on standard text-editing benchmarks.

Key Results

  • Matching the VLM Pipeline—Without the VLM: Across the 4k test set, Siphon (w/ LongCat) achieves a 91.05 CLIP-GT score (up from 75.12 on the base model), 0.84 Box-IoU for spatial precision, and a 98.6% Marker Removal Rate (MRR). It matches or slightly edges out the heavy VLM + Editor pipeline while completely eliminating the ~30-second VLM planning bottleneck.
  • Curriculum Matters: Skipping the two-stage TAIF curriculum and training jointly from scratch causes average performance to drop steeply (down to ~0.67 vs. ≥0.90), proving that visual-text grounding is a vital stepping stone.
  • Human Preference: In a blind study of 30 volunteers (1–5 Likert scale), Siphon scored 4.4 on Spatial Accuracy and 4.6 on Marker Removal, decisively beating the strongest standalone baseline, OmniGen2 (3.6 and 3.7).
  • Zero-Shot Scribbles: Despite training on clean synthetic shapes, Siphon generalizes zero-shot to messy, free-form hand-drawn boxes and squiggly arrows.

Limitations and Future Work

The authors explicitly note that rendering text directly onto an image is not meant to replace traditional text prompts for long, nuanced, or multi-sentence instructions. Trying to cram a paragraph onto an image obscures the underlying pixels and isn't practical; rather, on-image text is designed for short labels and spatially grounded intents, while complex instructions can still flow through the standard text channel. Broader future research directions beyond releasing their code, checkpoints, and data pipeline are not discussed in the paper.

Summary updated

Abstract

What if you could edit an image simply by drawing on it---circling an object, writing a short label, or sketching an arrow---with minimal or even no typed prompt? We first reveal a surprising capability: when a text-driven image editor is paired with a strong Vision-Language Model (VLM) at inference time, the combined system can directly interpret visual instructions embedded in the image itself, such as on-image text, bounding boxes, and directional arrows. However, this pipeline incurs additional VLM-planning latency, introduces brittle cross-model error propagation, and depends on external APIs or auxiliary model weights. To address these limitations, we introduce Siphon, a framework that internalizes this externally elicited visual-instruction-following competence into a single diffusion-based editor. Rather than relying on an external VLM at inference time, Siphon first uses a VLM planner to synthesize paired visual-instruction supervision, and then transfers this competence into the editor through lightweight LoRA fine-tuning. The resulting model reads, grounds, and executes on-image annotations directly from pixels, while keeping the diffusion sampling cost close to that of the base editor. Across multiple diffusion architectures, Siphon substantially improves spatial controllability, instruction adherence, and marker removal over text-driven baselines, while matching VLM-assisted pipelines without their additional planning latency, API dependence, and cross-model fragility. We do not position rendered long text as a replacement for conventional text prompts; rather, on-image text is mainly intended for short labels and spatially grounded edit intents, while long or complex instructions can still be provided through the standard text channel.
BibTeX
@inproceedings{huang2026internalize,
  author = {Wenjun Huang and Rui Zhao and Suyang Hou and Jiahao Tang and Wenjia Wang and Zhuobai Dong and Alex Jinpeng Wang and Hu Jian Guo},
  title = {{Internalize External Competence for Visual Instruction Editing}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=mKfQzVpQIM},
}
Figure