LAB-Net: LAB Color-Space Oriented Lightweight Network for Shadow Removal

Hong Yang, Gongrui Nan, Mingbao Lin, Fei Chao, Yunhang Shen, Ke Li, Rongrong JiarXiv 2022

Abstract

This paper focuses on the limitations of current over-parameterized shadow removal models. We present a novel lightweight deep neural network that processes shadow images in the LAB color space. The proposed network termed "LAB-Net", is motivated by the following three observations: First, the LAB color space can well separate the luminance information and color properties. Second, sequentially-stacked convolutional layers fail to take full use of features from different receptive fields. Third, non-shadow regions are important prior knowledge to diminish the drastic color difference between shadow and non-shadow regions. Consequently, we design our LAB-Net by involving a two-branch structure: L and AB branches. Thus the shadow-related luminance information can well be processed in the L branch, while the color property is well retained in the AB branch. In addition, each branch is composed of several Basic Blocks, local spatial attention modules (LSA), and convolutional filters. Each Basic Block consists of multiple parallelized dilated convolutions of divergent dilation rates to receive different receptive fields that are operated with distinct network widths to save model parameters and computational costs. Then, an enhanced channel attention module (ECA) is constructed to aggregate features from different receptive fields for better shadow removal. Finally, the LSA modules are further developed to fully use the prior information in non-shadow regions to cleanse the shadow regions. We perform extensive experiments on the both ISTD and SRD datasets. Experimental results show that our LAB-Net well outperforms state-of-the-art methods. Also, our model's parameters and computational costs are reduced by several orders of magnitude.

Introduction

Shadow removal is a classic computer vision challenge that involves restoring the underlying texture and color of a surface after the occlusion of light. Current state-of-the-art (SOTA) models often suffer from three major flaws: intermingled luminance and chrominance in RGB space, unitary receptive fields that miss multi-scale context, and underutilized non-shadow priors. Furthermore, many existing models are heavily over-parameterized, limiting their utility in real-time or mobile applications.

LAB-Net addresses these issues by operating in the LAB color space, separating luminance (L) from color (AB), and employing a lightweight architecture that utilizes multi-scale features and local attention mechanisms.

Methodology

LAB-Net introduces a multi-pronged architectural approach to optimize shadow removal efficiency and accuracy. The core of the network is a two-branch structure that processes the L and AB channels in parallel.

The overall architecture of LAB-Net, illustrating the parallel L and AB branches and the integration of LSA and ECA modules.

Key Architectural Components

  • Two-Branch LAB Structure: By isolating the L channel, the network treats shadow removal primarily as a brightness restoration task, while the AB branch preserves the original color properties.
  • Basic Block with Parallelized Dilated Convolutions: Instead of traditional sequential stacking, the Basic Block uses parallel dilated convolutions with varying rates (e.g., 1, 4, 16). A "Channel Reservation Strategy" assigns more channels to global features (high dilation) and fewer to local ones, significantly reducing parameter count without sacrificing precision.
  • Enhanced Channel Attention (ECA): To aggregate features from different scales, the ECA module utilizes a Laplacian filter-based attention mechanism. The Laplacian filter is superior to standard filters at highlighting fine spatial details, aiding in more accurate shadow cleansing.
  • Local Spatial Attention (LSA): LSA focuses on non-shadow pixels near the shadow boundary to build a correlation matrix, transferring textures and colors from "clean" areas into shadowed regions with minimal computational cost.
Detailed internal structure of the Basic Block and the Enhanced Channel Attention (ECA) module.

Experiments and Results

The model was rigorously evaluated on the ISTD and SRD benchmarks. LAB-Net achieved a Shadow Region RMSE of 6.65 on the ISTD dataset, outperforming the previous best model (EMDN, 8.29).

Crucially, LAB-Net maintains a tiny footprint of only 0.93 million parameters. In comparison, competing models like DHAN (21.75M) and SP+M-Net (141.18M) are 20 to 150 times larger. Qualitative results demonstrate that LAB-Net is exceptionally effective at eliminating "ghosting" and color tinting at former shadow boundaries, providing superior visual consistency.

Conclusion

LAB-Net demonstrates that a specialized, lightweight architecture focusing on luminance-chrominance separation can outperform massive, over-parameterized models. The success of this approach suggests that the luminance-oriented philosophy could be extended to other image restoration tasks, such as specular highlight removal, where disentangling light and color is equally critical.

Summary updated

BibTeX
@misc{yang2022lab,
  author = {Hong Yang and Gongrui Nan and Mingbao Lin and Fei Chao and Yunhang Shen and Ke Li and Rongrong Ji},
  title = {{LAB-Net: LAB Color-Space Oriented Lightweight Network for Shadow Removal}},
  year = {2022},
  eprint = {2208.13039},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.13039},
}
Figure