Abstract
Traditional video object detection methods leverage external optical flow networks to align temporal features across frames. However, these methods suffer from pixel-feature inconsistency, high computational overhead, and complex multi-stage training. This paper introduces IFF-Net, a framework that replaces heavy external flow estimators with a lightweight, in-network feature flow (IFF) module. By estimating motion directly in the feature space and utilizing a self-supervised Transformation Residual Loss (TRL), IFF-Net achieves a state-of-the-art 82.1% mAP on the ImageNet VID benchmark while being significantly faster and easier to train than previous flow-based approaches.
Introduction
Video object detection aims to improve detection accuracy by aggregating temporal information from neighboring frames, which is particularly useful for handling motion blur or occlusions. The standard approach involves using an optical flow network (e.g., FlowNet) to warp features from a reference frame to the current frame.
Despite its popularity, this approach has three major drawbacks. First, inconsistency: optical flow tracks pixels, but detection networks operate on high-level features; pixel displacement does not always align with feature displacement. Second, efficiency: external flow estimators are often massive (23+ layers), consuming significant GPU memory and increasing inference time. Third, complexity: these models typically require a two-step training process—pre-training on synthetic datasets followed by fine-tuning on detection tasks—leading to a domain gap where the flow model never perfectly adapts to the detection task.
The IFF-Net Framework
To address these issues, IFF-Net integrates motion estimation directly into the detection pipeline. Instead of a standalone, heavy network, the In-network Feature Flow (IFF) module is a shallow component (4 to 9 layers) that shares the same backbone (e.g., ResNet-101) as the detector.
The core of this framework is the Feature Flow Map (FFM), which represents motion at the feature level. The Advanced IFF Module uses a correlation layer to explicitly calculate relationships between features of two frames, followed by a few convolutional layers to produce the FFM. This allows the network to prioritize the motion of specific information relevant to detection rather than tracking every pixel.
Simplified Training and Self-Supervision
One of the most significant advantages of IFF-Net is its simplified training process. Traditional methods require pre-training on synthetic datasets like "Flying Chairs" to learn pixel-level flow before they can be used for detection. In contrast, IFF-Net utilizes a Transformation Residual Loss (TRL) for self-supervised learning.
TRL penalizes the difference between the current frame's features and the warped features from a neighboring frame. If the estimated feature flow is accurate, the warped features should closely match the current ones. This eliminates the need for ground-truth flow annotations and allows for a unified, one-step training process that is roughly 10% faster and avoids the domain gap inherent in synthetic pre-training.
Results and Performance
IFF-Net was evaluated on the industry-standard ImageNet VID and ImageNet DET datasets. It achieved a new state-of-the-art result of 82.1% mAP, showing particular strength in "fast motion" scenarios where traditional pixel-based alignment often fails. The researchers also introduced Seq-NMS+, an improved post-processing step that further boosts accuracy by linking detections across time more effectively.
In terms of efficiency, the IFF module is "nearly cost-free." Processing a single frame takes only 8.8ms, compared to 20ms for FlowNet. When aggregating features across 20 neighboring frames, the IFF-Net component is more than twice as fast as traditional flow components (176ms vs 400ms).
Conclusion
IFF-Net demonstrates that "feature flow" is a more effective and efficient alternative to pixel-level optical flow for video object detection. By moving motion estimation inside the network and using self-supervised alignment, the framework achieves superior accuracy with a fraction of the computational cost. Future work may focus on improving boundary accuracy and better combining temporal offsets with appearance-based feature similarity.
Summary updated