# Arbitrarily Conditioned Hierarchical Flows for Spatiotemporal Events

*Keyan Chen, Qiwei Yuan, Zhitong Xu, Bin Shen, Shandian Zhe*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154895) · [OpenReview](https://openreview.net/forum?id=A8CPCX5IjP) · [Open on the map](../papers.html#p154895)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Urban Traffic Forecasting](../pgroup/73.md) · Type: new method · Keywords: spatiotemporal event modeling, hierarchical flow matching, conditional inference, point process, trajectory reconstruction

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Dynamic and relational architectures › Hawkes Processes; [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Flow Matching and Diffusion › Generative Forecasting

## Summary
ARCH introduces a hierarchical flow matching framework that captures complex spatiotemporal event distributions and supports forecasting, inverse inference, and trajectory recovery via flexible conditioning.

## Explained to a 5-year-old
People see many things happening in space and time, like cars moving or birds flying. It is hard for computers to predict where and when new things will happen. Existing computer models can only predict one event at a time and need many assumptions. Because of this, they cannot answer questions like "what happened before?" or "where is the missing piece?". The paper creates a new way to model many events together that can answer those questions.

## Explained to a 5-year-old, longer
Many things happen in the world, like people walking, cars driving, or rain falling, and they happen in both space and time. It is difficult for computers to understand where and when these events will occur. Existing computer models can only predict one event at a time and need a lot of assumptions. Because of this, they cannot answer questions like "what happened before?" or "where is the missing piece?". The paper introduces a new modeling technique that can handle many events together. This technique uses a special way to hide and reveal parts of the data so it can be flexible. It can predict future events, figure out what happened earlier, and fill in missing locations. The new method is built like a history encoder that reads past events and a generator that creates new ones. It works on both made-up and real data, showing better results than older methods. This helps researchers and engineers build better systems that understand complex event sequences. It also opens up possibilities for applications like traffic management, wildlife monitoring, and robotics. The approach is easy to use and can be adapted to many different kinds of event data.

## For a technical reader
The paper presents a hierarchical flow-matching framework that models spatiotemporal events in a unified way. It uses a history encoder to capture past events and a generative decoder to produce future or missing event sequences. A hybrid masking strategy allows conditioning on arbitrary observed events, enabling forecasting, inverse inference, and trajectory recovery. Experiments on synthetic and real datasets demonstrate consistent performance gains over baseline point-process models.

## Problem
Modeling complex distributions of events in spatiotemporal systems is challenging, especially when existing point process models rely on strong assumptions and only support event-by-event prediction, limiting broader inference tasks.

## Method
The approach uses a history-encoder-generative-decoder architecture with a hybrid masking strategy to condition on arbitrary observed events, enabling unified forecasting, inverse inference, and partial trajectory recovery. It employs hierarchical flow matching to model complex event distributions and compute conditional intensities for instantaneous event risk.

## Results
The approach shows consistent improvements over existing baselines on both prediction and conditional inference tasks.

## Contributions
It proposes a hierarchical flow matching framework that can condition on arbitrary events, supports multiple inference tasks in a unified manner, and provides tractable computation of conditional event intensities.

## Research questions this paper is counted under

- [How can we develop more expressive, interpretable, and globally evaluable models for complex spatiotemporal event distributions?](../q/383.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154895)
