TL;DR
Researchers have introduced ScribbleEdit, the first dedicated benchmark for image editing guided solely by user scribbles. They found that even state-of-the-art vision-language models (VLMs) fail to interpret the semantic intent behind simple strokes (like an 'X' for removal), and proposed a Soft-Token Scribble Editing (SSE) baseline that significantly boosts intention understanding from ~30% to over 93%.
What Problem Does This Paper Address?
While natural language has revolutionized image editing, it has two major drawbacks: it lacks spatial precision (exactly where should the edit happen?) and it is cumbersome on mobile devices. Scribbles are a natural alternative—a quick circle or arrow can instantly convey both location and intent.
However, current models typically treat scribbles as structural constraints (like edges in a sketch) rather than semantic instructions. A model might see a red 'X' over an object and try to "draw" the 'X' into the image rather than understanding it as a command to "remove this object." This paper addresses the lack of datasets and evaluation frameworks needed to bridge this gap between visual intent and automated execution.
Methods
The authors tackle the problem from three angles: data generation, evaluation metrics, and a novel baseline.
- Automated Data Pipeline: To create the thousands of training pairs needed, the authors built a pipeline that:
- Generates base images using FLUX.1-dev.
- Segments objects using Grounded Segment Anything (GSAM).
- Performs automated edits (Move, Flip, Resize, Remove) using specialized tools like FLUX.1-Fill for inpainting.
- Synthesizes realistic user scribbles based on the performed edit (e.g., drawing arrows for a "move" operation).
- Soft-Token Scribble Editing (SSE): To help models "understand" scribbles, the authors developed SSE. They use a CLIP encoder to extract visual features from the scribble, then pass these through a Multi-Layer Perceptron (MLP) to project them into a semantic space. This result is fed into the editing model (like OmniGen2) as a "soft token"—essentially a specialized word in the model's vocabulary that represents the scribble's meaning.
- Evaluation Metrics: Standard image similarity metrics (like SSIM) often fail because they look at the whole image, where unedited regions drown out the edit. The authors propose:
- Focused Similarity: Cropping the evaluation to only the edited bounding box.
- Intention Accuracy: Using a separate classifier to determine if the model actually performed the type of edit requested (e.g., did it actually flip the object?).
Datasets
The authors introduce the ScribbleEdit benchmark, which includes:
- Training Set: 23,772 synthetic scribble-image pairs.
- Evaluation Set: 250 manually annotated image pairs (50 per operation type) to ensure high-quality, human-like testing.
The benchmark covers five core geometric operations: Removal, Flip, Moving, Scale-down, and Scale-up.
Key Insights and Ideas
- The Semantic Gap: Existing VLMs and LLMs (like GPT-4o or Gemini variants) are surprisingly poor at "reading" scribbles. They often ignore the scribble or misinterpret its meaning, even when provided with detailed textual system prompts explaining what the scribbles mean.
- Understanding > Generation: The primary bottleneck isn't the model's ability to generate pixels (inpainting or moving objects); it's the interpretation of the scribble. Once the SSE baseline provided a clear semantic signal via soft tokens, the underlying generative model performed the edits with high fidelity.
- Operation Bias: Models find "Removal" easiest to understand (likely due to the distinct 'X' pattern) but struggle significantly with "Moving" and "Flipping" without specific training.
Key Results
The authors compared seven existing models (including FLUX.1-dev, Qwen-Image-Edit, and GPT-image-1) against their SSE baseline.
- Intention Accuracy: Existing models averaged between 22% and 33%. The proposed SSE baseline achieved 93.6%.
- Visual Quality: In "Focused SSIM" (measuring quality only in the edited area), SSE outperformed all existing models, reaching a score of 0.549 compared to the next best existing model (Nano Banana) at 0.471.
- Ablation Study: The authors showed that simply adding a text description of the scribble (e.g., "a circle with a cross means remove") helped very little. The model needs to "see" the scribble's features directly through a visual-semantic bridge like SSE.
Limitations and Future Work
- Inpainting Artifacts: While the models can understand the intent, the actual pixel generation (especially for background inpainting after a removal) still shows minor artifacts that could be improved with better base generative models.
- Scribble Diversity: The current benchmark uses a set of predefined scribble styles. Real-world user scribbles can be much messier and more varied, suggesting a need for even more diverse training data.
- Complex Edits: The benchmark currently focuses on geometric changes. Future work could extend this to attribute editing (e.g., scribbling over a shirt to change its color).
Summary updated