A Two-stage Transformer Framework for Temporal Localization of Distracted Driver Behaviors

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Doan, Gia-Bao, Huynh, Nam-Khoa, Ho, Minh-Nhat-Huy, Nguyen, Khanh-Thanh-Khoa, Le, Thanh-Hai
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908905592848384
author Doan, Gia-Bao
Huynh, Nam-Khoa
Ho, Minh-Nhat-Huy
Nguyen, Khanh-Thanh-Khoa
Le, Thanh-Hai
author_facet Doan, Gia-Bao
Huynh, Nam-Khoa
Ho, Minh-Nhat-Huy
Nguyen, Khanh-Thanh-Khoa
Le, Thanh-Hai
contents The identification of hazardous driving behaviors from in-cabin video streams is essential for enhancing road safety and supporting the detection of traffic violations and unsafe driver actions. However, current temporal action localization techniques often struggle to balance accuracy with computational efficiency. In this work, we develop and evaluate a temporal action localization framework tailored for driver monitoring scenarios, particularly suitable for periodic inspection settings such as transportation safety checkpoints or fleet management assessment systems. Our approach follows a two-stage pipeline that combines VideoMAE-based feature extraction with an Augmented Self-Mask Attention (AMA) detector, enhanced by a Spatial Pyramid Pooling-Fast (SPPF) module to capture multi-scale temporal features. Experimental results reveal a distinct trade-off between model capacity and efficiency. At the feature extraction stage, the ViT-Giant backbone delivers higher representations with 88.09% Top-1 test accuracy, while the ViT-based variant proves to be a practical alternative, achieving 82.55% accuracy with significantly lower computational fine-tuning costs (101.85 GFLOPs/segment compared to 1584.06 GFLOPs/segment for Giant). In the downstream localization task, the integration of SPPF consistently improves performance across all configurations. Notably, the ViT-Giant + SPPF model achieves a peak mAP of 92.67%, while the lightweight ViT-based configuration maintains robust results.
format Preprint
id arxiv_https___arxiv_org_abs_2603_21048
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle A Two-stage Transformer Framework for Temporal Localization of Distracted Driver Behaviors
Doan, Gia-Bao
Huynh, Nam-Khoa
Ho, Minh-Nhat-Huy
Nguyen, Khanh-Thanh-Khoa
Le, Thanh-Hai
Computer Vision and Pattern Recognition
Artificial Intelligence
I.2.10; I.4.9
The identification of hazardous driving behaviors from in-cabin video streams is essential for enhancing road safety and supporting the detection of traffic violations and unsafe driver actions. However, current temporal action localization techniques often struggle to balance accuracy with computational efficiency. In this work, we develop and evaluate a temporal action localization framework tailored for driver monitoring scenarios, particularly suitable for periodic inspection settings such as transportation safety checkpoints or fleet management assessment systems. Our approach follows a two-stage pipeline that combines VideoMAE-based feature extraction with an Augmented Self-Mask Attention (AMA) detector, enhanced by a Spatial Pyramid Pooling-Fast (SPPF) module to capture multi-scale temporal features. Experimental results reveal a distinct trade-off between model capacity and efficiency. At the feature extraction stage, the ViT-Giant backbone delivers higher representations with 88.09% Top-1 test accuracy, while the ViT-based variant proves to be a practical alternative, achieving 82.55% accuracy with significantly lower computational fine-tuning costs (101.85 GFLOPs/segment compared to 1584.06 GFLOPs/segment for Giant). In the downstream localization task, the integration of SPPF consistently improves performance across all configurations. Notably, the ViT-Giant + SPPF model achieves a peak mAP of 92.67%, while the lightweight ViT-based configuration maintains robust results.
title A Two-stage Transformer Framework for Temporal Localization of Distracted Driver Behaviors
topic Computer Vision and Pattern Recognition
Artificial Intelligence
I.2.10; I.4.9
url https://arxiv.org/abs/2603.21048