TL;DR
Hybrid reinforcement learning agents combine a smart, deliberative "planner" to explore the world with a fast, instinctive "actor" network to evaluate long-term strategies. Unfortunately, these two components often drift out of sync, sabotaging each other's learning. GEAR fixes this mismatch by using the local slope of the value landscape to selectively teach the actor only the planner’s best moves, unlocking massive performance gains in complex humanoid robotics.
What Problem Does This Paper Address?
Imagine learning to rock climb with a world-class coach. The coach maps out your next five moves (online planning), and from that point on, has to guess how well you will climb the rest of the wall on your own (value bootstrapping). Hybrid Model-Based Reinforcement Learning (MBRL)—exemplified by frameworks like TD-MPC2—works just like this. It blends short-term lookahead search (the planner) with long-term value estimation from a neural network policy (the actor-critic).
The catch? Planner-actor mismatch. In tough environments, the actor is usually much weaker than the planner. This creates a two-fold problem: the planner makes suboptimal plans because it relies on the weak actor's pessimistic estimates of the future, and the critic gets confused because its replay buffer is filled with expert planner actions while its learning targets are built by a novice actor.
Recent attempts to align the actor with the planner using Kullback-Leibler (KL) divergence face a structural catch-22:
- Forward KL (imitating buffer data weighted by value) is simple and safe, but "mode-covering"—it tries to average over all good actions, clashing with standard RL's goal of finding the single best peak, and can accidentally imitate bad actions if an entire batch is poor.
- Reverse KL is "mode-seeking" (it locks onto peaks), which aligns well with RL. However, because sample-based planners don't output neat mathematical probability densities, Reverse KL forces you to fit a crude Gaussian proxy to the planner's samples, leading to collapsed variance and unstable gradients.
Methods
To get the stability of Forward KL with the laser-focus of Reverse KL, the authors introduce GEAR (Gradient-Embedded Alignment Regularization), built atop the TD-MPC2 architecture.
Instead of bolting an imitation penalty onto a standard RL objective—creating a tug-of-war between competing losses—GEAR fuses everything into a single, unified weighted-likelihood objective trained strictly on replay buffer data ("in-sample" learning, which prevents wild out-of-distribution hallucinations).
How does it weight the planner's actions? Inspired by continuous-time optimal control (specifically, the Hamilton-Jacobi-Bellman equation), GEAR evaluates actions using two distinct signals:
- Zeroth-Order Global Advantage ($A^{(0)}$): A standard check asking, Is the planner's action better than what the actor would currently do?
- First-Order Gradient Alignment ($A^{(1)}$): The novel secret sauce. It takes the dot product between the action shift (moving from the actor's current mean toward the planner's action) and the critic's local gradient ($\nabla_a Q$). It asks: Does moving toward this action actually point uphill on the value landscape?
GEAR combines these two terms—using an indicator gate so the gradient boost only applies to actions that already pass the zeroth-order check—and passes the result through a clipped polynomial function. Bad or conflicting actions get multiplied by an exact zero, completely pruning them from the training signal.
Datasets
Because this is an online reinforcement learning paper, there are no static datasets. Instead, the authors evaluate GEAR on HumanoidBench—an notoriously difficult suite of 11 continuous control locomotion tasks (including run, crawl, stair, pole, and maze). These environments simulate a Unitree H1hand humanoid robot featuring a massive 61-dimensional continuous action space, where standard RL algorithms routinely fail just trying to maintain whole-body balance. No new benchmarks were introduced.
Key Insights and Ideas
- Value landscapes have direction, not just height: Standard weighted imitation treats Q-values as flat scalars. By looking at the first-order gradient of the critic, GEAR filters out planner actions that might have high values globally, but pull the policy in conflicting local directions.
- True sparsity kills mode-covering: Exponential weights (like $\exp(Q/\tau)$ used in prior work) never actually hit zero. If a batch is full of terrible actions, the "least terrible" one still gets a huge relative weight. GEAR's clipped polynomial weighting assigns strict zeros to bad actions, mathematically shrinking the support of the target distribution so the actor only focuses on genuine modes.
- Zero task-specific tuning: Despite the complexity of 61-DoF humanoid control, GEAR uses a single default hyperparameter configuration ($\lambda_{\text{align}} = 0.1$) across all 11 environments.
Key Results
GEAR substantially outperforms state-of-the-art MBRL and policy extraction baselines (including TD-MPC2, BMPC, BOOM, MRS.Q, and TD-M(PC)$^2$) in both sample efficiency and final performance.
- Dominant returns: GEAR achieves the highest final score on 8 out of 11 HumanoidBench tasks, delivering a +581.3% average improvement over the base TD-MPC2 algorithm (compared to +421.9% for BOOM and +377.7% for TD-M(PC)$^2$).
- Crushing hard bottlenecks: On particularly tricky balance and terrain tasks like
stairandbalance_simple, GEAR scores 593.26 and 824.45 respectively, more than doubling the performance of strong baselines like TD-M(PC)$^2$ (277.22 and 381.65) and leaving base TD-MPC2 in the dust (63.72 and 28.45). - Ablations confirm synergy: Removing the zeroth-order screening causes severe performance drops, proving global value checks are essential. Removing the first-order gradient alignment noticeably slows down learning across tasks, confirming that directional geometry provides a vital speed boost.
Limitations and Future Work
GEAR’s geometric alignment relies on first-order Q-gradients, which implicitly assumes the value landscape is locally linear between the actor's current policy and the planner's target action. In highly non-convex, jagged value landscapes, a simple linear slope might be misleading.
For future work, the authors suggest extending their Hamilton-Jacobi-Bellman derivation to a second-order Taylor expansion. Incorporating the Hessian (curvature) into the weight modulation could help the actor distinguish true local peaks from tricky saddle points in ultra-complex control tasks.
Summary updated