NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Applying map-masks to Trajectory Prediction for Interacting Traffic-Agents

Vyshakh Palli Thazha, David Filliat, Javier Ibañez‐GuzmánHAL 2019

TL;DR

This paper introduces a novel approach to trajectory prediction for autonomous vehicles by incorporating "map-masks" – binary representations of drivable and non-drivable areas – into an LSTM encoder-decoder architecture. This method significantly improves prediction accuracy by providing crucial environmental context, outperforming baseline models in both single-agent and multi-agent scenarios.

What Problem Does This Paper Address?

Predicting the future movements of traffic agents (cars, pedestrians, cyclists) is a critical challenge for autonomous vehicles. This task is complicated by the inherently stochastic nature of agent interactions, changing environmental contexts, and occlusions. While traditional methods and even basic deep learning models have made progress, accurately forecasting trajectories, especially in complex urban environments with multiple interacting agents, remains an open problem. Existing approaches often struggle to effectively leverage the rich contextual information provided by the surrounding environment, such as road layouts and drivable areas, which humans intuitively use to predict behavior.

Methods

The core of this paper's contribution lies in its novel use of map-masks as an input to an LSTM encoder-decoder architecture for trajectory prediction.

  • LSTM Encoder-Decoder: This is a standard deep learning architecture for sequence-to-sequence tasks. The encoder processes historical trajectory data (positions over time) to create a compressed representation (hidden states), and the decoder uses this representation to generate future trajectory predictions.
  • Map-Masks: For each traffic agent, the authors extract 128x128 pixel binary image patches centered around the agent. These patches represent the drivable and non-drivable areas in the immediate vicinity.
  • CNN Autoencoder: These map-mask patches are fed into a Convolutional Autoencoder (CNN AE). The AE learns to compress the spatial information from the map-mask into a latent vector, effectively capturing the environmental context relevant to the agent's movement.
  • Integration: The latent vector from the CNN AE is then concatenated with the context vector derived from the LSTM encoder (which encodes the agent's historical trajectory and interactions with neighbors). This combined vector is fed into the LSTM decoder to generate the final predicted trajectory.
  • Interaction Modeling: The architecture explicitly models interactions between agents by considering the historical trajectories and spatial context of neighboring agents.

The authors implemented four variants of their approach to systematically evaluate the impact of map-masks and interaction modeling:

  1. Single Agent LSTM only (no interaction, no map-mask).
  2. Single Agent LSTM with Map-Mask input (no interaction).
  3. Multi-Agent LSTM only (interaction, no map-mask).
  4. Multi-Agent LSTM with Map-Mask input (interaction and map-mask).

Datasets

The NuScenes dataset is used for both training and evaluation. This dataset provides 3D bounding boxes and object detection information derived from LiDAR point-cloud data, along with map information. The authors split the dataset into training, validation, and test sets.

Key Insights and Ideas

  • Environmental Context is Crucial: The most significant insight is that providing explicit information about drivable and non-drivable areas (via map-masks) dramatically improves trajectory prediction accuracy. This highlights the importance of incorporating environmental semantics beyond just agent kinematics.
  • Map-Masks Complement Interaction Modeling: While modeling agent interactions is important, the addition of map-masks further enhances prediction quality, suggesting that environmental constraints play a vital role alongside social interactions.
  • Generalizability Across Scenarios: The proposed method shows improvements in both straight-line predictions and predictions at turns, indicating its robustness to different driving maneuvers.
  • Drivable Area Awareness: The qualitative results demonstrate that when map-masks are used, predictions are better confined to drivable areas, preventing agents from being predicted to move through obstacles or off-road.

Key Results

The paper presents quantitative results in terms of Average Displacement Error (ADE) and Final Displacement Error (FDE) in meters.

  • Overall Improvement: The "Multi-Agent LSTM + Map-Input" model (Method 4) consistently achieved the lowest ADE and FDE values across all scenarios.
  • Impact of Map-Masks:
    • For single-agent prediction, adding map-masks reduced ADE from 5.31m to 1.67m and FDE from 6.2m to 1.95m.
  • For multi-agent prediction, adding map-masks reduced ADE from 4.34m to 1.45m and FDE from 5.21m to 2.2m.
  • Qualitative Improvements: Figure 4 visually demonstrates that predictions with map-masks are more realistic, staying within drivable areas and following road curves more accurately compared to predictions without map-masks.

Limitations and Future Work

  • Limitations:
    • The current map-masks are binary, representing only drivable vs. non-drivable areas. The authors acknowledge that more detailed semantic information could further improve predictions.
  • The study is described as a "preliminary step" in using environmental context.
  • Future Work:
    • The authors plan to explore using richer map information from sources like OpenStreetMaps, which contain details such as crosswalks, sidewalks, traffic lights, and lanes.
  • They aim to leverage the multitude of information available in these detailed map networks to further enhance prediction accuracy.

Summary updated

BibTeX
@inproceedings{thazha2019applying,
  author = {Vyshakh Palli Thazha and David Filliat and Javier Ibañez‐Guzmán},
  title = {{Applying map-masks to Trajectory Prediction for Interacting Traffic-Agents}},
  booktitle = {HAL},
  year = {2019},
}
Figure