Abstract
Manipulating the material appearance of objects in images is critical for applications like augmented reality, virtual prototyping, and digital content creation. We present MaterialFusion, a novel framework for high-quality material transfer that allows users to adjust the degree of material application, achieving an optimal balance between new material properties and the object's original features. MaterialFusion seamlessly integrates the modified object into the scene by maintaining background consistency and mitigating boundary artifacts. Through comprehensive quantitative evaluations and user studies, we demonstrate that MaterialFusion significantly outperforms existing methods in terms of quality, user control, and background preservation.
The Challenge of Material Transfer
In digital content creation, changing an object's material—such as turning a plastic toy into a golden artifact—traditionally requires intensive 3D modeling and rendering. While generative diffusion models have simplified 2D image editing, precise "material transfer" remains difficult. Existing AI methods frequently struggle with three core issues:
- Geometric Distortion: Models often alter the fundamental shape or fine details of the object when applying a new texture.
- Lack of Control: Most tools offer a binary "all or nothing" approach, preventing users from fine-tuning the intensity of the material application.
- Background Artifacts: Material changes often "leak" into the surrounding environment or create unnatural boundaries, breaking the visual coherence of the scene.
The MaterialFusion Framework
MaterialFusion addresses these challenges by integrating specialized components into a Stable Diffusion (v1.5) pipeline to ensure high-fidelity transfer without sacrificing object identity.
Key technical innovations include:
- IP-Adapter for Material Encoding: Instead of relying solely on text prompts, which can be imprecise, the system uses an IP-Adapter to extract specific features directly from a reference material image.
- Guide-and-Rescale (GaR): This self-guidance mechanism ensures geometric preservation. By comparing current generation features to a "clean" version of the original object (via DDIM inversion), it prevents the object's shape from drifting during the edit.
- Dual-Masking Strategy: To prevent background leakage, MaterialFusion employs a two-stage masking process. The first mask confines material transfer to the object during the attention phase, while the second blends the original background back in at the latent level during denoising.
- Material Transfer Force ($\lambda$): By modifying decoupled cross-attention layers, the authors introduced a tunable parameter that allows users to dial in the perfect balance between the original texture and the new material.
Key Results and Controllability
MaterialFusion was evaluated using a new dataset of 15 material exemplars and 25 real-world object photographs. The framework demonstrates a unique ability to progressively introduce texture and color, allowing for nuanced edits that maintain physical plausibility.
Quantitative metrics such as LPIPS (for detail preservation) and CLIP similarity (for material fidelity) show that MaterialFusion consistently outperforms baselines like ZeST. In a user study involving over 1,100 responses, MaterialFusion was preferred 88% of the time for overall quality. Unlike competitors that often produce a "cut-and-paste" appearance, MaterialFusion naturally adapts complex lighting and shadows to the new material surface.
Conclusion and Future Work
MaterialFusion represents a significant advancement in zero-shot image editing, providing unprecedented control over material properties while preserving object identity and background integrity. While the model currently excels at a wide range of transfers, future work will focus on handling extremely intricate textures and further refining global lighting consistency. The team also aims to extend this framework to video-based material transfer for more dynamic applications.
Summary updated