Legible Motion for Observers Who Cannot See Everything

A robot that reaches for one of several objects can make its goal obvious by swinging its arm away from the alternatives early in the motion. Planners that do this are called legible motion planners. They all score a trajectory by imagining an observer who sees the robot's true 3D path and reasons about which goal it is heading for. Real observers see something else: a 2D view from one seat. In that view the arm can disappear behind a monitor, two identical mugs can line up along the observer's line of sight, and depth is hard to judge. A sideways arc that looks expressive in 3D can project to a nearly straight line on the observer's retina, or pass behind clutter just when it should be informative. This failure is the human-side version of perceptual aliasing, the problem in robot localization where physically different situations produce the same sensor reading.

We propose to plan legible motion against a simulated observer. This is a stochastic program that renders what a human at a given seat would see, adds occlusion, depth noise and attention lapses, and then guesses the goal. The goal posterior of such an observer has no closed form, because it requires integrating over all the hidden perceptual randomness. We therefore learn it with likelihood-free inference, a family of methods that fit a neural network to (goal, simulated observation) pairs so that the network returns the posterior directly. That network is trained once, works for any scene and viewpoint, and is fast enough to sit inside an online trajectory optimizer. The claim is narrow and testable: in scenes where aliasing comes from occlusion and depth uncertainty, planners guided by this learned observer posterior make goals legible to real people earlier than planners that use an analytic projected-image observer model. We expect no advantage where simple perspective geometry already explains the ambiguity.

Core Claim and Positioning

The closest existing work formalizes legibility as choosing actions that maximize a modeled observer's belief in the true goal. Acting as Inverse Inverse Planning does this with a hand-written Boltzmann-rational observer, one who prefers efficient paths with probability falling off exponentially in their cost, applied to clean state trajectories. It searches by beam search or differentiable physics. Its user studies are strong (observers inferred a "helping" intent 73% of the time versus 6% for a naive rational planner), but the observer sees everything. Controlling Intent Expressiveness in Robot Motion with Diffusion Models turns the analytic posterior into a precomputed spatial field and conditions a trajectory diffusion model on an expressiveness dial. Its field lives in workspace coordinates and must be recomputed whenever the geometry changes. Integrating Field of View in Human-Aware Collaborative Planning does model what the human can see, but only as a binary visibility cone, with no ambiguity inside the cone.

These three papers motivate the proposal and supply its evaluation framing. We differ from all three in one respect: the observer is a black-box perceptual simulator, and its posterior is learned rather than written down.

The machinery comes from the simulation-based inference literature. Automatic Posterior Transformation for Likelihood-Free Inference trains conditional density estimators that amortize the posterior, meaning one trained network answers queries for any new observation. It scales to 10,000-dimensional image observations. BayesFlow 2.0 pairs summary networks for variable-length inputs with flow-based posterior networks and reports calibration diagnostics. BayesSim shows that such estimators recover multimodal posteriors in robotics, but only for offline estimation of physical parameters. We reuse these methods and move them into the loop of a motion planner, pointed at a model of human perception.

One honest simplification is worth stating early. When the goal set is discrete, neural posterior estimation reduces to training a calibrated classifier on simulator samples drawn under the correct prior. We keep that view and do not dress it up. The inference framing matters for two reasons. It tells us to check calibration with simulation-based calibration, so that the planner does not exploit an overconfident network. It also lets us fit the observer simulator's own parameters to human data with the same tools.

The perceptual aliasing literature constrains the design. Multi-output Learning for Camera Relocalization shows that aliasing makes single-output estimators average between modes, so the observer posterior must stay multimodal. Active Neural Localization shows that an agent can move so as to collapse its own multimodal belief. We invert that setting: the robot moves to collapse someone else's belief. TOPO-Bench splits queries into regimes by how severe the aliasing is, and we borrow that idea to stratify our scenes.

Research Program

The observer simulator takes a robot trajectory $\tau$, a scene, and an observer pose. It produces a sequence of observations $o_{1:t}$ in two variants. In the structured variant, each frame contains the projected 2D end-effector and object keypoints, their visibility flags from ray-casting against scene geometry, and noise added both to depth cues and to the image positions. In the rendered variant, each frame is an image from a PyBullet camera at the observer's seat. Latent observer variables are drawn per episode: depth-noise scale, attention dropout rate, and a rationality temperature. These are exactly what make the likelihood intractable.

A posterior network $q_\phi(g \mid o_{1:t}, s)$ is trained on simulated triples of goal, observation prefix and scene description $s$. It uses a transformer summary network over frames, and is trained across many scenes and viewpoints so that it generalizes without retraining.

Planning maximizes expected early belief in the true goal $g^*$:

$$J(\tau) = \mathbb{E}_{o \sim \text{sim}(\tau)} \Big[ \sum_{t=1}^{T} w_t \log q_\phi(g^* \mid o_{1:t}, s) \Big] - \lambda\, C(\tau),$$

where $w_t$ are decreasing weights that reward early disambiguation, $C$ is the ordinary efficiency cost, and $\lambda$ trades the two off. Weighting the objective toward early time steps is how we handle a tension the research file identifies. Localization work suggests that resolving aliasing needs long observation sequences, while legibility requires that the goal be clear early.

We optimize $J$ with sampling-based model-predictive control over a low-dimensional trajectory parameterization, which works with either observation variant. For the structured variant, where gradients are available, we also try gradient guidance of a trajectory diffusion model.

A second, smaller use of likelihood-free inference closes the gap between simulator and human. We collect human goal judgments on truncated videos and infer the observer simulator's latent parameters from them, in the style of BayesSim. Planning then uses the fitted observer. This guards against a known failure of amortized estimators, which become overconfident on data unlike their training distribution.

Baselines

The naive reference is the efficiency-optimal trajectory, the shortest smooth path. It sets the floor on how quickly observers infer the goal.

The strongest existing method is the Legibility Modulator from Controlling Intent Expressiveness in Robot Motion with Diffusion Models, run at maximum expressiveness. We retrain it on our scene distribution, giving it the same planning-time compute and the same budget for hyperparameter search as our method. On PandaGym block reaching the paper reports a 100% task success rate across expressiveness levels. It also reports matching or exceeding prior trajectory optimizers at maximum expressiveness, but on Lacuna we found no reported scalar legibility score for that comparison. Our method beats it if, on occlusion and depth strata, it raises human goal accuracy at 30% of the trajectory by a statistically significant margin while keeping task success at 100%.

The analytic geometric competitor is an I2P-style Boltzmann observer Acting as Inverse Inverse Planning whose cost is computed on pinhole-projected image coordinates. We add a variant that masks out occluded frames. Both are optimized with the identical controller. We consider this the most dangerous baseline.

A field-of-view heuristic in the spirit of Integrating Field of View in Human-Aware Collaborative Planning adds a cost for leaving the visible cone on top of a workspace legibility objective. For the Steakhouse domain the paper reports 152.1 actions per task against 165.1 for an omniscient planner.

Three ablations isolate the key ingredient. We remove the observer's latent noise, which makes the simulator deterministic and close to geometric. We swap structured observations for rendered images. We plan with the prior simulator instead of the human-fitted one.

Why not just…?

Why not just compose the existing Boltzmann observer with a camera projection and a visibility mask? This is a real threat, and we expect it to tie our method when objects are aligned along the line of sight but nothing occludes them, because geometry alone explains that ambiguity. The question is whether hand-crafted energy functions break once occlusion gaps and depth noise force the observer to fill in unseen segments of the path. Localization work shows that aliased observations produce multimodal posteriors that simple distance costs miss Multi-output Learning for Camera Relocalization. The stratified human study decides the matter. If the masked projected baseline matches us on the occlusion and noisy-depth strata, the learned observer is unnecessary, and we would report that.

Why not just use particle filtering or rejection sampling over the simulator at plan time? These are exact in the limit but far too slow for this loop. Sequential particle filtering on scene graphs costs about 2.9 seconds per frame in SG2Loc. Rejection sampling discards most simulations when observations are high-dimensional Neural Density Estimation for Likelihood Free Inference. We will still run a particle-filter observer offline on a subset of trajectories, as a ground-truth check on the calibration of $q_\phi$.

Why not just announce the goal with speech or an augmented-reality overlay? Explicit channels compete with them, and are often combined with them CoRI. But they fail in noisy, crowded settings SPENCER, and motion is read without effort: 95.7% of viewers perceived mimed weight from motion alone Acting as Inverse Inverse Planning. Our contribution is to the motion channel, and this proposal does not test whether motion is better than explicit signals.

Proposed Experiments

The main testbed extends PandaGym 2D/3D block reaching with a fixed observer camera and visually identical candidate blocks. Scenes fall into four strata, defined in the manner of TOPO-Bench: laterally separated goals, goals aligned along the observer's line of sight, goals partially occluded by clutter, and goals with both occlusion and depth ambiguity. A second domain reuses the Steakhouse layout with identical-looking workstations, to test transfer to navigation.

In simulation, we measure belief in the true goal over time under held-out observer simulators whose parameters differ from training, the time until belief first exceeds 0.8, and path cost. We check calibration of $q_\phi$ against the offline particle filter and with simulation-based calibration. For reference, BayesFlow 2.0 reports calibration error of 0.03–0.04 on Lotka-Volterra, an easier problem than ours.

The decisive check is a within-subject human study. Participants watch videos truncated at 20%, 30% and 50% of the trajectory, rendered from the modeled seat, and name the goal and their confidence. The prediction that would support the proposal is a stratum-by-method interaction: no gain over the masked projected-Boltzmann baseline on the lateral and line-of-sight strata, and a significant gain in early accuracy on the occlusion and depth strata. If no such interaction appears, the analytic geometric observer is sufficient and the claim fails. A secondary check moves the observer to an unseen seat at test time. This tests whether amortization removes the recomputation that a precomputed legibility field needs whenever the viewpoint changes.