Skip to main content
QUICK REVIEW

[논문 리뷰] Pre-Trained Language Models for Interactive Decision-Making

Shuang Li, Xavier Puig|arXiv (Cornell University)|2022. 02. 03.
Topic ModelingComputer Science인용 수 53
한 줄 요약

이 논문은 LID를 소개합니다, 사전 학습된 언어 모델을 사용하여 대화형 의사결정의 정책을 초기화하고 미세조정하는 프레임워크로, 강력한 조합 일반화와 데이터 효율적 학습을 모방 학습 또는 능동 데이터 수집을 통해 가능하게 합니다. VirtualHome 및 BabyAI에서 분포 내외 작업에서 상당한 개선과 효과적인 자기 감독 ADG 루프를 입증합니다.

ABSTRACT

Language model (LM) pre-training is useful in many language processing tasks. But can pre-trained LMs be further leveraged for more general machine learning problems? We propose an approach for using LMs to scaffold learning and generalization in general sequential decision-making problems. In this approach, goals and observations are represented as a sequence of embeddings, and a policy network initialized with a pre-trained LM predicts the next action. We demonstrate that this framework enables effective combinatorial generalization across different environments and supervisory modalities. We begin by assuming access to a set of expert demonstrations, and show that initializing policies with LMs and fine-tuning them via behavior cloning improves task completion rates by 43.6% in the VirtualHome environment. Next, we integrate an active data gathering procedure in which agents iteratively interact with the environment, relabel past "failed" experiences with new goals, and update their policies in a self-supervised loop. Active data gathering further improves combinatorial generalization, outperforming the best baseline by 25.1%. Finally, we explain these results by investigating three possible factors underlying the effectiveness of the LM-based policy. We find that sequential input representations (vs. fixed-dimensional feature vectors) and LM-based weight initialization are both important for generalization. Surprisingly, however, the format of the policy inputs encoding (e.g. as a natural language string vs. an arbitrary sequential encoding) has little influence. Together, these results suggest that language modeling induces representations that are useful for modeling not just language, but also goals and plans; these representations can aid learning and generalization even outside of language processing.

연구 동기 및 목표

  • 다양한 환경에 걸친 대화형 의사결정을 위한 일반적 골격으로 사전 학습된 언어 모델의 활용을 동기 부여한다.
  • 정책 입력을 트랜스포머 LM으로 처리되는 순차 데이터로 인코딩함으로써 조합적 일반화를 가능하게 한다.
  • LM으로 초기화된 정책이 모방 학습 성능을 향상시키고 새로운 목표와 상태에 일반화함을 보여준다.
  • 전문가 데이터 없이 학습하고 경험을 재레이블링하여 정책 학습을 개선하기 위한 Active Data Gathering (ADG)을 도입한다.
  • 입력 인코딩, 순차 처리 및 LM 가중치 초기화 등 일반화에 기여하는 요인을 분석한다.

제안 방법

  • 목표, 관찰 및 이력을 사전 학습된 LM(GPT-2)으로 초기화된 트랜스포머 인코더에 입력되는 순차 입력으로 표현한다.
  • 전문가 궤적에서의 모방 학습 또는 hindsight relabeling이 적용된 ADG를 통해 다음 행동을 예측하도록 LM 가중치를 미세 조정한다.
  • 정책 입력에 대해 언어 기반 또는 순차 인코딩을 사용하고, LM으로부터의 맥락 표현을 사용하여 행동을 예측한다.
  • ADG에서 실패한 궤적으로부터 새로운 목표를 생성하기 위한 탐색, hindsight relabeling 및 정책 업데이트를 전문가 데이터 없이 루프 형태로 수행한다.
  • LID (LM-초기화) 를 baselines (LSTM, MLP) 및 RL/HER 방법과 VirtualHome 및 BabyAI 과제 전반에 걸쳐 비교한다.

실험 결과

연구 질문

  • RQ1사전 학습된 언어 모델이 언어 작업을 넘어선 연속 의사결정을 위한 정책 초기화의 일반 프레임워크로 작용할 수 있는가?
  • RQ2LM 기반 정책 초기화가 구현된 환경에서 새로운 목표, 상태 또는 객체에 대한 조합적 일반화를 향상시키는가?
  • RQ3hindsight relabeling을 통한 능동 데이터 수집이 전문가 데이터 없이 학습을 가능하게 하고 기존의 RL 방법을 능가하는가?
  • RQ4관찰된 일반화 이점에 가장 많이 기여하는 요인들(입력 인코딩, 순차 구조, LM 가중치 초기화)은 무엇인가?

주요 결과

  • LM으로 초기화된 정책은 조합적 일반화를 크게 향상시키며, 예를 들어 새로운 VirtualHome 과제에서 Baselines에 비해 작업 완료율이 43.6% 더 높다.
  • LM 초기화자를 활용한 모방 학습은 분포 내 VirtualHome 과제에서 baseline에 비해 약 20% 더 많은 성공 정책을 산출한다.
  • 재레이블링이 포함된 ADG는 일반화를 더욱 향상시키며 새로운 과제에서 baselines를 25.1% 앞선다.
  • 순차 입력 표현과 LM 스타일의 가중치 초기화가 일반화에 중요하며, 자연어 입력은 엄밀히 필요하지 않으며 순차 인코딩이 일반화에 더 큰 영향을 미친다.
  • LM 가중치를 미세 조정하는 것(동결과 대조)은 조합적 일반화에 필수적이며, 순차 처리가 성능에 기여하는 반면 비순차 입력은 일반화를 저해한다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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