Abstract
In this work, we tackle one-shot visual search of object parts. Given a single reference image of an object with annotated affordance regions, we segment semantically corresponding parts within a target scene. We propose AffCorrs, an unsupervised model that combines the properties of pre-trained DINO-ViT’s image descriptors and cyclic correspondences. We use AffCorrs to find corresponding affordances both for intra- and inter-class one-shot part segmentation. This task is more difficult than supervised alternatives, but enables future work such as learning affordances via imitation and assisted teleoperation.
Introduction
For a robot to be truly useful, it needs to understand affordances—the functional properties of an environment that tell an agent what actions are possible (e.g., a handle "affords" grasping). While humans can see a handle on a jug and immediately know how to pick up a novel mug, robots typically struggle with this kind of generalization.
Existing solutions usually rely on fully supervised deep learning, which requires thousands of manually labeled images for every object category. Furthermore, most "one-shot" methods focus on segmenting entire objects rather than specific functional parts. The authors address this gap by introducing One-Shot Affordance Part Segmentation (OSAPS), a task where a robot must find a specific functional region in a new scene based on only one reference image.
Methodology: The AffCorrs Framework
AffCorrs is an unsupervised framework that leverages self-supervised features and cyclic consistency to transfer affordance knowledge without fine-tuning.
The pipeline consists of four main steps:
- Feature Extraction: Using DINO-ViT, a Vision Transformer trained via self-supervision, to produce descriptors that capture semantic part information.
- Centroid Grouping: Dense descriptors are grouped into "centroids" using K-Means to reduce noise and computational load.
- Cyclic Matching: The model performs Forward Matching (finding the query part in the target image) and Backward Matching (checking if those target pixels match back to the original query). Matches are only kept if they hold up in both directions.
- Post-processing: A Conditional Random Field (CRF) smooths the resulting segmentation mask to align with physical boundaries.
Evaluation and Results
The system was evaluated on the UMD Affordance Dataset and a new variant, $UMD^i$, specifically curated for one-shot transfer. Real-world tests were conducted using a Franka Emika robot arm.
Key Findings
- Performance: AffCorrs significantly outperformed unsupervised baselines like BAM. In intra-class tests (e.g., mug to mug), it approached human-level performance in Intersection over Union (IoU).
- Inter-class Transfer: The model successfully transferred affordances between different categories, such as finding the "containment" region of a bowl based on a reference image of a mug.
- Robotic Success: In real-world trials, the robot achieved a 100% success rate in single-object scenes and 70-80% in cluttered scenes.
Discussion
AffCorrs demonstrates that self-supervised models like DINO-ViT already possess a latent understanding of object parts. By using cyclicity as a filter, the model can handle missing parts and noise effectively. However, limitations remain, including positional bias from Transformer encodings and sensitivity to distracting textures. Future work may involve integrating object detection to crop scenes or using human demonstrations to refine affordance relevance.
Summary updated