WorldEdit: Towards Open-World Image Editing with a Knowledge-Informed Benchmark

Wang Lin, Feng Wang, Majun Zhang, Wentao Hu, Tao Jin, Zhou Zhao, Fei Wu, Jingyuan Chen, Sucheng Ren, Alan Yuille

Introduction

WorldEdit introduces a novel dataset and benchmark designed to push image editing models beyond simple attribute changes toward "world-driven" editing. By focusing on implicit instructions—where the user describes a cause (e.g., "hit this with a hammer") rather than the explicit visual result—the authors provide a framework and an 11k-sample dataset that helps open-source models reason about physical laws and causal logic. This approach significantly narrows the performance gap with closed-source giants like GPT-4o.

The Challenge: Input-Contingent Editing

Most current image editing models are "input-agnostic." If instructed to "remove the object," they perform well because the underlying logic is uniform across different scenes. However, they struggle significantly with implicit, input-contingent instructions.

Comparison of input-agnostic vs. input-contingent editing tasks.

For example, the instruction "throw this ball at the cactus" requires vastly different visual outcomes depending on the ball's material. A rubber balloon might pop, a bowling ball will crush the cactus, a water balloon will splash, and a tennis ball might just bounce off. Existing models often lack the "world knowledge" to reason through these causal relationships, producing generic, stylistically altered images that ignore the underlying physics of the prompt.

Methods: Building World Knowledge

The authors propose a comprehensive two-stage approach to instill world knowledge into generative models:

1. Data Construction Pipeline

To train models on physical logic, the team developed a rigorous pipeline to generate the WorldEdit dataset:

  • Detection: Using open-world detection to identify objects in real-world images.
  • Causal Mapping: Leveraging an LLM to generate "what if" questions and map them to detailed visual descriptions based on 10 specific transformation types (e.g., Acidity, Inflation, Squeeze).
  • Synthesis & Filtering: Using GPT-4o for multi-step editing to create high-quality training pairs, followed by a rigorous two-stage filtering process to ensure causal consistency and visual plausibility.
The WorldEdit data construction pipeline.

2. Two-Stage Training Framework

  • Stage 1 (Supervised Fine-Tuning): The model is fine-tuned using paraphrased instructions and structured Chain-of-Thought (CoT) sequences to help it interpret implicit commands.
  • Stage 2 (Reinforcement Learning): Utilizing the Flow-GRPO algorithm, the model is optimized using a composite reward function. This includes a Reasoning Reward for CoT logic, an Image Quality Reward for visual fidelity, and a novel Causal Verification Reward. This verification step uses a multimodal model to "reverse-engineer" the cause from the edited image; if the inferred cause matches the original instruction, the generator is rewarded.

Datasets and Key Insights

  • WorldEdit Dataset: A large-scale collection containing 11,000 high-quality editing samples across 10 causal categories. These are split into Environment-driven (Time, Temperature, Humidity, Acidity, Light) and Mechanics-driven (Break, Inflate, Squeeze, Twist, Stretch) transformations.
  • WorldEdit-Test: A dedicated benchmark for evaluating causal reasoning in image editing.

Key Insights: * Input-Dependency is the Hurdle: The paper identifies that the "input-dependency" of world-driven instructions is the primary reason traditional models fail. The same action applied to different materials must yield physically distinct results. * Paraphrasing isn't a Silver Bullet: Simply turning an implicit prompt into an explicit one (e.g., "show the water splashing") isn't enough. Models still fail to render complex physical structures without specialized training data. * Causal Inversion as a Reward: The "inversion-based causal verification reward" is a standout contribution. By checking if a third-party model can "guess" the instruction just by looking at the before-and-after images, the system forces the generator to produce edits that are logically unmistakable.

Results

The fine-tuned model, based on the Bagel architecture, demonstrated dramatic improvements:

  • State-of-the-Art Open Source: WorldEdit achieved the highest performance among open-source models on the WorldEdit-Test, scoring 4.07 overall (compared to the original Bagel's 2.76).
  • Closing the Gap: It significantly narrowed the performance gap with commercial leaders like GPT-4o (4.36) and Nano-Banana (4.22).
  • Qualitative Superiority: In tasks involving "Break," "Squeeze," and "Stretch," the model successfully simulated physical deformations (like a vacuum-sealed bag collapsing) where baseline models often produced static or irrelevant results. Human graders ranked WorldEdit's "Knowledge Plausibility" and "Instruction Following" much higher than alternatives like Emu2 or OmniGen.

Limitations and Future Work

Modeling complex world-knowledge transformations requires significant computational resources. While 11k samples is a strong foundation, the diversity of real-world scenarios is nearly infinite. Future work will aim to expand the dataset to include more nuanced causal events (e.g., magnetic field interactions or complex fluid dynamics) to achieve truly "open-world" editing capabilities.

Summary updated

BibTeX
@inproceedings{lin2026worldedit,
  author = {Wang Lin and Feng Wang and Majun Zhang and Wentao Hu and Tao Jin and Zhou Zhao and Fei Wu and Jingyuan Chen and Sucheng Ren and Alan Yuille},
  title = {{WorldEdit: Towards Open-World Image Editing with a Knowledge-Informed Benchmark}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ErPfOExrrr},
}
Figure