[Paper Review] Real-World Humanoid Locomotion with Reinforcement Learning
This paper presents a causal transformer-based reinforcement learning controller for real-world humanoid locomotion, trained on diverse simulated environments with domain randomization and deployed zero-shot to a real robot. The model leverages observation-action history for in-context adaptation, enabling robust, adaptive walking across outdoor terrains, disturbances, and payloads—outperforming state-of-the-art model-based controllers in simulation and demonstrating natural, emergent behaviors like arm swing.
Humanoid robots that can autonomously operate in diverse environments have the potential to help address labour shortages in factories, assist elderly at homes, and colonize new planets. While classical controllers for humanoid robots have shown impressive results in a number of settings, they are challenging to generalize and adapt to new environments. Here, we present a fully learning-based approach for real-world humanoid locomotion. Our controller is a causal transformer that takes the history of proprioceptive observations and actions as input and predicts the next action. We hypothesize that the observation-action history contains useful information about the world that a powerful transformer model can use to adapt its behavior in-context, without updating its weights. We train our model with large-scale model-free reinforcement learning on an ensemble of randomized environments in simulation and deploy it to the real world zero-shot. Our controller can walk over various outdoor terrains, is robust to external disturbances, and can adapt in context.
Motivation & Objective
- To develop a general-purpose, learning-based controller for full-sized humanoid robots capable of robust real-world locomotion.
- To enable zero-shot sim-to-real transfer for humanoid walking in diverse, unstructured outdoor environments.
- To explore whether transformer-based models can implicitly learn world dynamics from observation-action history for in-context adaptation.
- To compare the performance of transformer architectures against LSTMs, TCNs, and MLPs in high-dimensional, real-world control.
- To evaluate the benefits of joint imitation and reinforcement learning training for improving policy generalization and robustness.
Proposed method
- A causal transformer architecture processes a sequence of proprioceptive observations and actions to predict the next action, enabling context-aware decision-making.
- The policy is trained via large-scale, model-free reinforcement learning across thousands of randomized simulation environments with domain randomization.
- The training objective combines imitation learning (using a teacher policy) and reinforcement learning (with shaped rewards) to improve sample efficiency and generalization.
- The model uses a context window of past observations and actions to implicitly encode environmental dynamics and adapt behavior without weight updates.
- The simulation environment employs dynamics, terrain, and delay randomization to enhance sim-to-real transfer, with approximations for under-actuated kinematic chains.
- The final policy is deployed directly to a real Digit robot without fine-tuning, relying solely on zero-shot generalization from simulation.

Experimental results
Research questions
- RQ1Can a transformer-based policy trained in simulation achieve robust, zero-shot deployment to real-world outdoor humanoid locomotion?
- RQ2Does modeling observation-action history as context enable effective in-context adaptation without model fine-tuning?
- RQ3How does the transformer-based approach compare to LSTMs, TCNs, and MLPs in terms of locomotion performance and adaptability?
- RQ4What is the impact of context length on policy robustness and performance in varying terrain conditions?
- RQ5Does joint training with imitation and reinforcement learning improve policy generalization and success rates compared to using either signal alone?
Key findings
- The transformer-based policy outperformed MLP, LSTM, and TCN baselines in locomotion success rate, with a statistically significant margin in all evaluated scenarios.
- Larger context lengths improved performance on sloped terrains, with higher mean linear velocity and reduced variance across trials.
- Joint training with both imitation and reinforcement learning terms yielded superior results compared to using either signal alone.
- The policy successfully traversed diverse outdoor environments—including sidewalks, grass fields, and uneven terrain—without falls in real-world deployment.
- The controller demonstrated emergent natural behaviors such as arm swing and adaptive gait changes in response to terrain changes and external disturbances.
- In simulation, the policy outperformed the state-of-the-art company controller, especially on challenging terrains like steps and uneven surfaces.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.