Introduction
Agile robotic systems, such as quadrupeds, must frequently transition between discrete states—like making or breaking contact with the ground—to perform complex maneuvers. Traditional hybrid control manages these transitions by coordinating continuous control inputs with discrete mode changes. However, modern robotics often relies on "black box" controllers, such as deep reinforcement learning (RL) policies or complex Model Predictive Control (MPC) algorithms, which are typically non-differentiable. This non-differentiability, combined with the combinatorial explosion of possible mode sequences over long horizons, makes optimal control planning exceptionally difficult.
The Challenges of Hybrid Control
Two primary hurdles prevent the seamless integration of diverse control strategies in robotics:
- Non-Differentiability: Many high-performance controllers cannot be integrated into standard gradient-based optimization toolkits because their internal logic is not differentiable.
- Combinatorial Explosion: Deciding the optimal control mode for every timestep creates a search space that grows exponentially ($O(M^T)$), rendering long-horizon planning computationally infeasible for complex systems.
Sample-Based Hybrid Mode Control
To address these issues, this research proposes a sample-based framework that shifts optimization from per-timestep control to "mode-level" scheduling.
Integer-Based Formulation
Instead of optimizing high-dimensional continuous control signals, the algorithm optimizes three discrete variables: the choice of mode ($m$), the start time ($\mu$), and the duration ($\nu$). By parameterizing the problem based on mode duration, the search space is effectively compressed, making long-horizon tasks manageable.
Iterative Refinement and Sampling
The method employs an iterative approach. Starting from a default sequence, it repeatedly searches for a single "switch"—a specific mode, start time, and duration—that minimizes the total cost. To ensure efficiency, the framework uses uniform sampling without replacement to explore the space of possible switches. This reduces complexity from exponential to polynomial while maintaining theoretical guarantees of Asymptotic Convergence to the optimal switching sequence.
Key Results
The proposed method was evaluated in both high-fidelity simulations and real-world experiments using a Unitree Go2 quadruped.
Complex Behavior Synthesis
The framework successfully coordinated a highly agile three-phase maneuver: a stabilizing foot stand (Mode 1), a high-speed MPC-based jump flip (Mode 2), and a stabilizing handstand (Mode 3). This demonstrates the ability to treat disparate algorithms—RL policies and MPC—as interchangeable "modes" within a single unified plan.
Quantitative Performance and Optimality
In comparative tests against standard sampling methods like Model Predictive Path Integral (MPPI) and the Cross-Entropy Method (CEM), the proposed approach consistently achieved lower cumulative costs and a smaller optimality gap, particularly as the planning horizon increased.
In quadruped simulations, the proposed method achieved a cumulative cost of 13.519, significantly outperforming single-policy baselines (PPO-only: 34.03). Furthermore, the algorithm demonstrated real-time capability, running at 50 Hz on a standard laptop CPU during physical robot deployments.
Conclusion
Sample-Based Hybrid Mode Control provides a robust and efficient way to sequence non-differentiable control policies for agile robotics. By reformulating the problem as an integer-based optimization and leveraging iterative sampling, the system achieves complex maneuvers with provable optimality. Future work will focus on improving model robustness in unstructured environments and exploring the integration of data-driven dynamics models to reduce reliance on explicit physics engines.
Summary updated