Learning Dense Object Descriptors from Multiple Views for Low-shot Category Generalization

Stefan Stojanov, Anh Thai, Zixuan Huang, James M. Rehg

Overview

Standard deep learning for object recognition is notoriously "data-hungry," typically requiring millions of labeled images. While low-shot learning aims to recognize new categories from just a few examples, most existing methods still rely on a large "base" set of labeled categories to pre-train the model.

In this paper, the authors present Deep Object Patch Encodings (DOPE), a self-supervised method that learns dense, local object descriptors from multi-view data without any category labels. By training a model to match local surface patches across different viewpoints, they create a representation that generalizes remarkably well to novel object categories, outperforming many supervised baselines in low-shot recognition tasks.

The Challenge of Category Generalization

Can we learn a representation that generalizes to new categories using only unlabeled multi-view data?

The core challenge is that global image features—the standard approach in image classification—often fail to capture the shared "parts" that define categories. For instance, a wheel looks like a wheel whether it is attached to a bicycle or a car. The authors argue that learning dense descriptors (feature vectors for every pixel or patch) allows a model to recognize these shared geometric structures, facilitating much better generalization to unseen categories.

Methods: Deep Object Patch Encodings (DOPE)

The proposed DOPE method uses a contrastive learning framework focused entirely on local correspondences rather than global image semantics.

DOPE Training Pipeline
  1. Multi-View Correspondence: During training, the model is given two different views of the same object instance. Using sparse depth data and known camera poses, the system calculates which pixels in View A correspond to the exact same 3D point on the object's surface in View B.
  2. Local Contrastive Loss: A neural network (ResNet18 + Panoptic FPN) is trained to produce similar feature vectors for corresponding pixels (positives) and dissimilar vectors for non-corresponding pixels or pixels from different objects (negatives).
  3. Background Masking: To prevent the model from "cheating" by relying on background context, foreground masks are used to force the network to focus solely on the object's geometry.
  4. Low-Shot Inference: At test time, the model only needs a single RGB image. To classify a new "query" image, DOPE samples several local patches and finds the best matches in a small "support" set of labeled images using a simple nearest-neighbor approach.

Datasets and Key Insights

The authors evaluated DOPE on both synthetic and real-world data, including ModelNet40-LS, ShapeNet50-LS, CO3D-LS (real-world crowd-sourced videos), and ABC (a massive, uncurated dataset of 115,000 CAD parts without category labels).

Testing across these datasets revealed several key insights:

  • Parts Generalize Better Than Wholes: By learning to match a specific chair leg to itself across views, the model inadvertently learns what a "generic" chair leg looks like. This allows it to recognize a chair in a new category simply because it recognizes the constituent parts.
  • The Power of Unstructured Data: Surprisingly, training on the ABC dataset—a random assortment of mechanical parts—leads to better performance on semantic category recognition than training on the categories themselves. This suggests that learning "pure geometry" is a powerful prior for computer vision.
  • 3D Views > 2D Augmentation: The authors demonstrated that simply distorting a 2D image (standard self-supervision) is insufficient. To learn representations that truly generalize, the model must observe the same object from physically different 3D perspectives.

Key Results

DOPE demonstrates that self-supervision can beat supervision in low-shot scenarios.

On ModelNet40, DOPE trained on the unlabeled ABC dataset achieved 62.76% accuracy in 1-shot classification, significantly higher than supervised baselines like SimpleShot (56.55%) and FEAT (57.46%). On the real-world CO3D dataset, DOPE (61.77%) remained highly competitive with state-of-the-art supervised methods like FEAT (64.48%), despite never seeing a category label during training.

Dense Descriptor Visualizations

Qualitatively, PCA visualizations of the dense features show that DOPE consistently identifies the same semantic parts across different instances and wildly different viewpoints, mapping similar geometric structures to similar feature spaces.

Limitations and Future Work

While powerful, DOPE requires depth information and camera poses during the training phase. While these can be estimated via Structure-from-Motion (SfM), it adds a layer of complexity compared to methods that only need raw images. Furthermore, performing contrastive learning at the pixel level is more computationally expensive than global image-level contrastive learning.

Future work may explore ways to learn these correspondences from video temporal continuity, potentially removing the need for explicit 3D geometry or camera poses entirely.

Summary updated

BibTeX
@inproceedings{stojanov2022learning,
  author = {Stefan Stojanov and Anh Thai and Zixuan Huang and James M. Rehg},
  title = {{Learning Dense Object Descriptors from Multiple Views for Low-shot Category Generalization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=eQ72ywaCBAG},
}
Figure