arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.19355cs.LGcs.AIcs.RO
收藏

利用大型语言模型设计强化学习控制任务中的奖励函数

Leveraging LLMs for reward function design in reinforcement learning control tasks

Franklin Cardenoso, Wouter Caarls

AI总结:

LEARN-Opt通过自主设计奖励函数,无需人工干预或环境代码,提升强化学习任务的效率和泛化能力。

摘要:

在强化学习(RL)中设计有效的奖励函数是一个重大瓶颈,通常需要大量的人工专业知识且耗时。先前的工作和最近在大型语言模型(LLMs)上的进展展示了其在自动化生成奖励函数方面的潜力。然而,现有方法通常需要预先评估指标、人工工程反馈用于细化过程或使用环境源代码作为上下文。为了解决这些限制,本文介绍了LEARN-Opt(基于LLM的评估器和分析器用于奖励函数优化)。这是一个基于LLM的、完全自主的、模型无关的框架,可以生成、执行和评估奖励函数候选者,而无需预先指标或环境源代码作为上下文。LEARN-Opt的主要贡献在于其能够从系统描述和任务目标中自主推导出性能指标,从而实现无监督的奖励函数评估和选择。我们的实验表明,LEARN-Opt在性能上与EUREKA等最先进的方法相当或更好,同时需要较少的先验知识。我们发现自动奖励设计是一个高方差的问题,平均情况下的候选者会失败,需要多轮运行来找到最佳候选者。最后,我们展示LEARN-Opt可以释放低成本LLM的潜力,找到与或优于更大模型的高性能候选者。这种展示的性能证实了其生成高质量奖励函数的潜力,而无需任何预先的人工定义指标,从而减少工程开销并增强泛化能力。

英文摘要:

The challenge of designing effective reward functions in reinforcement learning (RL) represents a significant bottleneck, often requiring extensive human expertise and being time-consuming. Previous work and recent advancements in large language models (LLMs) have demonstrated their potential for automating the generation of reward functions. However, existing methodologies often require preliminary evaluation metrics, human-engineered feedback for the refinement process, or the use of environmental source code as context. To address these limitations, this paper introduces LEARN-Opt (LLM-based Evaluator and Analyzer for Reward functioN Optimization). This LLM-based, fully autonomous, and model-agnostic framework eliminates the need for preliminary metrics and environmental source code as context to generate, execute, and evaluate reward function candidates from textual descriptions of systems and task objectives. LEARN-Opt's main contribution lies in its ability to autonomously derive performance metrics directly from the system description and the task objective, enabling unsupervised evaluation and selection of reward functions. Our experiments indicate that LEARN-Opt achieves performance comparable to or better to that of state-of-the-art methods, such as EUREKA, while requiring less prior knowledge. We find that automated reward design is a high-variance problem, where the average-case candidate fails, requiring a multi-run approach to find the best candidates. Finally, we show that LEARN-Opt can unlock the potential of low-cost LLMs to find high-performing candidates that are comparable to, or even better than, those of larger models. This demonstrated performance affirms its potential to generate high-quality reward functions without requiring any preliminary human-defined metrics, thereby reducing engineering overhead and enhancing generalizability.

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

↑