L-DiffER: Single Image Reflection Removal with Language-Based Diffusion Model

Yuchen Hong, Haofeng Zhong, Shuchen Weng, Jinxiu Liang, Boxin Shi

Abstract

Single Image Reflection Removal (SIRR) is a fundamental yet ill-posed challenge in computer vision, where a single captured image must be decomposed into its constituent transmission and reflection layers. Traditional methods often struggle with complex reflections or dark backgrounds, frequently resulting in artifacts or structural loss. This paper presents L-DiffER, the first language-based diffusion model designed for SIRR. By leveraging natural language prompts as semantic anchors and employing an iterative refinement strategy with physical constraints, L-DiffER achieves state-of-the-art performance, particularly in challenging low-transmission regions.

Introduction

Capturing photos through glass often introduces unwanted reflections. Mathematically, the observed mixture image $M$ is the sum of the transmission layer $T$ and the reflection layer $R$ ($M = T + R$). Separating these layers from a single image is inherently difficult because an infinite number of combinations can produce the same mixture. While deep learning has improved results, existing models often fail when reflections are intense or when the background lacks sufficient contrast. Furthermore, generative models like Stable Diffusion, while powerful, often "hallucinate" content, leading to structural distortions and color shifts that deviate from the original scene.

Methodology

L-DiffER addresses these issues by building upon the Latent Diffusion Model (LDM) architecture and introducing three key innovations:

1. Language Guidance

The model utilizes dual text prompts to provide high-level semantic context. A positive prompt describes the desired transmission layer (e.g., "A deer on a stone floor"), while a negative prompt characterizes the reflection (e.g., "Sunshine on the ground"). This semantic anchoring allows the model to distinguish between similar visual features based on their conceptual identity.

Recovered transmission layer of a deer, demonstrating the effectiveness of language-guided restoration.

2. Iterative Condition Refinement (ICR)

Unlike standard models that use a static mixture image as a condition, L-DiffER employs an iterative process. At each denoising step, it estimates a pseudo-transmission layer, which is then used to refine the color and structure conditions for the subsequent step. This progressive "cleaning" ensures higher fidelity to the original background.

3. Multi-Condition Constraint Mechanism

To mitigate hallucination, the authors implement two physical constraints:

  • Maximum Value Constraint (MVC): Ensures $T \le M$, preventing the model from generating pixels brighter than the original mixture.
  • Saturation-aware Structure Constraint (SSC): Balances the use of original image edges with the diffusion model's generative capacity, allowing for better reconstruction in overexposed or extremely dark areas.
Visualization of layer separation in a complex architectural scene, identifying transmission (red) and reflection (yellow) regions.

Experimental Results

The model was trained on a comprehensive dataset of 50,000 synthetic triplets and 290 real-world pairs. Evaluation on benchmark datasets including SIR², Real20, and Nature demonstrated L-DiffER's superiority. On the SIR² dataset, it achieved a PSNR of 25.18, surpassing previous state-of-the-art methods. Perceptual metrics also showed significant gains, with an FID of 44.66 and LPIPS of 0.121. Qualitative analysis confirms that L-DiffER excels at removing stubborn reflections in dark regions where traditional models typically leave residue.

Discussion and Conclusion

The integration of language as a semantic anchor represents a significant shift in SIRR. By providing the model with a conceptual understanding of the scene, L-DiffER effectively navigates the fidelity-generation trade-off. While the model faces challenges in cases of extreme semantic ambiguity, its ability to "see through" glass using both visual and linguistic cues sets a new standard for image restoration. Future work will explore more granular user guidance to further enhance performance in highly ambiguous scenarios.

Summary updated

BibTeX
@inproceedings{hong2024l,
  author = {Yuchen Hong and Haofeng Zhong and Shuchen Weng and Jinxiu Liang and Boxin Shi},
  title = {{L-DiffER: Single Image Reflection Removal with Language-Based Diffusion Model}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72661-3\_4},
}
Figure