[Paper Review] A Memory-Augmented Multi-Task Collaborative Framework for Unsupervised Traffic Accident Detection in Driving Videos
This paper proposes a memory-augmented multi-task collaborative framework (MAMTCF) for unsupervised traffic accident detection in driving videos, jointly leveraging optical flow reconstruction and future object localization to detect both ego-involved and non-ego accidents. By integrating a memory-augmented motion representation mechanism that enhances motion features with stored normal patterns, the method achieves state-of-the-art performance on a large-scale benchmark, outperforming single-pretext-task approaches.
Identifying traffic accidents in driving videos is crucial to ensuring the safety of autonomous driving and driver assistance systems. To address the potential danger caused by the long-tailed distribution of driving events, existing traffic accident detection (TAD) methods mainly rely on unsupervised learning. However, TAD is still challenging due to the rapid movement of cameras and dynamic scenes in driving scenarios. Existing unsupervised TAD methods mainly rely on a single pretext task, i.e., an appearance-based or future object localization task, to detect accidents. However, appearance-based approaches are easily disturbed by the rapid movement of the camera and changes in illumination, which significantly reduce the performance of traffic accident detection. Methods based on future object localization may fail to capture appearance changes in video frames, making it difficult to detect ego-involved accidents (e.g., out of control of the ego-vehicle). In this paper, we propose a novel memory-augmented multi-task collaborative framework (MAMTCF) for unsupervised traffic accident detection in driving videos. Different from previous approaches, our method can more accurately detect both ego-involved and non-ego accidents by simultaneously modeling appearance changes and object motions in video frames through the collaboration of optical flow reconstruction and future object localization tasks. Further, we introduce a memory-augmented motion representation mechanism to fully explore the interrelation between different types of motion representations and exploit the high-level features of normal traffic patterns stored in memory to augment motion representations, thus enlarging the difference from anomalies. Experimental results on recently published large-scale dataset demonstrate that our method achieves better performance compared to previous state-of-the-art approaches.
Motivation & Objective
- Address the challenge of unsupervised traffic accident detection in driving videos, particularly under long-tailed distributions of accident types.
- Overcome limitations of single-pretext-task methods—especially appearance-based and future-object-localization methods—that fail to detect ego-involved accidents due to sensitivity to camera motion and illumination changes.
- Improve detection sensitivity by jointly modeling appearance changes (via optical flow) and object motion (via future localization), capturing both ego-motion and object-level anomalies.
- Enhance motion representation learning by incorporating high-level normal traffic patterns from a memory bank, increasing anomaly discrimination.
- Develop a memory-augmented motion representation mechanism that dynamically selects relevant memory items to refine motion features, improving robustness and generalization.
Proposed method
- Propose a multi-task collaborative framework that jointly optimizes optical flow reconstruction and future object localization as pretext tasks to model normal driving patterns.
- Introduce a memory-augmented motion representation (MAMR) mechanism that fuses motion representations from both tasks using a learnable memory bank storing high-level features of normal traffic.
- Employ a hard shrinkage operation with a learnable threshold to enforce sparsity in memory access, selecting only the most relevant memory items for motion representation refinement.
- Use a Transformer-based architecture to aggregate and refine motion representations across temporal frames, improving temporal modeling of dynamic scenes.
- Apply a memory update strategy that periodically replaces outdated memory items with new features from normal traffic sequences, maintaining up-to-date representations of normal behavior.
- Train the model end-to-end in an unsupervised manner, using reconstruction and localization losses to guide feature learning without requiring accident annotations.

Experimental results
Research questions
- RQ1Can joint optimization of optical flow reconstruction and future object localization improve detection of both ego-involved and non-ego traffic accidents compared to single-task baselines?
- RQ2How does incorporating a memory-augmented mechanism enhance motion representation learning and anomaly discrimination in unsupervised TAD?
- RQ3What is the optimal configuration of memory size and hard shrinkage threshold for balancing performance and generalization in the MAMR mechanism?
- RQ4To what extent does the proposed framework outperform existing unsupervised TAD methods on large-scale, real-world driving video benchmarks?
- RQ5Why does the method still fail in scenarios with subtle ego-vehicle motion or extreme lighting changes, and what are the key failure modes?
Key findings
- The proposed MAMTCF framework achieves state-of-the-art performance on a recently published large-scale driving video dataset, outperforming existing unsupervised TAD methods in both mAP and F1-score.
- The memory-augmented motion representation mechanism improves anomaly detection by increasing the discriminative margin between normal and anomalous motion patterns, especially for ego-involved accidents.
- Best performance is achieved with 1000 memory slots (M=1000), after which performance slightly degrades due to overfitting from excessive memory capacity.
- The hard shrinkage operation with threshold λ=3/M yields the best performance, outperforming the softmax baseline by promoting sparsity and selecting more relevant memory items.
- The model with L=3 layers in the MAMR mechanism achieves optimal trade-off between performance and model complexity, as deeper networks slightly reduce detection accuracy.
- Failure cases reveal limitations in detecting accidents with minimal ego-vehicle motion or in low-visibility conditions, where optical flow changes are subtle and object detection fails.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.