DeepLocalization: Using change point detection for Temporal Action Localization

Mohammed Shaiqur Rahman, Ibne Farabi Shihab, Lynna Chu, Anuj Sharma

Abstract

DeepLocalization is a novel framework designed to detect and categorize distracted driving behaviors in real-time. By combining graph-based change-point detection for pinpointing when an action occurs with a Video Large Language Model (Video-LLM) to identify what the action is, the researchers achieved a 51% accuracy in event detection and 57.5% in classification on the challenging SynDD2 dataset. The framework remains lightweight enough for deployment on consumer-grade GPUs, offering a practical solution for enhancing road safety.

Introduction

Distracted driving remains a critical safety concern, contributing to thousands of fatalities and significant economic losses annually. While in-vehicle monitoring systems offer a potential solution, the technical challenge of Temporal Action Localization (TAL) persists. TAL requires identifying both the specific activity (e.g., texting) and its precise start and end times within a continuous video stream. Existing methods often demand high computational resources or extensive labeled datasets. DeepLocalization addresses these challenges by providing an accurate, real-time framework that utilizes a training-free localization component.

The DeepLocalization Framework

The proposed DeepLocalization pipeline consists of two primary modules: Event Detection and Event Classification.

The DeepLocalization pipeline consisting of event detection via change-point detection and classification via Video-LLM.

Event Detection (The "When")

The detection module focuses on identifying temporal intervals of interest without requiring explicit training for localization.

  1. Key-Point Extraction: The system employs YOLOv7 pose estimation to track 2D coordinates of the driver’s head, hands, and body across video frames.
  2. Interval Selection: Instead of a standard neural network, the framework uses a Graph-Based Change-Point Detection algorithm (gseg2). This statistical approach identifies significant shifts in the distribution of key-point data. For instance, a transition from holding the steering wheel to reaching for a phone triggers a detectable change in posture distribution, marking the event boundaries.

Event Classification (The "What")

Once an interval is proposed, it is passed to the classification module.

  • Video-LLM Integration: The framework utilizes VideoChatGPT, a Video Large Language Model.
  • Prompt Engineering: Classification is framed as a Video Question-Answering (VQA) task. Through iterative prompt refinement (e.g., "Is the driver simulating any of the following activities..."), the model's ability to distinguish between 16 different distracted behaviors was significantly enhanced.

Experimental Evaluation

The framework was evaluated using the SynDD2 dataset, introduced in the 7th AI City Challenge. This dataset contains synchronized videos from three distinct camera angles: the dashboard, the rearview mirror, and the right-side window.

Camera setup and locations used in the SynDD2 dataset.

The dataset includes 16 activity classes, such as texting, drinking, reaching behind, and yawning. The complexity is high as activities occur in random sequences and durations, testing the precision of the localization algorithm.

Results and Key Insights

DeepLocalization demonstrated competitive performance on the SynDD2 benchmark:

  • Detection Accuracy: The change-point detection approach achieved 51% accuracy in identifying correct time intervals, surpassing previous benchmarks like Meituan-IoTCV (40%).
  • Classification Accuracy: With refined prompt engineering, the Video-LLM reached 57.5% accuracy in labeling behaviors.
  • Efficiency: The system is optimized for consumer-grade hardware, making it viable for real-world vehicle safety integration.

A key insight is the effectiveness of training-free localization. By relying on statistical shifts in posture, the system can propose intervals for novel activities. Furthermore, the use of Video-LLMs as classifiers leverages broad contextual knowledge, which, when combined with structured prompting, improves performance over traditional CNN-based approaches.

Conclusion and Future Work

While DeepLocalization excels at detecting physically active distractions, it faces challenges with "quiet" distractions—activities with minimal movement, such as talking or singing, which may not trigger significant statistical shifts in key points.

Future research will focus on:

  • Robustness: Enhancing key-point detection to reduce noise and capture subtle movements.
  • Fine-Tuning: Exploring short-duration fine-tuning of the Video-LLM on driving-specific data to further bridge the accuracy gap.

Summary updated

BibTeX
@inproceedings{rahman2024deeplocalization,
  author = {Mohammed Shaiqur Rahman and Ibne Farabi Shihab and Lynna Chu and Anuj Sharma},
  title = {{DeepLocalization: Using change point detection for Temporal Action Localization}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
  url = {https://openreview.net/forum?id=bisnHkHZm9},
}
Figure