robotics

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

arXiv:2607.14424

summary

ConFlow incorporates task constraints directly into the training of flow-matching models for robot motion generation, using differentiable barrier functions, a conditional Gaussian process source, and negative supervision to reduce collisions and improve trajectory quality.

Abstract

In recent years Flow Matching has become a prominent method for generative modeling robot motion generation. In its generic form Flow Matching is an ODE-based neural sampler that is trained by regressing empirical flow fields associated with motion samples as data. However, in robot motion generation we often have additional constraints that might not be present in the collected data. The majority of current approaches train the flow on the available data and use inference-time guidance to enforce task-specific constraints. To address this mismatch, we propose \textbf{ConFlow}, a constraint-guided flow matching framework that incorporates constraint information directly into the training objective via differentiable barrier or cost functions. To address design specifications such as smoothness and boundary conditions, we propose replacing the standard Gaussian source distribution used in flow matching training with a conditional Gaussian Process. Our approach also uses infeasible demonstrations as negative supervision, improving constraint satisfaction without requiring additional expert data. Experiments on a two-robot navigation task demonstrate that ConFlow achieves lower collision rates and higher trajectory quality than standard flow matching baselines, with or without inference-time guidance. These results validate training-time constraint integration as an effective approach to closing the training--inference gap in generative motion models.

RSS 2026 Workshop on Diffusion for Robot Learning

Topics & keywords

#motion generation#flow matching#constraint integration#robot navigation#generative modelingflow matchingdifferentiable barrier functionsconditional Gaussian processnegative supervisioncollision avoidance
ConFlow: Constraints-Guided Learning with Flow Matching for Motion Generation · wovepaper