# Curiosity-driven Exploration by Self-supervised Prediction

예측 오차를 호기심 보상으로 쓰는 탐색

Deepak Pathak, Pulkit Agrawal, Alexei A. Efros, Trevor Darrell · arXiv · 2017년 5월 15일

- **연구 문제** 외부 보상이 드물거나 없으면 에이전트는 학습할 신호를 거의 받지 못합니다. 기존 방식은 픽셀을 예측해 행동과 무관한 변화에도 보상을 줬습니다.
- **연구 방법** ICM은 역 동역학 모델로 행동에 영향을 주는 특징만 골라내고, 그 특징에서 다음 상태를 맞히지 못한 오차를 보상으로 씁니다.
- **주요 결과** VizDoom 희소 보상 설정에서 ICM + A3C는 Mean (Median) Score 100.0%를 기록했고, A3C는 0.0%였습니다.

## 희소 보상과 호기심의 역할

외부 보상이 아주 드물거나 없는 환경에서는 에이전트가 정책을 업데이트할 신호를 거의 받지 못합니다. 목표 상태에 우연히 도달하기를 기다리는 무작위 탐색은 대부분의 환경에서 효율이 낮습니다. 이 논문은 에이전트가 스스로 만든 내재 보상, 즉 호기심 신호로 탐색을 이끌 수 있는지 묻습니다. 기존 방법은 상태의 새로움을 재거나 다음 상태를 픽셀 단위로 예측했는데, 고차원 이미지에서는 픽셀 예측이 어렵고 에이전트가 통제할 수 없는 변화에도 보상을 주는 문제가 있습니다. 연구 범위는 VizDoom과 Super Mario Bros 두 환경입니다.

## 특징 공간에서 예측 오차 계산하기

ICM은 상태를 픽셀이 아니라 특징 공간에서 예측합니다. 역 동역학 모델은 φ(st)와 φ(st+1)으로 행동 at를 맞히도록 학습되므로, 행동에 영향을 주는 요소만 특징에 남습니다. 순방향 모델은 φ(st)와 at로 φ(st+1)을 예측하고, 그 예측 오차의 제곱에 η/2를 곱한 값을 내재 보상 rit로 씁니다. 정책은 외부 보상과 rit의 합을 최대화하도록 A3C로 학습합니다. 바람에 흔들리는 나뭇잎처럼 행동과 무관한 변화는 특징 공간에서 빠지므로 호기심 보상이 그 변화에 머물지 않습니다.

## VizDoom 희소 보상 실험

DoomMyWayHome-v0에서 시작 위치와 목표 사이의 거리를 바꿔 dense, sparse, very sparse 세 설정을 만들었습니다. 희소 보상 설정에서 ICM + A3C는 Mean (Median) Score 100.0%를 기록했고, A3C는 0.0%, TRPO는 26.0%, VIME + TRPO는 46.1%였습니다. 이 TRPO와 VIME 수치는 A3C 실험과 설정이 달라 표로만 제시된 값이므로 같은 조건의 직접 비교로 읽지 않아야 합니다. 매우 희소한 설정에서는 A3C와 ICM-pixels가 성공하지 못했지만 ICM은 무작위 실행의 66%에서 완벽한 점수를 얻었습니다.

## 무관한 잡음에 대한 강건성

관측 영상의 40%를 백색 잡음으로 바꾼 뒤 희소 보상 설정에서 ICM과 ICM-pixels를 비교했습니다. ICM은 완벽한 점수를 얻었고, ICM-pixels는 잡음이 없을 때 성공했던 과제에서도 크게 떨어졌습니다. 이는 행동에 영향을 주지 않는 변화를 특징 공간이 걸러낸다는 설계 의도와 맞는 관찰입니다.

## Mario에서 무보상 탐색

외부 보상 없이 호기심만으로 학습한 Mario 에이전트는 Level-1의 30% 이상을 통과했습니다. 보상이 없는데도 적을 처치하거나 피하는 행동을 스스로 익혔는데, 저자들은 적에게 죽으면 게임 공간의 일부만 보게 되어 호기심이 포화되므로 이를 피하려는 동기가 생긴다고 해석합니다. 다만 Level-1의 38% 지점에 있는 구덩이는 15~20회의 정확한 키 입력을 요구해 넘지 못했고, 이 경우 에이전트는 외부 보상도 내재 보상의 신호도 받지 못합니다.

## 레벨 간 일반화

Level-1에서 호기심만으로 사전 학습한 정책을 Level-2에 그대로 실행하면 성능이 낮았습니다. 같은 정책을 호기심 보상으로 미세 조정하면 처음부터 학습한 경우보다 높은 거리 지표를 기록했습니다. VizDoom에서는 호기심으로 사전 학습한 ICM 에이전트가 매우 희소한 외부 보상으로 미세 조정될 때 처음부터 학습한 ICM보다 빠르게 학습하고 더 높은 보상을 얻었습니다. ICM-pixels는 이 테스트 맵에 일반화되지 않았습니다.

## 논문 정보

- **저자**: Deepak Pathak, Pulkit Agrawal, Alexei A. Efros, Trevor Darrell
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2017년 5월 15일
- **등록일**: 2026년 11월 12일
- **수정일**: 2017년 5월 15일
- **버전**: v1
- **arXiv**: 1705.05363
- **분류**: cs.LG · cs.AI · cs.CV · cs.RO · stat.ML
- **원문 이용 조건**: [arXiv non-exclusive 1.0](https://arxiv.org/licenses/nonexclusive-distrib/1.0/)
- **제공 범위**: 논문 정보, 해설

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

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

## 원문 인용

Deepak Pathak, Pulkit Agrawal, Alexei A. Efros, Trevor Darrell (2017). Curiosity-driven Exploration by Self-supervised Prediction. arXiv:1705.05363v1. https://arxiv.org/abs/1705.05363v1

**BibTeX**

```
@misc{pathak2017curiosity,
  title = {{Curiosity-driven Exploration by Self-supervised Prediction}},
  author = {Deepak Pathak and Pulkit Agrawal and Alexei A. Efros and Trevor Darrell},
  year = {2017},
  eprint = {1705.05363},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1705.05363v1}
}
```

## 이 논문의 용어

- [TRPO](https://refivu.com/terms/da74e29ad46a-trpo)
- [A3C](https://refivu.com/terms/1c4cb426dcf9-a3c)
- [Inverse Dynamics Model](https://refivu.com/terms/81a6bb332694-inverse-dynamics-model)
- [VizDoom](https://refivu.com/terms/953005585265-vizdoom)
- [forward dynamics model](https://refivu.com/terms/a1abf3a37709-forward-dynamics-model)

## 다른 논문 해설

- [ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoders](https://refivu.com/papers/d6599a02-0aa8-4eec-a1c3-2bdc45716f23-convnext-v2-co-designing-and-scaling-convnets-with.md)
- [Person Re-identification by Local Maximal Occurrence Representation and Metric Learning](https://refivu.com/papers/ce1c4e84-0a27-40a3-8d69-3dc923b2cf52-person-re-identification-by-local-maximal-occurrence.md)
- [UNITER: UNiversal Image-TExt Representation Learning](https://refivu.com/papers/c2b71a61-22ad-48f9-af71-922539fd9eab-uniter-universal-image-text-representation-learning.md)
- [Learning Face Representation from Scratch](https://refivu.com/papers/c66cea99-ee67-42f0-85f5-a773fc796f34-learning-face-representation-from-scratch.md)
- [Learning deep representations by mutual information estimation and maximization](https://refivu.com/papers/0ecc4e49-5a6d-49c7-a22d-0464db0ce259-learning-deep-representations-by-mutual-information.md)
- [Digging Into Self-Supervised Monocular Depth Estimation](https://refivu.com/papers/501b9eb4-7fd4-43f0-8b68-eaaf0aab3b71-digging-into-self-supervised-monocular-depth-estimation.md)
- [FFA-Net: Feature Fusion Attention Network for Single Image Dehazing](https://refivu.com/papers/05326df3-34c3-4503-97d2-d46822e1fbfa-ffa-net-feature-fusion-attention-network-for-single.md)
- [Expressive Body Capture: 3D Hands, Face, and Body from a Single Image](https://refivu.com/papers/13b094cd-136a-43d9-a552-fafa9aa19691-expressive-body-capture-3d-hands-face-and-body.md)
- [Adversarial Examples: Attacks and Defenses for Deep Learning](https://refivu.com/papers/757e3533-c849-4349-8fbc-e8ea84c0b042-adversarial-examples-attacks-and-defenses-for-deep-learning.md)
- [SpanBERT: Improving Pre-training by Representing and Predicting Spans](https://refivu.com/papers/11f04ed9-a517-4d5d-a835-58a3e13f7118-spanbert-improving-pre-training-by-representing-and.md)
- [WIDER FACE: A Face Detection Benchmark](https://refivu.com/papers/f25dbb8a-9814-427e-8059-2cad94728cee-wider-face-a-face-detection-benchmark.md)
- [AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts](https://refivu.com/papers/e3fa3b73-5b1d-4ff0-8f81-98fad2340fa5-autoprompt-eliciting-knowledge-from-language-models-with.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/93936438-d2c7-4a12-b814-3073185546ca-curiosity-driven-exploration-by-self-supervised-prediction)
