We present DFLAT, a training-free, model-based diffusion planner for generating long-horizon, dynamically feasible trajectories. Instead of diffusing over time-discretized controls, DFLAT denoises the waypoints and tangents of Hermite curves in flat-output space. Because every trajectory produced during denoising is dynamically consistent, feasibility holds by construction, avoiding the common pitfalls of post-hoc corrections, such as added computation and loss of feasibility. On challenging tractor–trailer benchmarks, DFLAT can solve complex planning tasks in sub-second time.
Motivation
We target parking and maneuvering tasks for nonholonomic articulated vehicles, such as tractor–trailers, in cluttered environments. The free space is non-convex, and reaching the goal may require the vehicle to change driving direction several times, which makes these problems both long-horizon and tightly constrained. Diffusion models have emerged as a powerful tool for motion planning, but in this setting they must deliver both scalability and feasibility, and existing diffusion planners typically sacrifice one for the other:
- Scalability: diffusion planners can denoise time-discretized control sequences, but they struggle to scale: the problem dimension grows with the horizon, so long maneuvers become slow to plan.
- Feasibility: diffusion planners can denoise the full trajectory at once, but this does not guarantee a dynamically consistent result, and violations must be corrected afterward through projection, which adds more computation.
Method
DFLAT exploits differential flatness. It represents a trajectory in the flat-output space as a chain of Hermite curve segments, described by only a few intermediate waypoints and the tangents at the ends of each segment. From these parameters, the inverse flatness maps recover the full state and inputs.
-
1
Coarse initialization
A cheap search-based prior provides a sparse set of coarse waypoints in flat-output space, without optimizing for trajectory quality.
-
2
Diffusion in flat space
Waypoints and local segment parameters are iteratively denoised; each candidate maps to a dynamically feasible trajectory and is weighted by its cost.
-
3
Closed-loop execution
The refined trajectory is passed to a downstream tracking controller to execute.
DFLAT starts from a coarse initialization. A lightweight search-based planner connects the start and goal through a few sparse waypoints; it runs quickly, but makes no attempt to optimize the trajectory itself. The subsequent denoising process is responsible for refining trajectory quality.
Fig. 3 shows such an initialization on the T-map. The initial trajectory connects the waypoints, but only through sharp turns that push the steering and hitch angles to extreme values, so the maneuver starts out in a failure state.
DFLAT resolves this by denoising the waypoints and the Hermite parameters jointly, refining both where the trajectory passes and how it passes through each waypoint. The refined trajectory follows a smoother path into the slot with much smaller steering and hitch angles, and remains dynamically consistent.
Preview Results
Here we show how DFLAT compares with two of the baselines from our evaluation, Model Predictive Path Integral (MPPI) control and Safe Model Predictive Diffusion (Safe MPD), on two representative tasks from our benchmark: the T-map for short-horizon planning, where the tractor–trailer parks inside a narrow slot, and the Parking Lot for long-horizon planning, where it reaches a goal slot on a different row by following a long route through the aisles between parked vehicles. In each video, the orange hatched slot marks the goal and the blue curve traces the executed trajectory; the left video shows the T-map and the right video the Parking Lot.
Model Predictive Path Integral (MPPI)
MPPI optimizes a time-discretized control sequence by sampling many perturbed control sequences, rolling them out through the dynamics, and averaging them with weights based on their costs. Although it produces accurate plans in some cases, its failures typically end in collision: in both tasks shown here it collides, and in the Parking Lot the trailer also jackknifes close to the goal.
Safe Model Predictive Diffusion (Safe MPD)
Safe MPD performs model-based diffusion with shielded rollouts that prevent constraint violations, but it diffuses over time-discretized controls. It can solve short-horizon tasks, yet on the long Parking Lot route it does not reach the goal, reflecting the scalability limit discussed above.
DFLAT (ours)
DFLAT plans the entire maneuver at once over a small set of Hermite segments in flat-output space. It reaches the goal in both tasks, including the long Parking Lot route, without collision or jackknifing.
Benchmark Results
We evaluate DFLAT on nine tractor–trailer environments, grouped into three tiers of increasing planning horizon: short, moderate, and long. Short tasks are compact parking maneuvers, moderate tasks require a reversal or a tight passage, and long tasks are extended routes through cluttered lots.
DFLAT Playground
We provide the DFLAT Playground, an interactive demo that runs DFLAT entirely in the web browser, with nothing to install. Load any environment from our benchmark, or set your own start and goal poses and obstacles, and watch DFLAT plan the maneuver. The playground is available here.