Sensors (Basel, Switzerland)

RS-MAC: Residual Spatial-Channel Multi-Scale Attention Collaboration Module for Robust Litter Detection in Complex Environments.

Shuaishuai Ruan, Hongzhao Dong, Weifeng Jin, Cheng Quan, Yi Xu

College of Mechanical Engineering, Zhejiang University of Technology, Hangzhou 310023, China. · School of Civil Engineering and Architecture, Zhejiang University of Science and Technology, Hangzhou 310023, China.

Key points

From the paper's conclusion
  • The results further demonstrate the effectiveness of RS-MAC in improving detection accuracy while maintaining computational efficiency.

Abstract

Waste detection in complex environments is challenging due to substantial variationsin object scales, cluttered backgrounds, illumination changes, and weak visual cues from small targets. Although attention mechanisms have been widely applied to improve feature representation in object detection, existing approaches often focus on enhancing discriminative responses while overlooking the potential loss of original feature information caused by excessive feature recalibration. This limitation is particularly critical for lightweight waste detection scenarios, where weak target features may be suppressed by complex backgrounds. In this study, we propose a Residual Spatial-Channel Multi-scale Attention Collaboration Module (RS-MAC) for robust waste detection. The proposed module introduces a residual spatial-channel collaborative refinement strategy to achieve a better balance between feature enhancement and information preservation. Specifically, a Multi-scale Spatial Synergistic Attention (MSSA) branch is developed to capture spatial characteristics across different receptive fields through multi-scale directional feature modeling, improving the localization of litter objects with diverse scales. Meanwhile, a Lightweight Channel Self-Attention (LCSA) branch is designed to model channel dependencies in a compact latent space, reducing computational complexity while maintaining effective channel interactions. Furthermore, learnable residual scaling factors are introduced to adaptively regulate the contributions of attention-enhanced features and original representations. The proposed RS-MAC is integrated into the YOLOv8n framework and evaluated on the TACO-10 dataset. Experimental results demonstrate that RS-MAC improves the baseline detector's mAP50 from 23.14% to 25.44% and mAP50:95 from 17.69% to 18.39%, with only marginal increases in model parameters and computational complexity. Comparative experiments involving ten representative attention mechanisms (SE, CBAM, NL, SimAM, EMA, SCSA, BAM, SA, ECA, and CA), the YOLOv8n baseline, the YOLO26n detector, and the proposed RS-MAC comprise 13 models in total. The results further demonstrate the effectiveness of RS-MAC in improving detection accuracy while maintaining computational efficiency. The proposed method provides an efficient approach to lightweight waste detection in complex real-world environments.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

RS-MAC: Residual Spatial-Channel Multi-Scale Attention Collaboration Module for Robust Litter Detection in Complex Environments — Science Skim