CrossDTR: Cross-view and Depth-guided Transformers for 3D Object Detection

Ching-Yu Tseng, Yi-Rong Chen, Hsin-Ying Lee, Tsung-Han Wu, Wen-Chin Chen, Winston H. Hsu

TL;DR

CrossDTR is a real-time 3D object detection framework that solves the common "depth ambiguity" problem in multi-camera systems. By integrating a lightweight depth predictor with a specialized Transformer, it eliminates redundant false-positive detections along a single line of sight, achieving a massive 10% boost in pedestrian detection while running up to five times faster than previous state-of-the-art methods.

What Problem Does This Paper Address?

In the world of autonomous driving, knowing exactly where an object is in 3D space is a matter of safety. While LiDAR sensors are great at this, they are expensive. Camera-only systems are cheaper but face a major hurdle: depth estimation.

Current multi-camera models often suffer from "depth ambiguity." Because a 2D image loses depth information, a model might see a small object (like a pedestrian) and get confused about exactly how far away it is. This leads to the model predicting a "row" of false-positive bounding boxes along the ray of depth—essentially seeing "phantom" pedestrians behind the real one. Furthermore, existing solutions that try to fix this by adding complex depth-prediction modules are often too computationally heavy to run in real-time on a vehicle's hardware.

Methods

The authors introduce CrossDTR (Cross-view and Depth-guided Transformer), which uses two main components to bridge the gap:

  1. Lightweight Depth Predictor: Instead of trying to calculate a dense, pixel-perfect depth map for the entire scene (which is slow and overkill), this module generates object-wise sparse depth maps. It focuses only on where objects are likely to be. Crucially, it is supervised using raw LiDAR data during training but doesn't require extra depth datasets or heavy pre-training.
  2. Cross-view Depth-guided Transformer: This is the "fusion center."
    • A Transformer Encoder compresses the high-resolution depth maps into low-dimensional "depth embeddings."
    • A Transformer Decoder then uses a multi-attention mechanism to fuse these depth hints with standard image features from all camera views simultaneously.

By giving the model explicit "depth hints" during the detection process, the system can pin down an object's 3D location much more accurately than by looking at visual features alone.

Datasets

The researchers evaluated CrossDTR on the nuScenes dataset, a large-scale autonomous driving benchmark. It features:

  • 1,000 driving scenes.
  • Full 360-degree camera coverage (6 cameras).
  • LiDAR and Radar data used as ground truth for training and evaluation.

Unlike many other top-performing models, CrossDTR does not rely on external depth-only datasets for pre-training, making it more "self-contained."

Key Insights and Ideas

  • Sparse is Sufficient: You don't need to know the depth of the sky or the road surface to find a car. By focusing on "object-wise" sparse depth, the authors achieved high accuracy with a fraction of the computational cost.
  • The "Ray of Depth" Fix: The most significant "aha moment" is the qualitative result: providing explicit depth embeddings effectively "collapses" the line of false positives into a single, accurate 3D box.
  • Efficiency is a Feature: By designing the depth predictor to be lightweight and using a Transformer to handle the fusion, the authors proved that you don't have to sacrifice real-time performance (FPS) to get high-quality 3D spatial awareness.

Key Results

CrossDTR sets a new bar for efficiency and accuracy on the nuScenes validation set:

  • Pedestrian Detection: Achieved a staggering 10% improvement in Average Precision (AP) for pedestrians compared to baseline models.
  • Overall Accuracy: Surpassed previous state-of-the-art multi-camera methods (like PETR and BEVDet) by about 3% in mAP (mean Average Precision) and NDS (nuScenes Detection Score).
  • Speed: It is roughly 5 times faster than prior approaches, achieving 5.8 FPS with a ResNet101 backbone, making it much more viable for actual deployment in vehicles.
  • Hardware Friendly: It uses significantly fewer parameters and GFLOPs (computational operations) than its competitors.

Limitations and Future Work

While CrossDTR is a major step forward, the paper notes a few areas for growth:

  • Backbone Dependency: Like most vision models, performance still scales with the size of the image-processing backbone (e.g., moving from ResNet50 to ResNet101).
  • Training Requirements: Although it doesn't need LiDAR at inference (when the car is driving), it still requires LiDAR data during the training phase to supervise the sparse depth predictor.
  • Training Stability: The authors noted some instability during training (visible in the initial noise of the precision-recall curves), which suggests the optimization process could be further refined.

Future work could involve exploring even more efficient backbones or adapting the cross-view fusion mechanism for temporal data (video) to improve tracking over time.

Summary updated

BibTeX
@inproceedings{tseng2023crossdtr,
  author = {Ching-Yu Tseng and Yi-Rong Chen and Hsin-Ying Lee and Tsung-Han Wu and Wen-Chin Chen and Winston H. Hsu},
  title = {{CrossDTR: Cross-view and Depth-guided Transformers for 3D Object Detection}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  doi = {10.1109/icra48891.2023.10161451},
}
Figure