cs.ROJun 3, 2025

UniConFlow: A Unified Constrained Flow-Matching Framework for Certified Motion Planning

Authors: Zewen Yang, Xiaobing Dai, Dian Yu, Zhijun Li, Majid Khadiv, Sandra Hirche, Sami Haddadin

Organizations: Chair of Robotics and Systems Intelligence (RSI), Munich Institute of Robotics and Machine Intelligence (MIRMI), Technical University of Munich (TUM), 80992 Munich, Germany · Chair of Information-oriented Control (ITR), School of Computation, Information and Technology (CIT), Technical University of Munich (TUM), 80333 Munich, Germany · Chair of AI Planning in Dynamic Environments, Munich Institute of Robotics and Machine Intelligence (MIRMI), Technical University of Munich (TUM), 80992 Munich, Germany · School of Mechanical Engineering, Translational Research Center, Tongji University, Shanghai 201804, China, affiliated with Shanghai Yangzhi Rehabilitation Hospital and also with Shanghai Key Laboratory of Wearable Robotics and Human-Machine Interaction · 

Abstract

Generative models have become increasingly powerful tools for robot motion generation, enabling flexible and multimodal trajectory generation across various tasks. Yet, most existing approaches remain limited in handling multiple types of constraints, such as collision avoidance, actuation limits, and dynamic consistency, which are typically addressed individually or heuristically. In this work, we propose UniConFlow, a unified constrained flow matching-based framework for trajectory generation that systematically incorporates both equality and inequality constraints. Moreover, UniConFlow introduces a novel prescribed-time zeroing function that shapes a time-varying guidance field during inference, allowing the generation process to adapt to varying system models and task requirements. Furthermore, to further address the computational challenges of long-horizon and high-dimensional trajectory generation, we propose two practical strategies for the terminal constraint enforcement and inference process: a violation-segment extraction protocol that precisely localizes and refines only the constraint-violating portions of trajectories, and a trajectory compression method that accelerates optimization in a reduced-dimensional space while preserving high-fidelity reconstruction after decoding. Empirical validation across three experiments, including a double inverted pendulum, a real-to-sim car racing task, and a sim-to-real manipulation task, demonstrates that UniConFlow outperforms state-of-the-art generative planners and conventional optimization baselines, achieving superior performance on certified motion planning metrics such as safety, kinodynamic consistency, and action feasibility. Project page is available at: https://uniconflow.github.io.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. ConFlow: Constraints-Guided Learning with Flow Matching for Motion Generation

    Jul 15, 2026Nutan Chen, Jianxiang Feng, Marvin Alles +1Constrained Generative ModelingFlow Matching

  2. PolyFlow: Safe and Efficient Polytope-Constrained Flow Matching with Constraint Embedding and Projection-free Update

    Jun 11, 2026Jianming Ma, Qiyue Yang, Yang Zhang +4Constrained Generative ModelingFlow Matching

  3. HDFlow: Hierarchical Diffusion-Flow Planning for Long-horizon Tasks

    May 6, 2026Nandiraju Gireesh, Yuanliang Ju, Chaoyi Xu +3Hierarchical PlanningLong-Horizon Robotic Manipulation