paper-with-me

홈 › Papers

SwinShadow: Shifted Window for Ambiguous Adjacent Shadow Detection

2024-08-07 · Yonghui Wang, Shaokai Liu, Li Li, Wengang Zhou, Houqiang Li

Shadow detection is a fundamental and challenging task in many computer vision applications. Intuitively, most shadows come from the occlusion of light by the object itself, resulting in the object and its shadow being contiguous (referred to as the adjacent shadow in this paper). In this case, when the color of the object is similar to that of the shadow, existing methods struggle to achieve accurate detection. To address this problem, we present SwinShadow, a transformer-based architecture that fully utilizes the powerful shifted window mechanism for detecting adjacent shadows. The mechanism operates in two steps. Initially, it applies local self-attention within a single window, enabling the network to focus on local details. Subsequently, it shifts the attention windows to facilitate inter-window attention, enabling the capture of a broader range of adjacent information. These combined steps significantly improve the network's capacity to distinguish shadows from nearby objects. And the whole process can be divided into three parts: encoder, decoder, and feature integration. During encoding, we adopt Swin Transformer to acquire hierarchical features. Then during decoding, for shallow layers, we propose a deep supervision (DS) module to suppress the false positives and boost the representation capability of shadow features for subsequent processing, while for deep layers, we leverage a double attention (DA) module to integrate local and shifted window in one stage to achieve a larger receptive field and enhance the continuity of information. Ultimately, a new multi-level aggregation (MLA) mechanism is applied to fuse the decoded features for mask prediction. Extensive experiments on three shadow detection benchmark datasets, SBU, UCF, and ISTD, demonstrate that our network achieves good performance in terms of balance error rate (BER).

📄 PDF Abstract BibTeX arXiv:2408.03521

Code (1)

harrytea/SwinShadow 공식 구현 pytorch

Tasks

Shadow Detection

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Stochastic Depth Stochastic Depth aims to shrink the depth of a network during training, while keeping it unchanged during testing. This is achieved by randomly dropping entire…
Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

A windowed correlation based feature selection method to improve time series prediction of dengue fever cases

2021-04-21 · Tanvir Ferdousi, Lee W. Cohnstaedt, Caterina M. Scoglio

The performance of data-driven prediction models depends on the availability of data samples for model training. A model that learns about dengue fever incidence in a population uses historical data from that correspondi…

feature selectionPredictionTime SeriesTime Series Analysis+1

R3D-SWIN:Use Shifted Window Attention for Single-View 3D Reconstruction

2023-12-05 · Chenhuan Li, Meihua Xiao, zehuan li, Fangping Chen 외

Recently, vision transformers have performed well in various computer vision tasks, including voxel 3D reconstruction. However, the windows of the vision transformer are not multi-scale, and there is no connection betwee…

3D ReconstructionSingle-View 3D Reconstruction

AgileIR: Memory-Efficient Group Shifted Windows Attention for Agile Image Restoration

2024-09-10 · Hongyi Cai, Mohammad Mahdinur Rahman, Mohammad Shahid Akhtar, Jie Li 외

Image Transformers show a magnificent success in Image Restoration tasks. Nevertheless, most of transformer-based models are strictly bounded by exorbitant memory occupancy. Our goal is to reduce the memory consumption o…

Image RestorationQuantization

Concept Drift Visualization of SVM with Shifting Window

2024-06-19 · Honorius Galmeanu, Razvan Andonie

In machine learning, concept drift is an evolution of information that invalidates the current data model. It happens when the statistical properties of the input data change over time in unforeseen ways. Concept drift d…

Drift Detection

Revisiting Shadow Detection from a Vision-Language Perspective

2026-05-12 · Yonghui Wang, Shaokai Liu, Wengang Zhou, Hao Feng 외 arxiv

Shadow detection is commonly formulated as a vision-driven dense prediction problem, where models rely primarily on pixel-wise visual supervision to distinguish shadows from non-shadow regions. However, this formulation …

Shadow Detection