Skip to content
AI.info

Research

ECO: Energy-Constrained Optimization with Reinforcement Learning for Humanoid Walking

Overview Research area: Robotics — legged/humanoid locomotion control and constrained reinforcement learning. Technical level: Advanced (assumes familiarity with MDPs, CMDPs, PPO, Lagrangian methods,

arXiv
2602.06445
Published
2026-02-06
Authors
Weidong Huang, Jingwen Zhang, Jiongye Li, Shibowen Zhang, Jiayang Wu, Jiayi Wang, Hangxin Liu, Yaodong Yang, Yao Su

AI summary

Overview

Research area: Robotics — legged/humanoid locomotion control and constrained reinforcement learning.

Technical level: Advanced (assumes familiarity with MDPs, CMDPs, PPO, Lagrangian methods, and sim-to-real robot training).

Scope: The paper proposes ECO, a constrained reinforcement learning framework that treats motor energy consumption as an explicit inequality constraint for humanoid walking, and validates it on a physical humanoid robot against MPC and PPO baselines.

What This Paper Is About

Humanoid robots consume far more energy than biological counterparts for similar tasks, which limits their operational range, endurance, and payload. The standard fix — adding energy penalty terms to a PPO reward function — requires time-consuming, non-intuitive tuning of reward weights, and conflicting reward terms often produce suboptimal or unstable results (either unstable walking or excessive energy use). ECO reframes energy minimization as a hard inequality constraint inside a constrained RL formulation, so energy limits are enforced separately from task rewards like velocity tracking and stability, and the only quantity that needs tuning is a physically interpretable energy budget.

Key Contributions

  1. ECO (Energy-Constrained Optimization): Rather than balancing energy minimization against velocity tracking, motion tracking, and stability inside a single reward, the authors set energy cost as an explicit constraint with a physically interpretable meaning, enabling straightforward tuning focused on energy efficiency.

  2. Systematic study of constrained RL algorithms and constraint settings: Four constrained RL methods are investigated under different constraint configurations. The authors report that PPO-Lagrangian with their constraint setup achieves the lowest energy cost with fast and stable convergence, and that the resulting policy exhibits emergent behaviors — extended knee movements, lighter steps, and reduced body shaking.

  3. First real-robot validation of energy-efficient humanoid walking via constrained RL: Real-world tests on the BRUCE robot report approximately 6 times lower energy consumption than MPC and 2.3 times lower than PPO. The authors state this is the first work to achieve energy-efficient humanoid walking using constrained RL on a physical humanoid robot.

  4. A two-constraint design principle for humanoids: The paper argues that because humanoids have a much smaller constrained feasible domain than quadrupeds, adding constraints (such as those used in prior quadruped work) degrades stable convergence, so only energy minimization and reference motion tracking are used.

Main Findings

  • PPO-Lagrangian is selected for ECO: Among the four compared methods (PPO-Lag, CRPO, IPO, P3O), P3O (with fixed κ = 1.0) and PPO-Lag (initial λ = 0, β = 1e-3) required minimal parameter tuning and achieved low constraint violations. P3O showed comparable energy performance, but PPO-Lag exhibited better convergence speed and stability, so it was chosen.

  • Energy alone as a reward is insufficient: The authors observed that adjusting reward weights alone for PPO does not lead to convergence within the feasible domain (reported in Sec. V-D1 of the paper).

  • Two constraints are better than many: The authors investigated various constraint settings including those used in prior quadruped work and found that the approach struggles with stable convergence as the number of constraints increases, which they attribute to humanoid robots having a much smaller constrained feasible domain than quadrupeds.

  • Threshold selection is physically intuitive: The mirror-symmetry constraint threshold b₂ is set to 0.05 across all experiments based on the value obtained from the PPO baseline. The energy threshold b₁ is selected by a linear search strategy: 60 J at 0.1 m/s, 70 J at 0.15 m/s, and 80 J at 0.2 m/s, all over a 24 s episode. Each threshold search takes around 4 hours of wall-clock time depending on step size.

  • Real-robot energy reduction: ECO demonstrates approximately 6 times lower energy consumption than MPC and 2.3 times lower than PPO on the BRUCE robot.

  • Emergent efficient gait behaviors: The learned policy produces extended knee movements, lighter steps, and reduced body shaking without these behaviors being manually designed.

  • A cost critic is not required: Unlike prior work that uses a separate cost critic, ECO estimates the energy cost return using a Monte Carlo approach, which the authors report achieves comparable performance with fewer network parameters and minimal design choices.

  • Training specifics: Training uses IsaacGym with 8192 parallel environments and 2000 policy iterations; convergence is typically reached in approximately 4 hours of wall-clock time, and the policy trained after 10 hours is used for sim-to-real experiments.

  • Simulation results beyond these figures are not fully available in the provided text, which is truncated at the constraint threshold search section.

Methodology in Plain English

The researchers model walking as a constrained Markov Decision Process. A neural network policy takes in 15 frames of the robot's proprioceptive state (joint positions and velocities, body angular velocity and tilt, the last action, velocity commands, and clock inputs) plus a history of 3 frames of privileged information, and outputs desired joint positions at 100 Hz. Those positions go to a PD controller running at 1 kHz, which converts them into torque commands.

Instead of paying for energy through a reward penalty, they define the energy cost as the sum over all motors of the absolute value of torque times joint velocity, and constrain its discounted cumulative sum to stay under a threshold. A second constraint on mirror symmetry of the policy's actions (a "mirror loss") encourages natural, balanced gaits without hand-specifying trajectories. A Lagrangian formulation turns both constraints into adjustable penalty terms whose multipliers are updated automatically during training — the multiplier rises when a constraint is violated beyond its threshold, and is projected to stay non-negative.

They compared this against four constrained RL algorithms (PPO-Lagrangian, CRPO, IPO, and P3O), each of which handles constraints differently: Lagrangian dual updates, alternating reward/cost optimization with random constraint selection, log-barrier penalties, and clamping penalty functions respectively. They also varied how many constraints were active. Training happens entirely in IsaacGym with domain randomization over payload, friction, motor strength, joint friction, delays, and sensor noise, plus external force pushes every 2 s and velocity impulses every 4 s. The trained policy is deployed directly to the real robot with no additional real-world training.

Why This Matters

This work reframes a long-standing practical annoyance — reward shaping for energy efficiency in RL locomotion — into a constrained optimization problem with a physically meaningful knob. That reframing matters for research because it separates "how fast and stable must the robot be" from "how much energy is it allowed to use," which removes the failure mode where one objective silently sacrifices the other. It also provides a rare real-hardware data point on constrained RL for a floating-base biped, a domain where prior constrained RL work was validated mainly on quadrupeds.

Real-world applications:

  • Surveillance and long-duration autonomous patrol, where runtime between charges is the binding constraint
  • Disaster response, where robots may operate for extended periods without access to power infrastructure
  • Loco-manipulation tasks, where the reduced body shaking and lighter steps of an energy-efficient gait minimize disturbance to upper-body manipulation
  • General endurance- and payload-limited deployment, since lower energy draw leaves more margin for battery weight and payload

Industry relevance: Energy efficiency directly affects battery sizing, actuator heating, runtime, and maintenance intervals — all cost drivers for any company commercializing humanoid or legged platforms. The paper's claim that the method avoids an extensive parameter-tuning process is also relevant to engineering cost, since policy training is reported to converge in roughly 4 hours of wall-clock time on a desktop-class GPU setup.

Future Directions

  • Relaxing the two-constraint ceiling: The authors show convergence degrades as constraints are added, so a method that scales to more simultaneous constraints (self-collision, joint limits, symmetry, energy) without shrinking the feasible region too far remains open.
  • Automating the threshold search: Energy thresholds are currently found by a linear search requiring roughly 4 hours per search; learning or adapting thresholds online could remove this cost.
  • Broadening beyond one platform: Validation is on a single kid-sized humanoid (BRUCE); whether the results transfer to larger, higher-torque humanoids or to quadrupeds with different feasible-domain geometry is untested here.
  • Combining with constraint-manifold or teacher-student approaches: The paper notes that efficient constraint manifold computation for legged robots with a floating base remains challenging, and that prior teacher-student constrained RL transferred most rewards into constraints — combining such ideas with ECO is a natural extension.

Target Audience

Robotics researchers working on legged locomotion, sim-to-real transfer, and safe/constrained reinforcement learning; engineers deploying humanoid or bipedal platforms who care about runtime and energy budgets; and students or practitioners with a background in RL and optimal control who want a concrete case study in replacing reward shaping with explicit constraints.

Authors’ abstract

Achieving stable and energy-efficient locomotion is essential for humanoid robots to operate continuously in real-world applications. Existing MPC and RL approaches often rely on energy-related metrics embedded within a multi-objective optimization framework, which require extensive hyperparameter tuning and often result in suboptimal policies. To address these challenges, we propose ECO (Energy-Constrained Optimization), a constrained RL framework that separates energy-related metrics from rewards, reformulating them as explicit inequality constraints. This method provides a clear and interpretable physical representation of energy costs, enabling more efficient and intuitive hyperparameter tuning for improved energy efficiency. ECO introduces dedicated constraints for energy consumption and reference motion, enforced by the Lagrangian method, to achieve stable, symmetric, and energy-efficient walking for humanoid robots. We evaluated ECO against MPC, standard RL with reward shaping, and four state-of-the-art constrained RL methods. Experiments, including sim-to-sim and sim-to-real transfers on the kid-sized humanoid robot BRUCE, demonstrate that ECO significantly reduces energy consumption compared to baselines while maintaining robust walking performance. These results highlight a substantial advancement in energy-efficient humanoid locomotion. All experimental demonstrations can be found on the project website: https://sites.google.com/view/eco-humanoid.

Read the original paper