Skip to main content
QUICK REVIEW

[论文解读] Learning Logic Specifications for Soft Policy Guidance in POMCP

G. Mazzi, Daniele Meli|arXiv (Cornell University)|Mar 16, 2023
Bayesian Modeling and Causal InferenceComputer Science被引用 3
一句话总结

本文提出一种基于归纳逻辑编程(ILP)的方法,从信念-动作执行轨迹中推断答案集编程(ASP)规则,以学习用于POMCP的基于逻辑的策略引导,从而在无需人工设计规则的情况下实现软策略偏差。该方法在rocksample和battery等大规模部分可观察马尔可夫决策过程(POMDP)中提升了样本效率与可扩展性,在更长规划时域下实现了高达50%的折扣回报提升,同时保持了渐近最优性。

ABSTRACT

Partially Observable Monte Carlo Planning (POMCP) is an efficient solver for Partially Observable Markov Decision Processes (POMDPs). It allows scaling to large state spaces by computing an approximation of the optimal policy locally and online, using a Monte Carlo Tree Search based strategy. However, POMCP suffers from sparse reward function, namely, rewards achieved only when the final goal is reached, particularly in environments with large state spaces and long horizons. Recently, logic specifications have been integrated into POMCP to guide exploration and to satisfy safety requirements. However, such policy-related rules require manual definition by domain experts, especially in real-world scenarios. In this paper, we use inductive logic programming to learn logic specifications from traces of POMCP executions, i.e., sets of belief-action pairs generated by the planner. Specifically, we learn rules expressed in the paradigm of answer set programming. We then integrate them inside POMCP to provide soft policy bias toward promising actions. In the context of two benchmark scenarios, rocksample and battery, we show that the integration of learned rules from small task instances can improve performance with fewer Monte Carlo simulations and in larger task instances. We make our modified version of POMCP publicly available at https://github.com/GiuMaz/pomcp_clingo.git.

研究动机与目标

  • 解决在大规模时域、高维POMDP中POMCP面临的稀疏奖励与探索不足问题。
  • 消除在逻辑引导的POMDP规划中依赖领域专家手动指定策略规则的需求。
  • 开发一种方法,利用ILP与ASP从POMCP执行轨迹中学习可解释、可重用的策略规范。
  • 评估训练数据质量与数量对所学规则性能及POMCP可扩展性的影响。
  • 在通过学习到的软策略偏差提升性能的同时,保持POMCP的渐近最优性。

提出的方法

  • 使用专家定义的高层领域特征表示POMCP执行轨迹中的信念,将其映射为ASP兼容的逻辑原子。
  • 使用归纳逻辑编程(ILASP)从信念-动作对(CDPIs)中学习ASP规则,以建模与策略相关的逻辑关系。
  • 将所学的ASP规则作为软约束集成到POMCP的蒙特卡洛树搜索中,以引导动作选择偏向有希望的分支。
  • 应用一种软引导机制,不限制探索,而是根据规则满足度影响动作选择概率。
  • 在不同规模的训练集和不同质量的策略水平下,评估规则的收敛性与性能。
  • 通过确保所学规则不覆盖最优策略收敛过程,保持POMCP的渐近最优性。

实验结果

研究问题

  • RQ1在无专家提供规范的情况下,ILP能否有效从POMCP执行轨迹中学习到可解释且与策略相关的逻辑规则?
  • RQ2训练轨迹的数量与质量在多大程度上影响所学ASP规则在引导POMCP时的性能与收敛性?
  • RQ3所学的ASP规则在多大程度上提升了POMCP在rocksample和battery等大规模时域POMDP中的样本效率与可扩展性?
  • RQ4当使用从次优策略中学习的规则引导时,POMCP是否仍能保持其渐近最优性?
  • RQ5从小型任务实例中学到的规则在多大程度上可泛化到更大、更复杂的实例中以提升性能?

主要发现

  • 当使用80%或以上的完整训练集(约8,500个样本)时,所学的ASP规则收敛到稳定假设,实现对未覆盖样本的100%覆盖,且与完整数据集基线的距离为零。
  • 即使训练数据质量较低,从次优策略中学习的规则仍能提升POMCP性能,在网格大小N=24时实现50%的折扣回报提升。
  • 在高动作空间、长时域场景(如N≥18的rocksample)中,性能增益最为显著,所学规则能有效引导探索至最优分支。
  • 即使规则来源于低质量策略,该方法仍保持POMCP的渐近最优性,小网格下的平均性能下降不足14%。
  • 规则收敛具有鲁棒性:随着训练集规模增加,规则集保持稳定且覆盖度高,与完整数据集假设的偏差极小。
  • 该方法支持迁移学习:在小型实例上训练的规则能显著提升POMCP在更大、更复杂实例中的性能。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。