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.
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).
- 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. - 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.
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 + Editorpipeline 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