Towards Modality-agnostic Label-efficient Segmentation with Entropy-Regularized Distribution Alignment

Liyao Tang, Zhe Chen, Shanshan Zhao, Chaoyue Wang, Dacheng TaoarXiv 2024

Abstract

Label-efficient segmentation aims to perform effective segmentation on input data using only sparse and limited ground-truth labels for training. This topic is widely studied in 3D point cloud segmentation due to the difficulty of annotating point clouds densely, while it is also essential for cost-effective segmentation on 2D images. Until recently, pseudo-labels have been widely employed to facilitate training with limited ground-truth labels, and promising progress has been witnessed in both the 2D and 3D segmentation. However, existing pseudo-labeling approaches could suffer heavily from the noises and variations in unlabelled data, which would result in significant discrepancies between generated pseudo-labels and current model predictions during training. We analyze that this can further confuse and affect the model learning process, which shows to be a shared problem in label-efficient learning across both 2D and 3D modalities. To address this issue, we propose a novel learning strategy to regularize the pseudo-labels generated for training, thus effectively narrowing the gaps between pseudo-labels and model predictions. More specifically, our method introduces an Entropy Regularization loss and a Distribution Alignment loss for label-efficient learning, resulting in an ERDA learning strategy. Interestingly, by using KL distance to formulate the distribution alignment loss, ERDA reduces to a deceptively simple cross-entropy-based loss which optimizes both the pseudo-label generation module and the segmentation model simultaneously. In addition, we innovate in the pseudo-label generation to make our ERDA consistently effective across both 2D and 3D data modalities for segmentation.

Introduction

Semantic segmentation—the task of assigning a category label to every pixel in an image or every point in a 3D cloud—is notoriously labor-intensive. Annotating a single 3D scan can take over 20 minutes, making dense annotation a significant bottleneck for scaling deep learning models. To bypass this, researchers utilize "label-efficient" methods that generate pseudo-labels for unlabeled data.

However, two major hurdles remain in existing pseudo-labeling frameworks. First, Noise and Discrepancy: Pseudo-labels are often noisy, creating a distributional discrepancy between the generated labels and the model's current predictions, which confuses the learning process. Second, Modality Specialization: Most techniques are heavily tuned for either 2D images or 3D point clouds, but rarely both. 2D methods often rely on specific data augmentations like Mixup, while 3D methods utilize geometric prototypes, leading to a lack of modality-agnostic solutions.

Methodology: The ERDA Framework

The proposed ERDA (Entropy-Regularized Distribution Alignment) strategy is designed to regularize pseudo-labels and narrow the gap between labels and model predictions through two core components:

  1. Entropy Regularization (ER): This loss term minimizes the Shannon entropy of the pseudo-labels, forcing the generator to be more "confident" and less ambiguous, effectively filtering out noise.
  2. Distribution Alignment (DA): This term uses KL divergence to ensure the distribution of generated pseudo-labels remains close to the model's actual predictions.
Comparison of existing modality-specific sparse pseudo-labeling versus the proposed modality-agnostic dense ERDA framework.

When these terms are combined (specifically with a regularization weight $\lambda=1$), the complex mathematical formulation collapses into a simple cross-entropy-style loss. Unlike standard cross-entropy, which treats labels as fixed constants, ERDA allows gradients to flow back through both the pseudo-label generator and the segmentation model simultaneously. To ensure modality-agnosticism, the framework replaces fixed class "centroids" with a transformer-based query system, allowing for stable pseudo-label generation even under heavy data distortion.

Experimental Results

ERDA was evaluated across a diverse range of benchmarks, including 3D point clouds (S3DIS, ScanNet, SensatUrban) and 2D images (Pascal VOC 2012, Cityscapes, ACDC).

Performance Gains

The quantitative improvements are striking across all data regimes. On the S3DIS 3D dataset, a RandLA-Net model equipped with ERDA using only 1% of labels achieved a 67.2 mIoU, outperforming the same model trained on 100% of the labels (64.6 mIoU). In extreme scarcity scenarios, such as the "1-pixel" per image setting on Pascal VOC, ERDA improved the mIoU from 63.7% (FixMatch baseline) to 70.2%.

Performance comparison (mIoU) across different numbers of pseudo-labels per scene, showing ERDA consistently outperforming existing methods.

Key Insights

  • Noise-Aware Gradients: The ERDA loss naturally produces larger gradient updates for noisy pseudo-labels and smaller updates for confident ones, creating a self-correcting training loop.
  • Feature Decoupling: By using a projection network for pseudo-label generation, the framework decouples features needed for labeling from those needed for segmenting, preventing task interference.

Conclusion

ERDA demonstrates that the noise and discrepancy problems in 2D and 3D semi-supervised learning are fundamentally similar. By addressing the underlying statistical distribution, ERDA provides a powerful, modality-agnostic tool for label-efficient learning. Future work includes integrating ERDA with large-scale foundation models (e.g., SAM or CLIP) to handle open-world scenarios and further reducing the computational overhead of the query-based transformer decoder.

Summary updated

BibTeX
@misc{tang2024towards,
  author = {Liyao Tang and Zhe Chen and Shanshan Zhao and Chaoyue Wang and Dacheng Tao},
  title = {{Towards Modality-agnostic Label-efficient Segmentation with Entropy-Regularized Distribution Alignment}},
  year = {2024},
  eprint = {2408.16520},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.16520},
}
Figure