Skip to main content
QUICK REVIEW

[논문 리뷰] Diffusion Model is an Effective Planner and Data Synthesizer for Multi-Task Reinforcement Learning

Haoran He, Chenjia Bai|arXiv (Cornell University)|2023. 05. 29.
Reinforcement Learning in RoboticsComputer Science인용 수 12
한 줄 요약

MTDiff는 프롬프트 학습을 갖춘 GPT-백본 확산 모델을 사용하여 다중 작업 오프라인 RL에 대한 계획 및 데이터 합성을 가능하게 하며, 계획 성능을 향상시키고 관찰된 및 미관찰된 작업 전반에 걸쳐 데이터를 확증합니다.

ABSTRACT

Diffusion models have demonstrated highly-expressive generative capabilities in vision and NLP. Recent studies in reinforcement learning (RL) have shown that diffusion models are also powerful in modeling complex policies or trajectories in offline datasets. However, these works have been limited to single-task settings where a generalist agent capable of addressing multi-task predicaments is absent. In this paper, we aim to investigate the effectiveness of a single diffusion model in modeling large-scale multi-task offline data, which can be challenging due to diverse and multimodal data distribution. Specifically, we propose Multi-Task Diffusion Model ( extsc{MTDiff}), a diffusion-based method that incorporates Transformer backbones and prompt learning for generative planning and data synthesis in multi-task offline settings. extsc{MTDiff} leverages vast amounts of knowledge available in multi-task data and performs implicit knowledge sharing among tasks. For generative planning, we find extsc{MTDiff} outperforms state-of-the-art algorithms across 50 tasks on Meta-World and 8 maps on Maze2D. For data synthesis, extsc{MTDiff} generates high-quality data for testing tasks given a single demonstration as a prompt, which enhances the low-quality datasets for even unseen tasks.

연구 동기 및 목표

  • 다양한 다중 작업 오프라인 RL 데이터를 처리할 수 있는 단일 모델 학습의 동기를 부여합니다.
  • 확산 모델이 다중 양상(multimodal) 및 다중 작업 궤적을 어떻게 모형화할 수 있는지 조사합니다.
  • 프롬프트 조건부 트랜스포머 기반 확산 방법을 계획(MTDiff-p)과 데이터 합성(MTDiff-s)을 위해 개발합니다.
  • MTDiff가 미지의 작업에 일반화하고 데이터 효율성을 향상시킬 수 있음을 보입니다.

제안 방법

  • 다중 작업 궤적 모형화를 확산 모델을 이용한 조건부 디노이징 문제로 형식화합니다.
  • 작업 프롬프트를 사용하여 순차 궤적을 모형화하기 위해 GPT2 기반 트랜스포머 백본을 사용합니다.
  • 계획 모드(MTDiff-p)에서 프롬프트와 보상을 조건으로 하여 분류기 없이 가이던스로 최적의 행동 시퀀스를 생성합니다.
  • 데이터 합성 모드(MTDiff-s)에서 태스크 프롬프트를 조건으로 상태, 행동, 보상의 전이을 합성하여 데이터 증강에 활용합니다.
  • 시연이 원-핫 ID가 아니라 작업 조건 프롬프트로 작용하는 유연한 프롬프트 체계를 도입합니다.
  • 잡음 제거 손실을 최소화하기 위해 확산 역과정을 사용해 학습하고, 필요하면 높은 가능도 시퀀스를 얻기 위한 저온 샘플링을 적용합니다.
Figure 1: Overall architecture of MTDiff . Different colors represent different tasks. $S$ , $A$ and $R$ denote the state sequence, action sequence, and reward sequence from multi-task data, respectively. $S_{\rm{prev}}$ and $R_{\tau}$ represent historical states and normalized return.
Figure 1: Overall architecture of MTDiff . Different colors represent different tasks. $S$ , $A$ and $R$ denote the state sequence, action sequence, and reward sequence from multi-task data, respectively. $S_{\rm{prev}}$ and $R_{\tau}$ represent historical states and normalized return.

실험 결과

연구 질문

  • RQ1하나의 확산 모델이 여러 개의 오프라인 RL 작업에 대해 학습하고 일반화할 수 있나요?
  • RQ2프롬프트 조건부 확산 모델이 다중 작업 RL에서 기초 방법 대비 계획 품질을 향상시키나요?
  • RQ3확산 기반 데이터 합성이 관찰된 작업 및 미지의 작업에 대해 오프라인 데이터 세트를 효과적으로 증강할 수 있나요?
  • RQ4다중 작업 확산이 단일 작업 보강 방법과 비교하여 데이터 효율성과 일반화에 어떤 이점을 가져오나요?

주요 결과

  • MTDiff-p는 Meta-World MT50-rand와 Maze2D에서 다중 작업 계획에서 최첨단 기준선보다 우수하며, 더 높은 평균 성공률을 달성합니다.
  • MTDiff-s는 고충실도 다중 작업 데이터를 합성하여 미지의 작업을 포함한 여러 작업에서 오프라인 RL 성능을 향상시킵니다.
  • 프롬프트를 사용하는 MTDiff-p는 미지의 작업에 대한 소수 샷 일반화를 가능하게 하며 적응 테스트에서 원-핫 기반 Baseline보다 우수합니다.
  • MTDiff-s에 의해 합성된 데이터는 정책 개선에 상당한 효과를 가지며 오프라인 RL에서 단일 작업 보강 방법(S4RL, RAD)을 능가합니다.
  • 다중 작업 학습 중 작업 수를 늘리면 점진적으로 더 나은 데이터 합성 성능을 얻는데, 이는 다중 작업 지식 공유가 효과적임을 시사합니다.
Figure 2: An example of the denoising process of MTDiff . We choose 4 tasks for visualization and $\bm{x}_{K}(\tau)$ is sampled from the Gaussian noise for each task. Since different tasks require different manipulation skills, the corresponding action sequences are dispersed in the embedding space.
Figure 2: An example of the denoising process of MTDiff . We choose 4 tasks for visualization and $\bm{x}_{K}(\tau)$ is sampled from the Gaussian noise for each task. Since different tasks require different manipulation skills, the corresponding action sequences are dispersed in the embedding space.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.