arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.20587cs.LG
收藏

释放预训练语言模型在离线强化学习中的力量

Unleashing the Power of Pre-trained Language Models for Offline Reinforcement Learning

University of Washington(华盛顿大学);Tsinghua University(清华大学);Shanghai Qi Zhi Institute(上海期智研究院);Shanghai Jiao Tong University(上海交通大学);Shanghai AI Lab(上海人工智能实验室)

Ruizhe Shi, Yuyao Liu, Yanjie Ze, Simon S. Du, Huazhe Xu

AI总结:

本文提出LaMo框架,基于决策变换器并利用预训练语言模型,通过初始化、LoRA微调、MLP嵌入和辅助语言损失,在离线强化学习中实现稀疏奖励任务上的优异性能,并缩小与基于值方法的差距。

摘要:

离线强化学习(RL)旨在利用预先收集的数据集找到近似最优的策略。在现实场景中,数据收集可能成本高昂且存在风险;因此,当域内数据有限时,离线强化学习变得尤为具有挑战性。鉴于大型语言模型(LLMs)及其少样本学习能力的最新进展,本文介绍了用于运动控制的语言模型(LaMo),这是一个基于决策变换器的通用框架,旨在有效利用预训练语言模型(LMs)进行离线强化学习。我们的框架强调了四个关键组成部分:(1)使用顺序预训练的LMs初始化决策变换器,(2)采用LoRA微调方法,而非全权重微调,以有效结合来自LMs的预训练知识和域内知识,(3)使用非线性MLP变换而非线性投影来生成嵌入,以及(4)在微调期间集成辅助语言预测损失,以稳定LMs并保留其在语言上的原始能力。实证结果表明,LaMo在稀疏奖励任务中表现出色,并在密集奖励任务中缩小了基于值的离线RL方法与决策变换器之间的差距。特别是,我们的方法在数据样本有限的情况下表现出优越的性能。

英文摘要:

Offline reinforcement learning (RL) aims to find a near-optimal policy using pre-collected datasets. In real-world scenarios, data collection could be costly and risky; therefore, offline RL becomes particularly challenging when the in-domain data is limited. Given recent advances in Large Language Models (LLMs) and their few-shot learning prowess, this paper introduces $\textbf{La}$nguage Models for $\textbf{Mo}$tion Control ($\textbf{LaMo}$), a general framework based on Decision Transformers to effectively use pre-trained Language Models (LMs) for offline RL. Our framework highlights four crucial components: (1) Initializing Decision Transformers with sequentially pre-trained LMs, (2) employing the LoRA fine-tuning method, in contrast to full-weight fine-tuning, to combine the pre-trained knowledge from LMs and in-domain knowledge effectively, (3) using the non-linear MLP transformation instead of linear projections, to generate embeddings, and (4) integrating an auxiliary language prediction loss during fine-tuning to stabilize the LMs and retain their original abilities on languages. Empirical results indicate $\textbf{LaMo}$ achieves excellent performance in sparse-reward tasks and closes the gap between value-based offline RL methods and decision transformers in dense-reward tasks. In particular, our method demonstrates superior performance in scenarios with limited data samples.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑