DeGlare: Self-Supervised Specular Removal for Industrial Metallic Surfaces via Multi-Illumination Priors

Bisma Amjad, Henry Wood, William Jacobs, Andrew R. MillsNeurIPS 2026

TL;DR

Industrial inspection cameras hate shiny metal: mirror-like reflections blind sensors and hide critical surface defects, while existing AI glare-removers trained on everyday objects fail on industrial machinery. DeGlare solves this by learning to strip away glare using just a single static scene lit from multiple angles—no painstaking ground-truth labels, polarizing filters, or massive model architectures required.

Figure 1: Depiction of specular highlight removal from an industrial robotic rig. Our method achieves competitive performance despite being trained on a single scene and without relying on ground-truth supervision.

What Problem Does This Paper Address?

If you shine a flashlight on a matte piece of paper, light scatters evenly—what physicists call diffuse (or Lambertian) reflection. Shine it on a machined steel pipe, and you get a blinding white hotspot: a specular highlight. For automated visual inspection on factory floors, these highlights saturate camera sensors and obscure cracks, textures, and geometry.

Current deep learning models try to separate an image ($I$) into its underlying matte surface ($D$) and the glare ($S$), following the simple rule $I = D + S$. However, these models have three major blind spots when brought into a factory:

  1. Domain Gap: They are trained on natural objects like plastic, ceramics, and fruit. Zero-shot inference on raw, highly reflective metal produces ugly artifacts (like black blotches or erased textures).
  2. The Ground-Truth Trap: Fine-tuning these models requires thousands of perfectly glare-free ground-truth photos. Capturing those requires cross-polarization—putting carefully aligned polarizing filters on both the light sources and the camera lenses in a dark, controlled room. Doing that at scale across a live factory floor is practically impossible.
  3. Heavyweight Compute: State-of-the-art methods rely on massive multi-stage networks or diffusion models that are slow and computationally expensive.

Methods

Instead of building a bigger network, the authors build a smarter training loop grounded in basic optical physics: when light moves across a static scene, the underlying metal stays the same, while the glare moves.

Figure 2: Architectural overview of DeGlare. Each encoder layer comprises two 3×3 convolutional layers (64, 128, 256, 512 channels) with ReLU activation and 2 × 2 max-pooling for downsampling. The latents from shared encoders are concatenated and passed to dual decoders. The decoders utilize 2 × 2 upscaling, followed by the concatenation of integrated skip connections. Each layer further consist of two 3 × 3 convolutional layers (512, 128, 64 channels) with ReLU activation. The architecture outputs using a 1 × 1 convolutional layer and a Sigmoid activation.

DeGlare uses a lightweight, standard U-Net-style encoder-decoder architecture. During training, it takes two photos ($I_1, I_2$) of the exact same stationary rig under different lighting and runs them through a shared encoder to get latent representations ($z_1, z_2$). Here is what makes it tick:

  • Latent Permutation (Novel): The network concatenates the latents in two orders—a primary pass $[z_1 \oplus z_2]$ and a swapped pass $[z_2 \oplus z_1]$—feeding them into two separate decoders: one for the diffuse base, one for the specular glare.
  • Physics-Informed Self-Supervision (Novel): Because both photos show the same object, a Diffuse Invariance Loss forces the diffuse predictions to match ($\hat{D}_1 \approx \hat{D}_2$). Meanwhile, a Relighting Loss forces the network to reconstruct Photo 1 by combining the glare predicted from Photo 1 with the base metal predicted from Photo 2 ($I_1 \approx \hat{D}_2 + \hat{S}_1$). This mathematically traps any lighting-dependent changes inside the specular decoder.
  • Proxy Supervision: To give the network an initial anchor without ground-truth labels, the authors apply a classic, non-ML multi-image median-gradient filter (the Weiss method) across the training sequence to create a rough, approximate diffuse target.
  • Single-Image Inference: Once trained, you throw away the specular decoder and the image pairs. At test time, DeGlare takes a single image, duplicates its latent vector, removes the glare, and restores natural color saturation by swapping the cleaned lightness channel back into the original image's $L^*a^*b^*$ color space.

Datasets

  • MIR (Multi-Illumination Industrial Rig) Dataset: Newly introduced by the authors to fill the void of industrial benchmarks. They pointed three machine-vision cameras at a metallic robotic rig across multiple poses under randomized lighting directions, intensities, and color temperatures. Crucially, all ~500 training images come from a single camera view and rig pose. The 300 test images use completely unseen camera angles and rig positions, accompanied by cross-polarized ground truths used strictly for evaluation.
  • SHIQ Dataset: A standard natural-image highlight dataset used briefly in the appendix to test zero-shot out-of-distribution generalization.

Key Insights and Ideas

  • Priors beat parameters: You don't need a 440-million-parameter multi-stage network or a diffusion model to separate reflections. Guiding a basic 14M-parameter encoder-decoder with clever multi-illumination physics priors outperforms much heavier architectures.
  • One scene is enough: Standard supervised models need 1,000+ scenes to generalize. By learning how light behaves on a specific material via contrastive lighting pairs, DeGlare generalizes to new viewpoints, new rig poses, and even natural images after seeing just one static scene (~450 training samples).
  • Bootstrapping beats perfection: Even though the classical Weiss filter leaves behind noticeable glare artifacts, combining it as a "good enough" proxy with strict self-supervised relighting losses allows the neural network to surpass its teacher by 4 dB PSNR.

Key Results

Evaluated on the unseen views and poses of the MIR dataset, DeGlare beats both classical methods and heavy deep-learning baselines (TSHRNet, Careaga et al., Hu et al.):

  • Higher Reconstruction Quality: DeGlare achieves 14.22 dB PSNR (vs. 13.26 dB for runner-up TSHRNet and 10.22 dB for Weiss) and 0.62 SSIM (beating all deep learning baselines, which scored 0.53–0.58).
  • Lighting Consistency: Across shifting lights, DeGlare yields the lowest PSNR standard deviation (1.19 vs. 2.09–3.36 for deep baselines), proving its outputs remain stable regardless of where the light shines.
  • Massive Efficiency Gains: DeGlare trains from scratch in under two hours on a single H100 GPU. At inference, it uses just 13.98M parameters—nearly 8.4x smaller than TSHRNet (117M) and 31x smaller than Careaga et al. (443M). Qualitatively, it avoids the black holes and texture-blurring exhibited by competitors.

Limitations and Future Work

  • Needs static scenes & diverse lighting for training: Because training relies on multi-illumination pairs of a stationary target, you can't easily train it on a non-stop, high-speed conveyor belt, nor will it learn well if the ambient lighting barely changes.
  • Clipped pixels are gone forever: Like its peers, when a metallic glare completely saturates the sensor (pure white pixels), DeGlare cannot magically hallucinate the microscopic surface textures that were washed out.
  • Future directions: The authors plan to investigate how few multi-illumination photos you can get away with during training, as well as how sensitive the framework is to different proxy-supervision algorithms.

Summary updated

BibTeX
@inproceedings{amjad2026deglare,
  author = {Bisma Amjad and Henry Wood and William Jacobs and Andrew R. Mills},
  title = {{DeGlare: Self-Supervised Specular Removal for Industrial Metallic Surfaces via Multi-Illumination Priors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=HZaT8wSiXs},
}
Figure