arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.18638cs.AIcs.CL
收藏

使用大型语言模型解决强化学习问题

Reinforcement Learning Problem Solving with Large Language Models

Thomson Reuters AI Labs(汤森路透人工智能实验室)

Sina Gholamian, Domingo Huh

AI总结:

本研究探索将基于马尔可夫决策过程的强化学习问题转化为LLM提示任务,通过迭代提示LLMs优化策略并辅助回合模拟与Q-Learning,经两个案例验证了其作为对话式RL智能体求解问题的实用性。

摘要:

大型语言模型(LLMs)封装了大量世界知识,这使其能应用于各个领域,提升多种自然语言处理(NLP)任务的性能。这也促进了基于对话的人机交互范式,用于解决特定问题。然而,一个极具潜力且尚未开发的途径是将LLMs作为强化学习(RL)智能体,实现对话式强化学习问题求解。因此,本研究探索了将基于马尔可夫决策过程的强化学习问题转化为LLM提示任务的概念。我们展示了如何通过迭代提示LLMs来学习并优化特定强化学习任务的策略。此外,我们利用所引入的提示技术,在LLMs辅助下进行回合模拟和Q-Learning。随后,通过“研究科学家”和“法律事务受理”两个详细案例研究,展示了该方法的实用性。

英文摘要:

Large Language Models (LLMs) encapsulate an extensive amount of world knowledge, and this has enabled their application in various domains to improve the performance of a variety of Natural Language Processing (NLP) tasks. This has also facilitated a more accessible paradigm of conversation-based interactions between humans and AI systems to solve intended problems. However, one interesting avenue that shows untapped potential is the use of LLMs as Reinforcement Learning (RL) agents to enable conversational RL problem solving. Therefore, in this study, we explore the concept of formulating Markov Decision Process-based RL problems as LLM prompting tasks. We demonstrate how LLMs can be iteratively prompted to learn and optimize policies for specific RL tasks. In addition, we leverage the introduced prompting technique for episode simulation and Q-Learning, facilitated by LLMs. We then show the practicality of our approach through two detailed case studies for "Research Scientist" and "Legal Matter Intake" workflows.

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

↑