自适应GR(1)规范修复用于强化学习中的存活保持防护
Adaptive GR(1) Specification Repair for Liveness-Preserving Shielding in Reinforcement Learning
AI总结:
本文提出基于GR(1)规范的自适应防护框架,通过在线修复规范实现环境假设违反时的安全与存活保持。
摘要:
防护被广泛用于在强化学习(RL)中强制安全,确保智能体的行为符合形式规范。然而,经典防护方法通常是静态的,即假设固定的逻辑规范和手工抽象。虽然这些静态防护在名义假设下提供安全,但当环境假设被违反时无法适应。在本文中,我们开发了一种基于广义反应性等级1(GR(1))规范的自适应防护框架,GR(1)规范是线性时序逻辑(LTL)的一个可计算且表达能力强的片段,能够捕捉安全和存活属性。我们的方法在运行时检测环境假设的违反,并利用归纳逻辑编程(ILP)在线自动修复GR(1)规范,以系统且可解释的方式。这确保了防护能够优雅地演变,确保存活是可实现的,并且只有在必要时才最小化削弱目标。我们考虑了两个案例研究:Minepump和Atari Seaquest;表明(i)静态符号控制器在优化辅助奖励时通常严重次优,(ii)配备我们自适应防护的RL智能体在奖励和逻辑合规性方面与静态防护相比接近最优。
英文摘要:
Shielding is widely used to enforce safety in reinforcement learning (RL), ensuring that an agent's actions remain compliant with formal specifications. Classical shielding approaches, however, are often static, in the sense that they assume fixed logical specifications and hand-crafted abstractions. While these static shields provide safety under nominal assumptions, they fail to adapt when environment assumptions are violated. In this paper, we develop an adaptive shielding framework based on based on Generalized Reactivity of rank 1 (GR(1)) specifications, a tractable and expressive fragment of Linear Temporal Logic (LTL) that captures both safety and liveness properties. Our method detects environment assumption violations at runtime and employs Inductive Logic Programming (ILP) to automatically repair GR(1) specifications online, in a systematic and interpretable way. This ensures that the shield evolves gracefully, ensuring liveness is achievable and minimally weakening goals only when necessary. We consider two case studies: Minepump and Atari Seaquest; showing that (i) static symbolic controllers are often severely suboptimal when optimizing for auxiliary rewards, and (ii) RL agents equipped with our adaptive shield maintain near-optimal reward and perfect logical compliance compared with static shields.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。