S3-MonoDETR: Supervised Shape&Scale-perceptive Deformable Transformer for Monocular 3D Object Detection

Xuan He, Kailun Yang, Junwei Zheng, Jin Yuan, Luis Miguel Bergasa, Hui Zhang, Zhiyong Li · DOI

TL;DR

This paper introduces S³-MonoDETR, a novel transformer-based approach for monocular 3D object detection. It tackles the issue of noisy query features in existing methods by proposing a "Supervised Shape&Scale-perceptive Deformable Attention" (S³-DA) module and a Multi-classification-based Shape&Scale Matching (MSM) loss, leading to improved accuracy and robust multi-category detection.

What Problem Does This Paper Address?

Monocular 3D object detection, which aims to infer 3D bounding boxes from a single 2D image, is crucial for cost-effective autonomous driving systems. Transformer-based methods have shown great promise, but they often struggle with generating high-quality "query points" on objects. These query points are essential for extracting relevant visual and depth information. Existing unsupervised attention mechanisms in transformers lack geometric awareness, leading to noisy query features. This noise limits detection accuracy, especially for objects with varying shapes and scales, and hinders the ability to detect multiple object categories simultaneously in a single training pass.

Methods

The core contribution is the Supervised Shape&Scale-perceptive Deformable Attention (S³-DA) module, which replaces the standard deformable attention in the decoder of transformer-based detectors like MonoDETR. S³-DA works in three main steps:

  1. Query-specific Diverse Local Feature Extraction: For each object query, S³-DA generates multiple masks of varying shapes and scales. These masks are used to sample diverse local visual features from the input image, capturing a richer representation around the query.
  2. Visual&Depth-guided Matching Distribution Prediction: It fuses visual and depth features at a query level to predict a shape and scale matching distribution. This distribution guides the model to understand the geometric properties of the object.
  3. Object Query Updating: An adaptive learning layer uses the extracted local features and the predicted shape&scale distribution to generate a "shape&scale-aware filter." This filter is then applied to augment the original query features, producing more robust and geometrically aware query features.

To supervise this process, the paper introduces a Multi-classification-based Shape&Scale Matching (MSM) loss. This loss helps the model learn accurate shape and scale estimations by mapping ground truth shapes and scales into discrete categories and using a focal loss for supervision. This approach avoids the need for extra labeling costs.

Datasets

The proposed method is evaluated on two widely used autonomous driving datasets:

  • KITTI: A standard benchmark for 3D object detection.
  • Waymo Open Dataset: A larger and more challenging dataset.

Key Insights and Ideas

  • Geometry Matters for Queries: The paper strongly emphasizes that the quality of query points is paramount for accurate 3D object detection. Unsupervised attention, while powerful, lacks the geometric understanding needed to avoid noisy samples.
  • Shape and Scale are Intertwined: Explicitly modeling and supervising the shape and scale of objects for each query is crucial for improving feature representation.
  • Query-Level Fusion is Efficient: Instead of global feature fusion, a query-level fusion mechanism for visual and depth features is more effective and parameter-efficient for capturing fine-grained geometric cues.
  • Supervision for Shape&Scale: The MSM loss provides a novel way to supervise the shape and scale prediction without requiring additional annotations, making the approach more practical.
  • Multi-Category Detection Breakthrough: The method demonstrates significant improvements in detecting multiple object categories simultaneously, addressing a key limitation of previous approaches.

Key Results

  • State-of-the-Art Performance: S³-MonoDETR achieves state-of-the-art results on both KITTI and Waymo Open datasets for monocular 3D object detection, particularly in moderate and hard difficulty scenarios.
  • Significant Improvements: The paper reports improvements of up to 3.81% on KITTI's "hard" difficulty for the "Car" category. For "Pedestrian" and "Cyclist" categories, it achieves around a 2% improvement.
  • Robust Multi-Category Detection: The method excels at joint training for multiple categories, outperforming baselines that suffer from category imbalance.
  • Near Real-Time Inference: Despite the added complexity, the model maintains a competitive inference speed, making it suitable for real-world autonomous driving applications.
  • Key Point Quality: Evaluation shows that S³-MonoDETR significantly improves the precision and weighted precision of key points compared to MonoDETR.

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that while the MSM loss is effective, an overly dominant loss can lead to performance degradation, highlighting the need for careful weighting.
  • The performance improvement is most pronounced in "moderate" and "hard" subsets, suggesting that while effective, it might not drastically change performance on already easy scenarios.
  • Future Work:
    • The authors intend to extend their approach to 4D-millimeter-radar-based object detection for enhanced self-driving scene understanding.

Summary updated

BibTeX
@misc{he2023s,
  author = {Xuan He and Kailun Yang and Junwei Zheng and Jin Yuan and Luis Miguel Bergasa and Hui Zhang and Zhiyong Li},
  title = {{S3-MonoDETR: Supervised Shape\&Scale-perceptive Deformable Transformer for Monocular 3D Object Detection}},
  year = {2023},
  eprint = {2309.00928},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2309.00928},
}
Figure