Abstract
State-of-the-art video object detection methods maintain a memory structure, either a sliding window or a memory queue, to enhance the current frame using attention mechanisms. However, we argue that these memory structures are not efficient or sufficient because of two implied operations: (1) concatenating all features in memory for enhancement, leading to a heavy computational cost; (2) frame-wise memory updating, preventing the memory from capturing more temporal information. In this paper, we propose a multi-level aggregation architecture via memory bank called MAMBA. Specifically, our memory bank employs two novel operations to eliminate the disadvantages of existing methods: (1) light-weight key-set construction which can significantly reduce the computational cost; (2) fine-grained feature-wise updating strategy which enables our method to utilize knowledge from the whole video. To better enhance features from complementary levels, i.e., feature maps and proposals, we further propose a generalized enhancement operation (GEO) to aggregate multi-level features in a unified manner. We conduct extensive evaluations on the challenging ImageNetVID dataset. Compared with existing state-of-the-art methods, our method achieves superior performance in terms of both speed and accuracy. More remarkably, MAMBA achieves mAP of 83.7/84.6% at 12.6/9.1 FPS with ResNet-101.
Introduction and Problem Statement
Detecting objects in video is significantly more challenging than in still images due to motion blur, occlusions, and rare poses. To overcome these issues, modern detectors leverage temporal information from neighboring frames. Traditionally, this is achieved using two main structures: sliding windows and memory queues.
As illustrated in Figure 1, sliding windows (a) are limited to a very short temporal range, while memory queues (b) operate on a first-in, first-out basis. Both structures suffer from two major inefficiencies. First, they typically require concatenating all features in memory for attention-based enhancement, which is computationally expensive. Second, they utilize "frame-wise" updates—deleting an entire old frame to add a new one—which prevents the model from retaining useful information from the distant past.
The MAMBA Architecture
To address these limitations, we propose MAMBA (Multi-level Aggregation via Memory BAnk). The architecture, detailed in Figure 2, introduces three key innovations designed to maximize temporal context while minimizing overhead.
Light-weight Key-set Construction
Instead of performing attention on every feature in memory, MAMBA samples a small, representative "key-set." Experiments show that even simple random sampling provides enough diversity to boost performance without the quadratic complexity of full concatenation. This allows the model to handle memory banks containing up to 96,000 features without exceeding GPU memory limits.
Fine-grained Feature-wise Updating
Unlike traditional methods that update memory by frame, MAMBA updates at the individual feature level. This allows the memory bank to store discrete bits of information from across the entire video, effectively extending the temporal horizon indefinitely. A feature from the beginning of a video can remain in the bank to assist detection in the final frame if it is deemed relevant.
Generalized Enhancement Operation (GEO)
MAMBA recognizes that pixel-level feature maps and instance-level object proposals provide complementary information. We introduce the GEO as a unified attention-based module that aggregates these multi-level features. By applying the same enhancement logic to both levels, the model achieves a synergistic effect on detection accuracy.
Experimental Results
We evaluated MAMBA on the ImageNet VID dataset, the standard benchmark for video object detection. MAMBA sets a new state-of-the-art for the speed-accuracy trade-off:
- Accuracy: With a ResNet-101 backbone, MAMBA achieved 84.6% mAP, outperforming the previous leading method (MEGA) by 1.7%.
- Efficiency: A lite version of our model (
Ours_ins) achieves 83.7% mAP at 12.6 FPS. This is significantly faster than MEGA, which achieved 82.9% mAP at less than half the speed. - Scalability: The sampling strategy allows MAMBA to utilize much larger memory stores than previous window- or queue-based methods, which often crash due to memory constraints when scaled.
Conclusion
MAMBA demonstrates that exhaustive frame-wise memory is not necessary for high-performance video object detection. By utilizing light-weight key-set sampling and feature-wise updates, MAMBA efficiently captures long-term temporal dependencies. The unified GEO further ensures that both pixel and instance-level information are fully leveraged, resulting in a detector that is both more accurate and significantly faster than existing solutions.
Summary updated