TL;DR
TransLight introduces a novel method for transferring complex, geometric light effects (like lens flares and Tyndall beams) from a reference image to a target image, specifically for portrait photography. It achieves this by decoupling light from image content using diffusion models and a large-scale dataset, enabling highly customizable and realistic lighting adjustments while preserving original image integrity.
What Problem Does This Paper Address?
Existing methods for image relighting often struggle to achieve both precise control over complex lighting effects and maintain the original content of the image. This is particularly challenging when transferring geometric light effects, where the lighting's structure (direction, shape) is as important as its appearance. Many approaches either leak content from the reference image, alter facial identity, or produce unnatural interactions between the subject and the transferred lighting. Users desire the ability to apply specific, artistic lighting styles (like those found in professional photography templates) to their own portraits without compromising the original image's integrity or requiring complex manual editing.
Methods
The core of TransLight lies in Generative Decoupling, a strategy that uses two fine-tuned diffusion models to separate image content from lighting effects.
- Light Removal Model: This model learns to remove prominent light effects (like lens flares, Tyndall beams) from an image, producing a "content-only" version.
- Light Extraction Model: This model learns to isolate and extract the light effects themselves, creating a "light-only" representation.
These models are trained on a massive, newly created dataset of image-content-light triplets. The authors then use a pre-trained generative model (IC-Light) and fine-tune it on these triplets. This two-stage fine-tuning process (LoRA for content preservation, then ControlNet for light injection) allows for flexible control over the transferred light effects, including adjustments to position, direction, and intensity.
Datasets
- New Dataset: The authors construct a large-scale dataset of image-content-light triplets. This dataset contains over one million samples, created by:
- Filtering a large collection of natural images for those with prominent light effects using the InternVL2.5 vision-language model.
- Applying the generative decoupling models to separate content and light.
- Filtering the generated triplets for quality.
- Light Material Dataset: Approximately 100K "light material" images (pure black background with light effects) were used for training the generative decoupling models. 10K were sourced from public datasets, and 90K were generated using the FLUX.1-schnell model.
- Evaluation Datasets:
- MIIW Dataset: Used for evaluating performance on indoor scenes, though TransLight is not specifically designed for this.
- Custom Test Set: 1000 triplets constructed using the generative decoupling strategy, not used in training, for evaluating TransLight against IC-Light.
Key Insights and Ideas
- Generative Decoupling is Key: The ability to accurately separate light effects from image content is the most critical and challenging step. Real-world lighting is complex and tightly coupled with image content, making simple style transfer insufficient.
- Diffusion Models for Disentanglement: Fine-tuning diffusion models proves effective for disentangling complex light effects from image content, a task that traditional methods struggle with.
- Large-Scale Triplet Data is Crucial: Training on a million-scale dataset of image-content-light triplets is essential for achieving high-fidelity and flexible light effect transfer.
- Two-Stage Fine-Tuning for Control: Separating the fine-tuning process into stages (LoRA for content preservation, ControlNet for light injection) allows for better control and more robust results.
- Geometric Structure Matters: The paper emphasizes transferring the geometric structure of light effects, not just their appearance, which is crucial for realistic results.
Key Results
- Quantitative: TransLight achieved a Light-FID score of 6.02, significantly outperforming IC-Light (10.05) on their custom test set. It also showed strong performance on the MIIW dataset with RMSE of 0.212 and SSIM of 0.627, competitive with methods designed for indoor scenes.
- Qualitative: TransLight successfully transfers complex, geometric light effects (Tyndall beams, lens flares) to portrait images with high fidelity. It preserves content integrity better than competing methods like IC-Light, which often leaks reference content or darkens images. The method allows for flexible control over the transferred light effects (position, direction, intensity), as visualized in Figure 4. A user study showed TransLight significantly outperformed competing methods in both light effect consistency and content consistency.
Limitations and Future Work
- Light Extraction Dependence: The quality of the transferred output heavily relies on the light extraction model's ability to accurately capture light effects. Subtle or indistinct light effects in the reference image can lead to less pronounced transfer results.
- Reference Image Mismatch: If the reference image scene is too dissimilar to the target image scene, the transfer might be less meaningful or appropriate.
- Future Work: The authors suggest further enhancing the light extraction model's capacity to disentangle and represent light effects, especially for subtle lighting. They also highlight the potential for broader applications beyond portrait photography.
Summary updated