TOP: Trajectory Optimization via Parallel Optimization towards Constant Time Complexity

Jiajun Yu, Nanhe Chen, Guodong Liu, Chao Xu, Fei Gao, Yanjun Cao · DOI

Introduction

In modern robotics, generating smooth trajectories is a fundamental requirement for efficient and safe navigation. For quadrotors, paths must be mathematically differentiable to accommodate physical constraints like motor jerk and dynamics. However, as mission complexity increases, trajectories require more segments to navigate dense environments. Traditional state-of-the-art (SOTA) solvers, such as GCOPTER, exhibit linear time complexity $O(N)$ relative to the number of segments. This scaling creates a computational bottleneck for ultra-long trajectories or high-speed maneuvers requiring real-time re-planning.

To address this, we present TOP (Trajectory Optimization via Parallelism), a framework that achieves near-constant time complexity per iteration. By shifting from sequential to parallel optimization, TOP enables high-speed drones to optimize complex, kilometer-long paths in milliseconds.

Methodology

The core innovation of TOP lies in its parallelized approach to trajectory optimization, leveraging the Consensus Alternating Direction Method of Multipliers (CADMM).

Parallel Optimization Pipeline

The TOP framework optimizes messy initial trajectories into smooth paths using parallel GPU-based optimization. TOP: Trajectory Optimization via Parallel Optimization towards Constant Time Complexity, page 1

The TOP framework optimizes messy initial trajectories into smooth paths using parallel GPU-based optimization.
  1. CADMM Framework: The algorithm decomposes a single long trajectory into $N$ independent segments. Each segment is optimized in parallel, while "consensus variables" ensure that the endpoints of adjacent segments maintain continuity in position, velocity, and acceleration.
  2. Differential Flatness: The system utilizes the property of differential flatness to map complex 3D drone dynamics onto simple polynomial representations, simplifying the optimization space.
  3. Closed-Form Solutions: To maximize throughput, the authors derived closed-form updates for common constraints, such as flight corridors and dynamic limits. This avoids the overhead of iterative numerical solvers for standard constraints, making the inner optimization loop exceptionally fast.
  4. Hardware Acceleration: The independent nature of the segment optimization makes the algorithm ideally suited for GPUs. This implementation allows thousands of segments to be processed simultaneously, effectively breaking the linear scaling barrier.

Experimental Evaluation and Results

TOP was evaluated against GCOPTER in both simulated benchmarks and real-world scenarios. In simulations with 100 segments, TOP achieved a speedup of over 10x compared to previous SOTA methods. Crucially, when deployed on an NVIDIA RTX 4060, the computation time remained nearly flat even as the number of segments increased from 16 to 4,096, demonstrating $O(1)$ iteration complexity.

Real-World Performance

Real-world 'sky-painting' experiment: TOP optimizes a 1,000-segment, 538-meter trajectory in just 36.7 ms. TOP: Trajectory Optimization via Parallel Optimization towards Constant Time Complexity, page 1

Real-world 'sky-painting' experiment: TOP optimizes a 1,000-segment, 538-meter trajectory in just 36.7 ms.

In a "sky-painting" task, a quadrotor followed a complex 538-meter trajectory consisting of 1,000 segments. TOP optimized this entire path in just 36.7 milliseconds. In contrast, traditional sequential methods would typically require several seconds to solve a problem of this magnitude, precluding real-time application.

Discussion and Future Work

Beyond speed, TOP often achieves lower objective costs (smoother paths) than sequential solvers. Its parallel structure allows for a more efficient exploration of the solution space without the rigid coupling constraints that can trap sequential solvers in local minima.

While the current framework excels with closed-form constraints, general non-convex constraints currently rely on L-BFGS, which is slower. Future research will focus on "adaptive re-splitting" to dynamically adjust segment density based on environmental complexity, further optimizing the computational load for diverse flight conditions.

Conclusion

TOP represents a significant shift in trajectory optimization, moving from $O(N)$ to near $O(1)$ complexity per iteration. By leveraging GPU parallelism and CADMM, it provides a scalable solution for the next generation of high-speed, long-range autonomous robots.

Summary updated

BibTeX
@article{yu2025top,
  author = {Jiajun Yu and Nanhe Chen and Guodong Liu and Chao Xu and Fei Gao and Yanjun Cao},
  title = {{TOP: Trajectory Optimization via Parallel Optimization towards Constant Time Complexity}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2025},
  url = {https://openreview.net/forum?id=3kUPJsfUYo},
}
Figure