TL;DR
Researchers at Carnegie Mellon University have developed an Incremental Koopman algorithm that allows high-dimensional legged robots, like humanoids and quadrupeds, to be controlled using simple linear techniques. By iteratively expanding both the training dataset and the dimension of the "lifted" latent space, the system learns to approximate complex nonlinear dynamics with a linear model that actually converges toward the true system behavior.
What Problem Does This Paper Address?
Controlling legged robots is notoriously difficult because their dynamics are both high-dimensional and highly nonlinear—think of the sudden impact forces when a foot hits the ground or the complex balancing act of a humanoid.
Engineers usually choose between two paths:
- Model-Free (e.g., Reinforcement Learning): Great performance but often "black-box" and hard to adapt to new tasks without extensive retraining.
- Model-Based (e.g., Nonlinear MPC): Highly adaptable but computationally expensive and requires deep expert knowledge to model the physics accurately.
Koopman Operator Theory offers a "third way": it maps nonlinear dynamics into a higher-dimensional latent space where the system behaves linearly. However, traditional Koopman methods struggle with the "curse of dimensionality" and "domain shifts" (where the robot encounters a state it hasn't seen before, like a slip or a trip). This paper solves these scalability and accuracy issues.
Methods
The authors propose the Incremental Koopman Algorithm, which alternates between two main phases to "lift" the robot's dynamics into a manageable linear form:
- The Lifting Phase: The algorithm expands the dataset by using the current controller to track noisy or even "infeasible" references. This forces the robot into near-failure scenarios, collecting data on how to recover. Simultaneously, it increases the latent space dimension ($n$)—essentially giving the model more "room" to represent complex motions.
- The Learning Phase: The system retrains the Koopman operators ($A$ and $B$ matrices) and the neural network embedding function using a discounted $k$-step prediction loss. This ensures the model is accurate over long horizons, which is critical for Model Predictive Control (MPC).
The beauty of this approach is that once the dynamics are linearized, the researchers can use a standard Linear MPC solver, which is extremely fast and well-understood, to achieve stable locomotion.
Datasets
The study utilized the IsaacLab simulation platform to test five different robots:
- Quadrupeds: ANYmal-D, Unitree-A1, and Unitree-Go2.
- Humanoids: Unitree-H1 and Unitree-G1.
The robots were tested on both Flat and Rough terrains. The initial training data ($D^{(0)}$) was collected using a basic RL policy, while the incremental data was generated by the system itself as it attempted to track challenging reference trajectories.
Key Insights and Ideas
- Convergence is Key: The authors provide a theoretical guarantee (Theorem 1) showing that as you incrementally increase the latent dimension and the sample size, the linear approximation error converges monotonically. This moves Koopman methods from "black magic" to a mathematically grounded engineering tool.
- Learning from Failure: By specifically collecting data from "failed" tracking attempts during the lifting phase, the model becomes robust to perturbations and "corner cases" that usually crash standard data-driven models.
- Semantics Matter: To prevent the model from "forgetting" the physical meaning of the robot's state, they concatenate the original state (positions, velocities) with the neural network's learned features. This ensures the MPC always has a clear physical reference to work with.
Key Results
The Incremental Koopman approach outperformed state-of-the-art baselines (like DKUC, DKAC, and NNDM) across several metrics:
- Prediction Accuracy: As shown in Figure 2, the proposed method maintains low prediction errors even over 15-step horizons, whereas other methods often see "explosive" error growth.
- Survival Time: In tracking tasks, the robots using this method achieved an average survival time ($T_{Sur}$) of 188.45 steps (out of a 200-step limit), significantly higher than baselines like NNDM (35.47 steps) or DKAC (25.02 steps).
- Efficiency: Despite the high-dimensional latent space, the wall-clock time for inference remains low enough for real-time control on physical hardware.
Limitations and Future Work
While this is a major step forward, the authors note a few areas for improvement:
- Dimensionality Explosion: If the latent space expands too rapidly, the computational cost could eventually become a bottleneck.
- Reference Trajectories: Currently, the Linear MPC requires a full-body reference trajectory. Future work will focus on tracking lower-dimensional commands (like just a target velocity) while letting the Koopman model handle the whole-body coordination.
- Real-World Deployment: The current results are in simulation. The next milestone is testing the algorithm on physical robots in real-world environments using tele-operation or human motion data.
Summary updated