# Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity

계층적 품질 다양성을 이용한 물리 로봇의 온라인 손상 복구

Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · arXiv · 2022년 10월 18일

- **연구 문제** 손상된 로봇이 새로운 상황에 빠르게 적응하려면 다양한 기술이 필요하지만, 기술 저장소를 키우면 저장과 계획 비용이 함께 늘어납니다.
- **연구 방법** 여러 계층의 행동 저장소를 쌓고 중간 계층에 보조 행동 기술자를 추가하며, 손상 후에는 가우시안 프로세스와 MCTS로 기술을 계획하고 UCB로 보조 기술자를 고릅니다.
- **주요 결과** 시뮬레이션 미로 과제에서 HTE는 중앙값 행동 수 24개로 최고 기준선 2D-RTE(28개)보다 적었고, 실제 로봇 실험에서도 중앙값 26개로 무작위 선택 변형(32개)보다 적었습니다.

## 손상된 로봇의 적응 문제

실제 환경에서 로봇은 다리 손상 같은 예측하지 못한 상황을 겪으며, 이때 빠르게 행동을 바꿔야 합니다. 품질 다양성(Quality-Diversity, QD) 방법은 다양한 기술 저장소를 미리 학습해 두고 손상 후 살아남은 기술을 골라 적응할 수 있게 합니다. 그러나 기술 다양성을 키우려고 저장소의 행동 공간을 넓히면 저장 용량과 탐색 비용이 늘고, 하위 작업 계획 단계에서 고를 기술의 수도 많아집니다. 이 논문은 이 문제를 계층 구조로 완화하는 방법을 다룹니다.

## 계층 저장소와 보조 행동 기술자

Hierarchical Trial and Error(HTE)는 여러 계층의 행동 저장소(HBR)를 쌓아 하위 계층의 기술을 상위 계층이 재사용하도록 합니다. 구현된 계층은 한 다리의 움직임, 1초 보행, 3초 보행의 세 단계입니다. 상위 계층은 기본 행동 기술자(x, y 변위와 yaw)로만 탐색하고, 중간 계층에는 6개 다리의 접촉 여부로 만든 보조 행동 기술자를 추가합니다. 보조 기술자는 상위 계획에 포함되지 않고 손상 후 적응 단계에서만 사용되며, 가우시안 프로세스와 상한 신뢰 구간(UCB) 획득 함수로 오차를 줄이는 보조 기술자를 고릅니다. 오차는 관측된 기본 행동과 목표 행동의 차이를 지수 함수로 변환한 값입니다.

![Figure 1: Schematic representation of a 3-layered Hierarchical Trial and Error repertoire for omni-directional hexapod locomotion. The top behavioural repertoi…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-33f79be44085929ec0f0bb3f1d18f9b7.png?thumb=512)

**Fig. 1** . Schematic representation of a 3-layered Hierarchical Trial and Error repertoire for omni-directional hexapod locomotion. The top behavioural repertoire (BR) fetches three different solutions from the middle level BR which in turn fetches each leg controller for the robot individually to achieve the desired upper-level behaviour. The middle layer has a depth (represented by a cylinder) from which the secondary behaviour can be chosen.

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

![Figure 3: Trial and Error Selection of Secondary Behavioural Descriptors. First, we select a secondary descriptor (purple leg) and a primary descriptor (𝑥 and…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-8449235c9eda0e16c53220c44d348051.png?thumb=512)

**Fig. 3** . Trial and Error Selection of Secondary Behavioural Descriptors. First, we select a secondary descriptor (purple leg) and a primary descriptor (𝑥 and 𝑦 displacement) and execute it. Second, we observe the error of behaviour on the damaged robot (red leg) and lastly we update the Gaussian processes to find secondary descriptors that match the observed behaviour.

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 시뮬레이션 미로 실험 결과

시뮬레이션에서는 7개의 손상 시나리오(6개는 한 다리, 1개는 두 가운데 다리)를 각 30회 반복해 미로 과제를 평가했습니다. 행동 수의 중앙값은 HTE 24개, 2D-RTE 28개, 8D-RTE 32개, APROL 39개로 보고됩니다. 이는 중앙값 기준으로 HTE가 최고 기준선인 2D-RTE보다 14.2% 개선되었다는 저자 보고와 일치합니다. 80회를 넘긴 시도는 실패로 처리했으며, HTE의 실패 수는 최고 기준선 2D-RTE 대비 78% 적다고 보고됩니다. 이 실패 비교는 80회 제한이라는 평가 조건 아래의 결과입니다.

![Figure 8: Box-Plot for the different variants of algorithms for which we report the 25, 50 and 75 percentile values for each replication. HTE is outperforming…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-3def606757626c3c53b5cbb4d8d6a944.png?thumb=512)

**Fig. 8** . Box-Plot for the different variants of algorithms for which we report the 25, 50 and 75 percentile values for each replication. HTE is outperforming the baselines in each case showing that the hierarchy is helping with the adaptation to damages.

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

![Figure 11: Action distributions needed to solve the maze. The yellow crosses represent the median actions needed by the same repertoire. Since we have 4 repert…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-da8ae6ab3f23d7cc360fc2a3e5b385d9.png?thumb=512)

**Fig. 11** . Action distributions needed to solve the maze. The yellow crosses represent the median actions needed by the same repertoire. Since we have 4 repertoires per variant and we run the maze experiment 4 times per repertoire, we show both the distribution of all the actions (box-plots) and the distribution of actions per individual repertoires (crosses).

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 저장소 다양성 비교

저장소 다양성 비교는 HTE 저장소와 8차원 flat 저장소를 같은 4×10^6 평가 기준에서 비교합니다. flat 저장소는 저장 셀 수가 많지만, 처음 두 차원(x, y)에 투영한 유효 크기는 HTE가 더 큽니다. 원문 표에서 HTE의 저장 크기는 2980.8, flat-8D는 72528.0이며 유효 크기는 각각 2980.8과 2531.5입니다. 이는 저장 개수가 한 자릿수 이상 다르더라도 저장된 해의 분포가 x, y 공간에서 더 넓게 채워졌음을 보여 주는 비교입니다.

![Figure 4: The left image represents the repertoire that belongs to the HTE method and the right image corresponds to the 8-dimensional flat variant. Both show…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-870942a8ff5a308968988c7be312bba4.png?thumb=512)

**Fig. 4** . The left image represents the repertoire that belongs to the HTE method and the right image corresponds to the 8-dimensional flat variant. Both show the 𝑥 and 𝑦 location after 3 seconds of movements for the robot on a flat plane. The right repertoire has a higher density since we collapse 8 dimensions onto 2 to compare them. The legend shows the fitness of the solutions (i.e. robot’s orientation).

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

![Table 2: Results for each architecture (at 4𝑥106 evaluations). The numbers of solutions in the repertoire differ by one order of magnitude since the flat reper…](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1/figures/figure-41de1f2f301f460263149471b192b7bb.png?thumb=512)

**Table 2** . Results for each architecture (at 4𝑥106 evaluations). The numbers of solutions in the repertoire differ by one order of magnitude since the flat repertoire has 8 dimensions and the HBR version only has 2. The Effective Size is the number of cells we fill when projected on the first two dimensions and the Mean Fitness is the mean fitness of these individuals.

[원문](https://arxiv.org/abs/2210.09918v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully · Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 무작위 선택과 Trial and Error 비교

실제 로봇 실험은 시뮬레이션에서 학습한 저장소를 쓰고, 오른쪽 가운데 다리를 제거한 단일 손상 조건에서 방법당 16회, 총 80회 수행됩니다. HTE의 중앙값 행동 수는 26개이고, 매 단계 보조 행동을 무작위로 고른 Random HTE는 32개로 보고됩니다. 다만 저자들은 HTE의 Trial and Error와 무작위 선택 사이 차이가 하드웨어 실험 횟수와 학습 저장소 차이 때문에 유의하지 않다고 보고합니다. 따라서 이 결과는 실제 로봇에서 보조 선택의 효과가 확정되었다는 근거가 아닙니다.

## 적용 범위와 한계

저자들은 하위 계층의 행동 공간 정의가 상위 계층의 탐색 공간을 제한한다고 설명합니다. 따라서 하위 계층의 다양성이 부족하면 상위 계층이 최적 해를 찾지 못할 수 있습니다. 또한 HTE는 여러 genotype, 행동 기술자, 적합도 함수를 정의하는 데 과제 전문성이 필요하다고 밝힙니다. 완벽한 보조 행동을 선택한 Perfect HTE가 HTE보다 더 나은 결과를 보이므로 보조 선택 메커니즘에도 개선 여지가 있습니다. 실제 로봇 결과는 단일 손상 조건과 제한된 하드웨어 실험에 근거합니다.

## 논문 정보

- **저자**: Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 10월 18일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 10월 18일
- **버전**: v1
- **arXiv**: 2210.09918
- **분류**: cs.RO · cs.AI · cs.LG · cs.NE
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2210.09918v1) · [원문 PDF ↗](https://arxiv.org/pdf/2210.09918v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

In real-world environments, robots need to be resilient to damages and robust to unforeseen scenarios. Quality-Diversity (QD) algorithms have been successfully used to make robots adapt to damages in seconds by leveraging a diverse set of learned skills. A high diversity of skills increases the chances of a robot to succeed at overcoming new situations since there are more potential alternatives to solve a new task.However, finding and storing a large behavioural diversity of multiple skills often leads to an increase in computational complexity. Furthermore, robot planning in a large skill space is an additional challenge that arises with an increased number of skills. Hierarchical structures can help reducing this search and storage complexity by breaking down skills into primitive skills. In this paper, we introduce the Hierarchical Trial and Error algorithm, which uses a hierarchical behavioural repertoire to learn diverse skills and leverages them to make the robot adapt quickly in the physical world. We show that the hierarchical decomposition of skills enables the robot to learn more complex behaviours while keeping the learning of the repertoire tractable. Experiments with a hexapod robot show that our method solves a maze navigation tasks with 20% less actions in simulation, and 43% less actions in the physical world, for the most challenging scenarios than the best baselines while having 78% less complete failures.

## 원문 인용

Maxime Allard, Simón C. Smith, Konstantinos Chatzilygeroudis, Bryan Lim, Antoine Cully (2022). Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity. arXiv:2210.09918v1. https://arxiv.org/abs/2210.09918v1

**BibTeX**

```
@misc{allard2022online,
  title = {{Online Damage Recovery for Physical Robots with Hierarchical Quality-Diversity}},
  author = {Maxime Allard and Simón C. Smith and Konstantinos Chatzilygeroudis and Bryan Lim and Antoine Cully},
  year = {2022},
  eprint = {2210.09918},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2210.09918v1}
}
```

## 이 논문의 용어

- [MAP-Elites](https://refivu.com/terms/935db452d812-map-elites)
- [Monte Carlo tree search](https://refivu.com/terms/427251401452-monte-carlo-tree-search)
- [Gaussian processes](https://refivu.com/terms/3c901b81ea3a-gaussian-processes)
- [Bayesian optimisation](https://refivu.com/terms/97a7204d67da-bayesian-optimisation)
- [quality-diversity](https://refivu.com/terms/d1718081cf61-quality-diversity)
- [effective size](https://refivu.com/terms/9464b400fd81-effective-size)

## 다른 논문 해설

- [Open Continuum Robotics -- One Actuation Module to Create them All](https://refivu.com/papers/26bab6b5-eb8c-43d4-a114-c5c83951ff2d-open-continuum-robotics-one-actuation-module-to-create.md)
- [Deep Episodic Memory: Encoding, Recalling, and Predicting Episodic Experiences for Robot Action Execution](https://refivu.com/papers/9abb1460-9a59-4d44-88f6-e2552fe084b2-deep-episodic-memory-encoding-recalling-and-predicting.md)
- [Learning Robust Autonomous Navigation and Locomotion for Wheeled-Legged Robots](https://refivu.com/papers/d721c896-f444-49d4-9962-484aef58a0b3-learning-robust-autonomous-navigation-and-locomotion-for.md)
- [Towards Reuse and Recycling of Lithium-ion Batteries: Tele-robotics for Disassembly of Electric Vehicle Batteries](https://refivu.com/papers/749da90c-41d2-4957-a50b-33a16d581d02-towards-reuse-and-recycling-of-lithium-ion-batteries.md)
- [M2DGR: A Multi-sensor and Multi-scenario SLAM Dataset for Ground Robots](https://refivu.com/papers/fbd870ea-fe9b-400c-bb99-b158ef7ade2e-m2dgr-a-multi-sensor-and-multi-scenario-slam.md)
- [Facial emotion expressions in human-robot interaction: A survey](https://refivu.com/papers/6ce3ff5f-22f6-49e0-8d7c-7b51f5d557fa-facial-emotion-expressions-in-human-robot-interaction-a.md)
- [FlowTransformer: A Transformer Framework for Flow-based Network Intrusion Detection Systems](https://refivu.com/papers/28c6bc1f-4e17-4b59-b0b0-2459dd8524f8-flowtransformer-a-transformer-framework-for-flow-based.md)
- [Class-Aware Adversarial Transformers for Medical Image Segmentation](https://refivu.com/papers/d5187aaf-54fd-455c-9272-c1529dd007ec-class-aware-adversarial-transformers-for-medical-image.md)
- [A Reinforcement Learning Approach to Age of Information in Multi-User Networks with HARQ](https://refivu.com/papers/e642aa3e-628e-42ec-9b79-cfc41e1e5991-a-reinforcement-learning-approach-to-age-of-information.md)
- [Knowledge Graphs, Large Language Models, and Hallucinations: An NLP Perspective](https://refivu.com/papers/bfd02873-c02f-410b-8245-d4b6a31c8a37-knowledge-graphs-large-language-models-and-hallucinations-an.md)
- [Safety Guardrails for LLM-Enabled Robots](https://refivu.com/papers/c1fe3394-f384-4a56-aef5-471e70d0ad0d-safety-guardrails-for-llm-enabled-robots.md)
- [A survey on datasets for fairness-aware machine learning](https://refivu.com/papers/4f1a54fa-7a1e-43ea-87ef-e54be6347d15-a-survey-on-datasets-for-fairness-aware-machine.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/3248e155-8921-4668-a5e9-339e9b532bc1-online-damage-recovery-for-physical-robots-with-hierarchical)
