TensorX
返回文献探索

Paper · arXiv 2411.14251

Natural Language Reinforcement Learning

Xidong Feng, Ziyu Wan, Haotian Fu, Bo Liu, Mengyue Yang, Girish A. Koushik, Zhiyuan Hu, Ying Wen, Jun Wang

30 upvotesNovember 21, 2024arXiv 预印本
AI 摘要

Natural Language Reinforcement Learning (NLRL) redefines traditional RL concepts in a language-based framework, leveraging large language models to achieve efficient and interpretable policy improvement.

Reinforcement LearningNLRLMarkov Decision ProcessMDPtask objectivespolicyvalue functionBellman equationpolicy iterationlarge language modelsLLMsgradient-based training

Abstract

Reinforcement Learning (RL) mathematically formulates decision-making with Markov Decision Process (MDP). With MDPs, researchers have achieved remarkable breakthroughs across various domains, including games, robotics, and language models. This paper seeks a new possibility, Natural Language Reinforcement Learning (NLRL), by extending traditional MDP to natural language-based representation space. Specifically, NLRL innovatively redefines RL principles, including task objectives, policy, value function, Bellman equation, and policy iteration, into their language counterparts. With recent advancements in large language models (LLMs), NLRL can be practically implemented to achieve RL-like policy and value improvement by either pure prompting or gradient-based training. Experiments over Maze, Breakthrough, and Tic-Tac-Toe games demonstrate the effectiveness, efficiency, and interpretability of the NLRL framework among diverse use cases. Our code will be released at https://github.com/waterhorse1/Natural-language-RL.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
Natural Language Reinforcement Learning | TensorX