TL;DR
The Trajectory Bundle Method (TBM) bridges the gap between derivative-based sequential convex programming and derivative-free sampling-based trajectory optimization. By replacing traditional Taylor series expansions with linear interpolation over local trajectory samples, TBM enables multiple-shooting optimization with general constraints for non-smooth, black-box, or learned dynamics models.
What Problem Does This Paper Address?
Trajectory optimization in robotics generally falls into two camps: derivative-based methods (like Sequential Convex Programming, or SCP) and sampling-based methods (like Model Predictive Path Integral control, or MPPI).
SCP is highly efficient and handles complex state and control constraints well. By using a "multiple-shooting" formulation—where the optimization reasons about states and controls at every time step simultaneously—it can easily handle open-loop unstable systems. However, SCP requires smooth, differentiable dynamics because it relies on Taylor series expansions. This makes it fail when dealing with rigid-body contact, black-box simulators, or neural network dynamics models where derivatives are noisy, expensive, or non-existent.
Conversely, sampling-based methods like MPPI are derivative-free and easily parallelized on modern GPUs, making them great for black-box or learned models. But because they rely on "single-shooting" (rolling out a full trajectory from a single control sequence), they struggle with open-loop unstable systems and cannot directly enforce hard state constraints.
TBM unifies these two approaches into a single framework that enjoys the benefits of both: it is derivative-free, handles multiple shooting, and accommodates general equality and inequality constraints.
Methods
Instead of using derivatives to form a local linear approximation of the cost, dynamics, and constraints, TBM uses linear interpolation over sampled bundles.
At each knot point along a trajectory, TBM generates a "bundle" of local samples using a deterministic coordinate-wise perturbation scheme. It evaluates the true nonlinear cost, dynamics, and constraints for all these samples in parallel.
To form a convex sub-problem, TBM constrains the next optimization step to be a linear combination of these samples. The decision variables become the interpolation weights ($\alpha$), which are restricted to a standard simplex (meaning they must be non-negative and sum to one). This simplex constraint implicitly acts as a trust region, ensuring the solver never extrapolates too far from the collected data.
A key theoretical contribution of the paper is proving that MPPI is a special case of TBM. Specifically, if you configure TBM to use single-shooting and add a negative entropy regularization term to the cost function, the closed-form solution to the optimization problem becomes exactly the MPPI softmax update rule.
Datasets
The paper does not use static datasets. Instead, it evaluates TBM on four simulated robotic control benchmarks:
- Double Integrator Collision Avoidance: Navigating around three non-convex obstacles.
- Quadrotor Figure-Eight Tracking: An open-loop unstable system tracking an aggressive 3D trajectory.
- Cartpole Swingup with a Neural Dynamics Model: A classic control problem where the dynamics are represented by a non-smooth, 2-layer multilayer perceptron (MLP) with ReLU activations.
- Autonomous Race Car Min-Time Optimization: A highly constrained, slip-free bicycle model tasked with finding the absolute fastest lap time and performing local obstacle avoidance.
Key Insights and Ideas
- The Optimization View of MPPI: Re-interpreting MPPI as a convex optimization problem over a trajectory bundle provides a rigorous mathematical foundation to a method previously viewed largely through a heuristic or information-theoretic lens.
- Exploiting Parallelism via Multiple Shooting: Multiple-shooting typically requires sequential rollouts or complex derivative chains. TBM breaks the trajectory into independent knot points, allowing thousands of short, parallel simulations to run simultaneously on modern GPU accelerators (like MuJoCo XLA or Isaac Sim).
- Smoothing Non-Smoothness: Gradient-based solvers often get stuck on the discontinuous "cliffs" created by ReLU neural networks or contact dynamics. Linear interpolation naturally smooths over these discontinuities, allowing optimization to succeed where gradient methods fail.
Key Results
- Outperforming Gradient Solvers on Neural Networks: In the cartpole task using a learned ReLU-based dynamics model, TBM successfully converged to a tight constraint satisfaction ($10^{-6}$) in under 100 iterations. The standard gradient-based nonlinear solver, IPOPT, failed to converge even after 10,000 iterations due to the non-smoothness of the ReLU functions.
- Stabilizing Unstable Systems: TBM successfully solved the quadrotor figure-eight tracking task in under 60 iterations. MPPI failed completely on this task, crashing because single-shooting rollouts cannot stabilize the quadrotor's open-loop unstable attitude dynamics over long horizons.
- Matching State-of-the-Art SCP: On the highly non-convex race car minimum-time problem, TBM generated a trajectory virtually identical to SL1QP (a state-of-the-art gradient-based SCP solver), matching its lap time to within 5 milliseconds without ever computing a derivative.
Limitations and Future Work
- Optimality Verification: Because TBM does not compute derivatives, it cannot verify standard first-order optimality (KKT) conditions. Defining a reliable metric for optimality in a derivative-free framework remains an open question.
- Sampling Efficiency: While coordinate-wise perturbation worked well, it scales with the dimension of the state and control space. Exploring more expressive or learned sampling distributions could drastically reduce the number of samples needed.
- Convergence Guarantees: The method currently lacks a formal convergence rate guarantee. The authors note that proving this will likely require developing an adaptive penalty method ($\mu$) and dynamic trust-region scaling.
Summary updated