TL;DR
FAIM (Feature Aggregation by leveraging Instance Mask features) is a novel video object detection framework that moves beyond traditional bounding boxes to use instance masks for temporal feature aggregation. By focusing on object boundaries and excluding background noise, it achieves a state-of-the-art 87.9% mAP on ImageNet VID while maintaining real-time performance at 33 FPS.
What Problem Does This Paper Address?
Video Object Detection (VOD) is significantly more challenging than static image detection due to motion blur, occlusions, and camera defocus. To combat this, researchers typically aggregate features across multiple video frames to "strengthen" the representation of an object in a single frame.
However, most existing methods aggregate features at the proposal (box) level. The problem is that a bounding box almost always contains background information along with the object. When you aggregate these "noisy" box features across time, you inadvertently include background variance, which can confuse the model—especially when objects have similar backgrounds or are partially occluded. The authors argue that to truly understand object dynamics, we need to aggregate features at a more granular, instance mask level.
Methods
The authors introduce FAIM, which stands for Feature Aggregation by leveraging Instance Mask features. The framework consists of several key components:
- Instance Feature Extraction Module (IFEM): A lightweight module that projects video object features into a dedicated instance mask feature space.
- Temporal Instance Classification Aggregation Module (TICAM): This module uses multi-head attention to aggregate both classification and instance mask features across the temporal dimension. By using mask-level features, the attention mechanism can focus strictly on the object's pixels, ignoring the background.
- Pseudo-Mask Supervision: Since most VOD datasets only provide bounding box annotations, FAIM uses "pseudo-ground truth" masks generated by off-the-shelf models like SAM (Segment Anything Model) or Box2Mask during training. This allows the model to learn mask-aware features without requiring manual pixel-level annotations.
- Efficient Inference: Crucially, the mask prediction branch is only used during training. At inference time, it is discarded, and the model only uses the learned mask-level features for aggregation, ensuring high speed.
Datasets
The researchers evaluated FAIM on several diverse benchmarks:
- ImageNet VID: The standard benchmark for large-scale video object detection.
- EPIC KITCHENS-55: A challenging egocentric dataset with complex object interactions.
- OVIS (Occluded Video Instance Segmentation): Used to test robustness against severe occlusions.
- MOT20: A multi-object tracking dataset used to demonstrate the method's generalizability to tracking tasks.
Key Insights and Ideas
- Background Matters (by being gone): Mask-level aggregation significantly reduces intra-class variance. By stripping away the background, features for the same class (e.g., "Bear") become much more consistent across different videos, regardless of the environment.
- Feature Space Separation: t-SNE visualizations show that FAIM produces much tighter and more distinct clusters in the feature space compared to box-based methods like YOLOV. This makes it easier for the classifier to distinguish between visually similar classes like "Whale" and "Watercraft."
- Pseudo-Labels are Powerful: You don't need perfect, hand-annotated masks to reap the benefits of mask-guided learning. Using noisy pseudo-masks from a foundation model like SAM is sufficient to "guide" the network toward learning better object-centric features.
- Method-Agnostic: The proposed modules (IFEM and TICAM) can be plugged into other existing VOD frameworks (like SELSA or TROIA) to provide an immediate performance boost.
Key Results
- State-of-the-Art Accuracy: FAIM-X achieved 87.9% mAP on ImageNet VID, outperforming the previous best (YOLOV-X) by 0.7% while maintaining the same inference speed.
- Real-Time Performance: The base model (FAIM-S) runs at 33 FPS on a single NVIDIA 2080Ti GPU, making it suitable for real-world applications.
- Robustness to Occlusion: On the OVIS dataset, FAIM-X surpassed YOLOV-X by 1.9 points in AP50, demonstrating its superior ability to handle partially hidden objects.
- Tracking Boost: Integrating FAIM's mask learning into tracking methods like ByteTrack and Tracktor improved their MOTA (Multi-Object Tracking Accuracy) scores by 1.7% and 0.9% respectively on the MOT20 dataset.
Limitations and Future Work
The authors acknowledge that FAIM's performance is somewhat tied to the quality of the pseudo-mask generator. In scenarios with extremely fast motion, the pseudo-masks can be suboptimal (e.g., under-segmented), which can lead to a slight performance dip compared to box-based methods in those specific cases.
Looking ahead, the team aims to explore ways to leverage temporal information within the pseudo-mask generation process itself. They also see a path toward a unified framework that handles video object detection, multi-object tracking, and video instance segmentation in one cohesive model.
Summary updated