Skip to main content
QUICK REVIEW

[Paper 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 Science3 citations
TL;DR

This paper proposes a method to learn logic-based policy guidance for POMCP using inductive logic programming (ILP) to infer answer set programming (ASP) rules from belief-action execution traces, enabling soft policy bias without expert-crafted rules. The approach improves sample efficiency and scalability in large POMDPs like rocksample and battery, achieving up to 50% higher discounted return with longer planning horizons while preserving asymptotic optimality.

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.

Motivation & Objective

  • To address the challenge of sparse rewards and poor exploration in POMCP for large-horizon, high-dimensional POMDPs.
  • To eliminate the need for manual specification of policy rules by domain experts in logic-guided POMDP planning.
  • To develop a method that learns interpretable, reusable policy specifications from POMCP execution traces using ILP and ASP.
  • To evaluate the impact of training data quality and quantity on learned rule performance and POMCP scalability.
  • To preserve POMCP's asymptotic optimality while enhancing performance through learned, soft policy bias.

Proposed method

  • Represent beliefs from POMCP execution traces using high-level domain features defined by experts, mapping them into ASP-compatible logic atoms.
  • Use inductive logic programming (ILASP) to learn ASP rules from belief-action pairs (CDPIs), modeling policy-relevant logical relationships.
  • Integrate the learned ASP rules as soft constraints in POMCP’s Monte Carlo tree search to bias action selection toward promising branches.
  • Apply a soft guidance mechanism that does not restrict exploration but influences selection probabilities based on rule satisfaction.
  • Evaluate rule convergence and performance across varying training set sizes and policy quality levels.
  • Preserve POMCP’s asymptotic optimality by ensuring learned rules do not override optimal policy convergence.

Experimental results

Research questions

  • RQ1Can ILP be effectively used to learn interpretable, policy-relevant logic rules from POMCP execution traces without expert-provided specifications?
  • RQ2How does the quantity and quality of training traces affect the performance and convergence of learned ASP rules in guiding POMCP?
  • RQ3To what extent do learned ASP rules improve POMCP’s sample efficiency and scalability in large-horizon POMDPs like rocksample and battery?
  • RQ4Does POMCP maintain its asymptotic optimality when guided by rules learned from sub-optimal policies?
  • RQ5Can rules learned from small task instances generalize to improve performance in larger, more complex instances?

Key findings

  • Using 80% or more of the full training set (≈8,500 examples), learned ASP rules converge to a stable hypothesis, achieving 100% coverage of non-covered examples and zero distance from the full-set baseline.
  • Rules learned from sub-optimal policies still improve POMCP performance, with a 50% increase in discounted return at grid size N=24, despite lower-quality training data.
  • Performance gains are most significant in high-action, long-horizon scenarios (e.g., rocksample with N≥18), where learned rules guide exploration toward optimal branches.
  • The method preserves POMCP’s asymptotic optimality even when rules are derived from low-quality policies, with only a minor average performance drop (<14%) for small grids.
  • Rule convergence is robust: increasing training set size leads to stable, high-coverage rule sets, with minimal divergence from the full-dataset hypothesis.
  • The approach enables transfer learning: rules trained on small instances significantly improve POMCP performance in larger, more complex instances.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.