Parallel-in-Time Nonlinear Optimal Control via GPU-native Sequential Convex Programming

This paper presents a fully GPU-native trajectory optimization framework that leverages sequential convex programming and consensus-based ADMM with temporal splitting to achieve real-time, high-throughput nonlinear optimal control for autonomous systems, demonstrating significant speedups and energy efficiency over CPU baselines while enabling scalable multi-trajectory and robust Model Predictive Control.

Yilin Zou, Zhong Zhang, Fanghua Jiang

Published Thu, 12 Ma
📖 4 min read☕ Coffee break read

Imagine you are the pilot of a super-agile drone or a rocket ship trying to land on Mars. Your computer needs to figure out the perfect path to get from Point A to Point B, avoiding obstacles, while obeying strict laws of physics and not running out of fuel. This is called trajectory optimization.

Usually, doing this math is like trying to solve a massive, 1,000-piece jigsaw puzzle where every piece depends on the one before it. You have to place piece #1, then piece #2, then piece #3, all the way to the end. If you do this on a standard computer (a CPU), it's like having one very smart person working on the puzzle. They are fast, but they can only do one thing at a time.

This paper introduces a new way to solve these puzzles using GPUs (the powerful chips usually found in gaming computers) and a clever strategy called "Parallel-in-Time."

Here is the breakdown of how they did it, using some everyday analogies:

1. The Old Problem: The Single-File Line

Traditional methods treat a flight path like a conveyor belt.

  • To know where the drone will be at second 5, you must calculate where it was at second 4.
  • To know second 4, you need second 3.
  • This creates a "bottleneck." Even if you have a super-fast computer with 12 workers (CPU cores), they are stuck waiting in a single-file line. They can't work together because the math forces them to be sequential.

2. The New Solution: The "Team of Independent Contractors"

The authors, Yilin Zou and his team, realized that instead of a conveyor belt, they could treat every single moment in time as an independent contractor.

Imagine you are building a 100-story skyscraper.

  • Old Way: You build the ground floor, wait for it to dry, then build the second floor, wait, then the third.
  • New Way (This Paper): You hire 100 different construction crews. Crew #1 builds the ground floor, Crew #2 builds the 10th floor, Crew #3 builds the 50th floor. They all work at the exact same time.

But wait, how do they make sure the building doesn't collapse if everyone is working independently?

3. The Secret Sauce: The "Consensus Meeting"

This is where the magic happens. The paper uses a method called ADMM (Alternating Direction Method of Multipliers). Think of this as a daily stand-up meeting for the construction crews.

  1. Independent Work: Each "time-step" crew works on their own floor, ignoring the others for a moment. They solve their own small math problem very quickly.
  2. The Check-in: At the end of the day, they all gather (in the computer's memory) and say, "Hey, I built my floor assuming you were here. Did you actually build your floor?"
  3. The Adjustment: If Crew #10 says, "I'm too far to the left," Crew #9 and Crew #11 gently nudge their plans to match.
  4. Repeat: They go back to work, check in again, and nudge again. Within a few rounds, everyone agrees on a perfect, continuous building.

Because the "checking in" part is simple math, the computer can do it for thousands of time steps simultaneously on the GPU.

4. Why This Matters: Speed and Efficiency

The authors tested this on two crazy-hard scenarios:

  • A Quadrotor (Drone): Flying through a forest of obstacles, dodging them at high speed.
  • Mars Landing: A rocket trying to land on Mars with uncertain wind and gravity, needing to be perfect every time.

The Results:

  • Speed: Their new system was 4 times faster than the best 12-core computer they could find. It could plan new paths over 100 times per second (100 Hz). That's like making a decision faster than a human eye can blink.
  • Energy: It used 51% less electricity. This is huge for robots on batteries or spacecraft where every watt counts.
  • Safety: They showed it could plan for 1,000 different "what-if" scenarios at once. Imagine a self-driving car asking, "What if it rains? What if a kid runs out? What if the tire blows?" It can answer all those questions instantly to pick the safest route.

The Big Picture

Think of this paper as the invention of the assembly line for the future.
Before, we calculated the future one second at a time. Now, we can calculate the whole future, second by second, all at once, by breaking the problem into tiny, independent pieces that talk to each other briefly to stay in sync.

This means robots can finally be agile, safe, and smart enough to handle the real world, running on small, battery-powered computers right on the robot itself, rather than needing a giant server farm to do the thinking for them.