Abstract
Deep learning based object detectors often report false positives with very high confidence. Although they optimize generic detection performance, such as mean average precision (mAP), they are not inherently designed for the high-precision requirements of robotics. This paper introduces FlowVerify, a verification system that sits on top of standard deep-learning object detectors to drastically reduce high-confidence false positives. By using a deep network to compute dense pixel correspondences between detections and object templates, the system applies a suite of geometric and appearance-based checks to ensure a robot only "sees" what is actually there.
Introduction
In robotics, a "high confidence" detection that turns out to be a false positive can lead to catastrophic or embarrassing failures—like a robot trying to grab a "coke can" that is actually just a red splash on a poster. While modern deep-learning detectors (like Faster R-CNN) are excellent at maximizing Mean Average Precision (mAP), they often output high confidence scores for objects that do not actually exist in the scene.
Traditional non-parametric methods, such as SIFT keypoint matching, offer better verifiability but are notoriously brittle to changes in lighting and viewpoint. This research seeks a middle ground: a system that leverages the robustness of deep learning while maintaining the rigorous "sanity checks" of classical computer vision.
The FlowVerify Framework
The proposed system operates as a three-stage pipeline designed to filter out erroneous detections from a base model.
- Base Instance Detector: An initial detector (e.g., TDID) identifies candidate bounding boxes and object classes within a scene.
- FlowMatchNet: For each candidate, a deep neural network computes dense pixel-wise correspondences (optical flow) between the detection crop and a set of pre-recorded "template images" of the target object. Unlike sparse keypoints, dense flow provides a mapping for every pixel, enabling more robust checks.
- FlowVerify: A suite of five non-parametric verification tests is applied to the predicted flow:
- SimObj: Checks if the detection is significantly more similar to the target object than to any other object class.
- Color: Measures the color similarity between the detection and the warped template image.
- Rigidity: Uses RANSAC to determine if the pixel flow follows a valid rigid-body transformation, ensuring geometric consistency.
- Precision & Recall: Ensures the object's spatial extent is consistent with the bounding box (i.e., it isn't too small or too large).
If a detection fails any of these tests, its confidence score is downgraded. This "reranking" ensures that the highest-scoring detections are those that have passed all verification steps.
Experimental Evaluation
The system was evaluated in a one-shot setting, requiring it to detect novel objects not seen during the training of the flow network.
Datasets
- GMU Kitchens: Features 11 objects from the BigBIRD dataset placed in real-world kitchen environments.
- W-RGBD Scenes v1: Includes 9 textured objects in various indoor scenes.
- Training Data: FlowMatchNet was trained on synthetic data generated from MS-COCO and BigBIRD images using random affine and homography transformations to simulate diverse viewpoint changes.
Key Insights
- The "No False Positive" Theorem: The authors provide a theoretical framework proving that, under ideal conditions (a dense enough dataset and smooth similarity functions), their verification suite is guaranteed to reject all false positives.
- Interpretability: Because the system relies on explicit checks like "Does the color match?" and "Is the geometry rigid?", it is much easier to debug why a robot rejected a particular detection compared to a "black box" neural network.
Results and Discussion
The primary benefit of FlowVerify is observed in the high-precision regime—the left side of the Precision-Recall curve where robotic systems typically operate to ensure reliability.
- Precision Boost: On the GMU dataset, the maximum precision jumped from 0.697 (base detector) to 0.939 with FlowVerify. On W-RGBD, it rose from 0.587 to 0.817.
- Overall Accuracy: mAP improved by approximately 4-5% across both datasets.
- Efficiency Tradeoff: The system allows for a speed-accuracy tradeoff. Using 15 template viewpoints per object yields the best results (~0.87s per detection), but even using just 3 viewpoints significantly outperforms the base detector while being much faster (~0.20s).
Conclusion
FlowVerify demonstrates that combining deep learning's feature extraction capabilities with classical verification principles can significantly enhance object detection reliability. While the computational cost of running dense flow adds latency, the gains in precision and interpretability are vital for robotic tasks. Future work will focus on optimizing the flow network for real-time performance and extending the rigidity tests to handle articulated or deformable objects.
Summary updated