# CARoL: Context-aware Adaptation for Robot Learning

CARoL: 로봇 학습을 위한 문맥 인식 적응

Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · arXiv · 2025년 6월 8일

- **연구 문제** 사전 지식의 관련성을 상태 전이로 판별하고 이를 새 작업 학습에 적응적으로 통합하는 문제를 다룹니다.
- **연구 방법** 각 원천 작업의 상태 전이 예측기로 대상 샘플의 예측 오차를 계산하고, 이를 정규화한 유사도 가중치로 정책·가치 함수·액터-크리틱 손실의 원천 지식을 재가중합니다.
- **주요 결과** CarRacing에서 같은 조건의 원천 작업에 높은 가중치를 주었고 PD보다 빠르게 수렴했습니다. LunarLander에서도 대부분의 대상 작업에서 높은 보상을 보였으며, 실제 오프로드 실험에서는 5회 중 5회 성공했습니다.

## 사전 지식을 어떻게 골라 새 작업에 쓸 것인가

강화학습으로 로봇의 새 과제를 처음부터 학습하면 시행착오가 많아 비효율적입니다. 이 논문은 이미 학습한 지식을 활용하면 효율을 높일 수 있다고 보지만, 두 가지 어려움을 지적합니다. 하나는 기존 지식이 새 작업과 얼마나 관련 있는지 판별하는 문제이고, 다른 하나는 관련 지식을 새 학습 과정에 어떻게 적응적으로 통합할지의 문제입니다. 기존 여러 지식 융합 방법은 원천 지식을 문맥 차이와 상관없이 함께 사용하는 경향이 있다고 논문은 설명합니다. 이 연구는 이 두 문제를 상태 전이의 유사도로 다루는 CARoL을 제안합니다.

![Figure 1: An example of autonomous off-road navigation involves a vehicle extensively trained in (simulated) grass and concrete environments. However, its next…](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-b97dafc3779d581deecbe739a3dc4a7f.png?thumb=512)

**Fig. 1** . An example of autonomous off-road navigation involves a vehicle extensively trained in (simulated) grass and concrete environments. However, its next task requires it to navigate on (real-world) unseen rocky terrain. To accomplish this, the vehicle must effectively leverage the prior knowledge learned from previous tasks to solve this new challenge.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.

## 상태 전이를 문맥 지표로 쓰는 방법

CARoL은 각 원천 작업 i에 대해 표준 강화학습으로 지식 K\_i를 얻는 동시에, 현재 상태와 행동으로 다음 상태를 예측하는 전이 함수 f\_i를 학습합니다. 이 함수는 상태 전이를 작업의 문맥 표현으로 삼습니다. 대상 작업에서는 새 전이 함수를 따로 학습하지 않고, 수집한 대상 샘플을 각 원천 전이 함수에 넣어 예측 오차 Y\_i를 계산합니다. Y\_i는 대상 샘플 (s\_g,k, a\_g,k, s+\_g,k)에 대해 원천 예측과 실제 다음 상태 차이의 노름을 합한 값이며, 값이 작을수록 유사도가 높다고 원문은 설명합니다. 이어서 w\_i = exp(−Y\_i) / Σ\_j exp(−Y\_j)로 정규화하여 모든 원천 작업의 가중치 합이 1이 되게 합니다.

여기서 정규화 분모는 모든 원천 작업 j에 대한 exp(−Y\_j)의 합입니다.

![Figure 2: The overview of Context-aware Adaptation for Robot Learning (CARoL) framework](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-994c5791b3ca22c0dadeec1224e87933.png?thumb=512)

**Fig. 2** . The overview of Context-aware Adaptation for Robot Learning (CARoL) framework.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## 유사도 가중치를 이용한 세 가지 적응 방식

정책 기반 방법에서는 각 원천 정책 π\_i의 행동 분포와 대상 정책 π\_g의 행동 분포 사이의 KL 발산을 w\_i로 가중하여 최소화합니다. 가치 기반 방법에서는 대상 Q 함수의 목표 값을 계산할 때 원천 Q 함수들을 w\_i로 재가중합니다. 이때 각 원천 Q\_i에서 다음 상태의 최대 행동을 골라 가중합하며, 이 값을 벨만 식의 목표 항에 넣어 대상 Q 함수를 갱신합니다. 액터-크리틱 방법에서는 원천 정책 발산 손실 L\_P와 원천 critic을 가중한 손실 L\_C를 β로 결합한 L\_AC를 최소화하여 대상 액터를 학습합니다. 이 과정에서 대상 critic은 함께 갱신하지 않고 원천 critic을 정적으로 이용합니다.

## CarRacing에서 유사도 가중치와 수렴 결과

CarRacing 실험에서 원천 작업은 마찰 계수 µ=0.5, 1, 2의 세 환경이며, 원천 지식은 PPO로 얻습니다. 비교 기준은 Policy Distillation, MAML, Learning from Scratch, Source Knowledge입니다. 표 I에서 대상 작업 µ=0.5, 1.0, 2.0은 원천 작업과 같은 조건이며, 해당 원천 작업의 가중치는 각각 0.98, 0.94, 0.83입니다. 이는 유사도 판별이 같은 조건의 원천 작업을 가장 크게 가중한다는 점을 보여 줍니다. 원문은 CARoL이 모든 경우에 PD보다 빠르게 수렴했다고 보고하며, PD는 여러 원천 정책을 차별 없이 융합할 때 발진이 크게 나타난다고 설명합니다.

MAML은 충분히 길게 학습하면 보상이 증가할 수 있다고 원문이 설명하므로, 제시된 예산에서의 낮은 성능으로 읽어야 합니다.

![Figure 3: Two OpenAI simulation environments for validating our algorithm: (a) CarRacing environment; (b) LunarLander environment. One physical experiment envi…](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-230a3a1c9d5dc5aa28740d438471f5b4.png?thumb=512)

**Fig. 3** . Two OpenAI simulation environments for validating our algorithm: (a) CarRacing environment; (b) LunarLander environment. One physical experiment environment: (c) Ground vehicle off-road navigation.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

![Figure 4: Comparison of cumulative reward for CARoL and baselines under different CarRacing tasks. The x-axis represents the running steps and the y-axis repre…](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-1841de865135504079f069bdc041d765.png?thumb=512)

**Fig. 4** . Comparison of cumulative reward for CARoL and baselines under different CarRacing tasks. The x-axis represents the running steps and the y-axis represents the reward. The height of dash lines demonstrates the average accumulative reward of source knowledge (SK) under the task.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## LunarLander의 중력·바람 설정과 결과

LunarLander 실험에서는 중력과 바람 세기를 바꿔 원천 작업 네 개와 대상 작업 열 개를 구성합니다. 원천 지식은 TD3로 얻고 CARoL의 β는 1로 설정됩니다. CARoL+는 CARoL 손실에 표준 TD3 학습 손실을 더한 확장입니다. 원문은 바람 세기를 표준 환경과 달리 시간에 따라 변하지 않는 고정값으로 모델링했다고 밝힙니다. 표 II에서 대상 작업 (−5,0), (−10,0), (−5,10), (−10,10)의 가중치는 원천 작업과 같은 조건에서 각각 0.95, 0.98, 0.91, 0.98로 나타납니다. 대상 (c)에서는 T3 가중치가 1에 가깝지 않아 CARoL의 성능이 약간 낮아졌다고 원문은 설명합니다.

대상 (i)와 (j)의 일부 시도에서는 LfS가 CARoL보다 높았으며, 원문은 이 경우 원천 작업이 충분한 지식을 제공하지 못했을 수 있다고 해석합니다. CARoL+는 모든 경우에 가장 높은 보상을 보였다고 보고됩니다.

![Figure 5: Task configurations in Lunarlander. In the plot, circles represent the source tasks ( T1-T4); crosses represent the target tasks (a-j). This figure i…](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-5a8f7af67b4c7b459f2d8f77a0cab15d.png?thumb=512)

**Fig. 5** . Task configurations in Lunarlander. In the plot, circles represent the source tasks ( T1-T4); crosses represent the target tasks (a-j). This figure intuitively visualizes the similarity relationships between the source tasks and target tasks. The environment configurations (for both source and target tasks) are unknown to the robot.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

![Figure 6: Comparison of cumulative reward for CARoL and baselines under different LunarLander tasks. The x-axis represents the running episodes and the y-axis…](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb/figures/figure-bd19292a07987c0c660729678a107779.png?thumb=512)

**Fig. 6** . Comparison of cumulative reward for CARoL and baselines under different LunarLander tasks. The x-axis represents the running episodes and the y-axis represents the reward. The height of dash lines demonstrates the average accumulative reward of source knowledge (SK) under the task.

[원문](https://arxiv.org/abs/2506.07006v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang · CARoL: Context-aware Adaptation for Robot Learning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 실제 오프로드 주행에서의 적응

실제 주행 실험에서는 Chrono 시뮬레이터에서 콘크리트 지형의 SK1과 잔디 지형의 SK2를 PPO로 학습하고, 각 환경의 상태 전이 함수로 문맥 유사도를 계산합니다. 실제 바위와 돌의 마찰 계수는 0.57에서 0.73 사이로 추정되었습니다. 현실 데이터는 사람이 20회 수동 주행하여 수집하고, 이를 바탕으로 CARoL-Algorithm 1을 10회 반복하며 반복당 8회 주행을 수행했습니다. 각 모델은 5회 시도되었으며 CARoL은 5회 모두 성공했고 SK1은 3회, SK2는 2회 성공했습니다. 이 결과는 이 특정 실험 설정에서 얻은 것이며, 원문도 비용 때문에 기준선 방법을 구현하지 않았다고 밝힙니다.

## 적응 시점과 원천 지식 품질의 한계

저자들은 CARoL이 문맥 가중치를 계산한 뒤에 적응을 수행하므로, 현재 구조로는 동적 문맥에 실시간으로 대응하지 못한다고 밝힙니다. 원천 지식의 품질에 크게 의존한다는 점도 한계로 제시되며, 이를 보완하려면 원천 지식의 신뢰도를 평가하는 추가 메커니즘이 필요하다고 봅니다. 또한 LunarLander의 바람 세기는 시간에 따라 변하지 않는 고정값으로 모델링되어, 표준 환경의 무작위 바람과 다른 조건에서 평가된 결과입니다.

## 논문 정보

- **저자**: Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 6월 8일
- **등록일**: 2026년 11월 6일
- **수정일**: 2025년 6월 8일
- **버전**: v1
- **arXiv**: 2506.07006
- **분류**: cs.RO · cs.AI
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Using Reinforcement Learning (RL) to learn new robotic tasks from scratch is often inefficient. Leveraging prior knowledge has the potential to significantly enhance learning efficiency, which, however, raises two critical challenges: how to determine the relevancy of existing knowledge and how to adaptively integrate them into learning a new task. In this paper, we propose Context-aware Adaptation for Robot Learning (CARoL), a novel framework to efficiently learn a similar but distinct new task from prior knowledge. CARoL incorporates context awareness by analyzing state transitions in system dynamics to identify similarities between the new task and prior knowledge. It then utilizes these identified similarities to prioritize and adapt specific knowledge pieces for the new task. Additionally, CARoL has a broad applicability spanning policy-based, value-based, and actor-critic RL algorithms. We validate the efficiency and generalizability of CARoL on both simulated robotic platforms and physical ground vehicles. The simulations include CarRacing and LunarLander environments, where CARoL demonstrates faster convergence and higher rewards when learning policies for new tasks. In real-world experiments, we show that CARoL enables a ground vehicle to quickly and efficiently adapt policies learned in simulation to smoothly traverse real-world off-road terrain.

## 원문 인용

Zechen Hu, Tong Xu, Xuesu Xiao, Xuan Wang (2025). CARoL: Context-aware Adaptation for Robot Learning. arXiv:2506.07006v1. https://arxiv.org/abs/2506.07006v1

**BibTeX**

```
@misc{hu2025carol,
  title = {{CARoL: Context-aware Adaptation for Robot Learning}},
  author = {Zechen Hu and Tong Xu and Xuesu Xiao and Xuan Wang},
  year = {2025},
  eprint = {2506.07006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.07006v1}
}
```

## 이 논문의 용어

- [PPO](https://refivu.com/terms/21c34991d674-ppo)
- [replay buffer](https://refivu.com/terms/43b5f7e5bb32-replay-buffer)
- [TD3](https://refivu.com/terms/09ccc5f5354b-td3)
- [MDP](https://refivu.com/terms/3811d2261871-mdp)
- [Model-Agnostic Meta-Learning (MAML)](https://refivu.com/terms/5eb8b8f01638-model-agnostic-meta-learning-maml)

## 다른 논문 해설

- [NMPC-Augmented Visual Navigation and Safe Learning Control for Large-Scale Mobile Robots](https://refivu.com/papers/e14c77f2-7230-4f9d-a5d7-e52ebe359838-nmpc-augmented-visual-navigation-and-safe-learning-control.md)
- [SDPRLayers: Certifiable Backpropagation Through Polynomial Optimization Problems in Robotics](https://refivu.com/papers/aa763805-ebf3-4a53-a441-27679970863e-sdprlayers-certifiable-backpropagation-through-polynomial.md)
- [Self-reconfigurable Multifunctional Memristive Nociceptor for Intelligent Robotics](https://refivu.com/papers/9bedf0b9-c46d-4b6b-bdb0-8e6032f3c9c1-self-reconfigurable-multifunctional-memristive-nociceptor.md)
- [Cosmos-Surg-dVRK: World Foundation Model-based Automated Online Evaluation of Surgical Robot Policy Learning](https://refivu.com/papers/1a1c36e3-c25c-4ffb-b857-a58b2f115318-cosmos-surg-dvrk-world-foundation-model-based-automated.md)
- [Neural Configuration-Space Barriers for Manipulation Planning and Control](https://refivu.com/papers/3bc775b7-7dd1-40da-a54f-1a79630c3697-neural-configuration-space-barriers-for-manipulation.md)
- [High-Dimensional Continuous Control Using Generalized Advantage Estimation](https://refivu.com/papers/95183c94-f386-4a6d-8fda-f7e55021273b-high-dimensional-continuous-control-using-generalized.md)
- [Black-box Dataset Ownership Verification via Backdoor Watermarking](https://refivu.com/papers/50858f4e-05f5-4a09-8775-073c740d92aa-black-box-dataset-ownership-verification-via-backdoor.md)
- [Multimodal Transformers for Wireless Communications: A Case Study in Beam Prediction](https://refivu.com/papers/588ad7c6-f087-4f4f-9a7d-30313e79c7b7-multimodal-transformers-for-wireless-communications-a-case.md)
- [Investigating Reasons for Disagreement in Natural Language Inference](https://refivu.com/papers/d6c693ee-1ad9-454f-8f33-d3fcb1408c3a-investigating-reasons-for-disagreement-in-natural-language.md)
- [Generalist AI Control: Towards Multi-purpose Adaptive Algorithms](https://refivu.com/papers/c16cc95e-a6b9-411c-a060-7d4bc461b3d5-generalist-ai-control-towards-multi-purpose-adaptive.md)
- [Localization Distillation for Object Detection](https://refivu.com/papers/563d8312-dafb-4514-a066-301ec237e990-localization-distillation-for-object-detection.md)
- [STFT-Domain Neural Speech Enhancement with Very Low Algorithmic Latency](https://refivu.com/papers/2c2ddb27-1de6-4744-a916-ffb8e94f1f4b-stft-domain-neural-speech-enhancement-with-very-low.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/8b06b256-d21b-4ed7-84ca-2e81a68d55eb-carol-context-aware-adaptation-for-robot-learning)
