R4D: Utilizing Reference Objects for Long-Range Distance Estimation

Yingwei Li, Tiffany Chen, Maya Kabkab, Ruichi Yu, Longlong Jing, Yurong You, Hang Zhao

Overview

Estimating the distance of objects is a safety-critical task for autonomous driving. While existing methods and datasets focus heavily on short-range objects, high-speed highway driving requires a much longer "look-ahead" distance. R4D (Reference for Distance) is a novel framework that accurately estimates the distance of far-away objects—beyond the reach of standard LiDAR—by using nearby objects with known distances as "anchors." By modeling the relationship between target and reference objects through a graph-based attention mechanism, R4D significantly outperforms existing monocular distance estimation methods and shows remarkable robustness across different lighting conditions.

The Challenge of Long-Range Vision

In autonomous driving, knowing the distance to other vehicles is non-negotiable. While LiDAR provides high-precision depth data, it typically has a limited effective range (around 80 meters). However, high-speed highway driving requires a look-ahead distance of up to 300 meters to allow heavy trucks or vehicles on wet roads enough time to stop safely.

Visualizing target and reference objects on a highway

Cameras can see these long-range objects, but estimating distance from a single image (monocular distance estimation) is notoriously difficult. At 200 meters, a car occupies only a few pixels; a tiny error in bounding box estimation can lead to a massive error in calculated distance. Existing methods rely heavily on the visual appearance of a single object, which is often uninformative at long ranges. This paper addresses the "depth gap" by teaching AI to use context, much like humans do when we judge a car's distance relative to a nearby road sign or another vehicle.

Methodology: Relational Distance Estimation

The authors propose R4D, the first framework designed specifically for Long-Range Distance Estimation (LRDE). The core idea is to treat distance estimation as a relational problem rather than an absolute one.

R4D overall architecture for training and prediction
  1. Graph Representation: The system represents the scene as a graph where the "target" (the far-away object) is connected to several "references" (nearby objects with known distances, usually from LiDAR).
  2. Feature Extraction: For every target-reference pair, R4D extracts visual features from a bounding box that encompasses both objects (Union Embeddings) to capture the ground and context between them. It also extracts geometric cues (Geo-distance Embeddings) like the relative size and position of the two objects' 2D bounding boxes.
  3. Attention Module: Not all references are equally useful. A car in the same lane as the target is a better reference than a parked car on a side street. R4D uses an attention mechanism to weigh the importance of different references before aggregating them into a final distance prediction.
  4. Distance Augmentation: To prevent the model from memorizing object appearances, the authors perturb the reference distances during training while keeping the relative distance between the target and reference fixed. This forces the model to learn the underlying geometry.

Datasets and Benchmarks

To validate their approach, the authors introduced new benchmarks:

  • Waymo Open Dataset - Long-Range Labels: A massive new dataset featuring annotated objects at distances ranging from 80 to 300 meters. Ground truth was generated using a combination of high-resolution Radar and smooth trajectory constraints.
  • Pseudo Long-Range KITTI & nuScenes: Modified versions of classic datasets where LiDAR points beyond 40 meters are removed to simulate a long-range sensing challenge.

Key Findings and Results

  • Relativity is Robust: Appearance changes wildly between day and night, but the geometric relationship between two cars in the same lane remains constant. This makes R4D much more robust to domain shifts than appearance-based models.
  • The "Ground" Matters: By using Union Embeddings, the model looks at the space between objects. This helps the model pick up on perspective cues like lane markings and road texture.
  • Accuracy Boost: On the Waymo dataset, R4D increased the percentage of vehicles predicted with less than 10% relative error from 53.4% to 62.3% compared to the best existing baselines.
  • Superior Robustness: When trained on daytime images and tested on nighttime data, R4D maintained high performance while baseline models saw significant degradation.
  • Outperforming 3D Detectors: R4D outperformed state-of-the-art monocular 3D object detectors (like SMOKE and RTM3D) on distance metrics, despite those models using more complex 3D box architectures.
  • Efficiency: The system is fast, adding only a few milliseconds of latency (approx. 20ms with 50 references), making it viable for real-time deployment.

Limitations and Future Directions

While highly effective, R4D requires at least one reference object with a known distance to function optimally. In very sparse scenes (e.g., a lone car on a desert highway), its performance might revert toward standard monocular baselines. Furthermore, the current model treats each frame independently. Future iterations could incorporate temporal information from video to track how relative distances change over time, or integrate static map features (like known positions of traffic lights) as permanent reference anchors.

Summary updated

BibTeX
@inproceedings{li2022r,
  author = {Yingwei Li and Tiffany Chen and Maya Kabkab and Ruichi Yu and Longlong Jing and Yurong You and Hang Zhao},
  title = {{R4D: Utilizing Reference Objects for Long-Range Distance Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2022},
  url = {https://openreview.net/forum?id=BbdbQe-d6u},
}
Figure