NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Diffusion Handles: Enabling 3D Edits for Diffusion Models by Lifting Activations to 3D

Karran Pandey, Paul Guerrero, Matheus Gadelha, Yannick Hold-Geoffroy, Karan Singh, Niloy J. Mitra

Introduction

Generative AI has reached a point where creating high-fidelity images from text is trivial. However, precisely editing these images—specifically for 3D-aware manipulations like rotating an object or shifting its position in space—remains a significant challenge. Diffusion Handles introduces a training-free framework that enables these complex 3D edits directly on images generated by diffusion models or even real photographs. By "lifting" internal neural activations into a 3D proxy space and transforming them, the method allows for intuitive scene manipulation while preserving the object's identity and the overall photo-realism of the scene.

The Challenge of 3D-Aware Editing

While models like Stable Diffusion are excellent at generation, they are notoriously difficult to steer for precise edits. Standard 2D editing tools often fail to maintain perspective, leading to flat or distorted results when an object is moved. Existing solutions typically fall into two categories: 2D-only methods that lack spatial awareness, or 3D-heavy methods that require expensive fine-tuning on specific object categories or massive 3D datasets. Diffusion Handles fills this gap by providing a middle ground: a way to perform 3D-aware manipulations on any "in-the-wild" image without needing a specialized 3D model for every object.

Diffusion Handles enables a variety of 3D-aware edits, including perspective changes, plausible lighting/shadow adjustments, and manipulations of real-world photographs.

Methodology: Lifting Activations to 3D

The core innovation of Diffusion Handles is the 3D-aware Flow Field. Rather than editing pixels directly, which often breaks the underlying image structure, the authors edit the activations—the internal features—of the diffusion model. The process involves three key stages:

  1. Inversion and Lifting: The input image is first "inverted" into the diffusion model to identify the noise and activations required to recreate it. Simultaneously, a monocular depth estimator (such as ZoeDepth) generates a proxy 3D geometry of the scene. The 2D activations are then mapped onto this 3D surface.
  2. 3D Transformation: The user applies standard 3D transformations—rotation, translation, or scaling—to the object's 3D point cloud.
  3. Projection and Guidance: The transformed 3D points are projected back onto the 2D image plane to create a "target" activation map.

To synthesize the final image, a Guidance Energy function nudges the denoising process to ensure the new activations match the transformed target. A "cyclic" guidance schedule alternates between different neural layers to prevent contradictory guidance and ensure visual consistency.

Experimental Evaluation

The authors evaluated Diffusion Handles using two datasets: PhotoGen (a collection of 26 real and generated images for qualitative study) and a new Benchmark Dataset consisting of 50 synthetic scenes with ground-truth depth.

Examples of 3D-aware edits on complex scenes, such as moving a car along a beach or adjusting the perspective of a sunflower.

Key Results

  • Edit Adherence: On the synthetic benchmark, the method achieved an Intersection over Union (IoU) of 0.87, significantly outperforming baselines like Zero123 (0.59).
  • Identity Preservation: Perceptual similarity metrics (LPIPS) confirmed that the method maintains the "soul" of the object—its texture and specific details—even through significant perspective shifts.
  • User Preference: In user studies, participants preferred Diffusion Handles for identity preservation and overall plausibility by margins of 70-80% over competing methods.

Discussion and Limitations

A key insight of the paper is that internal activations are a superior proxy for object identity compared to raw pixels. Furthermore, the method is remarkably robust to the "proxy" depth maps provided by monocular estimators; the diffusion model's strong prior is often enough to correct minor geometric inconsistencies.

However, limitations remain. The method depends heavily on the initial depth estimation; if the estimator misses a thin structure, the transformation will appear distorted. Additionally, significant rotations require the model to "hallucinate" previously hidden sides of an object, which can occasionally lead to a loss of specific identity details. Future work aims to incorporate shape priors to better handle occlusions and extend the framework to temporally consistent video output.

Summary updated

BibTeX
@inproceedings{pandey2023diffusion,
  author = {Karran Pandey and Paul Guerrero and Matheus Gadelha and Yannick Hold-Geoffroy and Karan Singh and Niloy J. Mitra},
  title = {{Diffusion Handles: Enabling 3D Edits for Diffusion Models by Lifting Activations to 3D}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=nHTN2wv6vu},
}
Figure