Skip to main content
QUICK REVIEW

[论文解读] Pre-Trained Language Models for Interactive Decision-Making

Shuang Li, Xavier Puig|arXiv (Cornell University)|Feb 3, 2022
Topic ModelingComputer Science被引用 53
一句话总结

本文提出 LID 框架,使用预训练语言模型来初始化并微调策略以进行交互式决策,从而实现强的组合泛化和数据高效学习,通过 imitate 或主动数据收集。它在 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.

研究动机与目标

  • 激励在多样化环境中将预训练语言模型作为交互式决策的通用框架。
  • 通过将策略输入编码为由 Transformer LM 处理的序列数据来实现组合泛化。
  • 表明 LM 初始化的策略能提升模仿学习性能并对新目标与状态具泛化性。
  • 引入主动数据收集(ADG),以在无专家数据的情况下学习,并对经历进行重新标签以提升策略学习。
  • 分析促进泛化的因素,包括输入编码、序列处理和 LM 权重初始化。

提出的方法

  • 将目标、观测和历史表示为一个序列输入,输入到以预训练 LM(GPT-2)初始化的 Transformer 编码器中。
  • 通过对专家轨迹进行模仿学习或通过带有事后重标记的主动数据收集(ADG)来微调 LM 权重以预测下一步动作。
  • 对策略输入使用语言基或序列编码;利用来自 LM 的上下文表示来预测动作。
  • 在 ADG 中进行探索、事后重标记以从失败轨迹中创建新目标,并在没有专家数据的循环中进行策略更新。
  • 在 VirtualHome 和 BabyAI 任务中,将 LID(LM 初始化)与基线(LSTM、MLP)以及 RL/HER 方法进行比较。

实验结果

研究问题

  • RQ1预训练语言模型是否可以作为一个通用框架,用于初始化超越语言任务的序列决策策略?
  • RQ2基于 LM 的策略初始化是否能提升对新目标、状态或物体的组合泛化在具身环境中的表现?
  • RQ3带有事后重标记的主动数据收集是否能在没有专家数据的情况下实现学习并且优于传统强化学习方法?
  • RQ4哪些因素(输入编码、序列结构、LM 权重初始化)对观察到的泛化收益贡献最大?

主要发现

  • LM 初始化的策略显著提升组合泛化,例如在新颖的 VirtualHome 任务上完成任务的比例比基线高出 43.6%。
  • 使用带有 LM 初始化的模仿学习在分布内的 VirtualHome 任务中获得大约 20% 更多的成功策略,相较于基线。
  • 带有重标记的主动数据收集(ADG)进一步提升泛化,在新颖任务上比基线高出 25.1%。
  • 序列输入表示和 LM 风格权重初始化对泛化很重要;自然语言输入并非严格必要,序列编码对泛化的影响更大。
  • 微调 LM 权重(相对于冻结)对组合泛化是必不可少的;序列处理有助于性能,而非序列输入会降低泛化。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。