Skip to main content
QUICK REVIEW

[論文レビュー] Grounding Large Language Models in Interactive Environments with Online Reinforcement Learning

Thomas Carta, Clément Romac|arXiv (Cornell University)|Feb 6, 2023
Topic ModelingComputer Science被引用数 31
ひとこと要約

この論文は、GLAMを紹介します。GLAMは、対話型テキスト環境(BabyAI-Text)に基づくオンライン強化学習を通じてエージェントポリシーとしてLLMを用い、タスク解決と一般化を改善します。

ABSTRACT

Recent works successfully leveraged Large Language Models' (LLM) abilities to capture abstract knowledge about world's physics to solve decision-making problems. Yet, the alignment between LLMs' knowledge and the environment can be wrong and limit functional competence due to lack of grounding. In this paper, we study an approach (named GLAM) to achieve this alignment through functional grounding: we consider an agent using an LLM as a policy that is progressively updated as the agent interacts with the environment, leveraging online Reinforcement Learning to improve its performance to solve goals. Using an interactive textual environment designed to study higher-level forms of functional grounding, and a set of spatial and navigation tasks, we study several scientific questions: 1) Can LLMs boost sample efficiency for online learning of various RL tasks? 2) How can it boost different forms of generalization? 3) What is the impact of online learning? We study these questions by functionally grounding several variants (size, architecture) of FLAN-T5.

研究の動機と目的

  • LLMの知識を対話型環境と整合させることで機能的な grounding を動機づける。
  • オンラインRLがLLMポリシーを適応させ、空間・ナビゲーションタスクをより効率的に解決できるかを評価する。
  • 新しいオブジェクトや新しいタスクへの一般化、言語・語彙置換への頑健性を調査する。
  • オンラインRLによる groundingとオフラインのBehavioral Cloningを比較し、 groundingにおけるオンライン介入の役割を分析する。

提案手法

  • テキストRL問題を、テキストベースの観測と行動を持つゴール強化型POMDPとして形式化する。
  • プロンプトを前提としてトークンレベルの条件付き確率から行動確率を計算することで、ポリシーとしてLLMを使用する。
  • LLMデコーダに状態価値を推定する値ヘッドを付加し、PPOを用いてオンラインでLLMを微調整する。
  • 分散推論/トレーニング環境(Lamorel)を活用し、複数のLLMワーカーを並列に評価・学習する。
  • テキストのみのBabyAI-Text環境を用いて、ナビゲーションタスクにおける言語条件付きポリシーの grounding を研究する。

実験結果

リサーチクエスチョン

  • RQ1Q1: LLMは空間・ナビゲーション問題をどれだけ早く適応・習得できるか、事前学習がサンプル効率にどのように寄与するか?
  • RQ2Q2: 訓練済みタスクを解く際、 grounding されたLLMは新しいオブジェクトへどれだけ一般化できるか?
  • RQ3Q3: groundingされたLLMは新しいタスクやタスクの組み合わせへ一般化できるか、同義語・言語の変化はパフォーマンスにどう影響するか?
  • RQ4Q4: オンライン強化学習とBehavioral Cloningは groundingの質と一般化にどの程度影響するか?

主な発見

  • GFlan-T5(grounded Flan-T5)は、ベースラインと比較して迅速な学習と高いタスク性能を達成し、優れたサンプル効率を示す。
  • Grounded agents generalize to out-of-vocabulary nouns and invented objects, indicating symbol grounding of geometry and instructions.
  • Grounding enables limited zero-shot generalization to new task compositions and synonym actions, outperforming non-grounded baselines in several setups.
  • Online RL grounding substantially outperforms offline Behavioral Cloning baselines in grounding quality and task performance, highlighting the value of interactive data collection.
  • A dedicated distributed framework (Lamorel) facilitates scalable online grounding of LLMs in RL settings.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。