CBANet: A Compact Attention-Based CNN-BiLSTM Network for Aggressive Driving Event Detection

Hanadi Alhamdan, Ghadah Alosaimi, Amir Atapour-Abarghouei, Farshad Arvin
5/22/2026
cs.LGcs.AI

Official code: halhamdan/CBANet (0 stars, Python, MIT, TensorFlow, last commit 2026-05-10).

Abstract

Aggressive driving is a major cause of traffic accidents and poses a serious threat to road safety. Although deep learning methods have shown promising results in detecting risky driving behaviours from vehicle sensor data, their performance in real-world conditions is often limited by severe data imbalance, large variability between drivers, and the lack of physically interpretable vehicle dynamics representations.

Show full abstract

In this paper, we propose an enhanced deep learning framework for aggressive driving detection using multivariate vehicle dynamics signals. Instead of relying solely on raw measurements, the proposed approach constructs engineered dynamic features that capture steering, acceleration, and braking behaviour. To address the extreme rarity of aggressive events in naturalistic driving data, we introduce a stable training strategy that combines controlled SMOTE-based oversampling with a class-weighted loss formulation, and evaluates focal loss variants for imbalance handling. Furthermore, a safety-oriented decision strategy based on class-specific threshold calibration is adopted to better reflect the asymmetric risks of missed detections and false alarms in real-world applications. The proposed framework is evaluated on a newly collected naturalistic driving dataset. Extensive experiments show that the proposed method consistently outperforms standard deep learning baselines with significant improvements in minority-class recall and safety-critical F-score metrics while maintaining practical computational efficiency. Code: \url {https://github.com/halhamdan/CBANet}

View on arXivView PDF

Code Implementations(1)

halhamdan/CBANetOfficial100%
TensorFlowMIT

CBANet: a compact CNN–BiLSTM network with temporal self-attention for aggressive driving event detection. Accepted at IJCNN 2026.

00PythonMay 10, 20266 months agoMIT
attention-mechanismdeep-learningdriving-behaviourimbalanced-learninglstm+2 more

Similar Papers

Cite this paper

@article{alhamdan2026cbanet,
  title  = {CBANet: A Compact Attention-Based CNN-BiLSTM Network for Aggressive Driving Event Detection},
  author = {Hanadi Alhamdan and Ghadah Alosaimi and Amir Atapour-Abarghouei and Farshad Arvin},
  year   = {2026},
  eprint = {2605.23471},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.23471v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.23471.svg)](https://codeofpaper.com/paper/2605.23471)

Discussion