UCMNet: Uncertainty-Aware Context Memory Network for Under-Display Camera Image Restoration

Daehyun Kim, Youngmin Kim, Yoon Ju Oh, Tae Hyun Kim

TL;DR

UCMNet introduces an uncertainty-aware framework for under-display camera (UDC) image restoration that adaptively fixes spatially varying degradations instead of applying a uniform, one-size-fits-all correction. By leveraging dual memory banks to map local uncertainty patterns to high-frequency details, it achieves state-of-the-art restoration quality across multiple benchmarks while using 30% fewer parameters than competing models.

What Problem Does This Paper Address?

Under-display cameras (UDCs) enable true full-screen smartphone designs by hiding the camera sensor beneath the display panel. However, this layout forces incoming light to travel through OLED pixel grids and substrate layers, causing severe light diffraction, scattering, and internal reflections. The resulting images suffer from severe blur, flare, noise, and color distortion.

Crucially, this degradation is not uniform. It varies drastically depending on the display panel type (e.g., Pentile OLED vs. Transparent OLED) and even within a single captured image—the center of the lens experiences completely different diffraction characteristics than the boundaries. Existing restoration methods typically apply uniform, deterministic corrections across the entire image, failing to recover fine, high-frequency details in regions with complex, location-dependent artifacts.

Methods

The authors propose UCMNet (Uncertainty-Aware Context Memory Network), which treats UDC image restoration from an uncertainty-driven perspective. Instead of treating all pixels equally, the network estimates pixel-wise confidence to guide region-adaptive restoration.

Key innovations include:

  • High-Frequency Uncertainty-Driven Loss (HF-UDL): Traditional uncertainty losses weight network supervision based on overall reconstruction errors. HF-UDL applies a Laplacian operator to focus uncertainty estimation specifically on high-frequency components, forcing the network to learn fine-grained structural details.
  • Uncertainty-Prior Transformer (UPT) Block: Positioned in the decoder, this block utilizes two learnable memory banks:
  • Memory Bank: Learns and stores spatial uncertainty patterns.
  • Context Bank: Stores corresponding high-frequency information to compensate for those patterns. The network uses the estimated uncertainty map as a "key" to query the Memory Bank, which then routes the model to the correct address in the Context Bank to retrieve region-adaptive details.

  • Directional Cross-Attention: Fuses the retrieved context with input features using parallel vertical and horizontal attention mechanisms to capture spatial dependencies efficiently.

  • Frequency Convolution Module (FCM): Placed within the encoder and decoder blocks, the FCM explicitly enhances features in the Fourier domain to better resolve diffraction artifacts.

Datasets

The model was evaluated on three widely used UDC benchmarks:

  • POLED: 300 paired real-world images (240 train / 30 val / 30 test) from a Pentile OLED display. These images suffer from severe color shifts and low-light noise due to very low display transmittance (~3%).
  • TOLED: 300 paired real-world images from a Transparent OLED display, which primarily exhibit large blurs due to higher transmittance (~20%).
  • SYNTH: A synthetic dataset consisting of 2,016 training and 360 testing image pairs generated using point spread functions (PSFs) from a commercial UDC panel.

Key Insights and Ideas

  • Uncertainty as a Dynamic Prior: Instead of just using uncertainty to weight the loss function during training, UCMNet uses the predicted uncertainty map at inference time as a routing mechanism to fetch specific high-frequency restoration contexts.
  • Isolating High Frequencies: Standard uncertainty estimation can get overwhelmed by coarse degradations like massive blur or global color shifts. Isolating high frequencies via a Laplacian operator allows the network to pinpoint exactly where fine textures are lost.
  • Efficiency via Memory Banks: By offloading complex degradation patterns to a discrete pair of key-value memory banks, the model achieves superior performance with a significantly lower parameter footprint than heavy-weight architectures.

Key Results

  • Quantitative Performance: UCMNet achieves state-of-the-art (SOTA) results across all three benchmarks. On the POLED test set, it achieved a PSNR of 33.81 dB (outperforming the previous best of 33.39 dB). On the TOLED test set, it reached 38.37 dB PSNR. On the SYNTH dataset, it achieved 46.71 dB PSNR, a notable improvement over competing models.
  • Computational Efficiency: UCMNet delivers these SOTA results with 30% fewer parameters (only 3.2M parameters) than competing models like FSI (5.3M) or UDC-UNet (5.7M).
Figure 1. PSNR/SSIM comparisons on the POLED and TOLED datasets. Each marker denotes a restoration model positioned by its PSNR (x-axis) and SSIM (y-axis). UCMNet lies in the upper- right region, delivering the best performance and computational efficiency among all competing methods.
  • Qualitative Performance: Visual comparisons demonstrate that UCMNet effectively removes grid-like artifacts, handles irregular blurs, and restores sharp text and fine structures where other models leave blurry or distorted results.
Figure 2. Visual comparison of restored results (top row) and error maps (bottom row) among existing UDC restoration models and the proposed UCMNet. UCMNet shows fewer artifacts and more accurate texture reconstruction (blue: small errors, yellow: large errors).

Limitations and Future Work

Not discussed in the paper.

Summary updated

BibTeX
@inproceedings{kim2026ucmnet,
  author = {Daehyun Kim and Youngmin Kim and Yoon Ju Oh and Tae Hyun Kim},
  title = {{UCMNet: Uncertainty-Aware Context Memory Network for Under-Display Camera Image Restoration}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=s8yeNmyu9Z},
}
Figure