Bridging Commonsense Reasoning and Probabilistic Planning via a Probabilistic Action Language

Yi Wang, Shiqi Zhang, Joohyung Lee

Abstract

To be responsive to dynamically changing real-world environments, an intelligent agent needs to perform complex sequential decision-making tasks that are often guided by commonsense knowledge. The previous work on this line of research led to the framework called "interleaved commonsense reasoning and probabilistic planning" (icorpp), which used P-log for representing commmonsense knowledge and Markov Decision Processes (MDPs) or Partially Observable MDPs (POMDPs) for planning under uncertainty. A main limitation of icorpp is that its implementation requires non-trivial engineering efforts to bridge the commonsense reasoning and probabilistic planning formalisms. In this paper, we present a unified framework to integrate icorpp's reasoning and planning components. In particular, we extend probabilistic action language pBC+ to express utility, belief states, and observation as in POMDP models. Inheriting the advantages of action languages, the new action language provides an elaboration tolerant representation of POMDP that reflects commonsense knowledge. The idea led to the design of the system pbcplus2pomdp, which compiles a pBC+ action description into a POMDP model that can be directly processed by off-the-shelf POMDP solvers to compute an optimal policy of the pBC+ action description. Our experiments show that it retains the advantages of icorpp while avoiding the manual efforts in bridging the commonsense reasoner and the probabilistic planner.

Introduction

Robots operating in complex, dynamic environments must navigate two distinct types of uncertainty. First, they require commonsense reasoning to handle logical constraints and causal relationships (e.g., understanding that a door must be open to enter a room). Second, they need probabilistic planning to manage sensor noise and partial observability (e.g., estimating the probability that a user requested a specific item).

Historically, these capabilities were siloed. Frameworks like iCORPP attempted to bridge them by manually linking logic-based languages (like P-log) with planning models (like POMDPs). However, this "manual glue" is brittle and labor-intensive. This paper introduces a unified framework that automates this integration by extending the action language $pBC+$ to natively support POMDP primitives, allowing for a more robust and "elaboration tolerant" approach to robot planning.

Methodology: Extending $pBC+$

The core of the proposed framework is an extension of the probabilistic action language $pBC+$. Action languages provide a formal way to describe how actions change the state of the world. By adding syntax for observations, rewards, and conditional probability facts, the authors enable $pBC+$ to describe full POMDP models.

A critical component of this extension is the translation of these high-level causal laws into $LP^{MLN}$ (Logic Programming with Markov Logic Networks). This provides a rigorous mathematical foundation for the language, as shown in the translation rules in Figure 1.

Translation of pBC+ causal laws into LP^{MLN} programs.

To make this practical, the authors developed the PBCPLUS2POMDP compiler. This tool automatically transforms high-level $pBC+$ descriptions into the format required by standard POMDP solvers like APPL. To combat the "state-space explosion" problem common in complex domains, the compiler utilizes a compositional generation method, partitioning actions and states to build the model incrementally.

Experimental Evaluation

The framework was tested on a Dialog Management task where a robot must deliver items to people in various rooms. The robot interacts with users via speech recognition, which is inherently noisy. It must decide whether to act (deliver) or gather more information (ask clarifying questions) based on its belief state and the associated rewards/costs.

The domain is defined using a set of constants and domains that represent the robot's observations and internal state, as detailed in Figure 2.

Notation and constants for the dialog management domain.

A second evaluation used a variant of the classic Two Tigers problem, scaled to three doors and two tigers to test the system's ability to handle increased state complexity.

Key Results

The experiments demonstrated significant improvements in both engineering efficiency and planning performance:

  • Computational Efficiency: The compositional generation mode drastically reduced model creation time. For a domain with 48 states and 37 actions, generation time fell from over an hour to under 3 minutes.
  • Adaptive Behavior: The system's "elaboration tolerance" allows it to adapt to environmental changes (like a blocked path) simply by adding a logical rule. In simulations, these adaptive models outperformed static baselines in terms of average reward.
  • Formal Correctness: The authors provided proofs that the conditional probabilities generated by the $LP^{MLN}$ translation accurately reflect the transition and observation probabilities required for valid POMDP solvers.

Conclusion and Future Work

By bridging the gap between logical reasoning and probabilistic planning, this framework reduces the manual effort required to build intelligent, adaptive agents. While the current "compile-then-solve" approach faces scalability limits in extremely large state spaces, it represents a significant step toward unified AI architectures. Future research will explore integrating sampling-based inference within the $LP^{MLN}$ framework to handle even more complex real-world scenarios without the need for exhaustive state-space enumeration.

Summary updated

Abstract

To be responsive to dynamically changing real-world environments, an intelligent agent needs to perform complex sequential decision-making tasks that are often guided by commonsense knowledge. The previous work on this line of research led to the framework called "interleaved commonsense reasoning and probabilistic planning" (icorpp), which used P-log for representing commmonsense knowledge and Markov Decision Processes (MDPs) or Partially Observable MDPs (POMDPs) for planning under uncertainty. A main limitation of icorpp is that its implementation requires non-trivial engineering efforts to bridge the commonsense reasoning and probabilistic planning formalisms. In this paper, we present a unified framework to integrate icorpp's reasoning and planning components. In particular, we extend probabilistic action language pBC+ to express utility, belief states, and observation as in POMDP models. Inheriting the advantages of action languages, the new action language provides an elaboration tolerant representation of POMDP that reflects commonsense knowledge. The idea led to the design of the system pbcplus2pomdp, which compiles a pBC+ action description into a POMDP model that can be directly processed by off-the-shelf POMDP solvers to compute an optimal policy of the pBC+ action description. Our experiments show that it retains the advantages of icorpp while avoiding the manual efforts in bridging the commonsense reasoner and the probabilistic planner.
BibTeX
@misc{wang2019bridging,
  author = {Yi Wang and Shiqi Zhang and Joohyung Lee},
  title = {{Bridging Commonsense Reasoning and Probabilistic Planning via a Probabilistic Action Language}},
  year = {2019},
  eprint = {1907.13482},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.13482},
}
Figure