Lune

AAAI2024Top-tier venue

DeS3: Adaptive Attention-Driven Self and Soft Shadow Removal Using ViT Similarity

Yeying Jin, Wei Ye, Wenhan Yang, Yuan Yuan, Robby T. Tan

Abstract

Removing soft and self shadows that lack clear boundaries from a single image is still challenging. Self shadows are shadows that are cast on the object itself. Most existing methods rely on binary shadow masks, without considering the ambiguous boundaries of soft and self shadows. In this paper, we present DeS3, a method that removes hard, soft and self shadows based on adaptive attention and ViT similarity. Our novel ViT similarity loss utilizes features extracted from a pre-trained Vision Transformer. This loss helps guide the reverse sampling towards recovering scene structures. Our adaptive attention is able to differentiate shadow regions from the underlying objects, as well as shadow regions from the object casting the shadow. This capability enables DeS3 to better recover the structures of objects even when they are partially occluded by shadows. Different from existing methods that rely on constraints during the training phase, we incorporate the ViT similarity during the sampling stage. Our method outperforms state-of-the-art methods on the SRD, AISTD, LRSS, USR and UIUC datasets, removing hard, soft, and self shadows robustly. Specifically, our method outperforms the SOTA method by 16% of the RMSE of the whole image on the LRSS dataset.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Regional Attention For Shadow Removal cites Uformer: A General U-Shaped Transformer for Image Restoration
  • Diffusion Autoencoders: Toward a Meaningful and Decodable Representation cites Denoising Diffusion Probabilistic Models
  • Diffusion Autoencoders: Toward a Meaningful and Decodable Representation cites Denoising Diffusion Implicit Models
  • Diffusion Posterior Proximal Sampling for Image Restoration cites Denoising Diffusion Probabilistic Models
  • Diffusion Posterior Proximal Sampling for Image Restoration cites Denoising Diffusion Implicit Models
  • OmniSR: Shadow Removal Under Direct and Indirect Lighting cites Uformer: A General U-Shaped Transformer for Image Restoration
  • PhaSR: Generalized Image Shadow Removal with Physically Aligned Priors cites Regional Attention For Shadow Removal
  • PhaSR: Generalized Image Shadow Removal with Physically Aligned Priors cites OmniSR: Shadow Removal Under Direct and Indirect Lighting
  • Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Enhancing Visibility in Nighttime Haze Images Using Guided APSF and Gradient Adaptive ConvolutionYeying Jin, Beibei Lin, Wending Yan, Yuan Yuan et al.ACM MM 2023 · 68 citations
  2. OmniSR: Shadow Removal Under Direct and Indirect LightingJiamin Xu, Zelong Li, Yuxin Zheng, Chenyu Huang et al.AAAI 2025 · 18 citations
  3. Regional Attention For Shadow RemovalHengxing Liu, Mingjia Li, Xiaojie GuoACM MM 2024 · 10 citations
  4. Diffusion Posterior Proximal Sampling for Image RestorationHongjie Wu, Linchao He, Mingqin Zhang, Dongdong Chen et al.ACM MM 2024 · 9 citations
  5. PhaSR: Generalized Image Shadow Removal with Physically Aligned PriorsChia-Ming Lee, Yu-Fan Lin, Yu-Jou Hsiao, Jin-Hui Jiang et al.CVPR 2026 · 5 citations

Builds on24

  1. Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
  2. Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
  3. Emerging Properties in Self-Supervised Vision TransformersMathilde Caron, Hugo Touvron, Ishan Misra, Hervé Jégou et al.ICCV 2021 · 8,921 citations
  4. Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou et al.CVPR 2022 · 1,970 citations
  5. Diffusion Autoencoders: Toward a Meaningful and Decodable RepresentationKonpat Preechakul, Nattanat Chatthee, Suttisak Wizadwongsa, Supasorn SuwajanakornCVPR 2022 · 276 citations

Related papers

  1. ShadowFormer: Global Context Helps Shadow RemovalLanqing Guo, Siyu Huang, Ding Liu, Hao Cheng et al.AAAI 2023 · 60 citations
  2. Diff-Shadow: Global-guided Diffusion Model for Shadow RemovalJinting Luo, Ru Li, Chengzhi Jiang, Xiaoming Zhang et al.AAAI 2025 · 15 citations
  3. SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow RemovalXinrui Wang, Lanqing Guo, Xiyu Wang, Siyu Huang et al.CVPR 2025
  4. From Shadow Generation To Shadow RemovalZhihao Liu, Hui Yin, Xinyi Wu, Zhenyao Wu et al.CVPR 2021
  5. DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided NetworkYeying Jin, Aashish Sharma, Robby T. TanICCV 2021 · 163 citations
Dusk over the sea between two cliffs drawn in fine vertical lines