# Playing Soccer Like Humans Do: Learning Versatile and Agile Humanoid Soccer via Latent Motion Priors

Robotics.world

> Humanoid soccer is hard because it requires agile locomotion, ball control with the feet, and hard impacts all within one continuous stream of behavior — and humans do it with fluid, natural-looking…

**arXiv**: 2611.06564 · Preprint · not peer-reviewed

**Published**: 2026-11-04

**Authors**: Haoyu Shao, Yunshen Wang, Jingze Zhang, Shaohang Zhu, Yong-Lu Li, Tianzhu Zhang, Baoxiong Jia, Siyuan Huang

## In plain words

Humanoid soccer is hard because it requires agile locomotion, ball control with the feet, and hard impacts all within one continuous stream of behavior — and humans do it with fluid, natural-looking motion.

## AI summary

## Overview

**Research area:** Legged robotics / reinforcement learning for humanoid whole-body control, specifically humanoid soccer (agile locomotion combined with non-prehensile ball manipulation).

**Technical level:** Advanced. The paper assumes familiarity with hierarchical reinforcement learning, motion-imitation priors, VAEs, and sim-to-real transfer, though the core ideas are explained with enough structure to be followed by a motivated non-specialist.

**Scope:** The paper presents SoccerBot, a three-stage hierarchical RL framework that distills human soccer motion capture into a latent motion prior and trains a single skill-conditioned policy to move, dribble, trap, and kick on a real Unitree G1 humanoid.

## What This Paper Is About

Humanoid soccer is hard because it requires agile locomotion, ball control with the feet, and hard impacts all within one continuous stream of behavior — and humans do it with fluid, natural-looking motion. Existing robot soccer systems either cover only a narrow slice of skills, or train separate controllers per skill that switch abruptly, or skip motion priors entirely and produce jerky, unnatural, brittle behavior. The authors' goal is a single policy that covers the full soccer repertoire (moving, dribbling, trapping, kicking) while looking and moving like a human, and that transfers zero-shot to real hardware.

## Key Contributions

1. **A unified real-world humanoid soccer system.** The authors claim SoccerBot is, to their knowledge, the first real-world humanoid soccer system that jointly achieves a complete skill repertoire (moving, dribbling, trapping, kicking) and human-like motion quality within a single policy, rather than a set of decoupled controllers.
2. **A hierarchical latent motion prior framework with transition state initialization (TSI).** Motion tracking is distilled into a compact, dynamically plausible latent action space; the soccer policy then learns only a residual inside that frozen space. TSI seeds episodes from the terminal states of preceding skills, enabling fluid cross-skill transitions and composition without explicit state machines or separate controllers.
3. **Extensive simulation benchmarking plus real-robot validation.** Four skills are evaluated over 2,500 episodes each in simulation against PPO, AMP, ASE, and LATENT baselines, plus ablations, transition tests, kicking-robustness tests, and latent-space analysis — followed by zero-shot deployment on the Unitree G1.
4. **Robustness-oriented simulation design for sim-to-real transfer.** Ball dynamics modeling, friction/restitution/mass randomization, randomized torso center of mass, default joint positions, actuator latency, external pushes, and bounded observation noise collectively yield reliable zero-shot transfer with modest degradation.

## Main Findings

- **Strong task performance across all four skills.** SoccerBot reaches 97.04% success on kicking, 89.88% on dribbling, 83.08% on trapping, and 100.00% on moving in simulation (2,500 episodes per skill). It has the highest kicking and dribbling success rates of all compared methods.
- **Baselines fail on parts of the repertoire.** PPO kicks reliably (93.96%) and traps reliably (94.64%) but never dribbles successfully (0.00%). AMP traps only 23.08% of passes and dribbles in 46.36% of episodes. ASE learns neither kicking nor dribbling (0.00% on both). LATENT reaches 91.00% kicking, 85.24% dribbling, 85.92% trapping, and 100.00% moving.
- **Human-likeness trades off against coverage.** AMP is closest to both motion reference sets (0.170 train ref., 0.308 post-train ref. MMD², where lower is better) but cannot complete the full skill set. Among methods that complete all four skills, SoccerBot is closest to both reference sets (0.226 train ref., 0.554 post-train ref.).
- **The state-conditioned prior mainly shapes motion quality, not raw success.** Removing the prior barely changes kicking (94.40%) and dribbling (89.48%) success but raises MMD² to 0.234 and 0.582, moving the policy further from human references. Both ablations actually trap more reliably than the full model (94.00% w/o prior, 98.12% w/o TSI, versus 83.08%) — the authors attribute this to the full policy blocking fast passes with an extended leg, after which the ball rebounds beyond the displacement gate.
- **TSI pays off most for non-canonical start states.** Across skill transitions, the full model beats the no-TSI variant in 8 of 9 non-trapping cells, with the largest margins on Dribble→Kick (87.5% vs 78.0%), Move→Dribble (78.5% vs 71.5%), and Trap→Kick (96.5% vs 92.0%). From canonical starts the two differ by only 1–2 points on kicking and dribbling.
- **Kicking generalizes across ball and command conditions.** At a fixed command speed of 8.0 m/s over 1,000 deterministic simulation episodes per setting, success is 98.6% (Near), 87.0% (Mid), 72.9% (Incoming), and 83.9% (WideYaw); the no-TSI variant is 3.3 to 52.7 points lower across all four. On hardware, evaluated on directional accuracy only, success is 95.0%, 85.0%, 70.0%, and 80.0% — an average drop of about 3.1 percentage points.
- **The latent space is structured, not four isolated controllers.** In a joint t-SNE projection, the prior latent overlaps across all four skills (capturing state-conditioned motor modes), the residual latent separates by skill, and the final latent keeps the shared support while forming skill-specific regions. Moving and dribbling stay close; kicking and trapping occupy more specialized regions.
- **Sim-to-real gaps are skill-dependent.** Over 20 real-world trials per skill, moving transfers best (velocity error 19.14% → 21.53%). Dribbling degrades more (velocity error 8.55% → 30.17%, response time 1.21 s → 2.37 s). Trapping stopping time grows from 0.78 s to 1.84 s and post-contact ball displacement from 0.31 m to 1.07 m. Kicking keeps direction far better than speed: direction error 4.09° → 10.41°, velocity error 8.12% → 47.38%.
- **Measured real ball dynamics fall inside the randomized ranges.** Twenty passive drop trials give restitution e = 0.654 (randomization range [0.45, 0.85]). Free rolling measures 0.100 m/s² deceleration; simulating the randomized angular damping range yields 0.097 to 0.167 m/s². The authors attribute the higher real outgoing ball speed to the real inflated ball deforming on impact, unlike the rigid simulated ball.

## Methodology in Plain English

The framework splits the problem into three stages, deliberately separating low-level motor skill from high-level soccer tactics.

**Stage 1 — Learn to imitate human soccer motion.** The team takes human soccer motion capture from Soccer-X, retargets it to the humanoid with GMR, then filters out sequences the robot physically cannot track (foot skating, discontinuous contacts, torque-infeasible poses) by rolling each one out in simulation. Roughly 2.5 hours of clean reference motion survive. A tracking policy is trained with RL to imitate these trajectories, using proprioception plus privileged simulation-only signals like base linear velocity.

**Stage 2 — Compress the tracker into a latent "motion prior."** The tracker is distilled into an encoder–prior–decoder trio. The encoder sees both proprioception and the reference motion; the prior sees only proprioception. That asymmetry forces the prior to model what is achievable from the body state alone — exactly what the downstream soccer policy will have access to. The loss combines action reconstruction, a KL term pulling the encoder toward the prior, and a smoothness term on the latent mean so decoded joint targets stay continuous. After distillation, the encoder is thrown away and the prior and decoder are frozen.

**Stage 3 — Train one soccer policy inside the frozen latent space.** A single policy receives a skill command (one-hot), the velocity or ball-motion command, ball position and velocity in the robot frame, and proprioception. For "moving," ball observations are masked out, so one interface serves both ball-centric and robot-centric behaviors. Instead of outputting 29 joint targets directly, the policy outputs a residual added to the prior's latent, which the frozen decoder turns into joint targets. PPO operates entirely in this latent space, so exploration stays near human-like motion, and a bound loss keeps residuals small. Rewards are routed by skill so conflicting objectives (accelerating the ball for kicking versus damping it for trapping) never fight each other.

**Making transitions work.** For each skill, terminal robot-and-ball states from successful episodes are stored in a buffer; a new skill's episode can be initialized from a previous skill's terminal state, so the policy practices starting from real postures and momentum rather than only tidy canonical poses.

**Making it survive reality.** The authors randomize robot–ground and ball–ground friction and restitution, ball mass, angular damping (coefficient sampled from [0.3, 0.6]), torso center of mass, default joint positions, and actuator latency, and they push the robot during rollouts. Observations are corrupted with bounded noise on ball position and velocity, base angular velocity, projected gravity, joint positions, and joint velocities. In deployment, an external optical motion capture system provides ball and robot state, transformed into the robot's base frame.

## Why This Matters

**Impact on research.** The paper targets a specific gap: prior work either achieved a broad soccer skill set only in simulation with skill-specific controllers and a finite-state machine, or achieved natural motion without full skill coverage. SoccerBot shows that a single latent-residual policy over a distilled motion prior can do both and still transfer to hardware. It also offers a concrete demonstration that motion priors bought at the cost of task success (as with AMP on trapping and dribbling) can instead be composed with task learning — and that a structured latent space emerges without being explicitly supervised, which is useful evidence for anyone building reusable low-level motor interfaces for humanoids.

**Real-world applications:**

- Humanoid soccer competition, where a single switchable policy replaces hand-built per-skill controllers.
- Legged entertainment and sports robots that need visually natural, human-like motion rather than mechanically correct but jarring movement.
- General whole-body control for humanoids that must handle impact-rich contact with objects — striking, blocking, and damping — beyond gentle pick-and-place.
- A reusable low-level skill interface that a higher-level planner or learned controller can call, which is the stated path toward longer-horizon autonomy.

**Industry relevance.** The work is done on the commercially available Unitree G1 with 29 actuated joints, with a 106-dimensional policy observation and 109-dimensional critic observation, and it reports zero-shot transfer without real-world fine-tuning. That is directly relevant to companies commercializing humanoid platforms, where sim-to-real cost and motion quality are both practical constraints.

## Future Directions

- **Closing the skill-specific sim-to-real gap.** Kicks overshoot commanded speed on hardware, and dribbling and trapping show the largest continuous-error increases. The authors point to compliant contact modeling — the rigid simulated ball does not deform like a real inflated ball — plus real-robot fine-tuning as remedies.
- **Replacing external motion capture with onboard perception.** The current system depends on an external optical mocap system, restricting it to instrumented indoor spaces; onboard sensing would enable unstructured deployment.
- **Broadening the skill repertoire.** Only four primitives are covered. More motion data and richer task curricula could make the policy more expressive — for example additional passing, heading, or defensive behaviors.
- **From single-robot skills to multi-agent play.** All experiments are single-robot; multi-agent coordination and game-level decision making are left open, with the learned skill-conditioned policy proposed as the reusable low-level interface for autonomous planning and multi-robot soccer.

## Target Audience

Robotics researchers working on legged locomotion, whole-body control, and sim-to-real transfer; reinforcement learning researchers interested in motion priors and hierarchical skill composition; humanoid hardware and software teams evaluating whether a single unified policy can replace per-skill controllers; and RoboCup-style competition groups who need a deployable, human-like soccer controller on real hardware. Readers without an RL or robotics background will find the high-level framing accessible, but the method and results sections assume comfort with policy optimization, latent variable models, and benchmark metrics.

## Authors’ abstract

Humanoid soccer requires a robot to seamlessly combine agile locomotion, ball manipulation, and impact-rich contact dynamics across a continuous, dynamic behavioral spectrum. Yet existing approaches either cover only a limited set of skills, or forego motion priors entirely and produce unnatural behaviors, leaving the combination of a unified skill set and human-like motion quality unaddressed. We present soccerbot, a hierarchical reinforcement learning framework that…

[The full abstract on arXiv](https://arxiv.org/abs/2611.06564)

[Read the original paper](https://arxiv.org/abs/2611.06564)

## Related papers

- [ViT-H: Generative Video-To-Humanoid Control with Motion Tracking Feedback](https://robotics.world/paper/vit-h-generative-video-to-humanoid-control-with-motion-tracking-feedback-2610.32966) 2026-10-23 · cs.RO · Also by Baoxiong Jia, Siyuan Huang
- [Zero-HLM: Generalizable Humanoid Loco-Manipulation without Real Robot Data](https://robotics.world/paper/zero-hlm-generalizable-humanoid-loco-manipulation-without-real-robot-2610.35075) 2026-10-26 · cs.RO · Also by Baoxiong Jia, Siyuan Huang
- [PRIMO: Prior-Informed Odometry from Human-Motion Tracking for Humanoid Robots](https://robotics.world/paper/primo-prior-informed-odometry-from-human-motion-tracking-for-humanoid-2609.23610) 2026-09-20 · cs.RO · Key terms of the title in common
- [StableMimic: Smooth Human-Like Recovery for Humanoid Motion Tracking - Learning Beyond the Tracking Distribution for Structured Post-Fall Behavior](https://robotics.world/paper/stablemimic-smooth-human-like-recovery-for-humanoid-motion-tracking-2608.02385) 2026-08-03 · cs.RO · Key terms of the title in common
- [RAIPAL: A Powerful and Agile Humanoid Arm for Human Tasks](https://robotics.world/paper/raipal-a-powerful-and-agile-humanoid-arm-for-human-tasks-2611.04334) 2026-11-03 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/playing-soccer-like-humans-do-learning-versatile-and-agile-humanoid-2611.06564
