TL;DR
Target Driven Instance Detector (TDID) is a novel architecture that treats object detection as a matching problem between a target image and a scene. By learning a joint embedding that compares features rather than just classifying them, TDID can detect specific object instances—even those it has never seen before—without the need for retraining or fine-tuning.
What Problem Does This Paper Address?
Standard object detectors (like Faster R-CNN or SSD) are designed for category-level detection—finding any "mug" or "chair." However, many real-world applications, particularly in robotics, require instance-level detection: finding your specific mug in a cluttered kitchen.
Category-level detectors require massive amounts of labeled data and long training times for every new class. They often struggle when only a few examples of a specific object are available. The authors address this gap by creating a system that is fast, handles small training sets (down to a single image), and generalizes to novel objects "out of the box."
Methods
TDID modifies the standard detection pipeline by introducing a joint embedding module that integrates information from both a target image and a scene image.
- Feature Extraction: The system uses a shared backbone (VGG-16) to extract feature maps from both the target image and the scene image.
- Joint Embedding: This is the core innovation. Instead of just looking at the scene, the network combines features using two main operations:
- Cross-Correlation (CC): A depthwise-separable correlation that highlights areas in the scene similar to the target.
- Feature Differencing (DIFF): The target features are globally max-pooled and then subtracted from every location in the scene feature map.
- Detection Head: Similar to the Region Proposal Network (RPN) in Faster R-CNN, a set of convolutions predicts class scores (target vs. background) and bounding box regressions over a set of anchor boxes.
As shown in the architecture diagram below, the system effectively "enriches" the scene representation with the target's unique signature before making a prediction.
Datasets
The authors evaluated TDID on several challenging datasets that reflect real-world robotic environments:
- Active Vision Dataset (AVD): A large-scale dataset of household rooms captured from a robot's perspective, featuring significant scale variation and occlusion.
- GMU Kitchens: Contains instances similar to those in BigBird, used to test how well models trained on one environment transfer to another.
- BigBird & RGB-D Object Dataset: Used to provide a diverse set of object instances for training the general matching embedding.
- NYUD2: Used as background images for generating synthetic training data.
Key Insights and Ideas
- Detection as Comparison: The fundamental shift is moving from "What is this?" to "Is this the target?". This binary classification task is often easier to learn and requires less data per object.
- The Power of Subtraction: Surprisingly, the ablation study (see Table I below) showed that Feature Differencing (DIFF) provides a stronger signal for detection than Cross-Correlation alone. Combining both (CC+DIFF) yielded the best results.
- Zero-Shot Generalization: Because the network learns how to compare features rather than memorizing specific object appearances, it can detect objects it has never seen during training simply by being shown a new target image at test time.
- Efficiency through Pre-computation: While the system runs per-target, the scene and target features can be pre-computed. This allows the system to search for multiple targets in a single scene quite efficiently (up to 19 fps for a single target).
Key Results
- Superior Accuracy: On the AVD dataset, TDID outperformed SSD by over 14 mAP on all boxes and by over 20 mAP on larger objects.
- Generalization: In few-shot experiments on GMU Kitchens, TDID achieved 48.2 mAP on objects it had never seen during training, a task that standard category detectors cannot perform without retraining.
- One-Shot Classification: TDID achieved 50.5% accuracy on the RGB-D Scenes one-shot task, surpassing previous state-of-the-art methods like CaffeNet+MV (44.1%) and traditional hand-crafted features like SIFT (12.9%).
- Speed: TDID maintains a fast runtime, achieving 12-19 fps on a Titan X GPU, making it suitable for real-time robotic applications.
Limitations and Future Work
- Small Objects: Like most detectors, TDID sees a significant performance drop when objects are very small or far away in the scene.
- Domain Specificity: While TDID generalizes to new objects, the current experiments were limited to the household/grocery domain. The authors note that expanding this generalizability to entirely different domains (e.g., industrial parts) is a key next step.
- Occlusion Robustness: While the system handles some occlusion, the authors aim to make the embedding process even more robust to partially hidden targets in future iterations.
Summary updated