Introduction
Video Object Detection (VOD) has traditionally focused on general-purpose scenarios where object movement is unpredictable, such as sports or handheld home videos. In these contexts, models must be flexible enough to handle erratic trajectories. However, traffic surveillance presents a unique opportunity: cameras are typically stationary, and vehicles follow highly structured, predictable paths constrained by road geometry. This paper introduces a method to leverage this "motion prior" to enhance detection accuracy and temporal consistency.
The Motion Prior in Traffic Scenes
The core insight of this research is that traffic motion is fundamentally different from general object motion. While a soccer ball might bounce and change direction rapidly, a vehicle on a highway moves along a relatively straight line toward or away from a vanishing point.
As shown in the figure above, the trajectory of a vehicle (bottom row) is linear and predictable over time, whereas a soccer ball (top row) exhibits significant variance. By incorporating this geometric constraint, the proposed model can filter out noise and maintain a stable identity for detected objects.
Methodology
The authors propose two main components to integrate the motion prior into the detection pipeline: Motion Prior Attention (MPA) and Motion-Prior-Enhanced Pseudo-Labeling.
Motion Prior Attention (MPA)
In a fully-supervised setting, the model utilizes the SELSA (Self-Attention for Video Object Detection) framework as a baseline. The MPA module enhances this by calculating the "straightness" of potential object trajectories across frames. By measuring the cosine similarity of angles between consecutive points in a candidate trajectory, the model generates an "A-shaped" attention mask. This mask prioritizes features that align with a straight path, effectively suppressing detections that violate physical laws of motion.
Motion-Prior-Enhanced Pseudo-Labeling
For semi-supervised learning, where large amounts of data lack full annotations, the model generates pseudo-labels. To clean these often-noisy labels, the authors employ two geometric filters:
- Vanishing Point Filtering: Using linear regression and DBSCAN clustering, the model identifies the scene's vanishing point. Any trajectory that does not converge toward this point is discarded as a "hallucination."
- Trajectory Unification: If an object's classification flickers (e.g., switching between "car" and "bus") along a single trajectory, the motion prior allows the model to enforce consistency based on the majority vote of labels along that path.
Experimental Evaluation
The proposed method was evaluated on the TrafficCAM benchmark, a large-scale dataset featuring over 2,000 videos captured in various environmental conditions. Only a small fraction of these videos are fully annotated, making it an ideal testbed for semi-supervised learning.
Key Results
- Fully-Supervised: The model achieved a mean Average Precision (mAP) of 0.496, significantly outperforming the previous state-of-the-art (TRA) at 0.464.
- Semi-Supervised: The motion-prior filtering boosted performance to 0.521 mAP, surpassing standard techniques like STAC (0.505).
- Qualitative Performance: Visual results show the model is much better at detecting small, distant objects near the vanishing point and is less likely to misidentify vehicles in challenging lighting compared to general-purpose models like FGFA or SELSA.
Conclusion and Future Work
By treating traffic detection as a geometrically constrained problem rather than a general vision task, the authors demonstrate substantial gains in both accuracy and robustness. While the current approach is optimized for stationary cameras, future research aims to extend these motion priors to mobile platforms, such as dashcams, and explore more complex motion patterns in dense urban environments.
Summary updated