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

通过启发式奖励观测空间演化提升通用大语言模型奖励设计

Boosting Universal LLM Reward Design through Heuristic Reward Observation Space Evolution

Center on Frontiers of Computing Studies, School of Computer Science, Peking University(北京大学计算机学院计算前沿研究中心);PKU-Agibot Lab, School of Computer Science, Peking University(北京大学计算机学院PKU-Agibot实验室);National Key Laboratory for Multimedia Information Processing, School of Computer Science, Peking University(北京大学计算机学院多媒体信息处理国家重点实验室);School of Automation, Southeast University(东南大学自动化学院)

Zen Kit Heng, Zimeng Zhao, Tianhao Wu, Yuanfei Wang, Mingdong Wu, Yangang Wang, Hao Dong

AI总结:

本文提出一种启发式框架,通过状态执行表缓存历史探索数据并协调任务描述与成功标准,迭代演化奖励观测空间,从而提升大语言模型在强化学习奖励设计中的有效性与稳定性。

摘要:

大语言模型(LLMs)正逐渐成为自动化强化学习(RL)奖励设计的有力工具,这得益于其在常识推理和代码生成方面的强大能力。LLMs 通过与 RL 智能体对话,选择相关环境状态并定义其内部操作,从而构建奖励观测空间(ROS)。然而,现有框架尚未有效利用历史探索数据或人工任务描述来迭代演化该空间。本文提出一种新颖的启发式框架,通过基于表格的探索缓存机制和文本-代码协调策略演化 ROS,从而增强 LLM 驱动的奖励设计。该框架引入状态执行表,跟踪环境状态的历史使用情况和成功率,克服了 LLM 对话中常见的马尔可夫约束,促进更有效的探索。此外,我们使用结构化提示将用户提供的任务描述与专家定义的成功标准进行协调,确保奖励设计目标的一致性。在基准 RL 任务上的综合评估证明了所提框架的有效性和稳定性。代码和视频演示可在 jingjjjjjie.github.io/LLM2Reward 获取。

英文摘要:

Large Language Models (LLMs) are emerging as promising tools for automated reinforcement learning (RL) reward design, owing to their robust capabilities in commonsense reasoning and code generation. By engaging in dialogues with RL agents, LLMs construct a Reward Observation Space (ROS) by selecting relevant environment states and defining their internal operations. However, existing frameworks have not effectively leveraged historical exploration data or manual task descriptions to iteratively evolve this space. In this paper, we propose a novel heuristic framework that enhances LLM-driven reward design by evolving the ROS through a table-based exploration caching mechanism and a text-code reconciliation strategy. Our framework introduces a state execution table, which tracks the historical usage and success rates of environment states, overcoming the Markovian constraint typically found in LLM dialogues and facilitating more effective exploration. Furthermore, we reconcile user-provided task descriptions with expert-defined success criteria using structured prompts, ensuring alignment in reward design objectives. Comprehensive evaluations on benchmark RL tasks demonstrate the effectiveness and stability of the proposed framework. Code and video demos are available at jingjjjjjie.github.io/LLM2Reward.

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

↑