NeMo-map: Neural Implicit Flow Fields for Spatio-Temporal Motion Mapping

Yufei Zhu, Shih-Min Yang, Andrey Rudenko, Tomasz Piotr Kucner, Achim J. Lilienthal, Martin Magnusson

TL;DR

NeMo-map introduces a continuous, neural-implicit representation for mapping human motion patterns across both space and time. By mapping spatio-temporal coordinates directly to the parameters of a statistical motion model, it eliminates the artifacts of traditional discrete grids, enabling smoother and more accurate robot navigation and trajectory prediction in crowded environments.

What Problem Does This Paper Address?

For a robot to navigate a crowded shopping mall or a busy sidewalk safely, it needs to understand not just where obstacles are, but how people typically move through that space—a concept known as a Map of Dynamics (MoD).

Existing MoDs usually rely on discrete spatial grids. This approach has three major flaws:

  1. Discretization Loss: Forcing continuous human motion into fixed "buckets" (grid cells) leads to a loss of precision and creates artificial "jumps" at cell boundaries.
  2. Data Sparsity: If no one walked through a specific grid cell during data collection, the model has no information for that spot, requiring messy interpolation.
  3. Temporal Rigidity: Most models handle time by creating separate maps for different hours, which fails to capture the smooth transition of patterns from morning to evening.

The authors of NeMo-map aim to replace these clunky grids with a continuous "flow field" that can be queried at any exact coordinate and any time.

Methods

The core innovation is treating the MoD as an Implicit Neural Representation. Instead of storing data in a grid, the authors train a neural network to function as a continuous mapping: $(x, y, t) \to \text{Motion Parameters}$.

Key components of the architecture include:

  • Semi-Wrapped Gaussian Mixture Model (SWGMM): Human motion is multimodal (at a junction, people might go left or right) and involves both linear speed and circular orientation. The SWGMM jointly models these variables.
  • Hybrid Spatial Encoding: To capture local details while remaining continuous, the model uses a learnable spatial grid ($G_s$) and bilinear interpolation to extract features for a given coordinate $x$.
  • SIREN for Time: The temporal coordinate $t$ is encoded using a Sinusoidal Representation Network (SIREN), which is particularly good at capturing the periodic, "wavy" nature of human activity cycles (e.g., daily rushes).
  • FiLM Fusion: These spatial and temporal features are fused using Feature-wise Linear Modulation (FiLM) before being passed to a final MLP that outputs the SWGMM parameters.
The NeMo-map architecture maps a spatio-temporal query to the parameters of a motion distribution.

Datasets

The researchers evaluated NeMo-map on two major real-world benchmarks:

  1. ATC Dataset: A massive dataset covering 92 days of pedestrian tracking in a Japanese shopping mall. It is ideal for testing long-term temporal patterns.
  2. ETH/UCY Datasets: Standard pedestrian trajectory datasets (including scenes like HOTEL, UNIV, and ZARA) used to test the model's ability to generalize across diverse outdoor environments.

Key Insights and Ideas

  • Continuity is a Feature, Not a Bug: Because the model is continuous, it naturally "fills in" sparse regions with smooth, logical transitions. This results in much more realistic velocity distributions in areas where data is thin.
  • Implicit Topology: Interestingly, even though the model isn't given a map of walls or obstacles, the learned flow fields implicitly respect the environment's layout. Pedestrian speeds naturally decrease near benches, and flows follow the physical corridors.
  • Preserving Multimodality: Grid-based methods often struggle with "crossing flows" (where two paths intersect), sometimes failing to represent one of the directions. NeMo-map preserves these distinct modes much more effectively.
NeMo-map preserves crossing flows in the ATC mall, whereas baseline methods like CLiFF-map show broken vertical continuity.

Key Results

NeMo-map consistently outperformed state-of-the-art baselines like CLiFF-map and STeF-map:

  • Accuracy: It achieved significantly lower Negative Log-Likelihood (NLL) across all datasets, meaning its predicted motion distributions were a much better fit for the actual observed data.
  • Trajectory Prediction: In a downstream task of predicting where a human will be 60 seconds into the future, NeMo-map reduced the Final Displacement Error (FDE) compared to the best baseline (CLiFF-LHMP) from 11.45m to 10.97m.
  • Efficiency: Despite being a neural approach, it is highly efficient. It can be trained on a full day of data in under 20 minutes, and its inference time is orders of magnitude faster than grid-based methods that require searching for nearby cells.

Limitations and Future Work

The authors identify a few areas for improvement:

  • Sharp Discontinuities: While smoothness is generally a benefit, the model can struggle to represent extremely sharp spatial or temporal "cliffs," such as a sudden physical barrier or an instantaneous change in crowd behavior.
  • Static Training: Currently, the model is trained in batch. The authors suggest that future versions could incorporate online update mechanisms, allowing a robot to adapt its "map of dynamics" in real-time as it encounters new, unexpected crowd behaviors.

Summary updated

BibTeX
@inproceedings{zhu2026nemo,
  author = {Yufei Zhu and Shih-Min Yang and Andrey Rudenko and Tomasz Piotr Kucner and Achim J. Lilienthal and Martin Magnusson},
  title = {{NeMo-map: Neural Implicit Flow Fields for Spatio-Temporal Motion Mapping}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=4HZgkwVVFO},
}
Figure