NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deep Reflection Prior

Qingnan Fan, Yingda Yin, Dongdong Chen, Yujie Wang, Angelica I. Avilés-Rivero, Ruoteng Li, Carola-Bibiane Schönlieb, Dani Lischinski, Baoquan Chen · OpenReview

Abstract

Reflections are very common phenomena in our daily photography, which distract people's attention from the scene behind the glass. The problem of removing reflection artifacts is important but challenging due to its ill-posed nature. Recent learning-based approaches have demonstrated a significant improvement in removing reflections. However, these methods are limited as they require a large number of synthetic reflection/clean image pairs for supervision, at the risk of overfitting in the synthetic image domain. In this paper, we propose a learning-based approach that captures the reflection statistical prior for single image reflection removal. Our algorithm is driven by optimizing the target with joint constraints enhanced between multiple input images during the training stage, but is able to eliminate reflections only from a single input for evaluation. Our framework allows to predict both background and reflection via a one-branch deep neural network, which is implemented by the controllable latent code that indicates either the background or reflection output. We demonstrate superior performance over the state-of-the-art methods on a large range of real-world images. We further provide insightful analysis behind the learned latent code, which may inspire more future work.

Introduction

Single Image Reflection Removal (SIRR) is a classic computer vision challenge. When taking photos through glass, the resulting image $I$ is a superposition of the desired background $B$ and an unwanted reflection $R$. Mathematically, $I = B + R$. Because there are infinite combinations of $B$ and $R$ that can produce $I$, the problem is fundamentally ill-posed.

Historically, solutions have split into two camps: optimization-based methods that use multiple images to find a consistent background, and deep learning methods that use neural networks to predict the background from a single shot. While optimization is physically robust, it is slow. Conversely, deep learning is fast but often fails on real-world images because it is typically trained on synthetic data that doesn't perfectly match real-world physics.

Proposed Method: Learning through Optimization

This paper proposes a hybrid "learning through optimization" framework. The goal is to create a model that has the speed of a neural network but the robust generalization of multi-image physics.

Training Strategy

The key innovation is using multi-image constraints only during the training phase. The network is shown pairs of images that share the same background but have different reflections. This allows the model to learn the underlying statistical priors of reflections without needing perfectly clean ground-truth labels.

Traditional optimization methods use multiple images to separate reflections, providing a physically sound but slow baseline that this work leverages during training.

The training is guided by several physical loss functions:

  • Reconstruction Loss: Ensures the predicted background and reflection sum back to the original input.
  • Floor/Ceiling Rejection: Prevents trivial solutions (like a black background) and ensures the background isn't brighter than the input, adhering to the law of energy conservation.

The Latent Code Backbone

Unlike standard architectures that use separate branches for background and reflection, this method uses a single-branch Fully Convolutional Network (FCN). A small "latent code" (128 parameters) acts as a switch, telling the network whether to output the background or the reflection. This heavy weight-sharing acts as a powerful regularizer, forcing the network to learn shared features of light transport.

Experimental Results

The proposed method was evaluated on several benchmarks, including the SIR² dataset and a collection of real-world images.

Performance and Speed

The model achieves state-of-the-art results, significantly outperforming supervised models on real-world data. This confirms that the optimization-based training strategy effectively bridges the "domain gap" that plagues synthetic-only models. In terms of speed, the network processes a 540x400 image in just 9 milliseconds, compared to over 80 seconds for traditional optimization.

The proposed model performs single-image inference at test time, effectively removing complex reflections in real-time.

User Study

In a blind user study, the results produced by this method were preferred nearly twice as often as the next-best performing algorithm, highlighting its practical utility for real-world photography.

Conclusion

By combining the strengths of optimization and deep learning, the Deep Reflection Prior offers a robust and efficient solution for reflection removal. By baking physical laws into the learning process via multi-image constraints, the authors have created a model that generalizes well to the complexities of real-world glass surfaces while maintaining the real-time performance required for modern mobile devices.

Summary updated

BibTeX
@misc{fan2019deep,
  author = {Qingnan Fan and Yingda Yin and Dongdong Chen and Yujie Wang and Angelica I. Avilés-Rivero and Ruoteng Li and Carola-Bibiane Schönlieb and Dani Lischinski and Baoquan Chen},
  title = {{Deep Reflection Prior}},
  year = {2019},
  eprint = {1912.03623},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.03623},
}
Figure