Papers › ShadowFormer: Global Context Helps Image Shadow Removal

ShadowFormer: Global Context Helps Image Shadow Removal

3 Feb 2023arXiv:2302.01650archive 2025-07-28

Lanqing Guo, Siyu Huang, Ding Liu, Hao Cheng, Bihan Wen

Recent deep learning methods have achieved promising results in image shadow removal. However, most of the existing approaches focus on working locally within shadow and non-shadow regions, resulting in severe artifacts around the shadow boundaries as well as inconsistent illumination between shadow and non-shadow regions. It is still challenging for the deep shadow removal model to exploit the global contextual correlation between shadow and non-shadow regions. In this work, we first propose a Retinex-based shadow model, from which we derive a novel transformer-based network, dubbed ShandowFormer, to exploit non-shadow regions to help shadow region restoration. A multi-scale channel attention framework is employed to hierarchically capture the global information. Based on that, we propose a Shadow-Interaction Module (SIM) with Shadow-Interaction Attention (SIA) in the bottleneck stage to effectively model the context correlation between shadow and non-shadow regions. We conduct extensive experiments on three popular public datasets, including ISTD, ISTD+, and SRD, to evaluate the proposed method. Our method achieves state-of-the-art performance by using up to 150X fewer model parameters.

PaperPDFCode

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

Code

guolanqing/shadowformer officialmentioned in papermentioned on GitHubpytorch report
BlackJoke76/OmniSR mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Image Shadow RemovalShadow Removal

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Shadow Removal ISTD ShadowFormer MAE 4.79 #1 of 10 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (512x512) LPIPS 0.204 #7 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (512x512) PSNR 28.07 #7 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (512x512) RMSE 3.06 #7 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (512x512) SSIM 0.847 #7 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (256x256) LPIPS 0.35 #20 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (256x256) PSNR 26.55 #20 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (256x256) RMSE 3.45 #20 of 26 Archive leaderboard report
Shadow Removal ISTD+ ShadowFormer (AAAI 2023) (256x256) SSIM 0.728 #20 of 26 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (512x512) LPIPS 0.228 #5 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (512x512) PSNR 25.6 #5 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (512x512) RMSE 3.9 #5 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (512x512) SSIM 0.819 #5 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (256x256) LPIPS 0.348 #16 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (256x256) PSNR 24.28 #16 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (256x256) RMSE 4.44 #16 of 25 Archive leaderboard report
Shadow Removal SRD ShadowFormer (AAAI 2023) (256x256) SSIM 0.715 #16 of 25 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections