Staying in shape: learning invariant shape representations using contrastive learning

Jeffrey Gu, Serena Yeung

Abstract

Creating representations of shapes that are invariant to isometric or almost-isometric transformations has long been an area of interest in shape analysis, since enforcing invariance allows the learned features to be more robust and generalizable. This paper introduces a contrastive learning framework for 3D point clouds that learns shape representations invariant to rotations, reflections, and deformations. By proposing novel data augmentations based on "isometry" (distance-preserving transformations), the authors achieve state-of-the-art unsupervised classification accuracy and significantly improved robustness to noise and orientation changes.

Introduction

In 3D shape analysis—critical for fields like autonomous driving, medical imaging, and virtual reality—manual data annotation is prohibitively expensive. While unsupervised learning offers a path forward, existing methods often fail to produce truly "invariant" representations. Consequently, a model might perceive a chair and its rotated counterpart as distinct objects.

Most current deep learning models for 3D point clouds rely on limited data augmentations, such as rotation solely around the vertical "gravity" axis. However, real-world data is unconstrained: objects appear in arbitrary orientations, may be reflected, or undergo slight deformations. This work aims to embed geometric "isometry invariance" directly into the learning process, ensuring that resulting features are robust to these natural variations.

Methodology: Contrastive Learning for Isometry

The authors utilize a Contrastive Learning framework, specifically the Momentum Contrast (MoCo) approach. The core objective is to take a single 3D point cloud $x$, generate two distinct "views" ($v_q, v_k$) via data augmentations, and train a neural network to recognize these as the same object while distinguishing them from others in a batch.

The contrastive learning framework used to learn invariant shape representations.

The key innovation lies in three novel data augmentation techniques designed to simulate isometric and near-isometric transformations:

  1. Uniform Orthogonal Transformations: Utilizing QR decomposition to sample random rotations and reflections from the full orthogonal group $O(n)$, ensuring orientation invariance across all axes.
  2. Random Almost-Orthogonal (RIP) Transformations: To simulate linear deformations like stretching or shearing, the authors use matrices satisfying the Restricted Isometry Property (RIP) to sample transformations that almost preserve distances.
  3. Smooth Perturbations: To capture non-linear deformations (e.g., bending), radial basis function interpolation is used to move points smoothly.

The framework is model-agnostic, with PointNet serving as the primary base encoder.

Experimental Results

The model underwent unsupervised pre-training on ShapeNet, focusing on seven major categories. Downstream evaluation was performed on ModelNet40 and ModelNet10. After pre-training, the encoder weights were frozen, and a linear classifier was trained to assess the quality of the learned representations.

As shown in the table below, the proposed method achieves state-of-the-art results in unsupervised 3D shape classification. On ModelNet40, the framework reached 86.4% accuracy, surpassing previous unsupervised benchmarks such as Point Distribution Learning (84.7%) and 3D-GAN (83.3%).

Comparison of the proposed method against supervised and unsupervised baselines on ModelNet benchmarks.

Robustness and Inductive Bias

A significant finding is the efficacy of "almost-isometry." RIP augmentations alone yielded an accuracy of 86.3%, suggesting that allowing for slight stretching helps the model learn more generalized features than rigid rotations alone.

Furthermore, the model demonstrates exceptional robustness. While standard models often see performance degradation when faced with random rotations or Gaussian noise, this model's performance remains remarkably stable. Accuracy decreased by only ~2% under noise levels that caused much sharper declines in competing models.

Conclusion

By translating classical geometric intuition regarding distance preservation into a modern self-supervised pipeline, this work demonstrates that isometry is a powerful inductive bias for 3D shape analysis. Future work may address the high computational cost of these complex augmentations and explore scaling the approach to larger, more diverse datasets beyond the ShapeNet subset.

Summary updated

BibTeX
@inproceedings{gu2021staying,
  author = {Jeffrey Gu and Serena Yeung},
  title = {{Staying in shape: learning invariant shape representations using contrastive learning}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=jGZ5TybQbqe},
}
Figure