DFLAT: Model-based Diffusion on Differentially Flat Spaces for Long-Horizon Trajectory Optimization
Authors: Ege Yuceel, Taekyung Kim, Keyvan Majd, Hideki Okamoto, Bardh Hoxha, Sayan Mitra, Georgios Fainekos
Organizations: Department of Electrical and Computer Engineering, University of Illinois Urbana-Champaign, Urbana, IL, 61801, USA · Department of Robotics, University of Michigan, Ann Arbor, MI, 48109, USA · Toyota Motor North America, Research & Development, Ann Arbor, MI, 48105, USA
Long-horizon diffusion-based planning for kinodynamically constrained systems requires both scalability and feasibility, yet existing diffusion planners typically sacrifice one for the other. We present DFLAT, a diffusion-based planning algorithm that operates directly on a differentially flat trajectory representation. Instead of diffusing over time-discretized controls, DFLAT denoises a compact set of Hermite curve parameters in the flat-output space, consisting of intermediate waypoints together with the endpoint tangents of each segment. Every denoised sample maps to a dynamically consistent trajectory, so feasibility holds by construction rather than being restored afterward. Experiments on challenging tractor-trailer planning benchmarks show that DFLAT matches or exceeds the success rates of existing baselines at consistently lower planning times, particularly on long-horizon problems requiring multiple forward-reverse maneuvers. In cases where kinodynamic RRT requires over 100 seconds, DFLAT plans in subsecond time, enabling practical deployment.
Figures & tables
Fig. 1: Overview of DFLAT. Given a long-horizon planning task requiring multiple forward and reverse motions (bottom), Coarse Waypoint Planning (CWP) produces a coarse waypoint prior in flat-output space. At each reverse diffusion step i=N,…,1 , candidates are drawn by perturbing the waypoint poses and the segment-local Hermite parameters, lifted through the inverse flatness map into dynamically consistent trajectories, and scored under the planning cost. The score-weighted mean seeds the next step, refining the coarse prior into a low-cost trajectory for the downstream tracking controller.
Fig. 2: Trajectory refinement during DFLAT denoising on a parking-lot scenario from the Long benchmark, shown at three stages from the coarse initialization ( i=N ) to the final solution ( i=1 ). Red segments are forward maneuvers, blue reverse, and purple markers the waypoints. Refining the waypoints and Hermite parameters yields a smoother, lower-cost maneuver while remaining dynamically consistent.
Fig. 3: Acceleration-controlled tractor–trailer model (Accel-TT) used in the experiments, with acceleration a and steering rate ω as control inputs.
Level
Model
Metric
Kinodynamic RRT [ 1 ]
Safe MPD [ 14 ]
MPPI [ 6 ]
DFLAT (Ours)
Short
TT
(A) Success (%)
100.0%
98.3%
86.7%
100.0%
(B) Time [s] ± std
135.8 ± 134.0
4.7 ± 2.0
26.0 ± 0.2
1.1 ± 0.6
Accel-TT
(A) Success (%)
100.0%
68.3%
83.3%
100.0%
(B) Time [s] ± std
119.3 ± 204.7
7.6 ± 3.1
26.2 ± 0.2
1.2 ± 0.7
Moderate
TT
(A) Success (%)
100.0%
33.3%
66.7%
100.0%
(B) Time [s] ± std
210.5 ± 394.0
6.2 ± 0.4
25.9 ± 0.1
1.5 ± 0.7
TABLE I: Performance comparison across difficulty levels and dynamics models. For each level, cases were aggregated across the constituent maps. Time is computed over solved runs only.
Fig. 4: Sample trajectories from DFLAT. Green slots mark the start pose, orange slots mark the goal. Red segments are forward maneuvers, blue segments are reverse maneuvers, and purple markers are the waypoints. Left: nine benchmark environments of increasing planning horizon. Top: short ( T , Court , Island ). Middle: medium, requiring a reversal or a tight passage ( U-Turn , Compound Gate , Pinch Point ). Bottom: long ( Shopping Mall , Parking Lot , Zig-Zag ). DFLAT produces a collision-free trajectory respecting the dynamic limits in every case, at low latency. Right: DFLAT Playground , an interactive web-based demo in which all maps can be tried with different start and goal poses and custom obstacle placement, with DFLAT replanning in the browser. 3 3 3 https://dflat.taekyung.me/
Fig. 5: CWP-only trajectory (red) and full DFLAT trajectory (blue). CWP cheaply recovers a collision-free but dynamically infeasible reference. DFLAT jointly optimizes waypoints and segment derivatives, yielding a smooth, feasible trajectory.
Metric
CWP+GS
CWP+L-BFGS
Flat-RRT*
DFLAT
Success (%)
85.0
96.7
100.0
100.0
Time (s)
3.5 ± 2.3
4.8 ± 2.3
26.5 ± 33.1
3.3 ± 2.1
Steer (deg)
40.3
44.4
45.4
35.9
Hitch (deg)
30.7
33.4
31.5
28.6
Rate (rad/s)
0.440
0.453
0.481
0.456
TABLE II: Comparison on long-horizon scenarios under a common flat-output representation.
Diffusion-based planning generates diverse action sequences or trajectories by progressively denoising candidates conditioned on goals, scenes, and constraints.
Motion planning under dynamics constraints, i.e, kinodynamic planning, enables safe robot operation by generating dynamically feasible trajectories that the robot can accurately track. For high-DOF robots such as manipulators, sampling-based motion planners are commonly used, especially for complex tasks in cluttered environments. However, enforcing constraints on robot dynamics in such planners requires solving either challenging two-point boundary value problems (BVPs) or propagating robot dynamics, both of which cause computational bottlenecks that drastically increase planning times. Meanwhile, recent efforts have shown that sampling-based motion planners can generate plans in microseconds using parallelization, but are limited to geometric paths. This paper develops FLASK, a fast parallelized sampling-based kinodynamic motion planning framework for a broad class of differentially flat robot systems, including manipulators, ground and aerial vehicles, and more. Differential flatness allows us to transform the motion planning problem from the original state space to a flat output space, where an analytical time-parameterized solution of the BVP problem can be obtained. A trajectory in the flat output space is then converted back to a closed-form dynamically feasible trajectory in the original state space, enabling fast validation via ``single instruction, multiple data" parallelism. Our framework is fast, exact, and compatible with any sampling-based motion planner, while offering theoretical guarantees on probabilistic exhaustivity and asymptotic optimality based on the closed-form BVP solutions. We extensively verify the effectiveness of our approach in both simulated benchmarks and real experiments with cluttered and dynamic environments, requiring mere microseconds to milliseconds of planning time.
Thai Duong, Clayton W. Ramsey, Zachary Kingston +2
Department of Computer Science, Rice University, Houston, TX, 77005, USA
Steering-based planners require solutions to state-to-state boundary value problems, which can be inaccessible for nonlinear platforms. Forward propagation evades the steering requirement, but the finite-sample behavior of the associated planners remains uncharacterized and their implementations underperform in practice. This paper develops a propagation-based kinodynamic planner with deterministic finite-sample near-optimality guarantees. We work within the large class of differentially flat nonlinear systems and show that a forward tree of locally dispersive control commands contains a near-optimal trajectory at a certified tree size. We provide a general mechanism to construct dispersive command sets for control-affine systems, which are necessary to implement the search algorithm prescribed by the theory. We show that covering the certified trajectory class irrespective of cost provably demands a tree exponentially sized in the problem horizon, and present a cost-conditioned dominance pruning procedure that retains near-optimality at a tree size polynomial in the horizon. We implement the resulting search algorithm, Dispersive Forward Tree search (DFT*), as breadth-first expansion of the forward tree, which maps naturally onto parallel hardware. We design efficient dispersive samplers for the unicycle, the trailer car, and the quadrotor and evaluate challenging planning tasks for these platforms. DFT* delivers consistently competitive and often substantially better solution quality than state-of-the-art kinodynamic planners at comparable solution times on embedded-tier processors, accelerating further as parallel compute is scaled. We also implement DFT* in a receding-horizon loop to demonstrate real-time planning in dynamic environments at embedded-tier compute budgets.
Shashank A. Deshpande, Jonathan P. How
Department of Aeronautics and Astronautics, Massachusetts Institute of Technology, Cambridge, MA, USA
Path finding and multi-robot motion planning require trajectories that are smooth, goal-directed, and collision-free in environments with complex geometric constraints. Recent diffusion-based planners have shown that trajectory generation can be cast as iterative denoising which has opened the doors to learning-based approaches that can handle multi-modal trajectory distributions and refine entire trajectories. However, a key limitation is that diffusion planners require training on large collections of feasible trajectories, rendering them map-specific, and difficult to deploy when high-quality demonstrations are unavailable. This paper introduces a training-free diffusion-based motion planner that replaces learned global trajectory scores with analytical local scores derived from obstacle, smoothness, velocity, and inter-agent feasibility terms. The proposed idea relies on a key observation: the score of a trajectory can be reconstructed by considering only local interactions between neighboring waypoints and nearby constraints. This structure exploitation yields a decomposed denoising procedure that retains the optimization structure of classical trajectory methods while inheriting the iterative refinement behavior of diffusion models. Experiments on a large collection of complex environments and large multi-agent planning tasks show that the proposed analytical score produces smooth and feasible trajectories within limited computational costs, for example in generating feasible paths for 300+ agents in environments containing 100+ obstacles in under 6 seconds on a GPU, outperforming strong learning-based and optimization baselines, while avoiding the data requirements of learned diffusion planners.
Michael Y. Fatemi, Jinhao Liang, Ferdinando Fioretto