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

基于大语言模型先验的高效强化学习

Efficient Reinforcement Learning with Large Language Model Priors

Institute of Automation, Chinese Academy of Science(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);University College London(伦敦大学学院);University of Bristol(布里斯托尔大学);Huawei Technologies(华为技术有限公司)

Xue Yan, Yan Song, Xidong Feng, Mengyue Yang, Haifeng Zhang, Haitham Bou Ammar, Jun Wang

AI总结:

针对强化学习探索成本高和泛化难的问题,提出将大语言模型作为先验动作分布并通过贝叶斯推断整合到RL框架中,显著降低了探索复杂度并大幅提升了样本效率。

摘要:

在序列决策(SDM)任务中,强化学习(RL)和启发式搜索等方法在特定情况下取得了显著进展。然而,由于对底层决策动态的掌握有限,它们通常需要大量探索,并在跨多种环境泛化时面临挑战。相比之下,大语言模型(LLMs)因具备维持大量特定领域知识的能力,最近已成为强大的通用工具。为了利用这些丰富的先验知识高效解决复杂的SDM任务,我们提出将LLMs作为先验动作分布,并通过贝叶斯推断方法将其整合到RL框架中,利用变分推断和直接后验采样。所提方法促进了将固定的LLM先验无缝纳入基于策略和基于价值的RL框架。实验表明,引入基于LLM的动作先验显著降低了探索和优化复杂度,与传统RL技术相比大幅提升了样本效率,例如在离线学习场景中,使用LLM先验使所需样本量减少了90%以上。

英文摘要:

In sequential decision-making (SDM) tasks, methods like reinforcement learning (RL) and heuristic search have made notable advances in specific cases. However, they often require extensive exploration and face challenges in generalizing across diverse environments due to their limited grasp of the underlying decision dynamics. In contrast, large language models (LLMs) have recently emerged as powerful general-purpose tools, due to their capacity to maintain vast amounts of domain-specific knowledge. To harness this rich prior knowledge for efficiently solving complex SDM tasks, we propose treating LLMs as prior action distributions and integrating them into RL frameworks through Bayesian inference methods, making use of variational inference and direct posterior sampling. The proposed approaches facilitate the seamless incorporation of fixed LLM priors into both policy-based and value-based RL frameworks. Our experiments show that incorporating LLM-based action priors significantly reduces exploration and optimization complexity, substantially improving sample efficiency compared to traditional RL techniques, e.g., using LLM priors decreases the number of required samples by over 90% in offline learning scenarios.

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

↑