Robotics in Representation Space: Learned Latents Meet Composable Costs

Lukas Lao Beyer, Sertac KaramanOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a framework that unifies data-driven generative modeling with classical model-based planning by performing search directly in a highly compressed, discrete latent space. By training a conditional autoencoder to represent trajectories as a small sequence of causally ordered tokens, the authors demonstrate that arbitrary "test-time" objectives can be optimized through simple greedy search, effectively using the learned decoder as a set of "learned guard rails" for realistic behavior.

What Problem Does This Paper Address?

Motion planning in robotics has traditionally been split into two paradigms:

  1. Classical Model-Based Planning: Uses expert-designed cost functions and optimization. It is highly flexible and interpretable but often struggles to capture the "common sense" priors and complex behaviors found in massive real-world datasets.
  2. Deep Learning/Generative Models: Learns powerful priors from data (e.g., how a car typically behaves at an intersection). However, these models are often "black boxes" that are difficult to steer toward specific, user-defined goals at test time without extensive retraining or complex "guidance" techniques.

The authors aim to bridge this gap. They ask: Can we create a representation that is compact enough to search through efficiently, yet expressive enough to ensure any generated trajectory is realistic and feasible?

Methods

The core of the approach is a Conditional Trajectory Autoencoder with several clever architectural choices:

  • Environment Conditioning: The encoder and decoder are conditioned on the "static world" (maps, traffic lights) and "agent history" using a Transformer-based architecture inspired by Motion Transformer (MTR).
  • Adaptive Soft Quantization: Instead of standard Vector Quantization (which can be unstable to train), the authors use an adaptive noise injection scheme. They gradually increase noise at the bottleneck during training until a target reconstruction error is met. At test time, this noise is removed, and the latent space is "hard quantized" into discrete levels.
  • Causal Ordering & Nested Dropout: The latent tokens are forced into a causal structure (token 1 influences token 2, etc.). By using "nested dropout"—randomly dropping tail tokens during training—the model learns a "coarse-to-fine" representation. The first token captures the general intent, while subsequent tokens add detail.
  • Latent Token Search: Because the latent space is extremely low-dimensional (e.g., just 3 tokens, each with 3 dimensions), the authors replace the traditional "generator" with a greedy best-first search. At test time, they pick tokens one by one to minimize a user-defined cost function (like "turn left" or "minimize variance").

Datasets

The model is trained and evaluated on the Waymo Open Motion Dataset (WOMD), a large-scale benchmark for autonomous driving. For the semantic understanding experiments, they utilize WOMD-Reasoning, which contains natural language question-and-answer pairs related to driving scenarios.

Key Insights and Ideas

  • Compression as a Planning Enabler: The authors lean into the idea that if you compress a representation enough, the "responsibility" for realism shifts to the decoder. This makes the "planning" task (finding the right tokens) simple enough to solve with basic search algorithms.
  • Learned Guard Rails: The decoder acts as a safety filter. If a user provides a "dumb" objective (e.g., "turn left" where no road exists), the decoder’s learned priors will still attempt to produce the most "realistic" version of that command, often resulting in the agent staying on the road even if it can't fully satisfy the objective.
  • Semantic Latents: The discrete tokens aren't just arbitrary numbers; they capture high-level semantic meaning. The authors show that you can "swap" tokens between different scenarios to transfer behaviors (e.g., taking the "fast left turn" tokens from one intersection and applying them to another).
  • LLM Compatibility: Because the trajectories are reduced to a small string of discrete tokens, they can be easily "plugged in" to Large Language Models (LLMs) via a simple adapter, allowing the LLM to "reason" about motion with performance matching dedicated multimodal models.

Key Results

  • Reconstruction: Surprisingly, performing a greedy search for tokens to match a ground-truth trajectory often outperforms the encoder's own original predictions (ADE of 0.301 vs 0.334).
  • Zero-Shot Planning: The model achieved high success rates on specific maneuvers without being trained for them. For example, it achieved a 75.5% success rate on a "Left Turn" objective in scenarios where the original agent went straight, all while maintaining 0% road edge contact.
  • Efficiency: The search is incredibly fast. On an NVIDIA RTX 6000, the system can generate 115 trajectories per second, making it viable for real-time robotics applications.
  • Multi-Agent Coordination: The framework extends to joint tokenization, where a single set of tokens describes the interaction between multiple agents (e.g., a car yielding to a pedestrian).

Limitations and Future Work

  • Greedy Search Suboptimality: While efficient, greedy search can get stuck in local minima. More complex search strategies (like MCTS or Beam Search) might be needed for highly intricate tasks.
  • Objective Design: The user still needs to define the cost functions mathematically. While the paper shows simple costs work well, designing complex multi-objective costs remains a challenge.
  • Domain Expansion: The current work is focused on autonomous driving. The authors suggest that applying this to robotic manipulation (where constraints like joint limits and collisions are paramount) is a promising next step.

Summary updated

Abstract

Deep learning methods have vastly expanded the capabilities of motion planning in robotics applications, as learning priors from large-scale data has shown to be essential in capturing the highly complex behavior required for solving tasks such as manipulation or navigation for autonomous vehicles. At the same time, model-based planning algorithms based on search or optimization remain an essential tool due to their flexibility, efficiency and the ability to incorporate domain knowledge via expert designed algorithms and objective functions. We propose a simple framework to unify these two paradigms. First, we learn an autoencoder with a high compression ratio and a latent space of causally ordered, discrete-valued tokens. Leveraging both the dimensionality reduction and the causal structure learned by this autoencoder, we then perform motion planning by directly searching in the latent space of tokens. Notably, this search can optimize arbitrary user-specified objective functions without requiring the training of any additional neural networks, providing a large degree of flexibility at test time while maintaining efficiency and producing feasible and realistic solutions by relying on the generative capabilities of the highly compressed autoencoder. We evaluate our method on the Waymo Open Motion Dataset, showing how a simple latent space search can be used for motion prediction. Beyond prediction, we demonstrate the inclusion of simple objectives for guided behavior generation. Finally, we investigate the application of our method for multi-agent interaction modeling, enabling flexible scenario design and understanding.
BibTeX
@misc{beyer2026robotics,
  author = {Lukas Lao Beyer and Sertac Karaman},
  title = {{Robotics in Representation Space: Learned Latents Meet Composable Costs}},
  year = {2026},
  url = {https://openreview.net/forum?id=VFaYukYt6K},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure