Non-Probability Sampling Network for Stochastic Human Trajectory Prediction

Inhwan Bae, Jin-Hwi Park, Hae-Gon Jeon

Introduction

Predicting the future movement of pedestrians is a fundamental challenge for autonomous systems, from self-driving cars to social robots. Because human intent is inherently uncertain—a person might continue walking straight, turn toward a shop, or pause to check a phone—state-of-the-art models utilize stochastic processes. Frameworks like Generative Adversarial Networks (GANs) and Conditional Variational Autoencoders (CVAEs) capture this multimodality by sampling latent vectors from a distribution to generate a variety of possible future paths.

However, these models typically rely on "luck of the draw" via random Monte Carlo (MC) sampling. This paper identifies a critical flaw in this approach: with a finite number of samples (typically $N=20$ in standard benchmarks), random sampling is mathematically biased and often fails to capture realistic but "low-probability" trajectories. To solve this, the authors introduce the Non-Probability Sampling Network (NPSN), a lightweight, plug-and-play module that replaces random noise with learnable, "purposive" samples.

The Sampling Bottleneck

The authors provide a mathematical proof using a Taylor series expansion to demonstrate that the expectation of a generated trajectory in stochastic models contains a bias term ($M/N$). This bias only vanishes as the number of samples ($N$) approaches infinity. In practical applications where $N$ is small, Monte Carlo sampling tends to cluster samples in high-probability regions, leading to a "straight-line" bias and a failure to represent diverse, socially acceptable maneuvers like sudden turns.

Before introducing their primary contribution, the authors demonstrate that even Quasi-Monte Carlo (QMC) sampling—specifically using scrambled Sobol sequences—significantly outperforms standard MC. QMC uses low-discrepancy sequences to cover the sampling space more uniformly, providing a more reliable spread of potential outcomes.

The NPSN Framework

The core contribution of this research is the Non-Probability Sampling Network (NPSN). Rather than relying on fixed sequences, NPSN is a learnable module (comprising only ~5,128 parameters) designed to perform purposive sampling based on the specific social context.

Architecture and Integration

NPSN utilizes a Graph Attention Network (GAT) to observe a pedestrian’s past trajectory and their interactions with nearby agents. Based on these social cues, the network predicts a set of $N$ purposive sample sequences. The module is designed to be "plug-and-play"; it can be integrated into existing models like Social-STGCNN or PECNet by simply replacing the standard random noise generation line with the output of the NPSN.

Training Objectives

To ensure the network learns to sample effectively, the authors employ two primary loss functions:

  1. Winner-Takes-All (WTA) Loss: This ensures that at least one generated sample is highly accurate relative to the ground truth.
  2. Discrepancy Loss: This novel loss function forces the samples to spread out and cover the latent space uniformly, preventing the model from collapsing into a single cluster and ensuring diverse path generation.

Experimental Evaluation

The NPSN was evaluated on four major pedestrian trajectory benchmarks: ETH, UCY, the Stanford Drone Dataset (SDD), and Grand Central Station (GCS). The results were consistent across various underlying architectures (Gaussian, GAN, and CVAE-based models):

  • Significant Accuracy Gains: When integrated with Social-STGCNN, NPSN achieved up to a 60% improvement in Final Displacement Error (FDE) on the HOTEL dataset.
  • Stability and Reliability: Box plots of Average Displacement Error (ADE) revealed that NPSN-equipped models have much lower variance than their MC-based counterparts. This indicates that the model's performance is stable and no longer dependent on "getting a lucky sample."
  • Deterministic Multimodality: Remarkably, NPSN allows stochastic models to function effectively even in a deterministic setting ($N=1$). Because the network selects the best sampling location based on social context, its single best guess is significantly more accurate than a single random sample.

Conclusion

The Non-Probability Sampling Network demonstrates that how we sample from latent spaces is just as important as the complexity of the model's encoders. By replacing random noise with a tiny, learnable module, the authors have provided a computationally efficient way to drastically improve the reliability and diversity of trajectory predictions. While the model's performance can be influenced by the quality of social features and latent space entanglement in certain GANs, its success across multiple benchmarks suggests broad applicability in autonomous navigation and beyond.

Summary updated

BibTeX
@inproceedings{bae2022non,
  author = {Inhwan Bae and Jin-Hwi Park and Hae-Gon Jeon},
  title = {{Non-Probability Sampling Network for Stochastic Human Trajectory Prediction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure