Prompt-Aware Controllable Shadow Removal

Abstract

Shadow removal aims to restore the image content in shadowed regions. While deep learning-based methods have shown promising results, they still face key challenges: 1) uncontrolled removal of all shadows, or 2) controllable removal but heavily relies on precise shadow region masks. To address these issues, we introduce a novel paradigm: prompt-aware controllable shadow removal. Unlike existing approaches, our paradigm allows for targeted shadow removal from specific subjects based on user prompts (e.g., dots, lines, or subject masks). This approach eliminates the need for shadow annotations and offers flexible, user-controlled shadow removal. Specifically, we propose an end-to-end learnable model, the Prompt-Aware Controllable Shadow Removal Network (PACSRNet). PACSRNet consists of two key modules: a prompt-aware module that generates shadow masks for the specified subject based on the user prompt, and a shadow removal module that uses the shadow prior from the first module to restore the content in the shadowed areas. Additionally, we enhance the shadow removal module by incorporating feature information from the prompt-aware module through a linear operation, providing prompt-guided support for shadow removal. Recognizing that existing shadow removal datasets lack diverse user prompts, we contribute a new dataset specifically designed for prompt-based controllable shadow removal. Extensive experimental results demonstrate the effectiveness and superiority of PACSRNet.

Cite

Text

Chen et al. "Prompt-Aware Controllable Shadow Removal." International Joint Conference on Artificial Intelligence, 2025. doi:10.24963/IJCAI.2025/89

Markdown

[Chen et al. "Prompt-Aware Controllable Shadow Removal." International Joint Conference on Artificial Intelligence, 2025.](https://mlanthology.org/ijcai/2025/chen2025ijcai-prompt/) doi:10.24963/IJCAI.2025/89

BibTeX

@inproceedings{chen2025ijcai-prompt,
  title     = {{Prompt-Aware Controllable Shadow Removal}},
  author    = {Chen, Kerui and Wu, Zhiliang and Hou, Wenjin and Li, Kun and Fan, Hehe and Yang, Yi},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {792-800},
  doi       = {10.24963/IJCAI.2025/89},
  url       = {https://mlanthology.org/ijcai/2025/chen2025ijcai-prompt/}
}