TL;DR
This paper introduces "dense functional correspondence," a new task focused on matching parts of objects across different categories based on their shared function (e.g., a kettle spout and a bottle neck for "pouring"). They propose a weakly-supervised learning framework that leverages vision-language models (VLMs) for pseudo-labeling and dense contrastive learning to achieve this, outperforming existing methods.
What Problem Does This Paper Address?
Establishing dense correspondences between pixels in different images is crucial for many computer vision tasks, from 3D reconstruction to robotic manipulation. While methods exist for matching within the same object category or for sparse keypoints, matching across different object categories based on function remains a significant challenge. This is because visually dissimilar objects can perform the same function using functionally similar parts (e.g., a kettle's spout and a bottle's neck for pouring). Existing approaches struggle with this cross-category functional matching due to a lack of large-scale labeled data and the difficulty of capturing nuanced functional similarities.
Methods
The authors propose a weakly-supervised learning framework that combines the strengths of vision-language models (VLMs) and self-supervised visual representations.
- Pseudo-labeling Functional Parts: They use a VLM (GPT-4) to generate category-specific functional part prompts and another VLM (CogVLM) to produce bounding box proposals for these functional parts on rendered 3D object models. These are aggregated to create pixel-level functional part labels.
- Dense Contrastive Learning: A new model is trained using a contrastive learning framework. This framework incorporates two key losses:
- Functional Part Contrastive Loss: This loss encourages features from functionally equivalent parts (e.g., kettle spout and bottle neck) to be similar, while pushing features from non-functional parts apart.
- Part Structure via Multi-view Contrastive Learning: This loss leverages multi-view correspondences of the same object to ensure that the learned features capture structural information and prevent mode collapse (where all parts of an object get the same feature representation).
- Function-Conditioned Feature Extraction: A local feature extraction module uses a Multi-Layer Perceptron (MLP) on top of pre-trained DINOv2 features and CLIP text embeddings of the function to produce function-conditioned local features.
Datasets
- Training Data: The authors leverage the Objaverse dataset, a large collection of 3D assets. They use VLMs to curate and pseudo-label functional parts from rendered images of these assets.
- Evaluation Datasets:
- Synthetic Evaluation Dataset: Created from Objaverse 3D assets, with hand-labeled 3D annotations for 950 pairs across 24 functions. This dataset includes over 1,800 unique 2D image pairs.
- Real Evaluation Dataset: Utilizes the HANDAL dataset, which provides images and 3D reconstructions of real-world objects. They label 190 asset pairs across 13 functions, resulting in over 500 unique 2D real image pairs.
These datasets are novel in that they specifically target dense functional correspondence across categories.
Key Insights and Ideas
- Function as a Unifying Principle: The core idea is that objects performing similar functions often have functionally analogous parts, even if their overall shapes differ drastically. This "form follows function" principle is key to bridging cross-category gaps.
- VLMs for Weak Supervision: VLMs are powerful enough to provide valuable "pseudo-labels" for functional parts, significantly reducing the need for manual annotation in a task that is otherwise extremely labor-intensive to label.
- Complementary Strengths of Vision Models: Neither self-supervised models (like DINOv2) nor VLMs alone are sufficient. Self-supervised models excel at general visual similarity, while VLMs can identify functional concepts. Combining them, with VLMs guiding the functional aspect and self-supervised models providing structural priors, leads to superior performance.
- Dense Correspondence is Achievable Across Categories: The work demonstrates that it's possible to learn dense pixel-level correspondences between objects from different categories based on their functional roles, opening up new possibilities for cross-domain transfer.
Key Results
- State-of-the-Art Performance: The proposed "Ours (full with mask loss)" model consistently outperforms all baselines on both synthetic and real-world evaluation datasets across various metrics (Normalized Distance, PCK, Best F1, AP).
- Generalization to Real Images: The model trained on synthetic data (Objaverse) generalizes well to real-world images (HANDAL dataset).
- Ablation Studies:
- Training with only functional loss performs poorly.
- Training with only spatial loss is better but still falls short of the full model.
- The optional mask prediction module slightly improves correspondence discovery on real data.
- Qualitative Success: The model produces dense matches between functional parts of different object categories with high spatial precision, demonstrating a deep understanding of both functional and structural information.
Limitations and Future Work
- Reliance on 3D Assets for Annotation: The current annotation pipeline relies on having corresponding 3D assets for image pairs. This limits direct application to datasets without such 3D information.
- VLM Inference Speed: While faster than some VLM-based baselines, VLM inference for functional part grounding can still be a bottleneck.
- Future Work: The authors suggest scaling up the approach to millions of meshes in Objaverse-XL and exploring applications in robotic manipulation, such as imitation learning. The optional mask prediction module could be further investigated.
Summary updated