Geometry-aware Policy Imitation

Yiming Li, Nael Darwiche, Amirreza Razmjoo, Sichao Liu, Yilun Du, Auke Ijspeert, Sylvain Calinon

TL;DR

Geometry-Aware Policy Imitation (GPI) rethinks imitation learning by treating robot demonstrations as continuous geometric curves rather than discrete state-action pairs. By deriving "progression" and "attraction" flows from distance fields, GPI creates a non-parametric policy that is 20 to 100 times faster than diffusion-based models. It also requires significantly less memory while offering superior interpretability and robustness.

The Problem with Current Imitation Learning

Teaching robots complex tasks through imitation learning (IL) typically falls into three categories: explicit policies (simple regression), implicit policies (energy-based models), and generative policies (like diffusion models).

While generative models excel at handling "multimodality"—situations where there are multiple valid ways to complete a task—they come with significant drawbacks. They are computationally expensive, slow at inference, and act as "black boxes" that discard the underlying geometric structure of the expert's motion. Furthermore, most current methods require extensive retraining to incorporate even a single new demonstration.

GPI addresses these gaps by shifting the paradigm from "fitting a function" to "reasoning about geometry," providing a modular framework that is both highly efficient and easy to adapt.

Geometry-Aware Policy Imitation (GPI)

The core idea behind GPI is to represent expert demonstrations as distance fields within the robot's state space. This geometric representation naturally gives rise to two complementary control primitives:

  1. Progression Flow: A vector field that follows the tangents of the expert trajectory, actively pushing the robot forward to complete the task.
  2. Attraction Flow: A vector field derived from the negative gradient of the distance field, which pulls the robot back toward the expert's path if it deviates or experiences perturbations.
Overview of GPI: Demonstrations induce distance fields that create progression and attraction flows, yielding significant improvements in inference time and memory over diffusion policies.

By superimposing these flows, the system creates a controllable, non-parametric dynamical system. To handle multiple demonstrations (multimodality), GPI uses a distance-based softmax weighting. This ensures the robot commits to following the most relevant demonstration rather than averaging between them—a common issue in traditional regression that leads to "blurry" and failing behaviors.

Crucially, GPI decouples metric learning (how the robot represents the world) from behavior synthesis (how the robot moves). This modularity allows researchers to easily swap out different encoders, ranging from simple Euclidean distances for joint angles to high-dimensional latent embeddings from pretrained vision models like CLIP or DINO.

Key Insights & Advantages

  • Geometry is a Strong Prior: By treating data as a continuous curve, the "attraction" to the correct path is built-in analytically. In contrast, diffusion models must learn this attraction through thousands of computationally heavy denoising steps.
  • Non-Parametric Scaling: Because the policy is derived directly from the data without training a massive neural network for the policy itself, adding new demonstrations is as simple as adding them to the database. No retraining is required.
  • Interpretability: Researchers can visualize the "energy landscape" of the policy. If a robot fails a task, it is possible to see exactly which demonstration it was trying to follow and where the distance field led it astray.
  • Modular Flexibility: The separation of the "robot distance" (joint space) and "environment distance" (vision/latent space) allows the system to adapt to new sensors or robot configurations without starting from scratch.

Results & Performance

The authors evaluated GPI across a wide range of benchmarks, including simulation tasks (PushT, RoboMimic, Adroit Hand, 2D Maze) and real-world robot tasks (a box-flipping task using the ALOHA bimanual platform and a fruit handover task using a Franka arm).

  • Performance: On the standard PushT benchmark, GPI achieved a higher success rate (85.8%) compared to a baseline Diffusion Policy (81.5%).
  • Speed: GPI is 20× to 100× faster at inference than diffusion-based methods. In state-based tasks, inference takes just 0.6 milliseconds.
  • Efficiency: The memory footprint is drastically smaller. For state-based PushT, GPI requires only 0.7 MB of memory, compared to a massive 252 MB for a Diffusion Policy.
  • Robustness: Thanks to the inherent "pull" of the attraction flow, GPI remains stable even when the planning horizon is varied or when significant noise is injected into the state.

Limitations and Future Work

While highly effective, GPI does have limitations. Because it is non-parametric, its memory footprint grows linearly with the number of stored demonstration states. Future work could explore compact, implicit representations of these distance fields to mitigate this.

Additionally, the system's success relies heavily on having a "good" distance metric. While off-the-shelf encoders work well, co-optimizing the metric alongside the policy could further improve generalization to unseen environments. Finally, the current stability analysis assumes a smooth, continuous-time system; extending these formal guarantees to discrete-time, contact-rich real-world dynamics remains an open challenge.

Summary updated

BibTeX
@inproceedings{li2026geometry,
  author = {Yiming Li and Nael Darwiche and Amirreza Razmjoo and Sichao Liu and Yilun Du and Auke Ijspeert and Sylvain Calinon},
  title = {{Geometry-aware Policy Imitation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=ggofj6tyr3},
}
Figure