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

RLAF:基于自动机反馈的强化学习

RLAF: Reinforcement Learning from Automaton Feedback

University of Central Florida(中央佛罗里达大学);University of Colorado Boulder(科罗拉多大学博尔德分校)

Mahyar Alinejad, Alvaro Velasquez, Yue Wang, George Atia

AI总结:

本文提出RLAF框架,利用确定性有限自动机生成轨迹偏好以学习奖励函数,替代手动奖励设计,在离散和连续环境中优于传统奖励工程及自动机基线,并具备收敛保证。

摘要:

在具有复杂、历史依赖奖励结构的环境中,强化学习(RL)对传统方法构成了重大挑战。在这项工作中,我们引入了一种新颖的方法,利用基于自动机的反馈来指导学习过程,用从确定性有限自动机(DFA)导出的偏好取代显式奖励函数。与使用自动机直接指定奖励的传统方法不同,我们的方法利用DFA的结构来生成关于轨迹的偏好,这些偏好用于学习奖励函数,从而消除了手动设计奖励的需求。我们的框架引入了一种静态方法,直接使用学习到的奖励函数进行策略优化,以及一种动态方法,通过迭代更新持续优化奖励函数和策略,直至收敛。我们在离散和连续环境中的实验表明,我们的方法使强化学习智能体能够为具有时间依赖性的任务学习有效策略,优于传统奖励工程和基于自动机的基线方法,如奖励机(reward machines)和LTL引导方法。我们的结果突显了基于自动机的偏好在处理非马尔可夫奖励方面的优势,为传统奖励建模提供了一种可扩展、高效且无需人工干预的替代方案。我们还提供了收敛性保证,表明在标准假设下,我们的自动机引导的基于偏好的框架能够学习到相对于真实非马尔可夫目标近乎最优的策略。

英文摘要:

Reinforcement Learning (RL) in environments with complex, history-dependent reward structures poses significant challenges for traditional methods. In this work, we introduce a novel approach that leverages automaton-based feedback to guide the learning process, replacing explicit reward functions with preferences derived from a deterministic finite automaton (DFA). Unlike conventional approaches that use automata for direct reward specification, our method employs the structure of the DFA to generate preferences over trajectories that are used to learn a reward function, eliminating the need for manual reward engineering. Our framework introduces a static approach that uses the learned reward function directly for policy optimization and a dynamic approach that involves continuous refining of the reward function and policy through iterative updates until convergence. Our experiments in both discrete and continuous environments demonstrate that our approach enables the RL agent to learn effective policies for tasks with temporal dependencies, outperforming traditional reward engineering and automaton-based baselines such as reward machines and LTL-guided methods. Our results highlight the advantages of automaton-based preferences in handling non-Markovian rewards, offering a scalable, efficient, and human-independent alternative to traditional reward modeling. We also provide a convergence guarantee showing that under standard assumptions our automaton-guided preference-based framework learns a policy that is near-optimal with respect to the true non-Markovian objective.

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

↑