Language-Driven Interactive Shadow Detection
Hongqiu Wang, Wei Wang, Haipeng Zhou, Huihui Xu, Shaozhi Wu, Lei Zhu
TL;DR
This work addresses the need to segment specific shadows in videos using natural language prompts, introducing the Referring Video Shadow Detection (RVSD) task and the RVSD dataset (86 videos, 15,011 text–shadow pairs). It proposes the Referring Shadow-Track Memory Network (RSM-Net), which combines Twin-Track Synergistic Memory (TSM) to store intra- and inter-clip features with a Mixed-Prior Shadow Attention (MSA) to generate a coarse shadow prior to refinement. The approach achieves state-of-the-art performance on RVSD, with a notable Overall IoU improvement of 4.4% over competing methods, validated on the new dataset. This work enables interactive video editing and immersive content creation by enabling language-driven, per-shadow segmentation in videos.
Abstract
Traditional shadow detectors often identify all shadow regions of static images or video sequences. This work presents the Referring Video Shadow Detection (RVSD), which is an innovative task that rejuvenates the classic paradigm by facilitating the segmentation of particular shadows in videos based on descriptive natural language prompts. This novel RVSD not only achieves segmentation of arbitrary shadow areas of interest based on descriptions (flexibility) but also allows users to interact with visual content more directly and naturally by using natural language prompts (interactivity), paving the way for abundant applications ranging from advanced video editing to virtual reality experiences. To pioneer the RVSD research, we curated a well-annotated RVSD dataset, which encompasses 86 videos and a rich set of 15,011 paired textual descriptions with corresponding shadows. To the best of our knowledge, this dataset is the first one for addressing RVSD. Based on this dataset, we propose a Referring Shadow-Track Memory Network (RSM-Net) for addressing the RVSD task. In our RSM-Net, we devise a Twin-Track Synergistic Memory (TSM) to store intra-clip memory features and hierarchical inter-clip memory features, and then pass these memory features into a memory read module to refine features of the current video frame for referring shadow detection. We also develop a Mixed-Prior Shadow Attention (MSA) to utilize physical priors to obtain a coarse shadow map for learning more visual features by weighting it with the input video frame. Experimental results show that our RSM-Net achieves state-of-the-art performance for RVSD with a notable Overall IOU increase of 4.4\%. Our code and dataset are available at https://github.com/whq-xxh/RVSD.
