Predicting where a human or a vehicle will be in the next few seconds is a physics problem; predicting where they will be in a minute is a psychology problem. Standard sequence models often struggle with long-term forecasting because small errors in the first few steps compound, leading to "drifting" paths that eventually veer off-road or through walls.
To solve this, a growing body of research suggests that we should mimic human planning: first decide on a destination, and then figure out the path to get there.
The Problem of Compounding Error
In traditional autoregressive prediction, a model predicts position $t+1$ based on $t$, then $t+2$ based on its own prediction of $t+1$. This recursive process is fragile. As noted in Goal-driven Long-Term Trajectory Prediction by Hung Tran, these small errors accumulate into physically impossible trajectories over long horizons.
The hierarchical approach fixes this by decoupling the "where" from the "how." Instead of a single sequence, the task is split into two stages:
- Goal Estimation: Predicting a probability distribution over potential long-term destinations or "endpoints."
- Path Synthesis: Generating a feasible trajectory conditioned on a specific sampled goal.
By anchoring the prediction to a discrete spatial goal, models like PECNet and Goal-SAR ensure that the generated motion remains globally coherent, even if the local steps have minor variations.
Factorizing Uncertainty
Human movement is inherently multimodal—at a four-way intersection, a car might go straight, turn left, or turn right. Karttikeya Mangalam and colleagues in their work on Y-net frame this as a factorization of uncertainty:
- Epistemic Uncertainty (Intent): The high-level "where" (e.g., which exit will the person take?).
- Aleatoric Uncertainty (Execution): The low-level "how" (e.g., will they walk slightly to the left or right of a lamp post?).
By predicting a goal distribution first, the model captures the major modes of human intent. Once a goal is selected, the "search space" for the remaining path shrinks dramatically. As Juanwu Lu argues in GNeVA, once the destination is fixed, the physical constraints of the environment (like road boundaries and vehicle dynamics) do most of the work in narrowing down the possible paths.
From Coordinates to Semantic Intent
While early models focused on spatial coordinates (x, y), recent frameworks like HATN by Yeping Hu and MTRDrive introduce semantic intent. Instead of just a point in space, the model might first predict a "meta-action" or a "macro-intent"—such as "change lanes" or "yield at the gap."
This semantic layer acts as a bridge between discrete behavioral decisions and continuous motion control. For instance, CogAD implements a cognitive hierarchy that moves from global scene understanding to specific trajectories. This structure prevents the model from "averaging" multiple possible futures (which would result in a car driving down the middle of two lanes) and instead forces it to commit to a single, logically sound maneuver.
Anchoring for Robustness and Generalization
One of the most significant benefits of goal-conditioning is its ability to generalize to new environments. Standard models often overfit to the specific road geometries of their training data. However, by using a hierarchical approach that "softly binds" trajectories to goals, models like HoliGraph:Goal by Daniel Grimm can adapt to unfamiliar maps more effectively.
Similarly, the GNP model by Junyi Ma combines this goal-based anchoring with classical physics. By first predicting a destination and then using a "neural physics" module to calculate the path, the system maintains the flexibility of deep learning while respecting the hard constraints of the physical world. This dual-stage approach—identifying the intent before refining the execution—has become the cornerstone for achieving safe, long-term autonomy in complex, multi-agent environments.