Abstract
IntrinsicEdit presents a framework for high-precision image editing by operating within an "intrinsic space" that decomposes images into physical properties like albedo, normals, and lighting. By integrating exact DDIM inversion with a novel prompt-tuning strategy, the method enables complex edits—such as texture swapping and relighting—while maintaining strict identity preservation and physically consistent global illumination. Unlike previous methods that struggle with identity drift or physical inconsistencies, IntrinsicEdit leverages the internal physical priors of diffusion models to automatically resolve complex effects like shadows and reflections.
Introduction
Generative diffusion models have made image editing accessible through text prompts and interactive interfaces. However, achieving pixel-precise control while preserving the original image's identity remains a significant challenge. A common issue is "identity drift," where a model inadvertently alters the texture or geometry of unedited regions.
Previous research explored "intrinsic decomposition" (the RGB↔X framework), which breaks an image into physical components. However, these methods faced a fundamental conflict: editing a single channel (e.g., color) often led to inconsistencies in others (e.g., shadows), while editing all channels simultaneously proved too complex for practical use. Furthermore, the stochastic nature of diffusion models meant that even a "zero-edit" reconstruction often failed to perfectly match the original input. IntrinsicEdit overcomes these hurdles through a unified pipeline that combines explicit physical control with optimized latent representations.
Methodology
IntrinsicEdit builds upon the RGB↔X framework, introducing three technical advancements to ensure precision and physical consistency.
1. Exact DDIM Inversion
To ensure the final edited image perfectly preserves the original pixels in non-edited regions, the framework employs an optimization-based DDIM inversion. This process identifies the specific starting noise vector that, when processed by the model, reconstructs the input image with zero deviation. This eliminates the "reconstruction gap" found in standard stochastic sampling.
2. Prompt Tuning
To prevent the model from "baking" unique image details into the noise vector—which often results in "ghosting" artifacts during the editing process—IntrinsicEdit optimizes a text-prompt embedding. This embedding is designed to absorb the specific features of the image that are not captured by the intrinsic channels, acting as a safety valve that keeps the noise vector "clean" and flexible for manipulation.
3. Channel-to-Prompt Transfer
Perhaps the most significant innovation is the transfer of information from physical channels to the prompt embedding. When a user edits a specific property, such as a wall's color in the albedo channel, the framework "drops" entangled channels like irradiance (lighting) that would be difficult to edit manually. The prompt embedding is then optimized to take over the information from these dropped channels. This allows the diffusion model to use its internal "knowledge of physics" to automatically re-render consistent shadows, highlights, and reflections that match the user's manual edits.
Experimental Evaluation
The authors evaluated IntrinsicEdit using a combination of synthetic scenes and real-world photography. Synthetic data from HyperSim, MIT Indoor, and InteriorVerse provided ground-truth benchmarks for material and color editing. Real-world performance was tested using a custom dataset for object removal and high-quality stock imagery for relighting demonstrations.
Key Results
- Quantitative Performance: In material editing tasks, IntrinsicEdit achieved a PSNR of 25.46, significantly outperforming the baseline RGB↔X score of 18.00. It also achieved a lower LPIPS (0.05 vs. 0.14), indicating higher perceptual similarity to the intended results.
- Object Removal and Relighting: The method outperformed commercial standards like Photoshop’s Generative Fill in preserving background textures and removing complex reflections (e.g., a vase's reflection on a marble floor). In relighting tasks, the model successfully simulated drastic changes, such as shifting from daylight to sunset, while maintaining the structural integrity of the scene.
Discussion and Limitations
While IntrinsicEdit provides a unified workflow for material changes, object manipulation, and relighting, it faces certain constraints:
- Computational Overhead: The reliance on iterative optimization makes the process relatively slow. A 512x512 image requires approximately 75 seconds, while 1080p images can take over 8 minutes.
- Domain Specificity: The underlying models were trained primarily on indoor scenes. Consequently, the framework struggles with out-of-distribution content such as humans, complex clothing, or outdoor environments.
- Manual Interaction: Users must still manually edit the intrinsic maps (e.g., painting on an albedo map). Future iterations could integrate generative inpainting within the intrinsic channels to further automate the workflow.
Conclusion
IntrinsicEdit represents a significant step toward professional-grade generative image editing. By operating in intrinsic space and leveraging prompt tuning to bridge the gap between explicit physical maps and latent model priors, it achieves a level of precision and physical consistency that was previously unattainable in standard diffusion-based workflows.
Summary updated