Unsupervised 3D Point Cloud Representation Learning by Triangle Constrained Contrast for Autonomous Driving

Bo Pang, Hongchi Xia, Cewu LuCVPR 2023

Abstract

Due to the difficulty of annotating the 3D LiDAR data of autonomous driving, an efficient unsupervised 3D representation learning method is important. In this paper, we design the Triangle Constrained Contrast (TriCC) framework tailored for autonomous driving scenes which learns 3D unsupervised representations through both the multimodal information and dynamic of temporal sequences. We treat one camera image and two LiDAR point clouds with different timestamps as a triplet. Our key design is the consistent constraint that automatically finds matching relationships among the triplet through “self-cycle” and learns representations from it. With the matching relations across the temporal dimension and modalities, we can further conduct a triplet contrast to improve learning efficiency. TriCC is the first framework that unifies both the temporal and multimodal semantics, utilizing almost all information in autonomous driving scenes. Compared with previous contrastive methods, it automatically identifies challenging contrasting pairs without relying on handcrafted ones. Extensive experiments on several semantic segmentation and 3D detection datasets show that TriCC learns effective representations with fewer training iterations and significantly improves state-of-the-art results.

Introduction

Deep learning has revolutionized perception for autonomous driving, but the field remains constrained by the high cost of annotating 3D LiDAR point clouds. Unsupervised representation learning offers a solution by pre-training models on unlabeled data. However, existing methods often rely on handcrafted constraints, such as geometric rotations, which may lead to "false negatives" and fail to capture complex real-world dynamics. Furthermore, previous research has typically focused on either temporal information (LiDAR-to-LiDAR) or multimodal information (LiDAR-to-Camera) in isolation. There is a clear need for a unified framework that exploits the full suite of sensors available in modern autonomous driving environments simultaneously.

Methodology

The proposed Triangle Constrained Contrast (TriCC) framework treats a camera image ($C_t$), a LiDAR scan at the same timestamp ($P_t$), and a LiDAR scan at a subsequent timestamp ($P_{t+1}$) as a data triplet.

Conceptual overview of the Triangle Constrained Contrast (TriCC) framework, illustrating the integration of temporal and modal dimensions.

Triangle Consistent Constraint (TCC)

At the heart of TriCC is the Triangle Consistent Constraint (TCC). Instead of using predefined positive pairs, TriCC employs a "self-cycle" mechanism to discover dense matching relationships. A feature vector originating in $P_t$ is projected to the image $C_t$, then to the subsequent LiDAR scan $P_{t+1}$, and finally back to $P_t$. The TCC forces the feature to return to its original location, using differentiable transition matrices based on feature similarity. This process automatically identifies "hard" positive pairs that are robust to motion and perspective shifts.

Architecture and Loss Functions

The TriCC pipeline utilizes dual backbones ($f_p$ for point clouds and $f_c$ for images) and specialized heads for contrastive and cycle learning.

Detailed architecture of TriCC, showing the flow from inputs through backbones and heads to the final contrastive and cycle losses.

The model is optimized using three primary loss components:

  1. Contrastive Loss ($L_c$): Pulls matching features from the triplet closer while pushing non-matching samples away.
  2. Cycle Loss ($L_s$): Enforces the triangular consistency across modalities and time.
  3. Shortcut Loss ($L_{shortcut}$): A mini-cycle specifically between $P_t$ and $P_{t+1}$ that accelerates the learning of spatial-temporal consistency.

Results

TriCC was pre-trained on the nuScenes dataset and evaluated on nuScenes, SemanticKITTI, and KITTI benchmarks using Minkowski-UNet and VoxelNet backbones. The framework demonstrated remarkable efficiency, with 20 epochs of pre-training outperforming baseline methods trained for 50 epochs.

In semantic segmentation tasks on nuScenes, TriCC achieved a 7.9% mIoU improvement over the baseline when fine-tuned with only 1% of labels. On the KITTI benchmark for 3D object detection, the model produced a 4% relative improvement in accuracy using only 5% of annotations. Furthermore, TriCC showed strong transferability, with features learned on nuScenes performing effectively on the KITTI dataset without re-training from scratch.

Conclusion

TriCC introduces a novel approach to unsupervised 3D representation learning by unifying temporal and multimodal semantics. By closing the loop between images and LiDAR scans across time, the model learns representations that capture both appearance and geometry in a single, compact algorithm. While the framework currently faces some architectural constraints regarding heavy downsampling backbones and optimal temporal windows, it sets a new state-of-the-art for efficiency and performance in autonomous driving perception tasks.

Summary updated

BibTeX
@inproceedings{pang2023unsupervised,
  author = {Bo Pang and Hongchi Xia and Cewu Lu},
  title = {{Unsupervised 3D Point Cloud Representation Learning by Triangle Constrained Contrast for Autonomous Driving}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=hevAhuIAUm},
}
Figure