Subspace Prototype Guidance for Mitigating Class Imbalance in Point Cloud Semantic Segmentation

Jiawei Han, Kaiqi Liu, Wei Li, Guangzhi ChenECCV 2024

Introduction

In 3D computer vision, point cloud semantic segmentation—the task of assigning a semantic label to every point in a 3D scan—is fundamental for applications ranging from autonomous driving to indoor robotics. However, a persistent challenge in this field is the extreme class imbalance inherent in 3D datasets. In a typical indoor environment, points representing "floors" and "walls" outnumber points for rare categories like "bookcases" or "clutter" by orders of magnitude.

Standard deep learning models, acting as "lazy" optimizers, often prioritize majority classes to maximize overall accuracy, leading to poor performance on minority categories. In high-dimensional feature spaces, the unique characteristics of these rare classes frequently become "overshadowed" or blurred into the features of more common objects. While traditional techniques like oversampling or loss weighting exist, they often disrupt the spatial integrity of 3D scenes. To address this, researchers have introduced Subspace Prototype Guidance (SPG), a training framework designed to enhance the discriminative power of models without increasing inference costs.

Methodology: The Dual-Branch Architecture

The core of SPG is a dual-branch training strategy that acts as a specialized "tutor" for the primary segmentation network.

Overview of the Subspace Prototype Guidance (SPG) framework, mapping point cloud categories into a metric space for improved recognition.

The Main and Auxiliary Branches

  1. The Main Branch: This branch consists of a standard segmentation backbone (e.g., PointNet++ or Point Transformer). It processes the entire 3D scene to produce final semantic predictions.
  2. The Auxiliary Branch: Functioning as the "tutor," this branch includes an encoder and a projection head. Unlike the main branch, it does not view the scene holistically. Instead, points are grouped by their ground-truth category labels before being processed.

Feature Subspaces and Prototype Extraction

By isolating categories in the auxiliary branch, the model creates independent "feature subspaces." This separation prevents "feature contamination," where the dominant features of a large object (like a building) bleed into the features of a small, adjacent object (like a utility line). Within these pure subspaces, the model extracts highly accurate prototypes—representative feature vectors for each category.

Key Innovations and Insights

SPG introduces several mechanisms to ensure robust learning and alignment between the "tutor" and the "student":

  • Supervisory Loop: A mutual feedback loop is established where the auxiliary branch’s "pure" prototypes guide the main branch to tighten its feature clusters. Conversely, correctly classified points from the main branch help refine the auxiliary branch's understanding.
  • Momentum Updates: Prototypes are updated using an Exponential Moving Average (EMA). This allows the model to maintain a "memory" of category features across different scenes, ensuring that prototypes are not overly sensitive to the specific composition of a single training batch.
  • Zero Inference Overhead: A significant advantage of SPG is that the auxiliary branch is discarded after training. The main branch retains the improved feature representations it learned, but its inference speed remains identical to the original backbone.
The SPG pipeline extracts feature centers (prototypes) from independent subspaces to guide the main classification branch.

Experimental Results

The effectiveness of SPG was validated across four major public benchmarks (S3DIS, ScanNet v2, ScanNet200, and Toronto-3D) and a custom real-world dataset.

  • Significant Performance Boosts: When applied to PointNet++ on the S3DIS dataset, the Mean Intersection over Union (mIoU) increased from 53.5% to 64.0%, a remarkable 10.5% gain.
  • State-of-the-Art Integration: SPG also improved high-performing models like Point Transformer v2 (PTv2), pushing its mIoU to 73.3% on S3DIS and 83.1% on Toronto-3D.
  • Minority Class Accuracy: The framework showed particular strength in rare categories. For instance, on the Toronto-3D dataset, the "Fence" category saw a substantial improvement, demonstrating that SPG successfully mitigates the impact of class imbalance.

Conclusion and Future Directions

Subspace Prototype Guidance provides a robust solution to the class imbalance problem in 3D point cloud segmentation by leveraging independent feature subspaces and prototype-based supervision. While the current implementation relies on category labels during training and increases training-time memory requirements, its ability to deliver significant performance gains with zero inference cost makes it a highly practical tool for 3D computer vision. Future research may focus on adapting SPG for semi-supervised settings or developing more advanced memory architectures for extremely sparse data scenarios.

Summary updated

BibTeX
@inproceedings{han2024subspace,
  author = {Jiawei Han and Kaiqi Liu and Wei Li and Guangzhi Chen},
  title = {{Subspace Prototype Guidance for Mitigating Class Imbalance in Point Cloud Semantic Segmentation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72967-6\_15},
}
Figure