Skip to content
Robotics.world

Research

An Empirical Study on What Matters for Viewpoint-Generalizable Policies in Visual Imitation Learning

Policies trained by imitating demonstrations map pixels directly to actions, so they implicitly learn where the robot is from the camera view they were trained on.

The paper’s first page · arXiv:2609.32762
arXiv
2609.32762 · Preprint · not peer-reviewed
Published
2026-09-26
Authors
Mino Nakura, Sriram Krishna, Yufei Wang, Shubham Tulsiani, Zackory Erickson, David Held

In plain words

Policies trained by imitating demonstrations map pixels directly to actions, so they implicitly learn where the robot is from the camera view they were trained on. When the camera moves at deployment, performance collapses — especially when the robot is out of frame and there is no visual anchor.

AI summary

Overview

  • Research area: Robot learning — visual imitation learning, visuomotor policy design, and sim-to-real transfer for manipulation.
  • Technical level: Intermediate (the conclusions are conceptually simple, but the components — flow-matching DiT action heads, DINOv2 backbones, 4D rotary positional encodings — assume familiarity with modern robot learning architectures).
  • Scope: A controlled ablation study that isolates which design choices make an image-based manipulation policy robust to changes in camera viewpoint, plus a zero-shot sim-to-real demonstration under random cameras.

What This Paper Is About

Policies trained by imitating demonstrations map pixels directly to actions, so they implicitly learn where the robot is from the camera view they were trained on. When the camera moves at deployment, performance collapses — especially when the robot is out of frame and there is no visual anchor. Rather than proposing a new architecture, the authors fix one base policy, one dataset, and one evaluation protocol, and vary single design choices to find out which ones actually produce viewpoint robustness. The winning combination is named Agp (a Viewpoint-Generalizable manipulation Policy).

Key Contributions

  1. A controlled empirical study of design choices for viewpoint generalization in visual imitation learning, organized along three axes: visual token compression, visual encoder, and positional encoding — each ablation changing exactly one axis relative to the full Agp configuration.
  2. Evidence that grounding every token — vision, proprioception, and action — in the robot base frame via 4D rotary positional encodings (position (x, y, z, h) plus time) substantially outperforms image-space sinusoidal encodings, which carry no consistent geometric meaning when the camera moves.
  3. A comparison against alternative ways of injecting camera knowledge (Plücker raymaps, canonical-view reprojection) and against a pure 3D point-cloud policy (DP3), showing the recipe is competitive or better while retaining dense image features and image-scale pretraining.
  4. A practical demonstration: training in simulation on randomized views and transferring the policy zero-shot to a real Franka robot under random camera configurations, where it outperforms the Canonical Views and Plücker Raymaps baselines on grasp success and opening performance.

Main Findings

  • Dense tokens matter far more than compression. Replacing Agp's dense patch tokens with global compression drops the average over the three randomized-camera tasks from 63.5 to 37.4 (spatial softmax) and 39.7 (max pooling). Compression is fine under a fixed camera (e.g., 55.2 and 60.0 normalized opening on Cabinet versus 69.1 for Agp) but collapses under randomized cameras — the Pick Place Can success rate falls from 96.7 to 56.0 and 61.3.
  • Robot-frame positional encoding is the single biggest lever. Swapping 4D RoPE for image-space sinusoidal encodings drops randomized-camera Cabinet performance from 64.4 to 39.5 normalized opening, and the average from 63.5 to 44.1. The intuition given is that the same patch index corresponds to different 3D locations as the camera moves, whereas the geometric relationship between a token and the gripper is camera-invariant under robot-frame encoding.
  • The visual encoder helps, but less than the other two axes. ResNet-18, frozen DINOv2, finetuned DINOv2, and cross-view-finetuned DINOv2 give averages of 57.2, 58.9, 61.5, and 63.5 respectively. Cross-view attention (borrowed from multi-view depth estimation work, with 12 transformer blocks, the final L_g = 8 alternating with global cross-view attention) adds gains by fusing information across cameras, but the spread is smaller than the token-compression or positional-encoding effects.
  • Agp beats explicit camera conditioning on average. Under randomized cameras, average scores are 43.4 for Plücker Raymaps, 48.9 for Canonical Views, and 63.5 for Agp. Agp wins on Cabinet (64.4 versus 52.8 and 39.5) and Pick Place Can (96.7 versus 68.0 and 62.0), but Canonical Views edges it on Square Assembly (32.0 versus 29.3).
  • The advantage survives out-of-distribution viewpoints. Evaluated on elevated and oblique cabinet views outside the training camera distribution, all methods degrade, but Agp retains the lead at 51.4 normalized opening versus 45.6 for Canonical Views and 29.8 for Plücker Raymaps.
  • A point-cloud policy is robust by construction, but weaker overall. DP3 shows only a small fixed-to-randomized gap (50.9 to 43.9 normalized opening) yet trails Agp, which scores 69.1 and 64.4 in the same two settings.
  • Sensitivity to real-world sensing error is asymmetric. Agp tolerates calibration error around the roughly 1 cm / 1 degree level expected in the real world, but degrades as additive Gaussian depth noise increases. The policy is trained without either kind of noise, and the authors suggest noise-aware training would help.
  • Zero-shot sim-to-real works under random cameras. On a microwave-opening task built from 5 microwaves selected out of 322 objects, 2358 demonstrations, and over 100,000 state-action pairs rendered in IsaacLab, Agp outperforms Canonical Views and Plücker Raymaps on both grasp success and normalized opening across 30 real-world trials per policy (10 trials for each of three camera pairs). The text reports these results only in Fig. 6 and does not state the numeric values.

Methodology in Plain English

The authors deliberately hold everything constant except one variable at a time, so that differences in performance can be attributed to that variable rather than to architecture or data.

The fixed base. Every variant shares the same action head: a Diffusion Transformer trained with a flow-matching objective, which alternates cross-attention from proprioception and action tokens to image tokens with self-attention over the action chunk. It consumes a history of observation steps and predicts a chunk of future actions in a delta end-effector action space.

Axis 1 — do we keep the picture, or squash it? Some policies reduce a whole image to one global feature vector before the action head. The authors compare keeping all dense patch tokens against spatial softmax and max pooling.

Axis 2 — which image backbone? They compare ResNet-18, frozen DINOv2, finetuned DINOv2, and a variant finetuned with cross-view attention modeled on Depth Anything 3. In the cross-view variant, the first L_s layers do within-view attention (frozen), and the remaining 8 of 12 blocks alternate within-view and cross-view global attention.

Axis 3 — how does a token know where it is? The core idea is that a policy does not need to know where the camera is; it needs to know where the observed pixels are relative to the robot. So each image token is lifted to 3D using its depth value and the camera pose, then given a 4D coordinate (x, y, z in the robot base frame, plus a time index). A 4D rotary positional encoding splits each attention head into x, y, z, and h subspaces. Proprioception tokens sit at the gripper's 3D position, and action tokens sit at an estimate of the future gripper position obtained by integrating the translational action components during denoising — an estimate that starts noisy and converges onto the trajectory the robot will actually follow.

Evaluation. The main simulated testbed is a cabinet-opening task in PyBullet using a PartNet-Mobility object, with 989 demonstration trajectories (over 100k observation-action pairs) and 100 held-out test trajectories, each evaluated under freshly sampled camera poses. Two of the three cameras are over-the-shoulder views from which the robot is hard to localize, plus a wrist camera. Two tasks from the "Do You Know Where Your Camera Is?" benchmark round out the suite. Results are averaged over three seeds, and for each method the success rate of its best checkpoint is reported.

Why This Matters

The paper reframes viewpoint robustness as a geometry-grounding problem rather than a "feed the policy the camera pose" problem, and it does so with ablations that make the claim checkable. That gives other researchers a short list of design choices to adopt and, more usefully, tells them which ones they can afford to skip — encoder choice, for instance, moved results far less than positional encoding did.

Real-world applications:

  • Home and service robots that must work in rooms where a camera is placed wherever a person happened to put it, rather than at a calibrated station.
  • Warehouse and fulfillment manipulation, where cameras get bumped, remounted, or moved between cells and re-calibration is impractical.
  • Mobile manipulators, where the base moves and the effective camera-to-robot relationship changes continuously during task execution.
  • Rapid deployment in new facilities, where a policy trained in simulation can be run on a new robot cell without re-collecting demonstrations for that cell's camera layout.

For industry, the zero-shot sim-to-real transfer under random camera configurations is the headline: it suggests that the expensive step of re-collecting demonstrations whenever a camera moves can potentially be avoided, provided calibrated RGB-D is available at deployment.

Future Directions

  • Removing the calibrated RGB-D requirement. Agp needs depth and extrinsics in the robot base frame, supplied either by a sensor or an RGB-based depth estimator. Jointly estimating extrinsics or operating on monocular RGB with learned depth priors is flagged as an important open problem.
  • Noise-aware training. The policy is trained without extrinsic or depth noise and degrades as depth noise grows; training with such perturbations would likely improve real-world robustness.
  • Beyond a single object category. Sim-to-real is demonstrated as a proof of concept on microwaves only; scaling the findings to large, heterogeneous real-world datasets such as DROID remains open.
  • Isolating the recipe inside existing 3D architectures. The authors note that 3DFA already combines several of the choices studied here but does not separately measure their effect on viewpoint robustness, leaving room for a component-by-component re-evaluation of existing 3D policies.

Target Audience

Robotics researchers and graduate students working on visuomotor imitation learning, 3D scene representations for manipulation, or sim-to-real transfer — particularly those deciding which architectural components to invest in when building a viewpoint-robust policy. It is also useful for practitioners deploying manipulation policies in environments where camera placement is not controlled, and for readers who want a clear demonstration of why image-space positional encodings break under camera motion.

Authors’ abstract

Visual imitation learning is a promising approach to training robot manipulation policies capable of completing a wide variety of tasks. However, policies today remain brittle to viewpoint perturbations, making deployment in diverse environments a challenge. We present a controlled empirical study of which design choices allow visuomotor policies to generalize across viewpoints. We find that viewpoint generalization improves when dense visual tokens are retained and the…

The full abstract on arXiv
Read the original paper

Related papers