# Continual Reinforcement Learning by Planning with Online World Models

온라인 세계 모델을 활용한 계획 기반 지속 강화학습

Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin · arXiv · 2025년 7월 12일

- **연구 문제** continual reinforcement learning에서 과제가 이어질 때 발생하는 망각을 줄이기 위해, 과제 사이에 공유 가능한 세계 동역학을 온라인으로 학습하고 그 모델로 계획하는 문제를 다룹니다.
- **연구 방법** Online Agent는 희소 고차원 특징 위에서 Follow-The-Leader 방식의 선형 세계 모델을 온라인으로 갱신하고, CEM과 MPC로 행동을 계획합니다.
- **주요 결과** Continual Bench에서 OA는 모델 기반 기준선과 비교해 AP 72.93과 Reg 27.62를 보였으며, Perfect Memory와 AP가 비슷하고 Reg는 더 낮습니다.

## 계속 학습하는 에이전트의 문제

continual reinforcement learning(CRL)은 에이전트가 순차적으로 제시되는 여러 과제를 시행착오로 계속 풀어 가는 설정입니다. 이 설정의 가장 큰 장애물은 새 과제를 배울 때 이전 과제를 푸는 능력을 잃는 치명적 망각입니다. 과제마다 별도의 에이전트를 두거나 과제 ID에 따라 구성요소를 나누는 방식은 과제 경계 정보에 기대므로 계속 학습하는 온라인 에이전트의 목표와 맞지 않습니다.

저자들은 가치 함수와 정책이 과제별 보상 함수에 묶여 있어 과제 사이에 공유하기 어렵다고 지적합니다. 대신 과제 사이에서 공유할 수 있는 요소는 세계 동역학이라고 봅니다. 따라서 이 논문은 통일된 세계 모델을 점진적으로 학습하고, 그 모델로 계획하여 행동하는 방식이 망각 문제를 다루는 출발점이 된다고 제시합니다.

## 온라인 세계 모델과 계획

제안 방법인 Online Agent(OA)는 상태와 행동을 이어 붙인 입력 x\_t = \[s\_t, a\_t\]를 희소 고차원 특징 ϕ(x\_t)로 변환하고, 다음 상태 차이 y\_t = s\_{t+1} - s\_t를 예측하는 선형 세계 모델 W를 학습합니다. 학습 목표는 정규화된 최소제곱 문제이며, 각 시점의 해는 Φ와 Y의 누적 통계량으로 닫힌 형태로 주어집니다.

계산 비용을 줄이기 위해 논문은 새 입력이 활성화하는 K개의 노드만 갱신하는 희소 업데이트 규칙을 사용합니다. 이 규칙은 활성 노드에 대한 부분 행렬과 릿지 항 (1/λ)I를 사용하며, 저자들은 이 항이 국소 갱신의 최소화 해를 유일하게 만드는 역할을 한다고 설명합니다. 특징이 조밀하면 이 갱신은 분석적 최소제곱 해와 같아집니다.

행동은 학습된 세계 모델 위에서 교차 엔트로피 방법(CEM)으로 행동 시퀀스 후보를 평가하여 정합니다. 다만 CEM은 첫 행동만 실행하는 MPC 방식으로 사용되며, 이전 해를 한 단계 이동해 초기화하는 shift-initialization과 색 잡음, 엘리트 메모리가 샘플 효율을 높이기 위해 추가됩니다.

## 희소 갱신의 후회 상한

논문은 희소 업데이트 규칙이 no-regret 성질을 가짐을 이론적으로 보입니다. 여기서 no-regret은 누적 손실이 최적 고정 해 대비 sublinear하게 증가한다는 뜻입니다. 정리 1은 Assumption 1부터 Assumption 3까지가 성립한다는 조건 아래에서, 모든 T ≥ 1과 모든 ξ에 대해 후회가 λ, cW, cy, D, K, rM에 의존하는 상한을 가진다고 제시합니다.

Assumption 1은 새 입력의 특징 외적과 관측된 외적 평균의 차이가 1/(λt) 수준으로 줄어드는 조건입니다. Assumption 2는 목표값과 가중치의 노름이 유계라는 조건이고, Assumption 3은 K를 충분히 크게 잡는 조건입니다. 저자들은 λ를 cW/cy 등으로 특정하게 고르면 후회가 cW·cy에 비례하는 제곱근 형태의 상한을 가진다고 보입니다.

이 결과는 위 가정이 성립하는 범위의 조건부 정리입니다. 전체 입력 공간에서 모든 상황에 대해 성립한다고 확장하지 않으며, 증명은 부록 E에 제시됩니다.

## Continual Bench 실험 설정

실험은 Continual Bench에서 수행됩니다. 이 환경은 Meta-World의 과제 기본 요소를 바탕으로 여섯 과제를 공간적으로 배치하여 모든 과제가 같은 세계 동역학을 공유하도록 설계되었습니다. 평가 순서는 pick-place, button-press, door-open, peg-unplug, window-close, faucet-close이며, 인접 과제가 공간적으로 최대한 떨어지도록 선택되었습니다.

![Figure 3: The Continual Bench environment consists of 6 tasks with diverse difficulty levels. All tasks share the same unified dynamics](https://refivu.com/papers/429db652-99f5-405e-9e74-a910f88e4b76/figures/figure-6eeea2b6b8a5bf93bc1b623f66b94a18.png?thumb=512)

**Figure 3** : The Continual Bench environment consists of 6 tasks with diverse difficulty levels. All tasks share the same unified dynamics.

[원문](https://arxiv.org/abs/2507.09177v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin · Continual Reinforcement Learning by Planning with Online World Models · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

평가 지표는 두 가지입니다. AP는 지금까지 관측된 과제들의 성공률 평균으로 망각을 반영하는 지표이고, Reg는 오라클 에이전트와 온라인 에이전트 성공률 사이의 정규화된 면적으로 정의되며 낮을수록 좋습니다. 결과는 7개 시드 실행의 평균과 표준 오차로 집계됩니다.

비교 기준선은 모델 없는 SAC 기반 방법과 심층 세계 모델 기반 방법이며, 심층 기준선은 은닉층 크기 200의 4층 MLP와 ReLU를 사용합니다. Continual-World가 물리적 충돌로 망각과 전이 연구를 방해할 수 있다는 점도 설계 동기로 제시됩니다.

![Figure 2: Potential physical conflicts between two consecutive tasks in Continual-World (Wołczyk et al., 2021). The handles of the door and the drawer follow d…](https://refivu.com/papers/429db652-99f5-405e-9e74-a910f88e4b76/figures/figure-0563d0ecca7f77a2ed80fc1cbca0211b.png?thumb=512)

**Figure 2** : Potential physical conflicts between two consecutive tasks in Continual-World (Wołczyk et al., 2021). The handles of the door and the drawer follow different trajectory when being opened.

[원문](https://arxiv.org/abs/2507.09177v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin · Continual Reinforcement Learning by Planning with Online World Models · 원문 그림 인용 · 원본 PDF 5쪽에서 그림 영역을 추출했습니다.

## 모델 기반 비교 결과

모델 기반 비교에서 OA의 AP는 72.93이고 Reg는 27.62입니다. 같은 표에서 Perfect Memory는 AP 73.09와 Reg 30.95이며, 심층 기준선인 Coreset은 AP 61.83과 Reg 30.83, SI는 AP 39.96과 Reg 33.57, Fine-tuning은 AP 24.86과 Reg 37.74입니다. 따라서 OA는 Perfect Memory와 AP에서 거의 같고 Reg에서는 더 낮습니다. 다만 AP 차이 0.16은 작은 차이입니다.

모델 없는 SAC 기반 방법은 EWC, PackNet, Coreset, Perfect Memory를 포함하며, AP가 Fine-tuning보다 높아지더라도 Reg는 모두 77 이상으로 높게 남습니다. 저자들은 학습된 정책과 가치가 새 과제에 빠르게 적응하기 어렵기 때문이라고 해석합니다.

학습 곡선에서는 Fine-tuning이 이전 과제 성능을 바로 잃고, SI와 Coreset은 망각을 일부 줄이지만 과제 수가 늘수록 한계가 드러난다고 보고됩니다. OA는 학습한 과제 전체에서 높은 성능을 유지합니다.

## 희소성, 버퍼 예산, 모델 활용률

희소 모델의 활성 가중치 비율은 학습한 과제가 늘어날수록 점차 증가하는 것으로 관찰됩니다. 저자들은 활용률이 거의 전부에 이르러도 최소제곱 해를 전체 누적 통계량으로 다시 구하므로 새 데이터에서 계속 학습할 수 있다고 설명합니다.

![Figure 6: (a) The average performance curves of different methods. (b) Ratio of the activated weights of theOA sparse world model. (c) Final agent performance…](https://refivu.com/papers/429db652-99f5-405e-9e74-a910f88e4b76/figures/figure-df6555acae1f0907cd743cc15f601126.png?thumb=512)

**Figure 6** : (a) The average performance curves of different methods. (b) Ratio of the activated weights of theOA sparse world model. (c) Final agent performance with different buffer budgets. (d) Ablation on the world model sparsity.

[원문](https://arxiv.org/abs/2507.09177v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin · Continual Reinforcement Learning by Planning with Online World Models · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

버퍼 크기 실험에서 OA는 제약된 버퍼 예산에서 최고 성능을 보인다고 보고됩니다. 희소성 수준 Λ에 대한 절제에서는 Λ가 커질수록 더 넓은 특징 공간이 되지만 K는 고정되어 있어 갱신 비용은 비슷하게 유지되며, 더 적은 활성 가중치로 더 높은 성능을 보인다고 보고됩니다. 기본값 Λ = 9는 실험 설정에 사용된 값입니다.

## 세계 모델 오차 분석

부록 C는 세계 모델 자체의 정확도를 따로 측정합니다. 과제마다 별도 버퍼를 두고 각 관측 과제의 데이터에서 MSE를 계산한 결과, 깊은 기준선들은 과제를 떠난 뒤 오차가 증가하지만 OA는 전체 학습 과정에서 거의 같은 정확도를 유지한다고 보고됩니다. Perfect Memory는 이 비교에서 예외로 언급됩니다.

![Figure 8: Curves of the world model errors. Same as the performance measure in the main text, results are aggregated from 7 runs with different seeds. The soli…](https://refivu.com/papers/429db652-99f5-405e-9e74-a910f88e4b76/figures/figure-53afbed9a4d56d9c603a89fb09ddedfd.png?thumb=512)

**Figure 8** : Curves of the world model errors. Same as the performance measure in the main text, results are aggregated from 7 runs with different seeds. The solid lines show the means and shaded areas are the standard errors. The grey regions denote the learning period for the current task τ ∈ \[1, 2, . . . ,6\].

[원문](https://arxiv.org/abs/2507.09177v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin · Continual Reinforcement Learning by Planning with Online World Models · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

이 결과는 정책 성능과 별도로 세계 모델의 망각을 보여 주는 보조 측정입니다. 부록 C의 데이터셋 표기는 원문 그대로 두며, 본문의 Continual Bench 결과와 같은 설정으로 해석하지 않습니다.

## 한계와 적용 범위

저자들은 현재 OA의 온라인 세계 모델이 중간 차원의 상태 기반 관측만 다루며 세계의 불확실성을 포착하지 않는다고 밝힙니다. 또한 Continual Bench는 과제 전환이 에피소드 단위로 명시된 설정에 한정되며, 되돌릴 수 없는 상태 때문에 재설정 없는 CRL 환경은 향후 과제로 남겨 둡니다.

계획 과정에는 명시적 탐색이 포함되지 않았다고 밝혀져 있습니다. 따라서 이 결과는 상태 기반 입력과 에피소드 전환 조건에서 얻은 것이며, 확률적 세계 모델이나 명시적 탐색을 포함한 설정으로 확장된 결과가 아닙니다.

## 논문 정보

- **저자**: Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 7월 12일
- **등록일**: 2026년 10월 31일
- **수정일**: 2025년 7월 12일
- **버전**: v1
- **arXiv**: 2507.09177
- **분류**: cs.LG · cs.AI · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Continual reinforcement learning (CRL) refers to a naturalistic setting where an agent needs to endlessly evolve, by trial and error, to solve multiple tasks that are presented sequentially. One of the largest obstacles to CRL is that the agent may forget how to solve previous tasks when learning a new task, known as catastrophic forgetting. In this paper, we propose to address this challenge by planning with online world models. Specifically, we learn a Follow-The-Leader shallow model online to capture the world dynamics, in which we plan using model predictive control to solve a set of tasks specified by any reward functions. The online world model is immune to forgetting by construction with a proven regret bound of $\\mathcal{O}(\\sqrt{K^2D\\log(T)})$ under mild assumptions. The planner searches actions solely based on the latest online model, thus forming a FTL Online Agent (OA) that updates incrementally. To assess OA, we further design Continual Bench, a dedicated environment for CRL, and compare with several strong baselines under the same model-planning algorithmic framework. The empirical results show that OA learns continuously to solve new tasks while not forgetting old skills, outperforming agents built on deep world models with various continual learning techniques.

## 원문 인용

Zichen Liu, Guoji Fu, Chao Du, Wee Sun Lee, Min Lin (2025). Continual Reinforcement Learning by Planning with Online World Models. arXiv:2507.09177v1. https://arxiv.org/abs/2507.09177v1

**BibTeX**

```
@misc{liu2025continual,
  title = {{Continual Reinforcement Learning by Planning with Online World Models}},
  author = {Zichen Liu and Guoji Fu and Chao Du and Wee Sun Lee and Min Lin},
  year = {2025},
  eprint = {2507.09177},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.09177v1}
}
```

## 이 논문의 용어

- [success rate](https://refivu.com/terms/0964df1dc5eb-success-rate)
- [catastrophic forgetting](https://refivu.com/terms/0039a430b4e3-catastrophic-forgetting)
- [Mean Squared Error](https://refivu.com/terms/e8df98e6d7b7-mean-squared-error)
- [미세조정](https://refivu.com/terms/0ac87f78df46-fine-tuning)
- [Theorem 1](https://refivu.com/terms/bef18c102f5e-theorem-1)
- [regret](https://refivu.com/terms/5f1abfbe36f2-regret)
- [soft actor-critic](https://refivu.com/terms/679e5678c588-soft-actor-critic)
- [Assumption 1](https://refivu.com/terms/5dc7d1083944-assumption-1)
- [model predictive control](https://refivu.com/terms/938ebb77f1ac-model-predictive-control)
- [Meta-World](https://refivu.com/terms/fe4d1dbf8397-meta-world)
- [Assumption 2](https://refivu.com/terms/124c32443609-assumption-2)
- [cross-entropy method](https://refivu.com/terms/6330e4cdd229-cross-entropy-method)
- [Assumption 3](https://refivu.com/terms/27fd19956040-assumption-3)
- [reservoir sampling](https://refivu.com/terms/929fd34994ca-reservoir-sampling)
- [Dyna](https://refivu.com/terms/8f4df45c63d3-dyna)
- [Schur complement](https://refivu.com/terms/071963aff7de-schur-complement)
- [CoreSet](https://refivu.com/terms/748ae4969563-coreset)
- [EWC](https://refivu.com/terms/3999e235292b-ewc)
- [Synaptic Intelligence](https://refivu.com/terms/756ebad0901f-synaptic-intelligence)
- [continual reinforcement learning](https://refivu.com/terms/3a2cb1d302e3-continual-reinforcement-learning)
- [Follow-The-Leader](https://refivu.com/terms/09704649b0ef-follow-the-leader)

## 다른 논문 해설

- [From Generative to Episodic: Sample-Efficient Replicable Reinforcement Learning](https://refivu.com/papers/b78b13e6-6d29-4338-85d7-9e0fdb6ad862-from-generative-to-episodic-sample-efficient-replicable.md)
- [Value-Based Deep RL Scales Predictably](https://refivu.com/papers/4f437e58-75bd-41b3-bb4e-01521b21eb44-value-based-deep-rl-scales-predictably.md)
- [Position: Lifetime tuning is incompatible with continual reinforcement learning](https://refivu.com/papers/d4df6253-ad15-4238-9807-91abe526183c-position-lifetime-tuning-is-incompatible-with-continual.md)
- [Finite-Time Global Optimality Convergence in Deep Neural Actor-Critic Methods for Decentralized Multi-Agent Reinforcement Learning](https://refivu.com/papers/7cb21181-7f21-4d9d-a1ab-072b74b80f38-finite-time-global-optimality-convergence-in-deep-neural.md)
- [Embedding Safety into RL: A New Take on Trust Region Methods](https://refivu.com/papers/b53eafdc-46d3-4844-ad24-47dbe7888a01-embedding-safety-into-rl-a-new-take-on.md)
- [Adaptive Exploration for Multi-Reward Multi-Policy Evaluation](https://refivu.com/papers/cc93159d-e236-4545-8e78-2700a3693890-adaptive-exploration-for-multi-reward-multi-policy.md)
- [Efficient Molecular Conformer Generation with SO(3)-Averaged Flow Matching and Reflow](https://refivu.com/papers/82242fd2-fabe-4e08-942d-2db59a851441-efficient-molecular-conformer-generation-with-so-3-averaged.md)
- [Lower Bounds for Chain-of-Thought Reasoning in Hard-Attention Transformers](https://refivu.com/papers/d0ed8609-fa25-4225-88a2-81bbc32dbac9-lower-bounds-for-chain-of-thought-reasoning-in.md)
- [Learning-Order Autoregressive Models with Application to Molecular Graph Generation](https://refivu.com/papers/504d6ec4-8539-4bc7-b02b-fe990e79896e-learning-order-autoregressive-models-with-application-to.md)
- [DataDecide: How to Predict Best Pretraining Data with Small Experiments](https://refivu.com/papers/b2e5b927-f525-4063-8956-246603aff1fb-datadecide-how-to-predict-best-pretraining-data-with.md)
- [Zero-Shot Cyclic Peptide Design via Composable Geometric Constraints](https://refivu.com/papers/5ff2bc8c-148a-46fc-80ad-3be15bd30a79-zero-shot-cyclic-peptide-design-via-composable-geometric.md)
- [Task-Agnostic Pre-training and Task-Guided Fine-tuning for Versatile Diffusion Planner](https://refivu.com/papers/8c9fa9ff-f62c-423f-ba71-0d4563c5d183-task-agnostic-pre-training-and-task-guided-fine.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/429db652-99f5-405e-9e74-a910f88e4b76-continual-reinforcement-learning-by-planning-with-online)
