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

为HER做这件事:在强化学习中使用一阶时间逻辑奖励规范(扩展版)

Do It for HER: First-Order Temporal Logic Reward Specification in Reinforcement Learning (Extended Version)

DEIB, Politecnico di Milano(博洛尼亚工程学院,米兰理工大学);Politecnico di Milano(米兰理工大学);INESC-ID/Instituto Superior Técnico Universidade de Lisboa(里斯本大学超级学院/葡萄牙信息科学与技术研究所);Dipartimento di Informatica Università degli Studi di Milano(米兰大学信息学院)

Pierriccardo Olivieri, Fausto Lasca, Alessandro Gianola, Matteo Papini

AI总结:

本文提出了一种基于LTLfMT的一阶时间逻辑奖励规范框架,结合奖励机和HER解决奖励稀疏性问题,适用于连续控制任务。

摘要:

在本工作中,我们提出了一种新的框架,用于在具有大状态空间的马尔可夫决策过程(MDPs)中对非马尔可夫奖励进行逻辑规范。我们的方法利用了线性时间逻辑模理论 over 有限轨迹(LTLfMT),这是经典时间逻辑的一种更丰富的扩展,在其中谓词是任意一阶理论的第一阶公式,而不是简单的布尔变量。这种增强的表达能力使能够在无结构和异质数据领域上指定复杂任务,推动了一个统一且可重用的框架,消除了手动谓词编码的需要。然而,LTLfMT增加的表达能力相比标准LTLf规范引入了额外的理论和计算挑战。我们从理论上解决了这些挑战,识别出一个可处理但足以在无限状态空间上下文中用于奖励规范的LTLfMT片段。从实际角度来看,我们引入了一种基于奖励机和回顾经验重放(HER)的方法,将一阶逻辑规范转换并解决奖励稀疏性问题。我们使用非线性算术理论评估了这种方法在连续控制设置中的应用,显示它能够自然地规范复杂任务。实验结果表明,针对HER的定制实现对于解决具有复杂目标的任务至关重要。

英文摘要:

In this work, we propose a novel framework for the logical specification of non-Markovian rewards in Markov Decision Processes (MDPs) with large state spaces. Our approach leverages Linear Temporal Logic Modulo Theories over finite traces (LTLfMT), a more expressive extension of classical temporal logic in which predicates are first-order formulas of arbitrary first-order theories rather than simple Boolean variables. This enhanced expressiveness enables the specification of complex tasks over unstructured and heterogeneous data domains, promoting a unified and reusable framework that eliminates the need for manual predicate encoding. However, the increased expressive power of LTLfMT introduces additional theoretical and computational challenges compared to standard LTLf specifications. We address these challenges from a theoretical standpoint, identifying a fragment of LTLfMT that is tractable but sufficiently expressive for reward specification in an infinite-state-space context. From a practical perspective, we introduce a method based on reward machines and Hindsight Experience Replay (HER) to translate first-order logic specifications and address reward sparsity. We evaluate this approach to a continuous-control setting using Non-Linear Arithmetic Theory, showing that it enables natural specification of complex tasks. Experimental results show how a tailored implementation of HER is fundamental in solving tasks with complex goals.

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

↑