NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Query Refinement Transformer for 3D Instance Segmentation

Jiahao Lu, Jiacheng Deng, Chuxin Wang, Jianfeng He, Tianzhu Zhang

Introduction

3D instance segmentation is a critical task in computer vision, requiring the identification and precise masking of individual objects within a 3D point cloud. Modern "query-based" frameworks, such as Mask3D, represent objects as learnable queries that interact with scene features. However, these methods frequently struggle with the query sampling dilemma: balancing high object coverage with low redundancy. Insufficient queries lead to missed objects, while excessive queries result in fragmented or duplicated masks. Furthermore, many queries inevitably fall on background noise (walls, floors, or empty space), which can degrade the model's overall perception and accuracy.

Methodology

To address these challenges, the proposed QueryFormer (Query Refinement Transformer) introduces a specialized architecture designed for efficient and accurate query initialization and refinement.

The QueryFormer framework overview, detailing the Query Initialization Module (QIM) and the Affiliated Transformer Decoder (ATD).

Query Initialization Module (QIM)

Unlike standard methods that rely on simple Farthest Point Sampling (FPS), the QIM utilizes an Aggregation Module to fuse features from superpoints (clusters of similar points). A subsequent Set Grouping Module physically shifts seed points toward predicted object centers. This geometric prior ensures that queries are naturally clustered around actual instances, maximizing coverage while allowing Non-Maximum Suppression (NMS) to minimize repetition.

Affiliated Transformer Decoder (ATD)

The ATD is optimized for both computational efficiency and robustness through two key features:

  1. Cluster-based Layers: Instead of costly global attention, the decoder clusters backbone features and assigns queries to attend only to the most relevant spatial clusters.
  2. Denoising Module: During training, the model is fed "perturbed" ground-truth centers. By employing a contrastive loss, the model learns to distinguish between high-quality object queries and background noise, effectively suppressing interference from non-object regions.

Experimental Results

QueryFormer was evaluated on major indoor benchmarks, including ScanNetV2, S3DIS, and ScanNet200. It achieved state-of-the-art performance, reaching 56.5 mAP on ScanNetV2 and 57.7 mAP on S3DIS Area 5.

Quantitative analysis of QueryFormer vs. Mask3D, showing improvements in coverage and repetition rates, alongside a more favorable query distribution.

Key Insights

  • Geometric Priors: Treating query initialization as a learnable geometric task significantly improves the quality of initial object candidates compared to brute-force sampling.
  • Efficiency: By reducing the decoder from 12 to 8 layers through feature clustering, QueryFormer achieves faster inference times (487ms vs. 578ms for Mask3D) despite having a slightly higher parameter count.
  • Noise Robustness: The denoising module significantly shifts the query distribution. As shown in the metrics, QueryFormer maintains a higher percentage of foreground queries (61% vs. 48%) and a drastically lower noise background query rate (4% vs. 15%) compared to previous methods.

Conclusion

QueryFormer effectively resolves the query sampling dilemma in 3D instance segmentation by integrating geometric initialization and contrastive denoising. The framework not only sets new performance benchmarks on ScanNet and S3DIS but also demonstrates superior computational efficiency and robustness against background noise. Future work may involve extending this query refinement approach to large-scale outdoor LiDAR datasets.

Summary updated

BibTeX
@inproceedings{lu2023query,
  author = {Jiahao Lu and Jiacheng Deng and Chuxin Wang and Jianfeng He and Tianzhu Zhang},
  title = {{Query Refinement Transformer for 3D Instance Segmentation}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
  doi = {10.1109/iccv51070.2023.01697},
}
Figure