Abstract
Performing analytics tasks over large-scale video datasets is increasingly common in a wide range of applications. These tasks generally involve object detection and tracking operations that require applying expensive machine learning models, and several systems have recently been proposed to optimize the execution of video queries to reduce their cost. However, prior work generally optimizes execution speed in only one dimension, focusing on one optimization technique while ignoring other potential avenues for accelerating execution, thereby delivering an unsatisfactory tradeoff between speed and accuracy. We propose MultiScope, a general-purpose video pre-processor for object detection and tracking that explores multiple avenues for optimizing video queries to extract tracks from video with a superior tradeoff between speed and accuracy over prior work. We compare MultiScope against three recent systems on seven diverse datasets, and find that it provides a 2.9x average speedup over the next best baseline at the same accuracy level.
Introduction
The computational burden of analyzing large-scale video data is a significant bottleneck, primarily driven by the heavy GPU requirements of modern object detectors like YOLO or Mask R-CNN. Existing optimization systems often fall short due to two major flaws: one-dimensional optimization—tuning only a single parameter like resolution or frame rate—and high per-query latency caused by expensive search phases for every new user query.
MultiScope addresses these challenges as a query-agnostic pre-processor. By extracting all object tracks once, it enables diverse exploratory analytics (e.g., counting turning cars or identifying decelerating vehicles) to be performed in milliseconds without repeated expensive machine learning inference.
System Design
MultiScope introduces a modular execution pipeline designed for efficiency and accuracy. A key innovation is the Segmentation Proxy Model. While traditional proxies skip entire frames if they appear empty, MultiScope uses a segmentation CNN to identify specific spatial regions (windows) likely to contain objects. This allows the system to skip processing empty regions even in busy scenes where frames are rarely entirely empty but are often sparse.
Furthermore, the system employs Recurrent Reduced-Rate Tracking. By processing video at a lower frame rate and utilizing a Recurrent Neural Network (RNN) to match detections across frames using motion cues and history, MultiScope maintains high tracking accuracy while significantly reducing computational load compared to the pairwise matching methods used in prior work.
Optimization and Tuning
To achieve the best speed-accuracy tradeoff, MultiScope performs Joint Parameter Tuning. It uses a greedy iterative algorithm to search for a Pareto-optimal configuration, simultaneously adjusting detector resolution, proxy thresholds, and tracking sampling rates. This holistic approach ensures the system finds the best overall configuration for a user's desired accuracy level.
Evaluation and Results
The system was evaluated on seven diverse datasets, including traffic footage (Tokyo, Warsaw), drone video (UAV), riverside scenes (Amsterdam, Jackson), and highway activity (Caldot1, Caldot2).
Key results include:
- Superior Speedup: MultiScope achieved a 2.9x average speedup over state-of-the-art baselines like Chameleon, BlazeIt, and Miris at equivalent accuracy levels.
- Robustness: In busy scenes where traditional whole-frame proxies fail to provide any speedup, MultiScope's spatial windowing continues to deliver significant gains.
- Exploratory Efficiency: Once tracks are extracted, subsequent queries are nearly instantaneous, making it far more efficient for exploratory tasks than query-specific systems.
Discussion and Limitations
A critical insight from this work is the "Noisy Oracle" trap: high-resolution models often used as ground truth can be inaccurate (e.g., overestimating car counts by 28%). MultiScope advocates for minimal hand-labeled ground truth (20-60 minutes) for reliable tuning.
Currently, the system assumes a fixed camera position for its track refinement step, which estimates the true start and end of paths at low sampling rates. Future work may explore more advanced coarse-to-fine detection architectures to further enhance spatial windowing efficiency and adapt to dynamic camera environments.
Summary updated