RepV:用于可扩展神经符号规划验证的安全可分潜在空间
RepV: Safety-Separable Latent Spaces for Scalable Neurosymbolic Plan Verification
AI总结:
提出神经符号验证器RepV,通过学习安全与不安全规划线性可分的潜在空间,在单次前向传播中验证自然语言规则合规性,并提供概率保证以优化规划器,显著提升合规预测准确率且参数开销极低。
摘要:
随着AI系统向安全关键领域迁移,验证其行为是否符合明确定义的规则仍是一项挑战。形式化方法提供可证明的保证,但需要手工设计时序逻辑规范,其表达能力和可访问性有限。深度学习方法支持根据自然语言约束评估规划,但其不透明的决策过程会导致误分类,带来潜在的严重后果。我们提出了RepV,一种神经符号验证器,通过学习一个安全与不安全规划线性可分的潜在空间来统一上述两种视角。从由现成模型检测器标注的少量规划种子集出发,RepV训练了一个轻量级投影器,将每个规划连同语言模型生成的理由嵌入到低维空间中;随后,冻结的线性边界在单次前向传播中验证其对未见自然语言规则的合规性。除二元分类外,RepV基于其在潜在空间中的位置,对正确验证的可能性提供概率保证。该保证支持对规划器进行保证驱动的优化,在无需人工标注的情况下提升规则合规性。实证评估表明,与基线方法相比,RepV将合规性预测准确率提高了15%,同时仅增加不到0.2M参数。此外,我们的优化框架在多种规划领域均优于普通微调基线。结果表明,安全可分潜在空间为可靠的神经符号规划验证提供了一种可扩展、即插即用的基础组件。代码和数据可在https://repv-project.github.io/获取。
英文摘要:
As AI systems migrate to safety-critical domains, verifying that their actions comply with well-defined rules remains a challenge. Formal methods provide provable guarantees but demand hand-crafted temporal-logic specifications, offering limited expressiveness and accessibility. Deep learning approaches enable evaluation of plans against natural-language constraints, yet their opaque decision process invites misclassifications with potentially severe consequences. We introduce RepV, a neurosymbolic verifier that unifies both views by learning a latent space where safe and unsafe plans are linearly separable. Starting from a modest seed set of plans labeled by an off-the-shelf model checker, RepV trains a lightweight projector that embeds each plan, together with a language model-generated rationale, into a low-dimensional space; a frozen linear boundary then verifies compliance for unseen natural-language rules in a single forward pass. Beyond binary classification, RepV provides a probabilistic guarantee on the likelihood of correct verification based on its position in the latent space. This guarantee enables a guarantee-driven refinement of the planner, improving rule compliance without human annotations. Empirical evaluations show that RepV improves compliance prediction accuracy by up to 15% compared to baseline methods while adding fewer than 0.2M parameters. Furthermore, our refinement framework outperforms ordinary fine-tuning baselines across various planning domains. These results show that safety-separable latent spaces offer a scalable, plug-and-play primitive for reliable neurosymbolic plan verification. Code and data are available at: https://repv-project.github.io/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。