Recent advances in generative modeling have led to promising results in robot motion planning, particularly through diffusion and flow matching (FM)-based models that capture complex, multimodal trajectory distributions. However, these methods are typically trained offline and remain limited when faced with new environments with constraints, often lacking explicit mechanisms to ensure safety during deployment. In this work, safe flow matching (SafeFlow), a motion planning framework, is proposed for trajectory generation that integrates flow matching with safety guarantees. SafeFlow leverages our proposed flow matching barrier functions (FMBF) to ensure the planned trajectories remain within safe regions across the entire planning horizon. Crucially, our approach enables training-free, real-time safety enforcement at test time, eliminating the need for retraining. We evaluate SafeFlow on a diverse set of tasks, including planar robot navigation and 7-DoF manipulation, demonstrating superior safety and planning performance compared to state-of-the-art generative planners. Comprehensive resources are available on the project website: https://safeflowmatching.github.io.
翻译:生成建模的最新进展在机器人运动规划领域取得了有前景的成果,特别是通过扩散模型和基于流匹配的模型,这些模型能够捕捉复杂、多模态的轨迹分布。然而,这些方法通常在离线状态下训练,在面对具有约束的新环境时仍存在局限,往往缺乏在部署期间确保安全性的显式机制。本研究提出了一种安全流匹配运动规划框架,用于轨迹生成,该框架将流匹配与安全保证相结合。SafeFlow利用我们提出的流匹配屏障函数,确保规划的轨迹在整个规划时域内保持在安全区域内。关键的是,我们的方法能够在测试阶段实现无需重新训练、实时执行的安全保障。我们在多种任务上评估了SafeFlow,包括平面机器人导航和7自由度机械臂操作,结果表明相较于最先进的生成式规划器,SafeFlow在安全性和规划性能方面均表现出优越性。完整资源可在项目网站获取:https://safeflowmatching.github.io。