Reproduce “MatSwap: Light-aware material transfers in images” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Ivan Lopes, Valentin Deschaintre, Yannick Hold-Geoffroy, Raoul de Charette

MatSwap introduces a method for realistically transferring materials to designated surfaces within a photograph using a light- and geometry-aware diffusion model. The system achieves seamless material integration while preserving existing scene illumination and geometry, outperforming baseline methods in quantitative metrics and user studies.

Key insights

  • Explicitly conditioning a diffusion model with estimated intrinsic scene properties (normal and diffuse irradiance maps) is critical for realistic material integration and consistent illumination preservation.
  • Training on a large-scale synthetic dataset designed with paired material changes under consistent lighting and geometry enables robust generalization of the material transfer task to diverse real-world images.
  • Combining exemplar image conditioning with direct scene descriptor concatenation into the UNet, augmented by modality dropout and classifier-free guidance, provides stable training and high material fidelity.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.