SemAffiNet: Semantic-Affine Transformation for Point Cloud Segmentation

Ziyi Wang, Yongming Rao, Xumin Yu, Jie Zhou, Jiwen Lu

Introduction

Point cloud semantic segmentation—the process of assigning a categorical label to every point in a 3D scan—is a fundamental task for autonomous systems, including robotics and self-driving vehicles. While modern deep learning architectures have made significant strides by utilizing encoder-decoder structures to aggregate local geometric information, they often struggle with a phenomenon known as "local confusion."

SemAffiNet addresses this challenge by introducing a novel semantic-affine transformation. This approach explicitly guides the network to disentangle features in the embedding space, ensuring that points belonging to the same category are clustered together while distinct categories are pushed apart, even when they share similar geometric profiles.

The Challenge: Local Confusion

Traditional models rely heavily on class-agnostic geometric features. This reliance leads to two primary failure modes:

  1. Visual Similarity: Local geometric patches often look identical across different object classes. For example, the cylindrical structure of a chair leg is virtually indistinguishable from that of a desk leg or a table leg when viewed in isolation.
  2. Spatial Adjacency: During the downsampling and upsampling processes inherent in neural architectures, features from adjacent objects (e.g., a cup resting on a table) tend to become "entangled." This results in blurry semantic boundaries and misclassifications at the points of contact.

SemAffiNet posits that mid-level features require explicit semantic guidance to maintain distinct identities throughout the network's depth.

Methodology

1. Semantic-Affine Transformation

The core innovation of SemAffiNet is the semantic-affine transformation. Rather than simply predicting a final label, the network predicts category-specific affine parameters: a scale factor ($s$) and a bias ($b$) for every potential class.

For each point, the model calculates a weighted sum of these parameters based on its current classification confidence. By applying this transformation to the point's features, the network effectively "normalizes" features of the same category toward a shared region of the high-dimensional embedding space. This mechanism acts as a force that pulls intra-class features together and pushes inter-class features apart, significantly reducing local confusion.

2. Architecture: ISAM and ESAM

SemAffiNet is built upon a 2D/3D fusion backbone (BPNet) and incorporates two specialized modules:

  • Implicit Semantic-Aware Module (ISAM): This module utilizes a Transformer encoder with self-attention to fuse 2D image features with 3D point features. This multi-modal integration provides a richer context that geometry alone cannot provide.
  • Explicit Semantic-Aware Module (ESAM): Functioning as a Transformer decoder, ESAM uses learnable "class queries" to reason about the scene. It is responsible for predicting both the semantic masks and the affine parameters used in the transformation process.

3. Mid-level Supervision via ShadowNet

To ensure the effectiveness of transformations in the middle layers of the network, the authors developed ShadowNet. This utility traces the downsampling (stride) operations in the encoder to generate ground-truth labels for "meta-points" in the latent space. This allows the model to receive supervised signals throughout its architecture, rather than relying solely on the final output layer.

Experimental Results

SemAffiNet was evaluated across several rigorous 2D and 3D benchmarks, demonstrating state-of-the-art performance:

  • ScanNetV2 (3D): The model achieved 74.5% mIoU (mean Intersection over Union) on the 2cm voxel setting, representing a 2.0% improvement over the BPNet baseline.
  • NYUv2 (2D): In image segmentation tasks, the model reached 78.3% accuracy, significantly surpassing the previous state-of-the-art of 73.5%.
  • Versatility: A key strength of the ESAM module is its "plug-and-play" nature. When integrated into other popular architectures like MinkowskiNet (voxel-based) and KPConv (point-based), it consistently boosted performance, improving MinkowskiNet’s mIoU on ScanNetV2 from 72.2% to 74.0%.

Qualitative analysis confirms that SemAffiNet is particularly adept at identifying thin structures and fine details, such as the crossbeams of furniture, which are typically lost or misclassified by baseline models.

Conclusion

SemAffiNet represents a significant shift in point cloud processing by moving beyond simple geometric aggregation. By employing semantic-affine transformations, the model explicitly manages feature disentanglement, leading to sharper boundaries and more accurate classifications. While the current implementation requires per-point supervision for mid-level layers, future work may explore weakly-supervised methods to further enhance the scalability of this promising approach.

Summary updated

BibTeX
@inproceedings{wang2022semaffinet,
  author = {Ziyi Wang and Yongming Rao and Xumin Yu and Jie Zhou and Jiwen Lu},
  title = {{SemAffiNet: Semantic-Affine Transformation for Point Cloud Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure