# Instruction-driven history-aware policies for robotic manipulations

로봇 조작을 위한 지시 기반 이력 인식 정책

Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · arXiv · 2022년 9월 11일

- **연구 문제** 로봇이 자연어 지시를 따라 여러 조작을 수행하려면 정밀 제어, 장기 기억, 새로운 과제와 환경에 대한 일반화가 필요합니다.
- **연구 방법** Hiveformer는 언어 지시, 여러 카메라 관찰, 과거 관찰과 행동 이력을 토큰으로 바꾸어 하나의 다중 모달 트랜스포머에 입력하고, 다음 그리퍼 행동을 예측합니다.
- **주요 결과** RLBench의 단일 과제, 다중 과제, 74개 과제 설정에서 기존 기준선보다 높은 성공률을 보고하며, 이력과 다중 시점 입력의 제거는 성능을 낮춥니다.

## 연구 문제: 명령어와 이력을 함께 쓰는 로봇 조작

로봇이 사람의 자연어 지시를 받아 여러 조작 과제를 수행하려면 정밀한 동작 제어, 가려진 객체 상태를 추적하는 장기 기억, 그리고 학습하지 않은 과제와 환경에 대한 일반화가 동시에 필요합니다. 기존 방법들은 주로 현재 관찰만 사용하며, 지시는 전역 벡터로 압축하는 경우가 많아 객체별 세부 정보를 잃기 쉽습니다. 또한 여러 카메라 시점을 함께 표현하는 방법은 여전히 열린 문제로 남아 있습니다.

이 논문은 이러한 문제를 다루기 위해 언어 지시, 다중 시점 관찰, 과거 관찰과 행동 이력을 하나의 트랜스포머로 함께 모델링하는 Hiveformer를 제안합니다. 평가는 RLBench 벤치마크와 실제 로봇에서 수행됩니다.

![Figure 1: Left: Hiveformer can adapt to perform 74 tasks from RLBench \[19\] given language instructions. Right: Multiple variations of the push buttons task](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-ce4017e1a841444e153647e46821522b.png?thumb=512)

**Figure 1** : Left: Hiveformer can adapt to perform 74 tasks from RLBench \[19\] given language instructions. Right: Multiple variations of the push buttons task.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## Hiveformer의 입력 인코딩과 다중 모달 트랜스포머

Hiveformer는 명령어, 시각 관찰, 이전 행동을 토큰 시퀀스로 바꾼 뒤 다중 모달 트랜스포머에 입력합니다. 명령어는 고정된 CLIP 언어 인코더로 단어 토큰을 얻고, 선형 층과 타입 임베딩을 거쳐 표현됩니다. 각 카메라의 RGB 영상과 그리퍼 위치를 나타내는 이진 주의 맵은 UNet 인코더로 특징 맵이 되며, 여기에 점군의 평균 풀링 값을 채널 방향으로 붙입니다. 이 특징 맵의 각 패치는 카메라, 단계, 위치, 시각 종류를 나타내는 임베딩을 더한 시각 토큰이 됩니다.

![Figure 2: Hiveformer jointly models instructions, views from multiple cameras, and past actions and observations with a multimodal transformer for robotic mani…](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-d708aeab4aeef089bfe007c9e7481701.png?thumb=512)

**Figure 2** : Hiveformer jointly models instructions, views from multiple cameras, and past actions and observations with a multimodal transformer for robotic manipulation.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

트랜스포머는 현재 시점 토큰이 명령어 토큰과 과거 관찰 토큰을 참조하도록 교차 주의를 사용하고, 그 뒤 여러 카메라 토큰 사이의 관계를 자기 주의로 학습합니다. 저자들은 기존 방법이 모든 관계를 자기 주의로 처리하는 것과 달리 관계의 종류별로 주의 층을 나누어 문맥을 강조한다고 설명합니다.

## 행동 예측과 학습 손실

트랜스포머 출력은 다시 특징 맵으로 바뀌어 행동 예측에 사용됩니다. 회전 쿼터니언과 그리퍼 상태는 CNN 디코더와 평균 풀링, 선형 층으로 5차원 벡터로 회귀됩니다. 반면 그리퍼 위치는 별도 경로에서 예측됩니다. 각 카메라에서 점군 위의 주의 맵 B를 계산하고, 기대 위치를 점군 점들의 가중 평균으로 구한 뒤 학습된 오프셋을 더합니다. 이 오프셋은 점군의 볼록 껍질 밖의 점을 예측하는 데 쓰입니다.

![Figure 5: The instruction is “Press the cyan button, and then press the rose one, and then press the purple one”. Top row: sequence of observations from one of…](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-9b1683dff38f4551e56669fc7e88eea1.png?thumb=512)

**Figure 5** : The instruction is “Press the cyan button, and then press the rose one, and then press the purple one”. Top row: sequence of observations from one of the two side cameras in the robot scene. Bottom row: sequence of predicted attention maps by our model that indicate the gripper’s position for the next step.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 18쪽에서 그림 영역을 추출했습니다.

학습은 행동 복제로 수행되며, 그리퍼 행동의 평균제곱오차와 과제 분류의 교차 엔트로피를 더한 손실 L을 최소화합니다. 이 손실에서 MSE는 그리퍼 행동 회귀 항, CE는 과제 분류 항에 해당합니다.

## 단일 과제, 다중 과제, 다중 변형 실험 설계

실험은 RLBench에서 세 가지 설정으로 이루어집니다. 단일 과제 설정은 과제마다 별도 모델을 학습하며, 다중 과제 설정은 하나의 모델이 여러 과제를 학습하되 각 과제는 고유한 변형 하나를 가집니다. 다중 변형 설정은 하나의 과제의 여러 변형을 학습하고 학습에 쓰지 않은 변형에서 평가합니다. 비교의 기본은 10개 과제와 과제당 100개 시연이며, 이후 74개 과제로 확장합니다. 성능은 500개의 보지 않은 에피소드에서 과제별 성공률로 측정합니다.

![Figure 3: The tasks used in multi-variation setting. Left: push buttons task. Right: tower task](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-16a286fec67d375fa8db5d89fe397826.png?thumb=512)

**Figure 3** : The tasks used in multi-variation setting. Left: push buttons task. Right: tower task.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

구현에서는 Adam 최적화기와 학습률 5×10^-5를 사용하고, 배치는 32개 시연, 학습은 100,000회 반복으로 수행됩니다. 이 설정은 이 논문의 학습 조건이며 다른 모델이나 선행 연구 결과에 그대로 적용된 값이 아닙니다.

## 주요 비교 결과와 절제 실험

절제 실험에서 R1은 현재 관찰만 쓰는 UNet 기준선이며 성공률 73.2%를 보고합니다. 다중 모달 트랜스포머의 자기 주의를 추가한 R2 이후 점군과 그리퍼 위치를 더한 R3, R4는 전체적으로 약 3% 개선을 보입니다. 이력 토큰을 추가한 R5와 R6은 4.5%의 절대 이득을 보이고, 현재 관찰 마스킹은 추가로 0.5%를 높입니다. 특징 맵을 채널 대신 패치 토큰으로 바꾼 R7은 2.2%, 자기 주의 대신 교차 주의를 쓴 R8은 3.8% 추가 개선을 보입니다.

![Table 1: Success rate on the single-task setting. We report mean and variance for unseen episodes](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-93faee548520352dd3c7dd2bfecae6bd.png?thumb=512)

**Table 1** : Success rate on the single-task setting. We report mean and variance for unseen episodes.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

10개 과제의 단일 과제 설정에서 Hiveformer는 평균 88.4%를 기록해 Auto-λ의 55.0%보다 높습니다. 다중 과제 설정에서는 83.3%이며 Auto-λ의 69.3%보다 높고, 명령어를 제거한 변형은 64.2%입니다. 74개 과제 설정에서는 전체 평균 65.4%로 Auto-λ\*의 44.0%보다 높으며, 이력을 제거한 변형은 60.9%, 한 시점만 쓴 변형은 40.1%입니다. 이 결과는 해당 설정에서의 관찰이며 모든 과제 설정에 대한 일반 증명은 아닙니다.

![Table 2: Comparison with state-of-the-art methods on 10 tasks. We report success rate (%)](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-61b25a5cca6aa506cb71da2ef6e42644.png?thumb=512)

**Table 2** : Comparison with state-of-the-art methods on 10 tasks. We report success rate (%).

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Table 3: Comparison with the state of the art on 74 RLBench tasks grouped into 9 categories. We report success rate (%) for the single-task setting. ∗The perfo…](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-654043d84a776c04d163731752ae60e7.png?thumb=512)

**Table 3** : Comparison with the state of the art on 74 RLBench tasks grouped into 9 categories. We report success rate (%) for the single-task setting. ∗The performance of Auto- λ is obtained by running their code.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 다중 변형 일반화와 실제 로봇 실험

다중 변형 실험에서 Push Buttons와 Tower 과제는 학습 변형 100개와 보지 않은 변형 100개로 평가됩니다. 합성 지시로 학습한 모델은 보지 않은 변형에서 시연 수에 따라 성공률이 달라지며, 시연이 10개인 경우 Push Buttons 71.1%, Tower 49.8%를 보고합니다. 사람이 작성한 지시에 대한 성능은 합성 지시에 비해 낮게 보고되며, 저자들은 이를 합성 어휘와 다양성의 한계로 해석합니다.

![Table 4: Success rate (%) in the multi-variation setting for seen or unseen variations and synthetic or human-written instructions](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-c4c4f53912b61363d27f8e9d7f044d17.png?thumb=512)

**Table 4** : Success rate (%) in the multi-variation setting for seen or unseen variations and synthetic or human-written instructions.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 6: Robustness of the learned policy on an unseen variation: “Press the yellow button and then press the black button and ﬁnish with the white button”](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-330c40a83d491d254960a16b90c52929.png?thumb=512)

**Figure 6** : Robustness of the learned policy on an unseen variation: “Press the yellow button and then press the black button and ﬁnish with the white button”.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

실제 로봇 실험은 UR5 팔에서 Push Buttons 과제를 수행합니다. 시뮬레이터에서 사전 학습한 정책을 실제 시연 10개로 미세 조정한 결과, 보지 않은 변형의 성공률은 13.3%에서 85.7%로 바뀝니다. 이 결과는 해당 실제 로봇 설정에 대한 관찰입니다.

![Table 5: Success rate of push but- tons task on real robots](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-c0bd7a83cd7ea8b056b0cd73650a24e4.png?thumb=512)

**Table 5** : Success rate of push but- tons task on real robots.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 4: The robot scene with two RGB-D cameras and a UR5 robotics arm with an RG2 gripper](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4/figures/figure-67321a6a9c9ed0f9fe0b16258558f85b.png?thumb=512)

**Figure 4** : The robot scene with two RGB-D cameras and a UR5 robotics arm with an RG2 gripper.

[원문](https://arxiv.org/abs/2209.04899v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid · Instruction-driven history-aware policies for robotic manipulations · 원문 그림 인용 · 원본 PDF 17쪽에서 그림 영역을 추출했습니다.

## 계산 비용과 한계

저자들은 트랜스포머의 계산 비용이 입력 시퀀스 길이에 따라 제곱으로 증가한다고 밝힙니다. 행동 복제로 학습하므로 노출 편향의 문제가 있을 수 있으며, 장기 과제는 10개 이상의 매크로 단계를 요구하는 그룹으로 정의되어 성능이 상대적으로 낮습니다. 저자들은 이 원인을 분포 변화와 누적 오류로 해석하고, 계층적 모델이나 강화 학습이 도움이 될 수 있다고 제안합니다.

또한 모델은 합성 지시로만 학습되어 사람이 작성한 지시에서 성능이 낮습니다. 이 점은 현재 결과의 적용 범위를 제한하며, 자동으로 생성한 사람 지시를 학습에 포함하는 방향은 향후 과제로 제시됩니다.

## 논문 정보

- **저자**: Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 9월 11일
- **등록일**: 2026년 11월 4일
- **수정일**: 2022년 12월 17일
- **버전**: v3
- **arXiv**: 2209.04899
- **분류**: cs.RO · cs.AI · cs.CL · cs.CV · cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

In human environments, robots are expected to accomplish a variety of manipulation tasks given simple natural language instructions. Yet, robotic manipulation is extremely challenging as it requires fine-grained motor control, long-term memory as well as generalization to previously unseen tasks and environments. To address these challenges, we propose a unified transformer-based approach that takes into account multiple inputs. In particular, our transformer architecture integrates (i) natural language instructions and (ii) multi-view scene observations while (iii) keeping track of the full history of observations and actions. Such an approach enables learning dependencies between history and instructions and improves manipulation precision using multiple views. We evaluate our method on the challenging RLBench benchmark and on a real-world robot. Notably, our approach scales to 74 diverse RLBench tasks and outperforms the state of the art. We also address instruction-conditioned tasks and demonstrate excellent generalization to previously unseen variations.

## 원문 인용

Pierre-Louis Guhur, Shizhe Chen, Ricardo Garcia, Makarand Tapaswi, Ivan Laptev, Cordelia Schmid (2022). Instruction-driven history-aware policies for robotic manipulations. arXiv:2209.04899v3. https://arxiv.org/abs/2209.04899v3

**BibTeX**

```
@misc{guhur2022instruction,
  title = {{Instruction-driven history-aware policies for robotic manipulations}},
  author = {Pierre-Louis Guhur and Shizhe Chen and Ricardo Garcia and Makarand Tapaswi and Ivan Laptev and Cordelia Schmid},
  year = {2022},
  eprint = {2209.04899},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.04899v3}
}
```

## 이 논문의 용어

- [success rate](https://refivu.com/terms/0964df1dc5eb-success-rate)
- [CLIP](https://refivu.com/terms/b5b5b48d5f4e-clip)
- [UNet](https://refivu.com/terms/0da000173b9b-unet)
- [Behavioral Cloning](https://refivu.com/terms/101aca4bbdf9-behavioral-cloning)
- [RLBench](https://refivu.com/terms/fd082b3b30c8-rlbench)
- [multimodal transformer](https://refivu.com/terms/a48a676a3eda-multimodal-transformer)

## 다른 논문 해설

- [A Virtual Reality Teleoperation Interface for Industrial Robot Manipulators](https://refivu.com/papers/2d8f5aec-f108-49d3-a240-e42af3eea981-a-virtual-reality-teleoperation-interface-for-industrial.md)
- [Perceiver-Actor: A Multi-Task Transformer for Robotic Manipulation](https://refivu.com/papers/36489f39-2d0a-49d5-8c29-68447645c8d7-perceiver-actor-a-multi-task-transformer-for-robotic.md)
- [Learning Visual Robotic Control Efficiently with Contrastive Pre-training and Data Augmentation](https://refivu.com/papers/4686bf4b-f388-43e1-ab10-390b5ce7524d-learning-visual-robotic-control-efficiently-with-contrastive.md)
- [Optimizing Demonstrated Robot Manipulation Skills for Temporal Logic Constraints](https://refivu.com/papers/06b9d5ed-fc51-4fdc-aa06-531c8f5f6bb6-optimizing-demonstrated-robot-manipulation-skills-for.md)
- [Equivariant Descriptor Fields: SE(3)-Equivariant Energy-Based Models for End-to-End Visual Robotic Manipulation Learning](https://refivu.com/papers/46f6ef1f-5422-4a62-939d-fb8970138aff-equivariant-descriptor-fields-se-3-equivariant-energy-based.md)
- [Robo360: A 3D Omnispective Multi-Material Robotic Manipulation Dataset](https://refivu.com/papers/0bc2301a-1fd4-4744-ab9f-2c444fc77231-robo360-a-3d-omnispective-multi-material-robotic.md)
- [ARMBench: An Object-centric Benchmark Dataset for Robotic Manipulation](https://refivu.com/papers/891f8f62-d169-4fa2-b00f-a255090a1760-armbench-an-object-centric-benchmark-dataset-for-robotic.md)
- [RoboCat: A Self-Improving Generalist Agent for Robotic Manipulation](https://refivu.com/papers/b6495492-d71b-4904-97d1-2d044bfa800b-robocat-a-self-improving-generalist-agent-for-robotic.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/f165e0f3-57f4-459b-aadd-c12aee638ce4-instruction-driven-history-aware-policies-for-robotic)
