An improved lightweight algorithm for traffic sign detection

Jia Xu, Yingjie Du, Yuwei Yi, He DuScientific 2025

Abstract

Ensuring road safety and advancing autonomous driving technology necessitate the accurate and timely detection of traffic signs. Traffic sign detection faces challenges from complex backgrounds, varying object sizes, and substantial computational demands. To tackle these challenges, this study presents YOLO-SAL, a lightweight model for traffic sign detection. Initially, the model innovates on the SCConv concept by introducing the SCC2f design, which optimizes conventional convolutional residual blocks using spatial and channel mechanisms to drastically cut parameters and computational load. Furthermore, the model enhances the Adaptive Feature Pyramid Network (AFPN) to foster improved interactions across different layers, boosting accuracy across a range of sizes. Finally, the model incorporates Long-Sequence Knowledge Attention (LSKA) at the detection layer to refine focus on crucial information. Experimental results demonstrate that YOLO-SAL improves mean Average Precision (mAP) by 4.9% over the YOLOv8n baseline, while reducing parameters by 13.3% and computational load (FLOPs) by 8.6%.

Introduction

Traffic sign detection is a cornerstone of autonomous driving, yet it remains a difficult balancing act. Models must be compact enough to run on low-power edge hardware—such as a vehicle's onboard computer—while remaining powerful enough to identify tiny, faded, or obscured signs against chaotic urban backgrounds.

Standard deep learning models often struggle with "semantic gaps," where high-level conceptual data and low-level structural details are difficult to reconcile, particularly when signs vary wildly in scale. Moreover, traditional convolutional layers often carry significant "computational baggage" in the form of redundant feature maps, which slows down real-time processing without adding predictive value. YOLO-SAL addresses these inefficiencies through structural reconstruction and advanced attention mechanisms.

Architectural Innovations

The authors introduce three primary architectural innovations to the YOLOv8n "nano" baseline to create the YOLO-SAL architecture.

Spatial and Channel Reconstruction (SCC2f)

Replacing the standard C2f modules, the SCC2f design utilizes SCConv (Spatial and Channel Reconstruction Convolution). This module employs a Spatial Reconstruction Unit (SRU) to suppress background noise and a Channel Reconstruction Unit (CRU) to reduce redundant feature calculations. This is the primary driver behind the model's lightweight status, forcing the network to reconstruct features and clarify the "signal" for the detector.

The SCConv module architecture, featuring Spatial and Channel Reconstruction Units (SRU and CRU) integrated into a bottleneck structure.

Backbone Optimization

By integrating these SCC2f modules into the backbone, the model retains the fine-grained details needed for small objects that are usually lost in deeper layers. This structural shift allows for a more efficient extraction of features while maintaining a lower parameter count.

The modified backbone of YOLO-SAL, incorporating SCC2f modules to reduce computational redundancy.

Adaptive Feature Pyramid Network (AFPN)

To better detect signs of different sizes, the authors implemented a progressive fusion strategy. Instead of simple layer stacking, AFPN merges features from non-adjacent layers more effectively. This reduces the semantic gap and improves the detection of both tiny distant signs and large nearby ones.

Long-Sequence Knowledge Attention (LSKA)

This module allows the model to capture long-range spatial dependencies (context) without the massive computational cost of large-kernel convolutions. It achieves this by breaking down large kernels into horizontal and vertical 1D depthwise separable convolutions, providing contextual "vision" at a fraction of the FLOPs.

Experimental Results

Datasets and Challenges

The study utilized the TT100K (Tsinghua-Tencent 100K) dataset, selecting 1,890 high-quality images covering 42 distinct categories. The dataset is particularly demanding because it categorizes signs by resolution (below 32x32 pixels, 32x32 to 96x96, and above 96x96), forcing the model to handle extreme scale variance.

Performance Metrics

The YOLO-SAL model was tested against several state-of-the-art (SOTA) models, including Faster R-CNN, SSD, and various YOLO versions.

  • Accuracy: Achieved a mean Average Precision (mAP) of 87.9%, outperforming the baseline YOLOv8n (83.0%) and YOLOv7-tiny (82.6%).
  • Precision & Recall: Precision reached 92.8%, and Recall hit 80.7%, showing a significant jump in the model's ability to find signs without triggering false positives.
  • Efficiency: Parameters were reduced from 3.0M to 2.6M, and computational load (FLOPs) dropped from 8.1G to 7.4G.

Conclusion

YOLO-SAL demonstrates that architectural efficiency does not require a sacrifice in accuracy. By replacing redundant convolutions with smarter reconstruction units and bridging the scale gap with adaptive pyramids, the model achieves superior performance on edge-constrained hardware. Future work will explore Neural Architecture Search (NAS) and model quantization to further optimize the network for ultra-low-power deployment in diverse real-world weather conditions.

Summary updated

BibTeX
@inproceedings{xu2025improved,
  author = {Jia Xu and Yingjie Du and Yuwei Yi and He Du},
  title = {{An improved lightweight algorithm for traffic sign detection}},
  booktitle = {Scientific},
  year = {2025},
  doi = {10.1038/s41598-025-18469-x},
}
Figure