# Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning

深層強化学習による二足歩行ロボットの俊敏なサッカースキルの学習

Tuomas Haarnoja, Ben Moran, Guy Lever, Sandy H. Huang, Dhruva Tirumala, Jan Humplik ほか22名 · arXiv · 2023年4月26日

- **課題** 低コストな小型ヒューマノイドが、動きの激しい1v1サッカーで、俊敏な全身のスキルを学習によって身につけられるかを検証しています。
- **手法** ゴールを決めるスキルと起き上がるスキルを別々に学習し、方策蒸留と自己対戦で1つのエージェントにまとめます。シミュレーションでのランダム化を経て、実機のOP3に配備します。
- **結果** 実機のセットプレーでの得点成功率は58%で、シミュレーションでは70%でした。学習した方策は、スクリプトのベースラインより歩行と旋回が速く、起き上がりの時間が短くなりました。

## 低コストなヒューマノイドの俊敏な協調の課題

この論文は、低コストな小型ヒューマノイドロボットが、動きの激しい1対1のサッカーで、転倒からの復帰、歩行、旋回、キックといったスキルを自力で身につけられるかを扱っています。学習ベースの既存研究は四足歩行ロボットで多く行われ、ヒューマノイドでは歩行や階段の昇りのように切り離されたスキルが中心でした。著者らは、これを長期的なタスクを含む全身制御へ広げようとしています。特に、ロボットが壊れやすいことと、シミュレーションと実環境の差が、あわせて問題になります。この研究の範囲は、OP3ロボットでの簡略化した1v1のサッカータスクです。

![Figure 1: \| The robot soccer environment.We created matching simulated (left) and real (right) soccer environments. The pitch is 5m long by 4m wide. The real e…](https://refivu.com/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d/figures/figure-9dbec22c1e0be0f953b22186514aa42b.png?thumb=512)

**Figure 1** \| The robot soccer environment.We created matching simulated (left) and real (right) soccer environments. The pitch is 5m long by 4m wide. The real environment was also equipped with a motion capture (mocap) system for tracking the two robots and the ball.

[出典](https://arxiv.org/abs/2304.13653v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 元のPDFの2ページ目から図の部分を抽出しています。

## 2段階の学習パイプライン

学習は2段階で進みます。1段階目では、ゴールを決めるサッカーのスキルと、床から起き上がるスキルを、それぞれ別々に学習します。2段階目では、方策蒸留で2つのスキルを1つの1v1エージェントにまとめ、過去の方策のスナップショットを相手に自己対戦を行います。蒸留は、スキルの方策とのKL正則化項で実現されます。起き上がりの状態とそれ以外の状態とで別のスキルに従うように、λの重みを調整します。著者らは、最初からタスク全体を学習すると悪い局所最適解に陥ると報告しています。アルゴリズムは、分布型クリティックを使うMPO系のDMPOです。

![Figure 2: \| Agent training setup.We trained agents in two stages. In the first stage (left), we train a separate soccer skill and get-up skill (Stage 1: Skill…](https://refivu.com/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d/figures/figure-42ba6542771b198b904c5a808693efcd.png?thumb=512)

**Figure 2** \| Agent training setup.We trained agents in two stages. In the first stage (left), we train a separate soccer skill and get-up skill (Stage 1: Skill Training). In the second stage (right), we distill these two skills into a single agent that can both get up from the ground and play soccer (Stage 2: Distillation and Self-Play). The second stage also incorporates self-play: the opponent is uniformly randomly sampled from saved policy snapshots from earlier in training. We found that this two-stage approach leads to qualitatively better behavior and improved sim-to-real transfer, compared to training an agent from scratch for the full 1v1 soccer task.

[出典](https://arxiv.org/abs/2304.13653v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 元のPDFの3ページ目から図の部分を抽出しています。

## シミュレーションから実機への転移と頑健化

方策はシミュレーションで学習したあと、実機のロボットにゼロショットで配備されます。ドメインランダム化では、床の摩擦、関節角のオフセット、IMUの姿勢、外部の質量、観測の遅延をエピソードごとに変え、胴体にインパルス状の外乱を加えます。行動は40Hzで出力され、指数的な行動フィルタを通したあと、PID制御器で関節を駆動します。著者らは、ランダム化と外乱を入れなかったエージェントは、実機ではほとんど転倒して得点できなかったと報告しています。

## セットプレーとベースラインの比較

得点のセットプレーでは、シミュレーションが50回中35回の得点（70%）、実機が50回中29回の得点（58%）と報告されています。実環境でも毎回起き上がってボールを蹴り、転移による性能低下はあったものの、大半で得点しました。スクリプトのベースラインと比べると、学習した方策は歩行速度が速く、旋回速度が高く、起き上がりの時間が短くなりました。キック速度は、助走を付けた場合に高くなったと報告されています。この結果は、OP3の特定の実験設定で得られたものです。

![Table 1: \| Performance in the get-up-and-shoot set piece and at specific behaviors. Performance in simulation and on the real robot are compared, and the learn…](https://refivu.com/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d/figures/figure-a9296d2ec1cdd25b36ea8b1c1191dace.png?thumb=512)

**Table 1** \| Performance in the get-up-and-shoot set piece and at specific behaviors. Performance in simulation and on the real robot are compared, and the learned behavior is compared to the scripted baseline at the four behaviors. Values in braces are standard errors. The learned policy’s mean kicking power was roughly equivalent to the scripted behavior from a standing pose, but with an additional run up approach to the ball the learned policy achieved a more powerful kick.

[出典](https://arxiv.org/abs/2304.13653v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 元のPDFの5ページ目から図の部分を抽出しています。

![Figure 5: \| Behavior analysis. A-C: Set pieces.Top rows: Example initializations for the set piece tasks in sim and on the real robot. Second rows: Overlayed p…](https://refivu.com/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d/figures/figure-39650c00928257c3a9df5da8d51be81a.png?thumb=512)

**Figure 5** \| Behavior analysis. A-C: Set pieces.Top rows: Example initializations for the set piece tasks in sim and on the real robot. Second rows: Overlayed plots of the 10 trajectories collected from the set piece experiments showing the robot trajectory before kicking (solid lines), after kicking (dotted lines), the ball trajectory (dashed lines), final ball position (white circle), final robot position (red-pink circles) and opponent position (blue circle). Each red-pink shade corresponds to one of the 10 trajectories.D: Adaptive footwork set piece.Right foot trajectory (orange), left foot trajectory (red), ball trajectory (white), point of the kick (yellow), and footsteps highlighted with dots.E: Turn-and-kick set piece.Right 3: a sequence of frames from the set piece. Left: a plot of the footsteps from the corresponding trajectory. The agent turned, walked approximately 2m, turned, kicked, and finally balanced using 10 footsteps. Please refer to Behavior Analysis for a discussion of these results.

[出典](https://arxiv.org/abs/2304.13653v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 元のPDFの8ページ目から図の部分を抽出しています。

## アブレーション実験と学習戦略の効果

疎な報酬だけを使った変種は、ボールを転がして蹴る局所最適解にとどまり、起き上がりと歩行を十分に学べませんでした。著者らは、起き上がりのスキルを先に学習してから結合する方法が、この探索の問題を軽くすると解釈しています。自己対戦の代わりに固定した相手だけを使った変種は、自己対戦の方法より評価性能がやや低くなりました。すべてのスナップショットを使った変種は、学習が不安定でした。このアブレーション結果は、各構成要素を残したときの有効性を示すものであり、すべての要素が常に寄与するという結論ではありません。

![Figure 7: \| Comparison against ablations. A:The plot compares our full method (1) against ablations: at regular intervals across training, each policy was eval…](https://refivu.com/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d/figures/figure-6dfa948d90c02833733d5c0ca359fcb5.png?thumb=512)

**Figure 7** \| Comparison against ablations. A:The plot compares our full method (1) against ablations: at regular intervals across training, each policy was evaluated against a fixed set of six opponents, playing 100 matches against each. The first player to score in the episode wins the match; if neither player scores within 50 seconds, then it is a tie. The y-axis corresponds to the fraction of wins (with a draw counting as 1/2 of a win), averaged across the six opponents. We ran five seeds per method, and the error bars show 95% confidence intervals. Our full method (1) includes both self-play and regularization to pre-trained skills. In (2), instead of self-play, agents are trained against the same fixed set of six opponents as in the evaluation. Interestingly, agents trained with self-play in (1) performed better when evaluated against this fixed set of opponents, despite not playing directly against them during training. In (3), self-play consists of training against all saved snapshots, rather than the first quarter. This led to less stable learning and converged to worse performance. In (4), agents are trained without regularization to skills and without reward shaping.B: Two sequences of frames taken from an agent trained with (4). These agents did not learn to get up from the ground; instead, they learned to score by rolling to the ball and knocking it into the goal.

[出典](https://arxiv.org/abs/2304.13653v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · 元のPDFの19ページ目から図の部分を抽出しています。

## 限界と残された課題

著者らは、モーションキャプチャによるボール追跡が、マーカーの検出の問題と壁による遮蔽のために難しいと報告しています。25msの制御周期では、実際には時間内に行動を出せないことが多く、性能に影響したと述べています。シミュレーションではサーボモータを理想的なアクチュエータで近似しており、バッテリーの状態によって行動が敏感に変わるため、1回の充電での運用時間は5~10分程度だったと報告しています。生の視覚入力に基づく研究は、予備的な結果として示されています。

## 論文情報

- **著者**: Tuomas Haarnoja, Ben Moran, Guy Lever, Sandy H. Huang, Dhruva Tirumala, Jan Humplik, Markus Wulfmeier, Saran Tunyasuvunakool, Noah Y. Siegel, Roland Hafner, Michael Bloesch, Kristian Hartikainen, Arunkumar Byravan, Leonard Hasenclever, Yuval Tassa, Fereshteh Sadeghi, Nathan Batchelor, Federico Casarini, Stefano Saliceti, Charles Game, Neil Sreendra, Kushal Patel, Marlon Gwira, Andrea Huber, Nicole Hurley, Francesco Nori, Raia Hadsell, Nicolas Heess
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2023年4月26日
- **登録日**: 2026年11月6日
- **更新日**: 2024年4月11日
- **バージョン**: v2
- **arXiv**: 2304.13653
- **DOI**: 10.1126/scirobotics.adi8022
- **カテゴリ**: cs.RO · cs.AI · cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2304.13653v2) · [PDF ↗](https://arxiv.org/pdf/2304.13653v2)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

We investigate whether Deep Reinforcement Learning (Deep RL) is able to synthesize sophisticated and safe movement skills for a low-cost, miniature humanoid robot that can be composed into complex behavioral strategies in dynamic environments. We used Deep RL to train a humanoid robot with 20 actuated joints to play a simplified one-versus-one (1v1) soccer game. The resulting agent exhibits robust and dynamic movement skills such as rapid fall recovery, walking, turning, kicking and more; and it transitions between them in a smooth, stable, and efficient manner. The agent's locomotion and tactical behavior adapts to specific game contexts in a way that would be impractical to manually design. The agent also developed a basic strategic understanding of the game, and learned, for instance, to anticipate ball movements and to block opponent shots. Our agent was trained in simulation and transferred to real robots zero-shot. We found that a combination of sufficiently high-frequency control, targeted dynamics randomization, and perturbations during training in simulation enabled good-quality transfer. Although the robots are inherently fragile, basic regularization of the behavior during training led the robots to learn safe and effective movements while still performing in a dynamic and agile way -- well beyond what is intuitively expected from the robot. Indeed, in experiments, they walked 181% faster, turned 302% faster, took 63% less time to get up, and kicked a ball 34% faster than a scripted baseline, while efficiently combining the skills to achieve the longer term objectives.

## この論文を引用

Tuomas Haarnoja, Ben Moran, Guy Lever, Sandy H. Huang, Dhruva Tirumala, Jan Humplik, Markus Wulfmeier, Saran Tunyasuvunakool, Noah Y. Siegel, Roland Hafner, Michael Bloesch, Kristian Hartikainen, Arunkumar Byravan, Leonard Hasenclever, Yuval Tassa, Fereshteh Sadeghi, Nathan Batchelor, Federico Casarini, Stefano Saliceti, Charles Game et al. (2023). Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning. arXiv:2304.13653v2. https://doi.org/10.1126/scirobotics.adi8022

**BibTeX**

```
@article{haarnoja2023learning,
  title = {{Learning Agile Soccer Skills for a Bipedal Robot with Deep Reinforcement Learning}},
  author = {Tuomas Haarnoja and Ben Moran and Guy Lever and Sandy H. Huang and Dhruva Tirumala and Jan Humplik and Markus Wulfmeier and Saran Tunyasuvunakool and Noah Y. Siegel and Roland Hafner and Michael Bloesch and Kristian Hartikainen and Arunkumar Byravan and Leonard Hasenclever and Yuval Tassa and Fereshteh Sadeghi and Nathan Batchelor and Federico Casarini and Stefano Saliceti and Charles Game and Neil Sreendra and Kushal Patel and Marlon Gwira and Andrea Huber and Nicole Hurley and Francesco Nori and Raia Hadsell and Nicolas Heess},
  year = {2023},
  eprint = {2304.13653},
  archivePrefix = {arXiv},
  doi = {10.1126/scirobotics.adi8022},
  url = {https://arxiv.org/abs/2304.13653v2}
}
```

## この論文の用語

- [Domain randomization](https://refivu.com/ja/terms/956c98d33c96-domain-randomization)
- [UMAP](https://refivu.com/ja/terms/aeb869edc5de-umap)
- [POMDP](https://refivu.com/ja/terms/1c9c6e27aaa2-pomdp)
- [self-play](https://refivu.com/ja/terms/731527e271bf-self-play)

## ほかの論文解説

- [Real-World Humanoid Locomotion with Reinforcement Learning](https://refivu.com/ja/papers/8e42e14f-83b7-4879-ab8c-1bd8a7bcea8a-real-world-humanoid-locomotion-with-reinforcement-learning.md)
- [Precise and Dexterous Robotic Manipulation via Human-in-the-Loop Reinforcement Learning](https://refivu.com/ja/papers/f8ac2bf8-18ae-41b1-9229-515501c8d0d8-precise-and-dexterous-robotic-manipulation-via-human-in.md)
- [Embodied Intelligence via Learning and Evolution](https://refivu.com/ja/papers/35077a07-2c81-4b05-87d4-0a4c83ef04af-embodied-intelligence-via-learning-and-evolution.md)
- [Soft Robots Modeling: a Structured Overview](https://refivu.com/ja/papers/5681835e-42e8-4e63-bb02-053dc1a0cdc4-soft-robots-modeling-a-structured-overview.md)
- [Robotic Control via Embodied Chain-of-Thought Reasoning](https://refivu.com/ja/papers/e0916502-601d-428e-90b1-cb59f1252a20-robotic-control-via-embodied-chain-of-thought-reasoning.md)
- [Self-supervised 6D Object Pose Estimation for Robot Manipulation](https://refivu.com/ja/papers/d923d9fd-647d-4656-905f-defb6f68182a-self-supervised-6d-object-pose-estimation-for-robot.md)
- [A Perspective on Explainable Artificial Intelligence Methods: SHAP and LIME](https://refivu.com/ja/papers/419ea828-55f0-4840-8bb1-a99a036efbe5-a-perspective-on-explainable-artificial-intelligence-methods.md)
- [Deep Visual Attention Prediction](https://refivu.com/ja/papers/f63842a2-f64a-4970-8075-0c7abdfe8be0-deep-visual-attention-prediction.md)
- [Weakly-Supervised Convolutional Neural Networks for Multimodal Image Registration](https://refivu.com/ja/papers/bfc7dfd6-1596-4541-9723-c26ab0c5a3f5-weakly-supervised-convolutional-neural-networks-for.md)
- [A Survey of Deep Active Learning](https://refivu.com/ja/papers/62f7e270-6bf3-4b97-b8d0-8d787c66cbf0-a-survey-of-deep-active-learning.md)
- [Variational Quantum Circuits for Deep Reinforcement Learning](https://refivu.com/ja/papers/f6af79b4-b092-4c2a-8589-70b19b37fcc5-variational-quantum-circuits-for-deep-reinforcement-learning.md)
- [A Comprehensive Survey of Deep Learning for Image Captioning](https://refivu.com/ja/papers/c7cbf1e3-42d7-4d5f-b402-6cde0511793d-a-comprehensive-survey-of-deep-learning-for-image.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/3ef41329-5e9b-477a-9ece-c7d4b12b603d-learning-agile-soccer-skills-for-a-bipedal-robot)
