Generative Control as Optimization: Time Unconditional Flow Matching for Adaptive and Robust Robotic Control

Zunzhe Zhang, Runhan Huang, Yicheng Liu, Shaoting Zhu, Linzhan Mou, Hang Zhao

TL;DR

This paper introduces GeCO, a novel framework for robotic control that reframes action generation from a fixed-time integration process to an iterative optimization problem. By learning a stationary velocity field, GeCO enables adaptive computation that allocates more resources to complex tasks and less to simple ones, leading to improved efficiency and safety through intrinsic out-of-distribution detection.

What Problem Does This Paper Address?

Current state-of-the-art generative models for robotic imitation learning, such as diffusion models and flow matching, rely on time-conditioned dynamics. This means they use a fixed integration schedule to generate actions, regardless of the complexity of the current robot state. This leads to an inefficiency where simple motions consume the same computational budget as complex ones. Furthermore, this rigid structure lacks an intrinsic mechanism for detecting out-of-distribution (OOD) scenarios, which is crucial for safe robotic deployment. The authors aim to address this "blind integration" problem by developing a more adaptive and inherently safe generative control framework.

Methods

The core innovation of GeCO is its shift from time-conditioned integration to time-unconditional iterative optimization. Instead of learning a velocity field that evolves over time, GeCO learns a stationary velocity field in the action-sequence space. Expert behaviors are encoded as stable "attractors" within this field.

Key components of the method include:

  • Stationary Velocity Field: The model learns a single, time-invariant velocity field $f_\theta(\mathbf{a}, \mathbf{s})$ that guides actions $\mathbf{a}$ based on the current state $\mathbf{s}$.
  • Adaptive Inference: At test time, instead of following a fixed integration schedule, GeCO uses an optimization loop. This loop adaptively allocates computational resources: it exits early for simple states where convergence is rapid, and spends more time refining actions for complex states. This is achieved by monitoring the norm of the velocity field, stopping when it falls below a threshold.
  • Intrinsic OOD Detection: The stationary geometry of the velocity field provides a built-in safety mechanism. In-distribution states lead to low field norms at the optimized action, indicating convergence to a stable attractor. Out-of-distribution states, however, result in persistently high field norms, serving as a robust anomaly score without requiring auxiliary networks.
  • Truncation Schedule: A velocity rescaling mechanism, controlled by a parameter $\alpha$, is introduced to ensure stable convergence and prevent the field from decaying too quickly. This mechanism helps create a geometric "sink" around target modes.

Datasets

The authors evaluate GeCO on several standard benchmarks:

  • LIBERO: A suite of benchmarks designed to isolate different distribution shifts in language-conditioned manipulation (Goal, Spatial, Object, Long).
  • RoboTwin 2.0: A benchmark for evaluating bimanual manipulation robustness under domain randomization (clutter, texture, lighting, tabletop-height shifts).
  • VLABench: A large-scale benchmark for language-conditioned manipulation emphasizing long-horizon reasoning and semantic grounding.
  • Galaxea R1 Lite: A real-world robotic manipulation platform used for evaluating performance in unstructured physical environments.

Key Insights and Ideas

  • Optimization as a Generative Primitive: Reframing action generation as an optimization problem, rather than a fixed-time integration, unlocks adaptive computation and intrinsic safety.
  • Stationary Fields for Stability: A stationary velocity field provides a consistent geometric structure that is more amenable to optimization and anomaly detection compared to time-varying fields.
  • Adaptive Computation is Task-Dependent: The inference process naturally allocates more computation to challenging states (e.g., contact-rich insertions) and less to simpler ones (e.g., free-space transit), leading to significant efficiency gains.
  • Geometry as Safety: The norm of the learned velocity field at the optimized action acts as a zero-shot OOD detector, providing a critical safety signal without additional training.
  • Plug-and-Play Integration: GeCO can be seamlessly integrated as a replacement for standard flow-matching heads in existing Vision-Language-Action (VLA) models with minimal modifications.

Key Results

  • Efficiency-Performance Trade-off: GeCO achieves a superior trade-off between inference speed and task success. For example, it outperforms Rectified Flow (20 steps) with only 5 steps, achieving a higher success rate while requiring 75% less compute.
  • Adaptive Computation: Visualizations show that GeCO dynamically increases computation (NFE) during challenging phases of execution (e.g., alignment, insertion) and exits early during simpler phases.
  • Scalability with VLA Models: When integrated into $\pi_0$-series VLA models, GeCO improves success rates and robustness on benchmarks like VLABench and RoboTwin 2.0. For instance, on VLABench, $\pi_0$ with GeCO achieved an average success rate of 0.36, compared to 0.294 for the baseline.
  • Robust OOD Detection: GeCO demonstrates strong performance in distinguishing in-distribution from out-of-distribution scenarios on LIBERO, achieving high AUROC scores and enabling early reporting to save interaction time.
  • Real-World Performance: In real-world experiments on the Galaxea R1 Lite, GeCO significantly improved success rates (e.g., from 30% to 70% for Nut Assembly) and reduced average inference time (e.g., by 31.7% for Nut Assembly) compared to a standard flow-matching baseline.

Limitations and Future Work

  • Theoretical Foundation: The authors acknowledge that the theoretical foundation for GeCO could be further strengthened, particularly regarding convergence speed and OOD detection mechanisms.
  • Future Work: Future research will focus on deriving more rigorous theoretical bounds, analyzing the optimization process's convergence, and further exploring the OOD detection capabilities within the context of control and VLA systems.

Summary updated

BibTeX
@inproceedings{zhang2026generative,
  author = {Zunzhe Zhang and Runhan Huang and Yicheng Liu and Shaoting Zhu and Linzhan Mou and Hang Zhao},
  title = {{Generative Control as Optimization: Time Unconditional Flow Matching for Adaptive and Robust Robotic Control}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tIN1NuFf6l},
}
Figure