M2DAR: Multi-View Multi-Scale Driver Action Recognition with Vision Transformer

Yunsheng Ma, Liangqi Yuan, Amr Abdelraouf, Kyungtae Han, Rohit Gupta, Zihao Li, Ziran Wang

Abstract

Distracted driving remains a significant contributor to road fatalities, particularly as the industry transitions toward SAE Level 3 automated driving systems. This paper presents M2DAR, a framework designed for robust Driver Action Recognition (DAR) and Temporal Action Localization (TAL). By leveraging a weight-sharing Multiscale Vision Transformer (MViT) and a novel "Election" post-processing algorithm, the system effectively integrates information from multiple camera perspectives to identify and localize 16 distinct driver actions. M2DAR achieved a top-5 finish in the 2023 AI City Challenge, demonstrating high accuracy in naturalistic driving environments.

Introduction

As vehicles become increasingly automated, the role of the driver shifts from constant operation to intermittent supervision. In SAE Level 3 systems, drivers may disengage from the primary driving task but must remain capable of taking control when prompted. This transition necessitates advanced monitoring systems that can accurately identify distracted behaviors in real-time.

The technical challenge of Driver Action Recognition (DAR) lies in the complexity of naturalistic data. Real-world footage is often cluttered, and critical actions may be obscured depending on the camera angle. Furthermore, Temporal Action Localization (TAL)—determining the precise start and end times of an action—is complicated by the "bursty" nature of human movement, where brief pauses can lead to over-segmentation by standard AI models.

Methodology

The M2DAR framework addresses these challenges through a two-stage process: feature extraction followed by a specialized post-processing pipeline.

1. The DAR Stage: Feature Extraction

The core of the system is a Multiscale Vision Transformer v2 (MViTv2-B) backbone. Unlike traditional Transformers that maintain a constant resolution, MViT utilizes a feature hierarchy that progressively reduces spatial resolution while increasing channel depth. This architecture is particularly well-suited for video processing, as it captures both fine-grained temporal details and high-level semantic information.

To optimize the model for multi-view data, the researchers implemented weight-sharing. The same MViT model processes video streams from three distinct angles: the dashboard, the rearview mirror, and the right-side window. This approach forces the model to learn universal, view-invariant representations of driver behavior, reducing the total parameter count and preventing over-fitting to specific camera perspectives.

2. The Election Stage: Post-Processing

Raw neural network outputs are often noisy and prone to temporal fragmentation. To refine these predictions, M2DAR introduces the "Election" algorithm, which consists of four key steps:

  • Aggregation (AGG): This step uses a convolution-like operation to combine scores from the three camera views. It assigns dynamic weights to each view based on its relevance to specific actions (e.g., prioritizing the side window for detecting interactions with rear-seat passengers).
  • Filtering (FLTR): High-pass thresholds are applied to eliminate low-confidence predictions and reduce false positives.
  • Merging (MRG): To account for natural pauses in human movement, the algorithm joins temporal segments separated by less than 0.5 seconds. This prevents a single continuous action from being misidentified as multiple shorter events.
  • Selection (SEL): Finally, the system selects the most probable candidate for each action category, ensuring a clean, non-redundant final output.

Experimental Setup

The framework was evaluated using the 7th AI City Challenge Track 3 dataset, a benchmark for naturalistic driving behavior. The dataset includes:

  • 34 hours of video featuring 35 different drivers.
  • 16 distinct tasks, ranging from texting and drinking to reaching behind and singing.
  • Three synchronized views (Dashboard, Right-side window, Rearview mirror).
  • High variability, with drivers wearing different accessories (e.g., hats, sunglasses) to test the model's generalization capabilities.

Results and Discussion

M2DAR achieved an overlap score of 0.5921 on the A2 test set, securing 5th place on the public leaderboard for the 2023 AI City Challenge.

Ablation studies highlighted the critical importance of the Election algorithm. When using only the Selection (SEL) step, the system achieved a score of 0.4683. The addition of the Aggregation, Filtering, and Merging steps resulted in a nearly 27% performance boost. Qualitative analysis confirmed that the Aggregation step effectively "cleans up" signals from secondary camera views where an action might be obscured, resulting in much sharper and more accurate prediction peaks.

Conclusion

M2DAR demonstrates the power of combining hierarchical Vision Transformers with intelligent multi-view fusion. By addressing the "pause" problem through temporal merging and leveraging weight-sharing for efficiency, the framework provides a robust solution for monitoring driver state in complex, real-world scenarios. Future research will focus on developing uni-stage architectures that integrate localization and classification into a single end-to-end model to further reduce latency and improve real-time performance.

Summary updated

BibTeX
@inproceedings{ma2023m,
  author = {Yunsheng Ma and Liangqi Yuan and Amr Abdelraouf and Kyungtae Han and Rohit Gupta and Zihao Li and Ziran Wang},
  title = {{M2DAR: Multi-View Multi-Scale Driver Action Recognition with Vision Transformer}},
  booktitle = {Workshops @ CVPR},
  year = {2023},
}
Figure