M&M3D: Multi-Dataset Training and Efficient Network for Multi-view 3D Object Detection

Hang Zhang · DOI

TL;DR

M&M3D is a new framework designed to make camera-only 3D object detection more robust across different environments. By combining a multi-dataset training strategy with a Transformer-based architecture that utilizes 3D anchor queries and spatial positional encoding, the model significantly reduces the "domain gap" that usually causes performance to tank when a model encounters a new city or sensor setup.

What Problem Does This Paper Address?

In the world of autonomous driving, 3D object detection is a cornerstone task. While LiDAR provides high accuracy, camera-only systems are much cheaper and easier to deploy. However, they face a massive hurdle: domain adaptation.

A model trained on one dataset (e.g., sunny Singapore in the nuScenes dataset) often fails miserably when tested on another (e.g., Palo Alto in the Lyft dataset). This happens because of differences in camera intrinsics, sensor placement, lighting, and even local traffic laws. Most current models still rely heavily on 2D image features to guess 3D boxes, which makes them brittle. M&M3D aims to bridge this gap by forcing the network to learn generalized 3D spatial relationships that hold true regardless of the specific dataset.

Methods

The author proposes a two-pronged approach: a novel network architecture and a specific training strategy.

1. The M&M3D Architecture

  • Multi-level Feature Fusion: The network takes 2D images from multiple cameras and processes them through a ResNet-18 backbone and a Feature Pyramid Network (FPN). It then fuses these multi-scale features into a unified representation.
  • 3D Coordinates as Positional Encoding: To help the model understand where "pixels" are in the real world, the author encodes 3D spatial information directly into the 2D features. This provides a global spatial context that 2D-only models lack.
  • 3D Anchor Queries: Instead of using generic, learned "queries" in the Transformer (like in standard DETR models), M&M3D uses actual 3D anchor boxes as queries. This gives the Transformer a strong geometric prior to start from.
  • Transformer Decoder: A customized Transformer head decodes these features and queries into final 3D bounding box coordinates and class scores.

2. Multi-Dataset Training (MdT)

The author implements a training regime that mixes data from different sources (nuScenes and Lyft) into a single joint dataset. This forces the model to find a "common language" for 3D detection that isn't tied to the specific quirks of one sensor suite.

Datasets

The paper evaluates the model using two major autonomous driving benchmarks:

  • nuScenes-mini: A subset of the popular nuScenes dataset, featuring complex urban scenes and a rich variety of object classes.
  • Lyft Level 5 AV Dataset: Another large-scale dataset with a different sensor configuration, used here primarily to test the model's ability to generalize to a "new" domain.

Key Insights and Ideas

  • Geometric Priors are Key: The most significant "aha" moment is that explicitly feeding 3D information (anchors and coordinates) into the Transformer allows it to learn spatial relationships much faster than trying to infer them purely from 2D pixels.
  • The "Zero-Shot" Failure: The paper highlights how a model trained only on nuScenes achieves a near-zero score (NDS of 0.0012) on Lyft data. This underscores the severity of the domain gap and the necessity of multi-dataset training.
  • Efficiency Matters: Unlike many SOTA models that require massive compute clusters, M&M3D was designed to be efficient. It can be trained on a single consumer-grade GPU (GTX 2080Ti) in about 8 hours, making it accessible for researchers with limited resources.

Key Results

The results demonstrate that the combination of the new architecture and multi-dataset training is highly effective:

  • Generalization: By using Multi-Dataset Training (MdT), the performance on the Lyft dataset jumped from an unusable 0.0012 NDS to 0.3677 NDS.
  • Architecture Impact: Adding the Transformer-based head on top of the MdT strategy further improved the NuScenes-mini results, reaching an NDS of 0.4637 and an mAP of 0.3767.
  • Comparison: While the model uses a smaller backbone (ResNet-18) than many competitors, it achieves competitive results on the NuScenes-mini benchmark, proving that smart architectural choices can compensate for raw model size.

Limitations and Future Work

  • Label Mapping: One challenge noted is the "semantic hierarchy." Different datasets use different labels (e.g., "pedestrian.adult" vs. just "pedestrian"). The current work uses a simplified unified label set, which might lose some fine-grained detail.
  • Dataset Scale: The study primarily uses the "mini" version of nuScenes. Testing on the full-scale dataset would be necessary to see if these efficiency gains hold up at a massive scale.
  • Future Directions: The author suggests that further research into unsupervised or semi-supervised domain adaptation—where the model learns from unlabeled data in the target domain—could be the next step in making these systems truly "plug-and-play" for real-world autonomous vehicles.

Summary updated

Abstract

In this research, I proposed a network structure for multi-view 3D object detection using camera-only data and a Bird's-Eye-View map. My work is based on a current key challenge domain adaptation and visual data transfer. Although many excellent camera-only 3D object detection has been continuously proposed, many research work risk dramatic performance drop when the networks are trained on the source domain but tested on a different target domain. Then I found it is very surprising that predictions on bounding boxes and classes are still replied to on 2D networks. Based on the domain gap assumption on various 3D datasets, I found they still shared a similar data extraction on the same BEV map size and camera data transfer. Therefore, to analyze the domain gap influence on the current method and to make good use of 3D space information among the dataset and the real world, I proposed a transfer learning method and Transformer construction to study the 3D object detection on NuScenes-mini and Lyft. Through multi-dataset training and a detection head from the Transformer, the network demonstrated good data migration performance and efficient detection performance by using 3D anchor query and 3D positional information. Relying on only a small amount of source data and the existing large model pre-training weights, the efficient network manages to achieve competitive results on the new target domain. Moreover, my study utilizes 3D information as available semantic information and 2D multi-view image features blending into the visual-language transfer design. In the final 3D anchor box prediction and object classification, my network achieved good results on standard metrics of 3D object detection, which differs from dataset-specific models on each training domain without any fine-tuning.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Lyft (target domain)MdTNDS0.2541Ablation evaluation on the Lyft target domain; MdT denotes multi-dataset training.
Source quote
L224: MdT │ 0.2541 │ 0.1658 │ 0.1044 │ 0.5460 │ 0.3647 │ 0.4496 │ 0.3914 │ 0.2670
Lyft (target domain)MdT+TransformerNDS0.3677Ablation evaluation on the Lyft target domain; multi-dataset training with the Transfor…
Source quote
L225: MdT+Transformer │ 0.3677 │ 0.2557 │ 0.2046 │ 0.5569 │ 0.2763 │ 0.670 │ 0.6250 │ 0.2176
NuScenes-mini (target domain)MdTNDS0.3605Ablation evaluation on the NuScenes-mini target domain; MdT denotes multi-dataset train…
Source quote
L219: MdT │ 0.3605 │ 0.3620 │ 0.3284 │ 0.8948 │ 0.3203 │ 0.8422 │ 0.6532 │ 0.3256
NuScenes-mini (target domain)MdT+TransformerNDS0.4637Ablation evaluation on the NuScenes-mini target domain; multi-dataset training with the…
Source quote
L220: MdT+Transformer │ 0.4637 │ 0.4370 │ 0.3767 │ 0.6590 │ 0.2364 │ 0.5139 │ 0.6071 │ 0.2300
Lyft (target domain)MdTmAP-60.1658Ablation evaluation on the Lyft target domain; mAP-6 is for the six classes shared by N…
Source quote
L224: MdT │ 0.2541 │ 0.1658 │ 0.1044 │ 0.5460 │ 0.3647 │ 0.4496 │ 0.3914 │ 0.2670
Lyft (target domain)MdT+TransformermAP-60.2557Ablation evaluation on the Lyft target domain; mAP-6 is for the six classes shared by N…
Source quote
L225: MdT+Transformer │ 0.3677 │ 0.2557 │ 0.2046 │ 0.5569 │ 0.2763 │ 0.670 │ 0.6250 │ 0.2176
BibTeX
@misc{zhang2023m,
  author = {Hang Zhang},
  title = {{M\&M3D: Multi-Dataset Training and Efficient Network for Multi-view 3D Object Detection}},
  year = {2023},
  eprint = {2311.00986},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.00986},
}
Figure