PhyEdit: Towards Real-World Object Manipulation via Physically-Grounded Image Editing

Ruihang Xu, Dewei Zhou, Xiaolong Shen, Fan Ma, Yi YangarXiv 2026 · DOI

TL;DR

While modern generative models excel at 2D image editing, they frequently struggle with precise 3D spatial manipulations, often violating basic perspective laws. This paper introduces PhyEdit, a framework that injects explicit 3D geometric simulation into a Diffusion Transformer (DiT) backbone to achieve physically accurate, 3D-aware image editing. Alongside the method, the authors release RealManip-40K, a large-scale real-world dataset, and ManipEval, a benchmark tailored for evaluating 3D spatial control.

What Problem Does This Paper Address?

Existing visual generative models are highly capable of seamless 2D image editing (e.g., changing textures or adding objects), but they lack a structural understanding of 3D scene geometry. When prompted to perform precise spatial actions—such as moving an object closer to the camera or shifting a robotic arm—they often produce physically implausible results, such as incorrect scaling, distorted perspectives, or broken trajectories.

This limitation prevents generative models from acting as reliable "interactive world models" for downstream applications like robotics. The root cause is twofold:

  1. Current models lack explicit mechanisms to incorporate 3D geometry and perspective projection.
  2. The community lacks high-quality, real-world datasets and benchmarks that emphasize 3D-aware object manipulation rather than simple 2D layout changes.

Methods

To bridge the 2D-3D gap, the authors frame 3D-aware image editing as generative state rendering. The PhyEdit framework consists of three core components:

  1. 3D Transformation Module: Given a source image, an object mask, and a user-specified 3D translation vector, this module leverages an off-the-shelf 3D foundation model (like Depth-Anything-3) to estimate depth and camera pose. It unprojects the target object into 3D space, applies the translation, and projects it back to create a "3D-transformed preview image" ($I_{prev}$).
  2. DiT Denoising Backbone: Rather than replacing the source image, this preview image is fed into a Diffusion Transformer (DiT) backbone (Qwen-Image-Edit fine-tuned via LoRA) as an additional visual condition, providing explicit geometric guidance.
  3. Joint 2D-3D Supervision: During training, the model is optimized using a standard 2D latent flow-matching loss combined with a 3D depth-space supervision term (scale-invariant logarithmic loss, or SILog) applied directly to the decoded pixels. This ensures the network respects both appearance realism and geometric accuracy.
Overview of the PhyEdit framework showing the 3D transformation module, DiT backbone, and joint supervision strategy.

Datasets

The authors introduce two major resources to advance research in physically grounded editing:

  • RealManip-40K: A high-quality, real-world dataset containing paired images demonstrating physical object manipulation in 3D space, with a strong emphasis on depth-axis movement. It includes diverse scenes, multi-category objects, varying occlusion levels, and detailed depth and mask annotations. The dataset was constructed using a pipeline that filters high-quality videos, applies camera-static token clustering (via DBSCAN) to isolate stable camera viewpoints, and selects frame pairs with significant 3D displacement.
  • ManipEval: A specialized evaluation benchmark containing 200 image pairs and roughly 320 individual objects. It introduces multi-dimensional metrics evaluating 2D spatial accuracy (DIoU, Mask IoU), depth accuracy (AbsRel, $\delta_{1.25}$), 3D manipulation accuracy (Chamfer Distance, Centroid Distance), image quality, and VLM-based physical plausibility.
Samples from the RealManip-40K dataset showing diverse scenes with annotated 3D object coordinates.

Key Insights and Ideas

  • The Text-to-Spatial Bottleneck: Vague text prompts (like "further" or "closer") are inherently insufficient for fine-grained 3D control. Providing an explicit, 3D-transformed reference image supplies crucial spatial context that text alone cannot reliably convey.
  • Pixel-Level Depth Supervision is Crucial: Ablation studies revealed that supervising depth purely within the latent space is not precise enough for accurate manipulation. Decoding the denoised latent to pixels and applying a scale-invariant depth loss is essential for localizing and correctly synthesizing small objects.
  • Trajectory Generalization: Although trained on static image pairs, PhyEdit can sequentially render keyframes along a continuous spatial trajectory, maintaining geometric consistency across multiple steps.
Continuous object manipulation along a trajectory rendered by PhyEdit.

Key Results

  • Outperforming Commercial Giants: PhyEdit achieves state-of-the-art performance on ManipEval, outperforming strong closed-source commercial models like Google's Nano Banana Pro and OpenAI's GPT-Image-1.5.
  • Quantitative Gains: Compared to Nano Banana Pro, PhyEdit improves the Distance IoU (DIoU) by 5.36 points (65.33 vs 59.97) and significantly reduces the Chamfer distance by 6.40 points (18.93 vs 25.33), demonstrating much higher 3D geometric accuracy.
  • Multi-Object Superiority: PhyEdit’s advantage becomes even more pronounced in complex multi-object manipulation scenarios, where commercial baselines often fail to edit all requested objects or maintain consistent scene depth.
Qualitative comparison between PhyEdit and baseline models on ManipEval.

Limitations and Future Work

  • Upstream Dependencies: Because PhyEdit relies on an explicit 3D transformation module, any severe errors in the upstream depth estimation, camera pose estimation, or object masking will propagate to the final output. Handling transparent, reflective, or texture-poor objects remains a notable failure case.
  • Extreme Geometric Cases: The model can still fail in heavily cluttered scenes or when the requested target motion is geometrically extreme (e.g., moving an object so close that parts fall behind the camera lens).
  • Physical Dynamics: The explicit module currently models rigid relocation, projection, scale, and depth ordering rather than actual physical forces, collisions, or complex material dynamics. Incorporating true physics engine priors represents a promising future direction.

Summary updated

BibTeX
@misc{xu2026phyedit,
  author = {Ruihang Xu and Dewei Zhou and Xiaolong Shen and Fan Ma and Yi Yang},
  title = {{PhyEdit: Towards Real-World Object Manipulation via Physically-Grounded Image Editing}},
  year = {2026},
  eprint = {2604.07230},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.07230},
}
Figure