Backtracking from Paths to Goals in Motion Forecasting

Forecasting where a car or pedestrian will go is a problem with several right answers. At an intersection a driver might turn left, go straight, or turn right, and a good forecaster must return a small set of distinct futures with sensible probabilities. The strongest current forecasters work in two stages. They first guess a destination, then draw a path to it. The weakness is that this runs one way. If the destination is wrong or implausible, the path stage is forced to reach it anyway, even when the path it draws cuts across a curb, needs an impossible turn, or runs into another agent's likely future. Language-model reasoning has hit the same problem. A chain of thought, meaning the intermediate steps a model writes before its answer, fails when an early step is wrong, and tree search fixes this by checking each step and backing up to an earlier choice when a later one fails.

We propose to treat goal-then-path forecasting as a short chain of thought made of discrete tokens rather than words. The chain has three steps: a maneuver, then a goal region, then coarse path segments. We run a verifier-guided tree search over this chain. When cheap checks on a partial path fail (drivable area, kinematic feasibility, conflict with other agents' futures), the search revises the goal or maneuver that produced it instead of forcing the path through. The final set of predicted futures, and their probabilities, comes from the surviving leaves of the tree. The question we want to settle is narrow. At a fixed compute budget, does feedback from the path level to the goal level beat simply sampling many goal-path chains and filtering them? We design the study so that a "no" is just as informative as a "yes."

Core Claim

Hierarchical forecasters factor uncertainty into where the agent intends to go and how it gets there. Examples include Y-net (From Goals, Waypoints & Paths), which splits intent uncertainty from execution uncertainty; PECNet (It Is Not the Journey But the Destination) and Goal-GAN, which condition path decoders on predicted endpoints; and GANet, which replaces goal points with goal regions cropped from the map. All of them commit to goals before any path evidence exists.

We claim that path-level evidence which can be checked at test time is information about intent that these models throw away. We further claim that a search which sends that evidence back up the hierarchy will reach the same miss rate with fewer, more diverse predicted futures than feed-forward goal decoding or independent sampling. The benefit should be concentrated in two regimes. The first is scenes where the goal predictor is weak, such as open spaces; GUIDE-CoT reports degradation on UNIV for exactly this reason. The second is multi-agent scenes where marginally plausible goals are jointly incompatible.

The idea borrows from language reasoning. Environment Augmented Generation triggers backtracking when execution feedback reveals an error. Policy Guided Tree Search treats branching and backtracking as explicit actions. Our analogue of "running the code" is rolling out a coarse path and checking it against the map and against other agents.

Relation to Closest Work

Four papers sit nearest to this proposal, and each lacks a different piece.

GUIDE-CoT is the nearest in spirit. It predicts a pedestrian goal from visual prompts and feeds that goal to a language model as an intermediate reasoning step. Its chain is linear, though, so a wrong goal is never revisited.

AutoTraces tokenizes waypoints for a multimodal language model and pretrains it on automatically generated reasoning chains. It has neither a goal anchor nor any search.

HYPE is the closest search method. It uses Monte Carlo tree search, meaning randomized expansion of promising branches guided by value estimates, seeded by learned proposals. It differs from our proposal in three ways. It plans the ego vehicle rather than forecasting other agents. It searches in continuous control space with a collision cost, with no goal-level node to back up to. It does not produce a probability-ranked set of futures.

Social Interpretable Tree builds an explicit tree over hand-crafted left, straight, and right splits and scores its paths. Its striking result, that an untrained depth-3 tree matches learned baselines on the Stanford Drone Dataset, motivates tree structure but constrains our design. Any learned search must beat such a fixed tree to justify itself.

ColaVLA constrains us from the other direction. It shows that text chain of thought is too slow for driving, at roughly 3,700ms for OmniDrive against 727ms for its latent reasoner. For this reason our reasoning steps are discrete map-grounded tokens, and no free text appears in the inference loop.

Research Program

The model is a single transformer decoder on top of a pretrained scene encoder. We will reuse a self-supervised encoder in the style of SEPT through the SmartPretrain codebase. The decoder emits the chain step by step. First comes a maneuver token from a small learned vocabulary. Next comes a goal-region token chosen among map-derived candidate regions, with local lane features aggregated as in GANet's region cropping, starting from the GANet code. Last come two to four coarse segment tokens, each covering part of the horizon. A light head then refines the leaf into continuous coordinates.

Training is plain teacher-forced likelihood on ground-truth chains. We obtain those chains by labeling each logged future with its maneuver, goal region, and segments, which requires no language annotation.

At test time we run best-first search with backtracking. Each node's score combines the decoder's log-probability with a learned value, meaning a predicted chance that the node's subtree contains a leaf that passes verification and lies near the truth. The verifiers are cheap, deterministic checks on a partial path: it stays in drivable area, curvature and acceleration are within kinematic limits, and it does not conflict in space and time with the current best futures of neighboring agents. When every child of a goal node fails, the goal's value drops and the search reopens its siblings or its parent maneuver. The output is the $K$ highest-scoring verified leaves, chosen with a diversity constraint so that no two share a goal region unless probability mass requires it. Their probabilities are normalized leaf scores.

The value head is trained on search traces from the training set, so that it learns to predict verifier failures before rollout. This is the part that could reduce wasted expansion, a bottleneck the language-reasoning literature identifies (PlanGenLLMs).

Language enters only as an optional steering channel. A natural-language command such as "yield" or "turn left", in the style of GUIDE-CoT, may restrict the maneuver tokens at the root. This keeps controllability without paying the per-step cost of generating text.

Our latency target is under 100ms for one agent on a single GPU. Self-Verifying Reflection found that very small transformers gain substantially from depth-first backtracking, which suggests the decoder can stay small.

Baselines

The naive reference point is the same trained decoder with the search removed. We read off the top $K$ chains by probability using beam search over maneuver and goal tokens, with no verification and no backtracking. Everything learned is shared with the full system, so any gain is attributable to test-time search. We also run SIT's untrained fixed tree on ETH/UCY and the Stanford Drone Dataset, because that paper shows such a tree is surprisingly hard to beat.

The strongest feed-forward competitors on Argoverse 2 are QML and SEPT. QML reports minADE 0.6882 and Miss Rate 0.1894 at $K=6$ on the Argoverse 2 test set, ranking first in minADE in that challenge. SEPT reports holding the top rank on Argoverse 1 and 2 across primary metrics, but no absolute values appear on Lacuna, so we will compare against its published leaderboard figures and our own retrained version. GANet serves as the direct goal-region baseline; the file reports a 28% Miss Rate reduction over LaneGCN on Argoverse 1 but no absolute numbers. Because our decoder sits on a SEPT-style encoder, we will run SEPT with the identical encoder checkpoint, data, and tuning budget. Beating it means lower Miss Rate and b-minFDE at $K=6$ on the validation set, with confidence intervals from repeated training seeds, at latency within twice SEPT's.

For joint prediction on the Waymo Open Motion Dataset (WOMD), the strongest competitor is BeTop, run from its official code. It reports a 25.4% joint mAP gain and first place on both leaderboards at submission; no absolute mAP is given on Lacuna. Beating it means higher joint mAP or lower joint minFDE, with no loss in marginal mAP.

The ablation that isolates our key ingredient is compute-matched rejection sampling. We sample complete chains independently from the same decoder, discard those that fail the same verifiers, and keep the top $K$ distinct results. Crucially, it gets the same number of decoder forward passes as the search. Two further ablations remove individual pieces: search without the learned value (log-probability only), and search whose backtracking may revise segments but never goals. An oracle-verifier run, which is allowed to check proximity to ground truth, bounds how much search could ever help.

Why not just…?

Why not just sample many chains and filter them with the verifiers? This is the real threat, and it may win. If goal errors are rare, or verifier failures are uncorrelated with which goal was chosen, independent sampling followed by filtering gets every benefit of verification without any tree bookkeeping. The compute-matched rejection-sampling ablation settles this directly. Search earns its place only if, at equal forward passes, it lowers Miss Rate or raises joint mAP. The advantage should come from sharing prefixes and from steering samples away from goals whose children keep failing. If it does not, we will report that verification rather than search is the useful ingredient, and simplify the method accordingly.

Why not just use a strong feed-forward forecaster like SEPT or QML? They are fast and currently lead Argoverse 2, and on typical structured-road scenes they may already leave little room. Our claim is conditional. We will slice results by goal-predictor confidence, by map structure (open areas against lane-constrained areas), and by interaction density. If search helps only in the hard slices, that is still useful as a fallback triggered by low confidence. If it helps nowhere, the hypothesis is refuted.

Why not just reason with a language model, as GUIDE-CoT and AutoTraces do? ColaVLA's measurement of about 3,700ms for text-reasoning planning makes free-text reasoning inside a search loop impractical. Text chains also do not natively encode metric geometry. We keep language only as an optional root-level constraint. On ETH/UCY we will compare against GUIDE-CoT's reported numbers (no per-scene values found on Lacuna) to test whether goal backtracking recovers its UNIV weakness without a language model in the loop.

Why not just use a fixed kinematic tree, as SIT does? SIT's untrained tree is competitive, which shows the value of explicit branching. Its fixed angular splits, however, cannot follow lane topology. Running SIT's tree on the same scenes tells us whether learned, map-grounded branching adds anything beyond structure alone.

Proposed Experiments

The primary experiment runs on the Argoverse 2 validation and test sets. We report minADE, minFDE, b-minFDE, and Miss Rate at $K=1$ and $K=6$, alongside wall-clock latency and the number of decoder calls. The main plot shows Miss Rate against decoder calls for four methods: search, rejection sampling, beam search without verification, and SEPT.

The decisive check has two parts. At matched compute, search must beat rejection sampling in the hardest slice of scenes, defined by low goal-head confidence. It must also do no worse on average.

The second experiment, on WOMD joint prediction, turns on the neighbor-conflict verifier. It tests whether backtracking on a single agent's goal, triggered by a joint conflict, improves joint mAP and reduces overlapping predicted futures relative to BeTop.

The third experiment, on ETH/UCY and the Stanford Drone Dataset, targets open spaces where goals are unreliable. It compares against GUIDE-CoT and SIT and reports the UNIV subset separately.

Across all three, we will analyze how often backtracking changes the goal token, and whether those changes move the prediction toward the truth. This is the direct evidence for the claim that path-level failures carry information about intent.