Multimodal Transformer for Automatic 3D Annotation and Object Detection

Chang Liu, Xiaoyan Qian, Binxiao Huang, Xiaojuan Qi, Edmund Y. Lam, Siew-Chong Tan, Ngai Wong

Abstract

Training 3D object detection models for autonomous driving is currently bottlenecked by the high cost of manual 3D annotation. This paper introduces MTrans (Multimodal Transformer), an end-to-end architecture designed to automate this process. By leveraging dense 2D image data to "fill in the blanks" of sparse LiDAR point clouds, MTrans generates high-quality 3D bounding boxes from simple 2D inputs. Evaluated on the KITTI benchmark, MTrans significantly outperforms previous state-of-the-art autolabelers, achieving nearly human-level performance with a fraction of the annotated data.

Introduction

3D object detection is a cornerstone of autonomous driving, yet the massive datasets required for training are notoriously difficult to produce. While 2D bounding boxes can be drawn quickly on standard images, annotating 3D boxes on LiDAR point clouds is slow, expensive, and often mathematically ambiguous. This ambiguity arises from the sparsity problem: LiDAR scans are often too thin, especially for distant or small objects, to clearly define an object's orientation and scale.

Existing "autolabelers" attempt to bridge this gap by converting 2D labels into 3D ones, but they struggle when point clouds contain only a handful of points. MTrans addresses this by using the dense contextual information found in standard camera images to "densify" the sparse 3D data, effectively turning a weak 2D signal into a robust 3D annotation.

Methodology

MTrans treats 3D annotation as a multi-task learning problem, processing data through a specialized multimodal pipeline.

Data Preparation and Embedding

The system begins with a "weak" 2D bounding box, which is used to crop the corresponding 3D LiDAR frustum and a 2D image patch. The model encodes three distinct types of information: 3D coordinates (via an MLP), 2D coordinates (via sinusoidal embeddings), and image features (via a small CNN).

The MTrans pipeline: from 2D bounding box and sparse LiDAR to a densified 3D point cloud and final 3D box.

Asymmetric Multimodal Self-Attention

The core innovation of MTrans is its attention mechanism. The model distinguishes between Context points (C-pts)—real LiDAR points with known 3D coordinates—and Target points (T-pts)—image pixels that lack 3D data. Through an asymmetric attention mechanism, T-pts "look up" information from nearby C-pts in 2D space to estimate their own 3D positions. This process effectively transforms a sparse 10-point cloud into a dense 500-point representation by interpolating depth from the surrounding context.

Detail of the Asymmetric Multimodal Self-Attention mechanism where target points (question mark) query context points to interpolate 3D coordinates.

Multi-task Prediction

The transformer outputs are fed into three specialized heads:

  1. Segmentation Head: Distinguishes foreground object points from the background.
  2. Generation Head: Predicts 3D coordinates for the T-pts using a "mask-and-predict" self-supervision strategy, forcing the model to learn underlying geometry.
  3. Box Regression Head: Predicts the final 7-element 3D bounding box (location, size, and heading).

Key Results

The model was evaluated using the KITTI Dataset, focusing on the "Car" class across Easy, Moderate, and Hard samples.

  • Superior Autolabeling: When used to generate labels for downstream detectors (like PointRCNN), MTrans-generated labels led to a 4.48% and 4.03% improvement in 3D Average Precision (AP) for moderate and hard samples, respectively, compared to the previous best autolabeler (FGR).
  • Efficiency: Using only 500 annotated frames, a detector trained with MTrans labels achieved 99.62% of the performance of the same detector trained on the full human-annotated dataset.
  • Standalone Performance: As a standalone detector, MTrans outperformed similar 2D-box-aided methods (F-PointNet and F-ConvNet) by massive margins—19.6% and 10.8% mAP, respectively.

Conclusion and Future Work

MTrans demonstrates that multimodal fusion is a powerful tool for overcoming the sparsity of LiDAR data. By intelligently combining image context with point cloud geometry, it provides a scalable solution for the 3D annotation bottleneck. Future research directions include reducing the computational overhead of the transformer architecture and extending the system to incorporate additional modalities like Radar or stereo images to further improve robustness in diverse environments.

Summary updated

BibTeX
@inproceedings{liu2022multimodal,
  author = {Chang Liu and Xiaoyan Qian and Binxiao Huang and Xiaojuan Qi and Edmund Y. Lam and Siew-Chong Tan and Ngai Wong},
  title = {{Multimodal Transformer for Automatic 3D Annotation and Object Detection}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19839-7\_38},
}
Figure