Performance and Stability Trade-offs of Attention Mechanisms in YOLOv8n-based Indoor Crowd Detection

This study investigates the effects of attention mechanisms—CBAM, SE, ECA, MHSA, NAM, and a baseline— on YOLOv8n for indoor crowd detection. Models were trained over 0-300 epochs, with key metrics (mAP@50, recall, precision, mAP@50-95) evaluated across phases. Results reveal: initial rapid improvement (0-50 epochs) across all models, with the baseline advancing fastest yet unstable; intermediate slowed growth (50-150 epochs), CBAM and SE stable, ECA and NAM with minimal fluctuations; final plateauing (150-300 epochs), baseline maintaining peak accuracy with volatility, MHSA declining slightly, suggesting overfitting. Conclusions: baseline excels in accuracy but requires stability enhancement; CBAM and SE balance precision and robustness optimally; ECA and NAM provide superior stability for critical applications; MHSA needs hyperparameter tuning. This work identifies key performance-stability trade-offs, offering novel insights for deploying attention-based detectors in surveillance.

Authors

Institutions

Publication Details

Published
2025-07-11
DOI
https://doi.org/10.1109/cisat66811.2025.11181954
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance and Stability Trade-offs of Attention Mechanisms in YOLOv8n-based Indoor Crowd Detection

Tao He, Yang Yang, Qiang Li
Anomaly Detection Techniques and Applications
article

Performance and Stability Trade-offs of Attention Mechanisms in YOLOv8n-based Indoor Crowd Detection

Tao He, Yang Yang, Qiang Li
article en

Abstract

This study investigates the effects of attention mechanisms—CBAM, SE, ECA, MHSA, NAM, and a baseline— on YOLOv8n for indoor crowd detection. Models were trained over 0-300 epochs, with key metrics (mAP@50, recall, precision, mAP@50-95) evaluated across phases. Results reveal: initial rapid improvement (0-50 epochs) across all models, with the baseline advancing fastest yet unstable; intermediate slowed growth (50-150 epochs), CBAM and SE stable, ECA and NAM with minimal fluctuations; final plateauing (150-300 epochs), baseline maintaining peak accuracy with volatility, MHSA declining slightly, suggesting overfitting. Conclusions: baseline excels in accuracy but requires stability enhancement; CBAM and SE balance precision and robustness optimally; ECA and NAM provide superior stability for critical applications; MHSA needs hyperparameter tuning. This work identifies key performance-stability trade-offs, offering novel insights for deploying attention-based detectors in surveillance.

Lanzhou Jiaotong University (CN)
Openalex Percentile: Top 86%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Performance and Stability Trade-offs of Attention Mechanisms in YOLOv8n-based Indoor Crowd Detection — Tao He, Yang Yang, et al. · (2025) | TGRS Research Map | TGRS