Skip to content
Robotics.world

Research

Temporal Policy: History-Initialized Action Generation for Robotic Learning from Demonstration

Generative policies such as diffusion and flow matching capture the multimodal action distributions typical of human demonstrations, but they start generation from uninformative Gaussian noise…

The paper’s first page · arXiv:2607.29482
arXiv
2607.29482 · accepted · IROS
Published
2026-07-31
Authors
Dylan Miller, Martin Jagersand

In plain words

Generative policies such as diffusion and flow matching capture the multimodal action distributions typical of human demonstrations, but they start generation from uninformative Gaussian noise, forcing the network to learn a long, high-curvature path into the physical action space. That transport complexity costs inference time and limits high-frequency closed-loop control.

AI summary

Overview

  • Research area: Robotic Learning from Demonstration (LfD), generative action modeling, visuomotor manipulation policy learning.
  • Technical level: Advanced — the paper builds on stochastic interpolants, Itô calculus, score recovery, and transport-cost analysis, and assumes familiarity with diffusion models and flow matching.
  • Scope: The paper proposes Temporal Policy, a generative action-generation framework that initializes the generative flow from the robot's recent state history rather than Gaussian noise, and evaluates it on Robomimic simulation benchmarks and a physical 7-DoF Barrett WAM teleoperation platform.

What This Paper Is About

Generative policies such as diffusion and flow matching capture the multimodal action distributions typical of human demonstrations, but they start generation from uninformative Gaussian noise, forcing the network to learn a long, high-curvature path into the physical action space. That transport complexity costs inference time and limits high-frequency closed-loop control. The authors' goal is to reformulate action generation as a "point-to-distribution" transport problem seeded by the robot's own recent history, so the flow starts close to the target actions and can be integrated in very few steps.

Key Contributions

  1. Temporal coupling formulation: A data-dependent generative policy built on stochastic interpolants that explicitly couples the robot's past state history (the source) to a future action chunk (the target), reducing transport cost and vector-field curvature. The formulation requires states and actions to share a representation (joint positions or Cartesian poses).
  2. Computational efficiency: By simplifying the learned vector field, the framework needs only 10 function evaluations and reaches 19.1 ms inference latency, enabling high-frequency real-time control.
  3. Simulation validation and data efficiency: Evaluation across five Robomimic tasks showing success rates competitive with Diffusion Policy and Conditional Flow Matching, plus improved data efficiency as a function of dataset size.
  4. Real-world deployment: Closed-loop operation on a physical 7-DoF bilateral teleoperation platform (Barrett WAM leader/follower), with 150 collected demonstrations and a mug-hanging task evaluation.

Main Findings

  • Matching success rates with far fewer evaluations: Temporal Policy uses 10 NFE, the same as CFM, versus 100 for Diffusion Policy, while achieving comparable overall success. Inference times measured on a consumer NVIDIA RTX 4080 with 16 GB VRAM were 615.6 ms (Diffusion Policy), 63.5 ms (CFM), and 19.1 ms (Temporal Policy).
  • Transport cost reduced by nearly an order of magnitude: On the Square ph task, averaged over 50 episodes, transport cost was 189.99 for Diffusion Policy, 10.00 for CFM, and 1.21 for Temporal Policy.
  • Straightness nearly perfect: The straightness ratio was 20.61 for Diffusion Policy, 1.08 for CFM, and 1.02 for Temporal Policy. The authors attribute the improvement over CFM mainly to starting closer to the target manifold rather than to further straightening the flow.
  • Task-specific wins and losses: Temporal Policy outperformed baselines on Can mh (average 0.98 vs 0.96 Diffusion Policy and 0.95 CFM), Square ph (0.96 vs 0.91 and 0.91), and Transport mh (0.76 vs 0.73 and 0.54), but underperformed on Square mh (0.83 vs 0.87 Diffusion Policy) and Tool Hang ph (0.69 vs 0.71 Diffusion Policy and 0.70 CFM).
  • Small models suffice: Baselines used 255M parameters; Temporal Policy was implemented with a 17M parameter architecture because the full 255M model overfit. A scaled-down CFM baseline restricted to 17M parameters on the transport task showed no degraded performance.
  • Fast convergence: On Tool Hang ph, Temporal Policy achieves relatively high success rates with a single sampling step, whereas standard diffusion fails below 32 NFEs and needs at least 64 steps to reach peak performance.
  • Deterministic ODE beats stochastic SDE here: Increasing the noise scale shifts the success-rate curve rightward, penalizing low-step sampling. The deterministic ODE (ε = 0.0) reaches high success in 2 to 4 integration steps, while fully stochastic sampling (ε = 1.0) needs at least 8 to 16 steps to reach parity, so the ODE is the more efficient choice.
  • Improved data efficiency: On Square ph, Temporal Policy consistently outperforms Diffusion Policy across all data regimes; specific dataset sizes are shown only in the figure and are not stated numerically in the text.
  • Real-world results: Across 20 evaluation trials of the mug-hanging task with randomized initial mug configurations, the policy achieved 50% (10/20) overall success and grasped the mug in 95% (19/20) episodes. The dominant failure mode was the end-effector undershooting the depth of the tree peg, hypothesized to be caused by the grasped mug occluding the peg from the wrist camera.

Methodology in Plain English

The core idea is to change where the generative process starts. Standard diffusion and flow matching begin from random noise, so the network must learn a long, winding route from "nothing in particular" to a valid action sequence. Temporal Policy instead starts the generative process at the robot's own recent state history — the last H states — and asks the network to transport that starting point into the next chunk of actions, offset by d timesteps. Because a robot's motion is smooth in expert demonstrations, consecutive states are highly correlated, so the starting point is already close to the answer.

The authors formalize this with a linear interpolant that blends the history (x0) and the future action chunk (x1) over a continuous interpolation time λ from 0 to 1, with an added scaled Wiener process. A neural network regresses the drift of the resulting stochastic differential equation with a simple squared-error objective, conditioned on camera observations. The architecture is a 1D U-Net over the action-chunk's time dimension, with ResNet-18 visual features passed through a Spatial Softmax and injected via FiLM layers alongside sinusoidal embeddings of λ.

At inference, the analytic score of the interpolant can be recovered in closed form from the learned drift, which means the noise schedule can be changed at test time without retraining: setting it to zero gives a fast deterministic ODE, and setting it above zero gives an SDE that explores multiple outcomes. The policy uses receding-horizon control, executing only the first K steps of each predicted chunk before re-querying.

For the physics, a simple analysis shows that expected transport cost equals 2HD minus twice the cross-correlation between source and target. For independent Gaussian noise that cross-correlation is zero, giving cost 2HD; for temporally adjacent robot states it is positive, so the cost is strictly lower.

Why This Matters

  • Research impact: The paper shows that the choice of source distribution — not just the solver or architecture — is a major lever on generative policy efficiency. It brings data-dependent couplings and stochastic interpolants into robotic LfD and provides a clean transport-cost and straightness analysis to explain where the gains come from. It also connects directly to optimal-transport flow matching and Schrödinger Bridge work while avoiding the training instability those methods incur.
  • Real-world applications:
    • High-frequency closed-loop manipulation where control latency must stay low, such as dynamic grasping and assembly.
    • Teleoperation and shared-autonomy systems, including bilateral force-feedback setups like the Barrett WAM platform used here.
    • Household and service robotics tasks such as hanging objects on fixtures, which demand precise free-space alignment.
    • Deployment on resource-constrained or edge hardware, where a 17M parameter model and 19.1 ms inference make on-robot execution practical.
  • Industry relevance: Lower inference cost with matching success rates translates into cheaper compute, higher control rates, and simpler real-time integration for manipulation products. The finding that compact 17M parameter models suffice, at least in this setting, is directly relevant to embedded deployment.

Future Directions

  • Initialization sensitivity: The authors identify sensitivity to source quality as the primary limitation — significant noise at the source state can bias the generated trajectory. How much noise the coupling tolerates is an open question.
  • Velocity-based projection: Projecting the starting state forward using the robot's current velocity to initialize the flow even closer to the target manifold, further reducing transport cost.
  • Does history initialization erase multimodality? The authors ask whether history initialization mainly disambiguates apparent multimodality, and whether it preserves the full range of valid behaviors seen in demonstrations — a key question for tasks with genuinely ambiguous futures.
  • Alternative representations and faster solvers: Exploring force/torque control or keypoint generation for visual servoing, and combining the framework with consistency distillation or higher-order numerical solvers, which the authors note is orthogonal and compatible with their coupling change.

Target Audience

Robotics researchers and graduate students working on imitation learning, generative policy models, and diffusion/flow-matching methods for control. It is also relevant to practitioners building real-time manipulation systems who care about inference latency, model size, and deployment on physical hardware, and to readers interested in optimal transport and stochastic interpolant theory applied to robot learning.

Authors’ abstract

By relying on independent couplings from uninformative Gaussian priors, standard diffusion and flow matching models are forced to learn complex, high-cost vector fields to reach the physical action space. Generative models excel at capturing multimodal behaviors for robotic Learning from Demonstration (LfD), but often suffer from high inference cost. This paper introduces Temporal Policy, a generative framework based on stochastic interpolants that formulates action…

The full abstract on arXiv
Read the original paper

Related papers