# WORD: Diffusion-Based Posterior Inference for Online Goal Recognition

*Almog Anschel, Sarah Keren*

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

Category: [Robotics, VLA & World Models](../pcat/4.md) › [World Modeling and Planning under Uncertainty](../pgroup/234.md) · Type: new method · Keywords: goal recognition, diffusion inference, trajectory prior, online posterior estimation, autonomous agents

Areas: [AI Agents](../areas/agents.md) › Vision-Language-Action Systems › Model-Based Planning; [Evaluation & Benchmarks](../areas/evaluation.md) › Multimodal System Benchmarks › Embodied Benchmarks and Evaluation; [Robotics & Embodied AI](../areas/robotics.md) › Robotic Control and Planning › Diffusion Planning

## Summary
WoRD uses a learned trajectory prior and diffusion denoising to infer an agent's goal from partial observations, producing calibrated multimodal posteriors.

## Explained to a 5-year-old
We guess what someone or something is trying to do by watching how it moves. Instead of using a complicated rule book, we let a computer learn what normal movements look like. When we see a bit of movement, we compare it to many possible goals and see which one fits best. The computer uses a special way of guessing that can handle many possible answers at once. This helps make safer decisions when we are not sure what the goal is.

## Explained to a 5-year-old, longer
Imagine you are watching a robot or a person walking around and you want to know what they are trying to do. Goal recognition is like figuring out if they want to go to the kitchen, the park, or somewhere else. Usually, people look at the high-level plan, but they ignore the actual steps the robot takes. The paper focuses on the small details of how the robot moves, because those details can tell us a lot. It learns a model that knows what typical movements look like for different goals. When we see a short piece of movement, we compare it to each possible goal. For each goal, we run a process that refines the movement guess until it matches what we saw. The process uses a clever trick that tells us how likely each goal is, based on the movement. After checking all goals, we combine the information to get a final guess that can be uncertain. This way, we can be careful and not be too sure when the movement is confusing. The method works for many kinds of agents, like robots, pedestrians, and cars. It helps make safer decisions because we know when we are not confident about the goal.

## For a technical reader
WoRD addresses online goal recognition by learning a prior over agent trajectories and using diffusion-based denoising to infer the most likely goal from partial observations. For each candidate goal, it runs a warm-started denoising chain that is steered toward the observed motion via a closed-form gradient derived from the trajectory likelihood. The resulting samples are reweighted using Bayes’ rule to produce a calibrated posterior that can represent multiple plausible goals simultaneously. This unified inference procedure works across robots, pedestrians, and vehicles, improving safety-critical metrics such as the confident-and-wrong rate. The approach eliminates the need for hand-crafted dynamics models and can be integrated into existing perception pipelines as a drop-in component.

## Problem
Inferring an agent's intended goal from its observed behavior is challenging, especially when only partial trajectory data is available and existing methods rely on explicit dynamics models that are hard to acquire and rarely transfer across settings.

## Method
The approach learns a trajectory prior and, at each step, runs a denoising diffusion chain per candidate goal, steers each chain toward the observed trajectory via a closed-form log-likelihood gradient, and reweights the resulting samples by Bayes' rule to obtain a calibrated posterior over goals.

## Results
WoRD improves all four evaluation metrics jointly, including the safety-critical confident-and-wrong rate, while maintaining calibrated multimodal beliefs where other observers collapse or become overconfident.

## Contributions
The paper introduces a learned trajectory prior and a diffusion-based posterior inference framework that jointly models goal candidates, provides calibrated multimodal beliefs, and operates under a unified inference procedure across diverse settings.

## Research questions this paper is counted under

- [How can agents infer latent behavioral structure and intentions from limited, partially observable data while accounting for their own influence on the environment?](../q/259.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/148579)
