[Paper Review] Looking Fast and Slow: Memory-Guided Mobile Video Object Detection
This paper proposes a memory-guided, interleaved video object detection framework that combines a fast, lightweight feature extractor with a slow, accurate one, using a ConvLSTM memory module to fuse features across frames. By learning an adaptive inference policy via Q-learning, the method achieves state-of-the-art accuracy on Imagenet VID 2015 while running at 72.3 FPS on a Pixel 3, significantly outperforming prior flow-based and fixed-ratio methods in speed/accuracy trade-offs without relying on optical flow.
With a single eye fixation lasting a fraction of a second, the human visual system is capable of forming a rich representation of a complex environment, reaching a holistic understanding which facilitates object recognition and detection. This phenomenon is known as recognizing the "gist" of the scene and is accomplished by relying on relevant prior knowledge. This paper addresses the analogous question of whether using memory in computer vision systems can not only improve the accuracy of object detection in video streams, but also reduce the computation time. By interleaving conventional feature extractors with extremely lightweight ones which only need to recognize the gist of the scene, we show that minimal computation is required to produce accurate detections when temporal memory is present. In addition, we show that the memory contains enough information for deploying reinforcement learning algorithms to learn an adaptive inference policy. Our model achieves state-of-the-art performance among mobile methods on the Imagenet VID 2015 dataset, while running at speeds of up to 70+ FPS on a Pixel 3 phone.
Motivation & Objective
- To address the challenge of real-time, high-accuracy video object detection on mobile devices with strict computational and energy constraints.
- To explore whether temporal memory can reduce redundant computation in video detection by enabling lightweight feature extractors to operate frequently with minimal accuracy loss.
- To develop a method that leverages biological intuition from human vision—where gist recognition supports rapid scene understanding—within a deep learning framework.
- To learn an adaptive inference policy for switching between fast and slow feature extractors using reinforcement learning, improving the speed/accuracy trade-off.
- To eliminate dependency on optical flow, which is computationally expensive and sensitive to motion, by replacing it with a memory-based, flow-free approach.
Proposed method
- The framework uses two feature extractors: a fast, lightweight network (f1) for gist recognition and a slow, accurate network (f0) for detailed detection.
- Features from both extractors are fused via a shared visual memory module implemented as a ConvLSTM layer, which maintains contextual information across frames.
- The system employs an interleaved inference strategy where f1 runs frequently and f0 runs periodically, with the timing controlled by a learned policy.
- An adaptive interleaving policy is learned using deep Q-learning, where the agent decides when to run f0 based on the current frame's content and memory state.
- The policy network is trained with a reward function that balances detection accuracy (mAP) and inference speed, encouraging efficient computation.
- The model is optimized for mobile deployment, achieving high inference speed (72.3 FPS) on a Pixel 3 without sacrificing accuracy.
Experimental results
Research questions
- RQ1Can a memory-guided framework using interleaved fast and slow feature extractors significantly reduce computation while maintaining high detection accuracy in video streams?
- RQ2Does the presence of a shared visual memory allow a lightweight feature extractor to perform reliably even when run frequently on its own?
- RQ3Can reinforcement learning be effectively used to learn an adaptive inference policy that dynamically selects between fast and slow feature extractors based on scene complexity?
- RQ4How does the performance of a memory-guided method compare to flow-based methods in terms of speed/accuracy trade-offs, especially at extreme interleave ratios?
- RQ5Can a memory-guided, flow-free approach achieve real-time performance on mobile devices without relying on optical flow or expensive intermediate feature warping?
Key findings
- The proposed method achieves state-of-the-art mAP of 65.0 on the ImageNet VID 2015 benchmark among mobile methods, outperforming prior work such as Zhu et al. [39].
- The model runs at 72.3 FPS post-optimization on a Pixel 3 phone, making it the fastest mobile video detection model known at the time of publication.
- The adaptive reinforcement learning policy reduces the need to run the large model (f0) by up to 80% compared to a fixed policy, while maintaining or improving accuracy.
- At extreme interleave ratios (τ = 39), the method degrades by only 3.75 mAP, whereas the flow-based method from Zhu et al. [39] degrades by at least 4.5 mAP at τ = 20.
- The learned policy intelligently allocates more computation to complex scenes where the small model (f1) alone is insufficient, demonstrating effective scene-aware inference.
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.