Weighted Point Cloud Augmentation for Neural Network Training Data Class-Imbalance

David Griffiths, Jan BoehmarXiv 2019 · DOI

Abstract

Recent developments in the field of deep learning for 3D data have demonstrated promising potential for end-to-end learning directly from point clouds. However, many real-world point clouds contain a large class im-balance due to the natural class im-balance observed in nature. For example, a 3D scan of an urban environment will consist mostly of road and facade, whereas other objects such as poles will be under-represented. In this paper we address this issue by employing a weighted augmentation to increase classes that contain fewer points. By mitigating the class im-balance present in the data we demonstrate that a standard PointNet++ deep neural network can achieve higher performance at inference on validation data. This was observed as an increase of F1 score of 19% and 25% on two test benchmark datasets; ScanNet and Semantic3D respectively where no class im-balance pre-processing had been performed. Our networks performed better on both highly-represented and under-represented classes, which indicates that the network is learning more robust and meaningful features when the loss function is not overly exposed to only a few classes.

Introduction

In real-world scenarios, 3D point cloud data is inherently imbalanced. Urban scans are typically dominated by large surfaces like roads and building facades, while critical objects of interest—such as traffic lights, poles, or pedestrians—constitute only a small fraction of the total points. Standard Deep Neural Networks (DNNs) tend to optimize for the majority classes, often achieving high overall accuracy by simply ignoring rare classes. While techniques like loss weighting or simple oversampling are common, they often lead to overfitting or fail to provide the geometric diversity necessary for the network to learn generalizable features.

Visualizations of point cloud data from Semantic3D (a) and ScanNet (b) showing the complexity and variety of objects.

Methodology

The proposed weighted augmentation strategy aims to physically reduce class imbalance during the pre-processing stage. The pipeline consists of three primary components:

  1. Chunking and Uniqueness Scoring: Large 3D scenes are divided into 10x10m chunks. Each chunk is assigned a uniqueness score based on the rarity of the classes it contains. Chunks with a higher proportion of under-represented points receive higher scores.
  2. Weighted Augmentation: Instead of uniform augmentation, the number of random rotations applied to a chunk is determined by its uniqueness score using a non-linear tangent-based function. This ensures that rare objects are presented to the network from multiple perspectives.
  3. Adaptive Voxel Downsampling: To maintain a fixed input size (e.g., 8192 points), a non-uniform sampling method is used. Points from rare classes have a higher probability of being retained, preventing them from being overshadowed by majority class "noise."
Class distribution comparison between original data and weighted augmentation for ScanNet (a) and Semantic3D (b), demonstrating the balancing effect.

Datasets

The method was evaluated on two prominent benchmarks:

  • ScanNet: An indoor dataset with over 1,500 room scans, exhibiting moderate class imbalance.
  • Semantic3D: A massive outdoor dataset containing 4 billion points, characterized by extreme imbalance where terrain types dominate.

Results and Discussion

The weighted augmentation strategy significantly outperformed both vanilla training and standard uniform augmentation.

  • Performance Gains: F1 scores improved by 19% on ScanNet and 25% on Semantic3D. Overall accuracy also saw notable increases of 3.8% and 10.9% respectively.
  • Robust Feature Learning: A key finding was the "rising tide" effect: performance improved for both rare and dominant classes. By preventing the loss function from being dominated by a few classes, the network was forced to learn more meaningful geometric distinctions across all categories.
  • Data-Level vs. Loss-Level Balancing: The results suggest that addressing imbalance at the data level through pre-processing is more effective for point cloud DNNs than relying solely on loss weighting.

Conclusion

Weighted augmentation provides a robust framework for handling class imbalance in 3D deep learning. By prioritizing diversity over simple duplication, the network learns more generalizable geometric features. Future work will focus on testing generalization in entirely unseen environments and extending the method to dense point cloud classification.

Summary updated

BibTeX
@misc{griffiths2019weighted,
  author = {David Griffiths and Jan Boehm},
  title = {{Weighted Point Cloud Augmentation for Neural Network Training Data Class-Imbalance}},
  year = {2019},
  eprint = {1904.04094},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.04094},
}
Figure