强化学习(RL)通过环境交互数据训练智能体完成复杂任务,但其能力也受限于可用数据的范围。为获得知识型智能体,一种颇具前景的方法是利用大语言模型(LLM)中的知识。尽管已有研究将LLM与RL结合,但二者间存在语义鸿沟,实现无缝融合仍具挑战。本文提出一种名为Knowledgeable Agents from Language Model Rollouts(KALM,基于语言模型推演的知识型智能体)的新方法,该方法以虚构推演的形式从LLM中提取知识,智能体可通过离线强化学习方法轻松学习这些知识。KALM的主要挑战在于LLM的环境接地问题,因为LLM本质上仅处理文本数据,而环境数据通常包含LLM未见过的数值向量。为解决这一问题,KALM对LLM进行微调,使其能基于环境数据执行多种任务,包括技能的自然语言描述与其对应推演数据之间的双向转换。这一接地过程增强了LLM对环境动态的理解,使其能够生成多样化且有意义的、体现新技能的虚构推演。在CLEVR-Robot环境上的初步实证评估表明,KALM使智能体能够完成任务目标的复杂改写,并将能力扩展到需要前所未有的最优行为的新任务中。KALM在执行含未见目标的任务时成功率达46%,大幅超过基线方法26%的成功率。此外,KALM有效使LLM理解环境动态,从而生成体现新技能的有意义虚构推演,证明了大语言模型与强化学习的无缝融合。
英文摘要:
Reinforcement learning (RL) trains agents to accomplish complex tasks through environmental interaction data, but its capacity is also limited by the scope of the available data. To obtain a knowledgeable agent, a promising approach is to leverage the knowledge from large language models (LLMs). Despite previous studies combining LLMs with RL, seamless integration of the two components remains challenging due to their semantic gap. This paper introduces a novel method, Knowledgeable Agents from Language Model Rollouts (KALM), which extracts knowledge from LLMs in the form of imaginary rollouts that can be easily learned by the agent through offline reinforcement learning methods. The primary challenge of KALM lies in LLM grounding, as LLMs are inherently limited to textual data, whereas environmental data often comprise numerical vectors unseen to LLMs. To address this, KALM fine-tunes the LLM to perform various tasks based on environmental data, including bidirectional translation between natural language descriptions of skills and their corresponding rollout data. This grounding process enhances the LLM's comprehension of environmental dynamics, enabling it to generate diverse and meaningful imaginary rollouts that reflect novel skills. Initial empirical evaluations on the CLEVR-Robot environment demonstrate that KALM enables agents to complete complex rephrasings of task goals and extend their capabilities to novel tasks requiring unprecedented optimal behaviors. KALM achieves a success rate of 46% in executing tasks with unseen goals, substantially surpassing the 26% success rate achieved by baseline methods. Furthermore, KALM effectively enables the LLM to comprehend environmental dynamics, resulting in the generation of meaningful imaginary rollouts that reflect novel skills and demonstrate the seamless integration of large language models and reinforcement learning.
How Much Online RL is Enough? Informative Rollouts for Offline Preference Optimization in RLVR
TCS Research Department of CSE(TCS计算机科学系研究部);IIT Madras(印度理工学院马德拉斯分校);Department of Data Science & AI(数据科学与人工智能系);Wadhwani School of Data Science & AI(Wadhwani数据科学与人工智能学院)
Environment Transformer and Policy Optimization for Model-Based Offline Reinforcement Learning
The Hong Kong University of Science and Technology(香港科技大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Guangdong Provincial Key Lab of Integrated Communication, Sensing and Computation for Ubiquitous Internet of Things(广东省泛在物联网融合通信感知计算重点实验室)
Model-Based Offline Reinforcement Learning with Adversarial Data Augmentation
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学现代软件技术国家重点实验室);City University of Hong Kong(香港城市大学);School of Computer Science, Nanjing University of Posts and Telecommunications(南京邮电大学计算机学院);Department of Computer Science, University of Liverpool(利物浦大学计算机系)
Exploiting Generalization in Offline Reinforcement Learning via Unseen State Augmentations
Georgia Institute of Technology(佐治亚理工学院);Amazon Alexa AI(亚马逊Alexa人工智能);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Southern California(南加州大学)
ImagineBench: Evaluating Reinforcement Learning with Large Language Model Rollouts
National Key Laboratory for Novel Software Technology Nanjing University China(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence Nanjing University China(南京大学人工智能学院);The University of Hong Kong(香港大学)
VLGOR: Visual-Language Knowledge Guided Offline Reinforcement Learning for Generalizable Agents
National Key Laboratory for Novel Software Technology, Nanjing University, China \& School of Artificial Intelligence, Nanjing University, China;Computational Intelligence Center (CIC), School of Computer;Artificial Intelligence, Shandong Jianzhu University, Jinan, 250101, China
Manifold-Constrained Energy-Based Transition Models for Offline Reinforcement Learning
Department of Electrical and Computer Engineering, George Washington University(乔治华盛顿大学电气与计算机工程系);Department of Electrical and Computer Engineering, Northeastern University(东北大学电气与计算机工程系)
TailSieve: Partial-Rollout-Guided Tail Routing for LLM Rollouts
Qwen Business Unit of Alibaba(阿里巴巴通义千问业务部);Carnegie Mellon University(卡内基梅隆大学);Zhejiang University(浙江大学);University of Science and Technology of China(中国科学技术大学);National University of Singapore(新加坡国立大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
RASFT: Rollout-Adaptive Supervised Fine-Tuning for Reasoning
The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳));Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);New Jersey Institute of Technology(新泽西理工学院);Institute of Computing Technology, CAS(中国科学院计算技术研究所)
Preference Elicitation for Offline Reinforcement Learning
ETH AI Center(ETH人工智能中心);ETH Zürich(苏黎世联邦理工学院);MPI for Intelligent Systems(智能系统马克斯·普朗克研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所);University of Zürich(苏黎世大学)
Model-Based Proactive Cost Generation for Learning Safe Policies Offline with Limited Violation Data
National Key Laboratory for Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);Polixir Technologies Nanjing, China(南京Polixir科技有限公司);Tencent Game AI Center Shenzhen, China(腾讯深圳游戏AI中心)
Inference Time Policy Optimization for Offline RL with Differentiable World Models
Siebel School of Computing and Data Science(计算与数据科学学院);Department of Computer Sciences(计算机科学系);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Wisconsin Madison(威斯康星大学麦迪逊分校)