CP-VoteNet: Contrastive Prototypical VoteNet for Few-Shot Point Cloud Object Detection

Xuejing Li, Weijia Zhang, Chao Ma · DOI

TL;DR

CP-VoteNet enhances few-shot 3D object detection by introducing a dual-level contrastive learning framework. By forcing the model to learn more distinct boundaries between semantic categories and local geometric "primitives" (like edges and planes), the researchers created a system that generalizes significantly better to novel objects with very few training examples.

What Problem Does This Paper Address?

3D object detection in point clouds is notoriously data-hungry, requiring massive amounts of manually labeled 3D bounding boxes. Few-Shot 3D Detection (FS3D) aims to alleviate this by training a model on "base" classes (with lots of data) and then adapting it to "novel" classes with only a handful of examples (e.g., 1 to 5 shots).

The current standard for FS3D is prototype learning, where the model extracts a "representative feature" (a prototype) for a class and looks for similar features in a new scene. However, the authors argue that existing prototypes are too "loose." They lack fine-grained awareness of how different parts of an object relate to each other geometrically and how different categories relate semantically. This leads to poor performance when the model encounters a new object type that doesn't perfectly match its simplistic prototypes.

Methods

The authors propose CP-VoteNet, which adds two contrastive learning modules to the existing Prototypical VoteNet baseline:

  1. Semantic Contrastive Learning (SCL): This operates at the object level. It ensures that features belonging to the same category are pulled closer together in the feature space, while features from different categories are pushed apart. This creates "sharper" semantic boundaries, making the model more confident in its classification.
  2. Primitive Contrastive Learning (PCL): This is the more novel contribution. The authors observe that while a "chair" and a "table" are different, they share geometric building blocks—primitives like flat surfaces, corners, or edges. PCL uses a memory bank to track these geometric prototypes. It forces point-level features to align with their corresponding geometric primitive, regardless of which object category they belong to. This makes the feature encoder much better at "understanding" the universal language of 3D shapes.
  3. Projection Layers: Inspired by SimCLR, the authors use MLP projection heads to calculate these contrastive losses. This acts as a buffer, preventing the contrastive constraints from directly "washing out" important details in the backbone's original feature representations.

Datasets

The model was evaluated on two standard FS3D benchmarks:

  • FS-ScanNet: Derived from the ScanNet indoor scene dataset, featuring 18 categories. It uses two different "splits" of base and novel classes to ensure the results aren't a fluke of specific category combinations.
  • FS-SUNRGBD: Derived from the SUNRGBD dataset, featuring 10 categories.

In both cases, the model was tested in 1, 3, and 5-shot scenarios.

Key Insights and Ideas

  • Geometry is a Universal Language: The most powerful idea here is that geometric primitives are category-agnostic. By mastering how to represent an "edge" or a "corner" through PCL, the model gains knowledge that is inherently transferable to a novel class it has never seen before.
  • Constrained Prototypes are Better Prototypes: By adding contrastive "pressure" during training, the model can't get away with lazy, fuzzy prototypes. It is forced to find the most discriminative features that define a category or a shape.
  • Efficiency via Batch-Mining: Instead of using complex data augmentation to create positive/negative pairs (which is computationally expensive in 3D), the authors construct pairs directly from the training batches. This keeps the training process relatively fast and compact.

Key Results

CP-VoteNet achieved new state-of-the-art (SOTA) results across almost all tested settings:

  • On FS-ScanNet: It outperformed the previous SOTA (P-VAE) by up to 5.3% in Mean Average Precision (mAP). Compared to the baseline Prototypical VoteNet, it saw improvements in $AP_{25}$ ranging from 2.4% to 4.8%.
  • On FS-SUNRGBD: The model showed a marked improvement of 3.6% to 8.3% in $AP_{25}$ over the baseline.
  • Qualitative Improvement: Visualizations show that CP-VoteNet produces much cleaner bounding boxes and significantly fewer "false positives" (detecting objects in background noise) compared to previous methods.

Limitations and Future Work

  • Loss Weight Sensitivity: The paper notes that the balance between the detection loss and the two contrastive losses ($\lambda_1$ and $\lambda_2$) is critical. If the semantic loss is too high, the model overfits on base classes; if the primitive loss is too high, it loses the ability to discriminate between categories.
  • Primitive Definition: The "primitives" are currently defined by clustering features in a memory bank. Future work could explore more explicit geometric definitions or hierarchical primitives (e.g., parts of objects) to further improve transferability.
  • Indoor Focus: The benchmarks used are primarily indoor scenes. Testing the robustness of these geometric primitives in outdoor, large-scale LiDAR environments (like autonomous driving datasets) remains an open challenge.

Summary updated

Abstract

Few-shot point cloud 3D object detection (FS3D) aims to identify and localise objects of novel classes from point clouds, using knowledge learnt from annotated base classes and novel classes with very few annotations. Thus far, this challenging task has been approached using prototype learning, but the performance remains far from satisfactory. We find that in existing methods, the prototypes are only loosely constrained and lack of fine-grained awareness of the semantic and geometrical correlation embedded within the point cloud space. To mitigate these issues, we propose to leverage the inherent contrastive relationship within the semantic and geometrical subspaces to learn more refined and generalisable prototypical representations. To this end, we first introduce contrastive semantics mining, which enables the network to extract discriminative categorical features by constructing positive and negative pairs within training batches. Meanwhile, since point features representing local patterns can be clustered into geometric components, we further propose to impose contrastive relationship at the primitive level. Through refined primitive geometric structures, the transferability of feature encoding from base to novel classes is significantly enhanced. The above designs and insights lead to our novel Contrastive Prototypical VoteNet (CP-VoteNet). Extensive experiments on two FS3D benchmarks FS-ScanNet and FS-SUNRGBD demonstrate that CP-VoteNet surpasses current state-of-the-art methods by considerable margins across different FS3D settings. Further ablation studies conducted corroborate the rationale and effectiveness of our designs.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
FS-SUNRGBDCP-VoteNetAP-2516.03Object Detection · 1-shot
Source quote
L186: \bfseries CP-VoteNet │ \bfseries 16.03 │ \bfseries 4.09 │ \bfseries 22.88 │ \bfseries 6.85 │ \bfseries 28.98 │ \bfseries 11.22 │ 30.86 │ \bfseries 13.93 │ \bfseries 34.62 │ 13.56
FS-SUNRGBDCP-VoteNetAP-504.09Object Detection · 1-shot
Source quote
L186: \bfseries CP-VoteNet │ \bfseries 16.03 │ \bfseries 4.09 │ \bfseries 22.88 │ \bfseries 6.85 │ \bfseries 28.98 │ \bfseries 11.22 │ 30.86 │ \bfseries 13.93 │ \bfseries 34.62 │ 13.56
Reported baseline / comparator measurements (2)
BenchmarkMethodMetricScoreProtocol / Evidence
FS-SUNRGBDP-VAE baselineAP-502.42Object Detection · 1-shot
Source quote
L184: P-VAE\cite{PrototypicalVAE} │ 14.36 │ 2.42 │ 22.28 │ 4.30 │ 27.70 │ 8.73 │ 31.55 │ 13.84 │ 33.21 │ 13.98
FS-SUNRGBDP-VAE baselineAP-508.73Object Detection · 3-shot
Source quote
L184: P-VAE\cite{PrototypicalVAE} │ 14.36 │ 2.42 │ 22.28 │ 4.30 │ 27.70 │ 8.73 │ 31.55 │ 13.84 │ 33.21 │ 13.98
BibTeX
@misc{li2024cp,
  author = {Xuejing Li and Weijia Zhang and Chao Ma},
  title = {{CP-VoteNet: Contrastive Prototypical VoteNet for Few-Shot Point Cloud Object Detection}},
  year = {2024},
  eprint = {2408.17036},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.17036},
}
Figure