Abstract
Object detection in videos has drawn increasing attention recently with the introduction of the large-scale ImageNet VID dataset. Different from object detection in static images, temporal information in videos is vital for object detection. To fully utilize temporal information, state-of-the-art methods are based on spatiotemporal tubelets, which are essentially sequences of associated bounding boxes across time. However, the existing methods have major limitations in generating tubelets in terms of quality and efficiency. Motion-based methods are able to obtain dense tubelets efficiently, but the lengths are generally only several frames, which is not optimal for incorporating long-term temporal information. Appearance-based methods, usually involving generic object tracking, could generate long tubelets, but are usually computationally expensive. In this work, we propose a framework for object detection in videos, which consists of a novel tubelet proposal network to efficiently generate spatiotemporal proposals, and a Long Short-term Memory (LSTM) network that incorporates temporal information from tubelet proposals for achieving high object detection accuracy in videos. Experiments on the large-scale ImageNet VID dataset demonstrate the effectiveness of the proposed framework for object detection in videos.
Introduction
Object detection in static images has seen massive leaps thanks to Deep Learning, but applying these models to video isn't as simple as running a detector on every frame. Videos suffer from motion blur, sudden occlusions, and drastic changes in an object's appearance over time. To solve this, researchers use tubelets: a sequence of associated bounding boxes that follow an object through time.
However, previous methods for creating tubelets had a "Goldilocks" problem. Motion-based methods (like optical flow) are fast but only work for very short durations, missing long-term context. Conversely, tracking-based methods can follow objects for a long time but are computationally expensive, often taking seconds per frame to process a single video. The authors propose the Tubelet Proposal Network (TPN) to bridge this gap, efficiently generating long, high-quality tubelets.
Methodology
Tubelet Proposal Network (TPN)
Instead of using a separate tracker, the TPN treats static object proposals (from a single frame) as spatial anchors.
- ROI Pooling across time: Because modern CNNs have large receptive fields, the network can pool features from the same spatial location across multiple consecutive frames. Even if the object moves, it likely stays within that receptive field.
- Movement Regression: The TPN learns to predict the relative displacement (x, y, width, height) of the object in future frames based on these pooled features.
- Iterative Generation: To create long tubelets, the network uses the predicted location in the last frame of a window as the new "anchor" for the next window.
Encoder-Decoder LSTM (ED-LSTM)
Once tubelets are generated, they need to be classified. Standard LSTMs often struggle with the "cold start" problem, where classification is less accurate in the first few frames because the hidden state hasn't built up enough context. The authors use an Encoder-Decoder structure: an Encoder LSTM first "reads" the entire tubelet to capture the global temporal context, and then a Decoder LSTM classifies the boxes in reverse order. This ensures every frame's classification benefits from both past and future information.
Block Initialization
Training a regression layer for a large temporal window is difficult because the number of parameters grows quadratically. The authors propose a "block initialization" trick, where they pre-train a simple 2-frame model and use its weights to initialize the more complex multi-frame model.
Key Results and Insights
- Speed: The TPN framework is roughly 300x faster than previous tracking-based methods. It processes a frame with 300 proposals in about 0.48 seconds.
- Accuracy: On the ImageNet VID dataset, the proposed MoveTubelets + ED-LSTM reached a 68.4% mAP (mean Average Precision), significantly outperforming the static baseline of 63.0%.
- Temporal Context: A key insight is that temporal context significantly improves detection for "hard" classes. For instance, the "whale" class saw a massive improvement in accuracy because the temporal model understands the object is still there even when it submerges and disappears from view.
Conclusion
The Tubelet Proposal Network offers a highly efficient way to incorporate temporal information into video object detection. While it still relies on high-quality initial static proposals and may struggle with extremely fast motion, it sets a new standard for speed and accuracy in the field. Future work may involve tighter integration between proposal generation and the TPN for a truly end-to-end system.
Reference: Kang, K., et al. (2017). Object Detection in Videos with Tubelet Proposal Networks. arXiv:1702.06355v2.
Summary updated