2D Instance Editing in 3D Space

Yuchen Xie, Aoxuan Pan, Ming-Xian Lin, Wei Huang, Yi-Hua Huang, Han Wang2025

Abstract

Interactive image editing has seen significant progress with 2D generative models, yet these methods often struggle with 3D consistency and object identity during large-scale manipulations. We present a "2D-3D-2D" framework that lifts 2D objects into a 3D Gaussian Splatting (3DGS) representation. By applying As-Rigid-As-Possible (ARAP) constraints to a sparse set of control points, users can perform complex deformations and rotations that maintain structural integrity. The edited object is then seamlessly re-integrated into the original scene. Our approach demonstrates superior performance in preserving instance-specific details and handling significant viewpoint changes compared to existing 2D-based methods.

Introduction

Current state-of-the-art interactive editing tools like DragGAN and DragDiffusion operate primarily within 2D pixel or latent spaces. While effective for minor adjustments, these models lack an inherent understanding of 3D geometry. Consequently, "dragging" an object to change its pose or orientation often results in "melting" artifacts or the loss of fine-grained structural details. Furthermore, many existing models are category-specific, limiting their utility for arbitrary "in-the-wild" objects. To address these challenges, we propose a pipeline that treats image editing as a 3D sculpting process, ensuring physical plausibility and geometric consistency.

Methodology

The proposed framework follows a three-stage pipeline: Lifting, Physics-Sensible Editing, and Re-integration.

Lifting: From 2D to 3D

The process begins by isolating the target object using the Segment Anything Model (SAM). This 2D segment is then processed by TRELLIS, a 3D generation model, to create a 3D Gaussian Splatting (3DGS) representation. 3DGS is utilized for its ability to provide high-fidelity reconstructions and real-time rendering capabilities.

Physics-Sensible Editing

To facilitate intuitive user interaction, we implement an As-Rigid-As-Possible (ARAP) algorithm. Rather than manipulating the millions of individual Gaussians directly, the system samples 512 sparse control points to form a topology-aware graph. When a user interacts with these points, the system optimizes for local rigidity, ensuring the object deforms naturally without losing its structural identity.

The 2D-3D-2D pipeline: from original image to 3D manipulation and final integrated output.

Re-integration: From 3D to 2D

Once edited, the object must be placed back into the original scene. This involves two main steps:

  1. Background Restoration: The "hole" left by the original object is filled using a resolution-robust inpainting network.
  2. Seamless Integration: The edited 3D object is rendered at its new 6DoF pose. To harmonize the object with its environment, PixelHacker is employed for targeted inpainting around the boundaries, ensuring consistent lighting and texture blending.
3D editing of a horse statue using ARAP constraints to maintain structural integrity.

Results and Discussion

Our framework demonstrates several key advantages over traditional 2D editing methods:

  • Identity Preservation: By maintaining a 3D representation, the model preserves specific instance features (e.g., mechanical details on a robot or markings on an animal) during complex transformations.
  • Viewpoint Flexibility: The system can hallucinate occluded parts of an object during the 2D-to-3D lifting phase, allowing for rotations that reveal the "back" of an object—a task typically impossible for 2D-only models.
  • Generalization: The use of general-purpose foundation models (SAM, TRELLIS) allows the framework to handle a wide variety of object classes without requiring category-specific training.

However, the method's performance is inherently tied to the quality of the initial 3D reconstruction. Severe occlusions or extreme lighting in the source image can lead to suboptimal 3D models. Additionally, while PixelHacker improves blending, achieving perfect consistency in highly complex backgrounds remains an area for future research.

Conclusion

By bridging the gap between 2D image editing and 3D geometric modeling, our "2D-3D-2D" framework provides a robust solution for complex object manipulation. Future work will focus on developing dedicated refinement models to further enhance the visual harmony between edited objects and their original environments.

Summary updated

BibTeX
@misc{xie2025d,
  author = {Yuchen Xie and Aoxuan Pan and Ming-Xian Lin and Wei Huang and Yi-Hua Huang and Han Wang},
  title = {{2D Instance Editing in 3D Space}},
  year = {2025},
  eprint = {2507.05819},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.05819},
}
Figure