Haar Wavelet Based Block Autoregressive Flows for Trajectories

Apratim Bhattacharyya, Christoph-Nikolas Straehle, Mario Fritz, Bernt Schiele

Introduction

Predicting the future trajectories of agents like pedestrians and vehicles is a fundamental challenge in autonomous systems. The problem is inherently multimodal; for instance, at a junction, an agent might choose several distinct paths. Capturing these diverse possibilities over long horizons while maintaining computational efficiency is difficult. Existing methods like GANs often suffer from mode collapse, while VAEs may produce blurry distributions. Normalizing flows offer exact likelihoods but are typically fully autoregressive, leading to $O(T)$ complexity and error accumulation.

To address these issues, researchers introduced HBA-Flow (Haar wavelet based Block Autoregressive Flow), a generative model that decomposes trajectories into coarse-to-fine scales using Haar wavelets.

The HBA-Flow process: starting from an observed path, the model generates a coarse "sketch" at scale K and refines it through intermediate scales to reach the final high-resolution prediction at scale 1.

Methodology

The HBA-Flow architecture leverages the Haar wavelet transform to break a trajectory into a hierarchy of averages (coarse features) and differences (fine details). This decomposition allows the model to learn the "global context" of a path before filling in the specific movements.

Multi-Scale Block Autoregressive Structure

Instead of predicting point-by-point, HBA-Flow predicts scale-by-scale. It first generates the coarsest "sketch" and then uses it as context for finer scales. This structure ensures that long-range dependencies are captured at the top levels, preventing the "drift" common in standard autoregressive models.

Invertible Flow Layers

The model employs invertible split couplings within each scale. Since the Haar transform is itself invertible with a tractable Jacobian, the entire system remains an exact likelihood model. This allows for direct maximization of the data probability, leading to better coverage of the trajectory distribution's modes.

The inverse flow architecture used for trajectory sampling. The model recursively reconstructs the path from latent variables z across multiple scales.

Efficiency

By halving the sequence length at each scale, the number of scales $K$ is proportional to $\log(T)$. This reduces the sampling complexity to $O(\log T)$, making HBA-Flow significantly faster than $O(T)$ models for long-term predictions.

Evaluation and Results

The model was tested on the Stanford Drone Dataset (SDD) and the Intersection Drone (inD) dataset.

  • Accuracy and Likelihood: HBA-Flow achieved state-of-the-art results, outperforming models like DESIRE and CF-VAE in terms of Negative Log-Likelihood and Euclidean error.
  • Diversity: Qualitative analysis shows that HBA-Flow successfully captures multiple distinct future paths (e.g., different exits in a roundabout), avoiding the mode collapse seen in some GAN-based approaches.
  • Ablation Studies: The inclusion of a structured "HBA-Prior" in the latent space, which mirrors the wavelet hierarchy, was shown to significantly improve performance over a standard Gaussian prior.

Conclusion

HBA-Flow represents a significant step forward in trajectory prediction by combining the multi-resolution benefits of Haar wavelets with the probabilistic rigor of normalizing flows. Its $O(\log T)$ efficiency and ability to capture global context make it well-suited for real-time applications in complex environments. Future work may involve integrating social interaction modules to account for multi-agent dynamics within the wavelet framework.

Summary updated

BibTeX
@inproceedings{bhattacharyya2020haar,
  author = {Apratim Bhattacharyya and Christoph-Nikolas Straehle and Mario Fritz and Bernt Schiele},
  title = {{Haar Wavelet Based Block Autoregressive Flows for Trajectories}},
  booktitle = {GCPR},
  year = {2020},
  doi = {10.1007/978-3-030-71278-5\_20},
}
Figure