为强化学习设计可精确建模时间约束的奖励机制。
About Time: Model-free Reinforcement Learning with Timed Reward Machines
- 引入带时间约束的奖励机,支持延迟惩罚与及时奖励。
- 在经典基准上实现高奖励且满足严格时序要求。
- 适合需要精准时序控制的机器人、自动驾驶等场景。
奖励设定在强化学习中起核心作用,引导智能体行为。为表达非马尔可夫奖励,已有形式化方法如奖励机被提出以捕捉历史依赖。然而传统奖励机无法建模精确的时间约束,限制其在时间敏感任务中的应用。本文提出时序奖励机(TRMs),在奖励机基础上引入时间约束,增强表达能力,支持可调的奖励逻辑,例如对延迟施加代价、对及时动作给予奖励。研究了基于表格Q-learning的无模型强化学习框架,在数字与实时语义下学习最优策略。算法通过时序自动机抽象将TRM融入学习过程,并采用反事实想象启发式方法,利用TRM结构提升搜索效率。实验表明,该算法在主流强化学习基准上能学习到高奖励且满足TRM指定时序约束的策略。此外,通过对比不同语义下的性能与消融实验,验证了反事实想象机制的有效性。
原文摘要 · Abstract (English)
Reward specification plays a central role in reinforcement learning (RL), guiding the agent's behavior. To express non-Markovian rewards, formalisms such as reward machines have been introduced to capture dependencies on histories. However, traditional reward machines lack the ability to model precise timing constraints, limiting their use in time-sensitive applications. In this paper, we propose timed reward machines (TRMs), which are an extension of reward machines that incorporate timing constraints into the reward structure. TRMs enable more expressive specifications with tunable reward logic, for example, imposing costs for delays and granting rewards for timely actions. We study model-free RL frameworks (i.e., tabular Q-learning) for learning optimal policies with TRMs under digital and real-time semantics. Our algorithms integrate the TRM into learning via abstractions of timed automata, and employ counterfactual-imagining heuristics that exploit the structure of the TRM to improve the search. Experimentally, we demonstrate that our algorithm learns policies that achieve high rewards while satisfying the timing constraints specified by the TRM on popular RL benchmarks. Moreover, we conduct comparative studies of performance under different TRM semantics, along with ablations that highlight the benefits of counterfactual-imagining.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。