Groups Shape Futures, Futures Define Groups

Hypothesis-Conditioned Hypergraph Flow Matching for Collective Motion Forecasting

Rui Gan1Jiaxi Liu1Zheng Li1Sixu Li1Zihao Li2Keshu Wu1,*Yang Zhou3Xiaopeng Li1
1University of Wisconsin-Madison2Marquette University3Texas A&M University*Corresponding author
Videos Paper arXiv soon Code soon

Hypothesis-conditioned groups: every hypothesis forms the groups of the future it predicts.

Per-agent, group-aware and H2Flow forecasters: H2Flow forms groups of its future for every hypothesis
Figure 1. Group-aware forecasters fix groups from the past for all futures; each hypothesis of H2Flow forms the groups of its own future.

Contributions

  1. 1

    Futures Define Groups

    Each hypothesis forms its own groups from its estimated future and updates them as the flow refines that estimate.

  2. 2

    Groups Shape Futures

    Group tokens and a group-factorized endpoint couple interacting agents. A hyperedge-level winner-take-all loss selects a shared winner per group without group labels.

  3. 3

    Accurate and Coherent Futures

    Lowest trajectory errors among the methods evaluated on NBA and NFL at every level, from single agents to whole scenes.

Videos

Results

4.0 s horizon, 20 hypotheses. G3, Team, and Scene score each group with its best hypothesis: an agent and its two nearest neighbors, a team, or all agents.

−6.2%Scene-min20ADE, NBA1.372 vs 1.463 m (MoFlow)
−3.7%Per-agent min20ADE, NBA0.673 vs 0.699 m (MoFlow)
−3.8%Scene-min20ADE, NFL2.405 vs 2.499 m (MoFlow)
−11.3%Scene-min20ADE, soccer1.799 vs 2.028 m (MoFlow)
Lower is better; the dashed line marks H2Flow. Hover a dot for ADE and FDE.
Table 1 · NBAmin20ADE / FDE (m) at 4.0 s

Bold: lowest in the column; underlined: second lowest.

Table 2 · NBA over the horizonper-agent min20ADE / FDE (m)
MethodVenue1.0 s2.0 s3.0 s4.0 s
MemoNetCVPR'220.38/0.560.71/1.141.00/1.571.25/1.47
NPSNCVPR'220.35/0.580.68/1.231.01/1.761.31/1.79
GroupNetCVPR'220.21/0.320.42/0.670.66/0.980.89/1.22
MIDCVPR'220.28/0.370.51/0.720.71/0.980.96/1.27
LED-DCVPR'230.21/0.280.44/0.640.69/0.950.94/1.21
LED-ICVPR'230.18/0.270.37/0.560.58/0.830.81/1.15
DynGroupNetNN'240.19/0.280.40/0.610.65/0.900.89/1.13
MARTECCV'240.18/0.260.36/0.510.54/0.720.74/0.92
MoFlowCVPR'250.18/0.250.33/0.460.51/0.670.70/0.88
Social-MambaECCV'260.17/0.250.34/0.500.53/0.720.73/0.92
H²FlowOurs0.17/0.250.33/0.450.49/0.640.67/0.84
Table 3 · Pedestriansmin20ADE / FDE at 4.8 s, ETH-UCY (m) and SDD (pixels)
MethodETHHotelUnivZara1Zara2AVGSDD
MID.39/.66.13/.22.22/.45.17/.30.13/.27.21/.389.73/15.32
GroupNet.46/.73.15/.25.26/.49.21/.39.17/.33.25/.449.31/16.11
LED.39/.58.11/.17.26/.44.18/.26.13/.22.21/.338.48/11.66
TUTR.40/.61.11/.18.23/.42.18/.34.13/.25.21/.367.76/12.69
EigenTraj.36/.53.12/.19.24/.34.19/.33.14/.24.21/.338.05/13.25
SingularTraj.35/.42.13/.19.25/.44.19/.32.15/.25.21/.328.40/13.99
MoFlow.42/.59.12/.18.23/.40.17/.29.12/.22.21/.347.68/12.33
Social-Mamba.43/.79.19/.40.32/.60.18/.29.14/.23.25/.468.16/13.46
H²Flow.44/.64.12/.16.23/.41.16/.29.13/.22.22/.347.44/11.92

Its best configurations on ETH, Univ, Zara2, and SDD forecast each pedestrian alone, so these benchmarks mainly test the decoder.

Groups Follow Each Hypothesis's Future

On NBA, the 2–4 s groups of a hypothesis overlap most with the groups of its own predicted future. Without the hyperedge-level loss, Scene-min20ADE rises from 1.373 to 1.464 m.

Method

Overview of H2Flow: scene hypergraph encoder and hypothesis-conditioned decoder inside the flow matching loop
Figure 2. Overview of H2Flow. In every decoder block, each hypothesis forms the groups of its estimated future, and these groups shape its prediction.

Hypothesis-conditioned groups

In every decoder block and flow step, each hypothesis groups agents by token similarity and by their distance in its own estimated future.

Group-factorized endpoint

Agents attend to the group tokens of their hypothesis, and each group adds a correction shared by its members.

Hyperedge-level winner-take-all

Each hyperedge keeps the hypothesis with the lowest error over its members, so interacting agents share a winner without group labels.

Interactive Demo

Run the flow from noise to forecast, or pick a hypothesis to see the groups of its own future.

Loading…
Team ATeam BBallFlow states of all 20 hypotheses

Qualitative Results

Best joint hypothesis of each model on an NBA, an NFL and a soccer play
Figure 3. Best joint hypothesis of each model on an NBA, an NFL, and a soccer play (ADE/FDE in m).
Hypotheses of H2Flow on one NBA play with their groups
Figure 4. Hypotheses of H2Flow on one NBA play: the most-supported group of each size (top) and the best-supported 2–4 s hyperedges (bottom).

BibTeX

@article{gan2026groups,
  title   = {Groups Shape Futures, Futures Define Groups: Hypothesis-Conditioned
             Hypergraph Flow Matching for Collective Motion Forecasting},
  author  = {Gan, Rui and Liu, Jiaxi and Li, Zheng and Li, Sixu and Li, Zihao
             and Wu, Keshu and Zhou, Yang and Li, Xiaopeng},
  journal = {arXiv preprint},
  year    = {2026}
}