Dynamics-aware Diffusion Models for Planning and Control
Darshan Gadginmath, Fabio Pasqualetti
TL;DR
The paper tackles the challenge of generating dynamically admissible trajectories with diffusion models when system dynamics are crucial. It introduces a sequential prediction and projection mechanism that enforces system dynamics during the diffusion denoising process, aligning with the noising schedule to produce physically plausible trajectories. The framework handles both known and unknown dynamics: (a) a dynamics projection using a forward map $\mathcal{F}$ and its pseudoinverse, and (b) a data-driven Hankel-projection based on Willems' Fundamental Lemma, enabling trajectory generation from limited or no explicit dynamic knowledge. Empirical results on an LQR task and a non-convex waypoint tracking problem show substantial improvements over vanilla diffusion methods, including accurate recovery of linear-feedback trajectories and reduced trajectory and control errors, signaling practical impact for planning and control in robotics.
Abstract
This paper addresses the problem of generating dynamically admissible trajectories for control tasks using diffusion models, particularly in scenarios where the environment is complex and system dynamics are crucial for practical application. We propose a novel framework that integrates system dynamics directly into the diffusion model's denoising process through a sequential prediction and projection mechanism. This mechanism, aligned with the diffusion model's noising schedule, ensures generated trajectories are both consistent with expert demonstrations and adhere to underlying physical constraints. Notably, our approach can generate maximum likelihood trajectories and accurately recover trajectories generated by linear feedback controllers, even when explicit dynamics knowledge is unavailable. We validate the effectiveness of our method through experiments on standard control tasks and a complex non-convex optimal control problem involving waypoint tracking and collision avoidance, demonstrating its potential for efficient trajectory generation in practical applications. Our code repository is available at www.github.com/darshangm/dynamics-aware-diffusion.
