Implicit Occupancy Flow Fields for Perception and Prediction in Self-Driving

Ben Agro, Quinlan Sykora, Sergio Casas, Raquel UrtasunCVPR 2023

Abstract

A self-driving vehicle (SDV) must be able to perceive its surroundings and predict the future behavior of other traffic participants. Existing works either perform object detection followed by trajectory forecasting of the detected objects, or predict dense occupancy and flow grids for the whole scene. The former poses a safety concern as the number of detections needs to be kept low for efficiency reasons, sacrificing object recall. The latter is computationally expensive due to the high-dimensionality of the output grid, and suffers from the limited receptive field inherent to fully convolutional networks. Furthermore, both approaches employ many computational resources predicting areas or objects that might never be queried by the motion planner. This motivates our unified approach to perception and future prediction that implicitly represents occupancy and flow over time with a single neural network. Our method avoids unnecessary computation, as it can be directly queried by the motion planner at continuous spatio-temporal locations. Moreover, we design an architecture that overcomes the limited receptive field of previous explicit occupancy prediction methods by adding an efficient yet effective global attention mechanism. Through extensive experiments in both urban and highway settings, we demonstrate that our implicit model outperforms the current state-of-the-art.

Introduction

In the development of self-driving vehicles (SDVs), the autonomy stack must simultaneously perceive the current environment and predict future states. Traditionally, researchers have relied on two primary paradigms. Object-based methods detect discrete entities (like cars or pedestrians) and forecast their trajectories. However, these systems risk safety if a detector fails to identify a low-confidence object, leading to critical "blind spots." Conversely, grid-based methods predict occupancy for every cell in a dense 3D spatio-temporal grid. While safer in terms of recall, these are computationally inefficient, wasting resources on irrelevant areas (e.g., far behind the vehicle) and often suffering from a limited receptive field that struggles with high-speed motion.

Comparison between explicit discrete grids and the proposed implicit continuous representation.

To address these limitations, we introduce IMPLICITO, a framework that represents the environment as a continuous, queryable implicit field. By moving away from fixed grids, IMPLICITO allows motion planners to efficiently request data only for specific points in time and space relevant to the vehicle's planned path.

Methodology

The core of our approach is the Implicit Occupancy Flow Field. Instead of a dense voxel output, the model functions as a continuous mapping: given a coordinate $(x, y)$ and a future time $(t)$, it returns the probability of occupancy and the "backwards flow" (indicating where an object originated).

Architectural Components

  • Two-Stream Encoder: This module processes raw LiDAR sweeps and HD map rasters into a high-dimensional Bird’s-Eye View (BEV) feature map.
  • Implicit Decoder with Global Attention: To overcome the receptive field limitations of standard convolutions, we implement a learned attention mechanism. When queried about a future point, the model uses attention offsets to "look back" at distant regions. For instance, to predict a car's position three seconds ahead on a highway, the model learns to attend to sensor evidence nearly 100 meters upstream.
  • Continuous Querying: As a neural field, the model supports querying at any resolution, eliminating the quantization errors inherent in discrete grids.

Experimental Evaluation

We evaluated IMPLICITO across two demanding environments:

  1. Argoverse 2 Sensor (AV2): A real-world urban dataset featuring complex intersections and diverse traffic actors.
  2. HighwaySim (HwySim): A high-fidelity simulation focused on high-speed scenarios like on-ramps and merges, where long-range prediction is essential.

Results and Discussion

IMPLICITO establishes a new state-of-the-art across multiple metrics. As shown in the quantitative results, our model significantly outperforms baselines such as MP3 and OCCFLOW in Mean Average Precision (mAP) and Soft-IoU. Notably, on the HwySim dataset, IMPLICITO achieved an mAP of 0.716, a substantial improvement over the next best model.

Quantitative performance comparison on AV2 and HwySim datasets.

Key Insights

  • Learned Intuition: Visualization of the attention offsets reveals that the model naturally learns to follow lane lines, looking "upstream" to find the physical evidence required for future predictions.
  • Calibration and Safety: The model exhibits lower Expected Calibration Error (ECE), meaning its predicted probabilities closely align with real-world outcomes—a critical factor for safe probabilistic motion planning.
  • Computational Efficiency: For planner-relevant workloads (typically ~20,000 query points), IMPLICITO maintains near-constant inference time, proving more scalable than explicit grid methods that must compute the entire scene regardless of relevance.

Conclusion and Future Work

IMPLICITO demonstrates the power of implicit representations for unified perception and prediction. While highly efficient for sparse queries, future work will explore more intelligent query sampling during training to further enhance accuracy. Additionally, we aim to integrate this implicit field into a closed-loop motion planning system to evaluate its impact on real-world driving behavior and safety.

Summary updated

BibTeX
@inproceedings{agro2023implicit,
  author = {Ben Agro and Quinlan Sykora and Sergio Casas and Raquel Urtasun},
  title = {{Implicit Occupancy Flow Fields for Perception and Prediction in Self-Driving}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  url = {https://openreview.net/forum?id=e9AMdZ4ntM},
}
Figure