From knowledge-based programs to graded belief-based programs, part II: off-line reasoning

Noël Laverny, Jérôme LangIJCAI 2005

Abstract

In classical artificial intelligence, agents often operate using Knowledge-Based Programs (KBPs), which dictate actions based on absolute epistemic states. However, real-world environments demand a transition from binary knowledge to graded beliefs. While previous research addressed on-line reasoning—how an agent updates beliefs during execution—this paper focuses on the challenge of off-line reasoning. It introduces a formal framework for predicting the possible outcomes of a plan before execution by modeling second-order uncertainty: an agent's beliefs about its future belief states.

Introduction

Knowledge-Based Programs (KBPs) provide a high-level abstraction for agent behavior, using conditions like "If you know the door is locked, find a key." In practice, agents rarely possess absolute knowledge; they operate in a spectrum of certainty, ranging from "highly probable" to "remotely possible."

Transitioning KBPs to a graded belief system requires two types of reasoning. Part I of this research focused on on-line reasoning, where an agent maintains and updates its beliefs as it acts. This paper, Part II, addresses off-line reasoning: the ability of an agent to reason about the range of possible belief states it might inhabit after executing a sequence of actions or sensing operations. This is critical for robust planning, allowing an agent to anticipate scenarios where a plan might lead to a firm belief or, conversely, to a state of increased confusion.

Theoretical Framework

Ordinal Conditional Functions (OCF)

The foundation of the framework is Spohn’s ranking functions, or Ordinal Conditional Functions (OCF). These functions ($\kappa$) assign an "exceptionality degree" to possible world states. A rank of 0 represents a "normal" or expected state, while higher ranks represent increasingly unlikely or surprising states. This qualitative approach allows for a more intuitive, "common-sense" representation of uncertainty than traditional probability.

Complex Belief States (CBS)

The core innovation of this paper is the Complex Belief State (CBS). While a standard belief state ranks world states, a CBS is a second-order ranking function ($\mu$) that ranks belief states themselves. This allows the model to represent uncertainty about the agent's own future certainty. For example, an agent might believe it is likely to reach a state of high certainty after a sensing action, but it also maintains a (higher-ranked) belief that it might remain uncertain.

Syntactic Progression and Logic $L^2_{PS}$

To avoid the "state explosion" problem inherent in iterating over every possible world and observation, the authors propose a symbolic method for progression. They define a new logic, $L^2_{PS}$, which incorporates:

  • $B_i$ modalities: Representing first-order beliefs.
  • $P_i$ modalities: Representing second-order beliefs (beliefs about beliefs).

By using an inductive, symbolic approach, the framework can "progress" these logical formulas through a program's actions and loops without simulating massive state-transition matrices.

Key Insights

The Critique of the "Lottery Principle"

The authors distinguish their approach from Partially Observable Markov Decision Processes (POMDPs). In POMDPs, second-order uncertainty is typically collapsed into a single "average" belief state. The authors argue this results in a loss of expressivity. In their framework, knowing that you will end up in one of two distinct certain states is fundamentally different from being in one permanently uncertain state. Maintaining this distinction is vital for sophisticated planning and decision-making.

Qualitative vs. Quantitative Reasoning

By prioritizing qualitative ranking functions over raw probabilities, the framework integrates more naturally with logical programming. This allows agents to reason about uncertainty using symbolic manipulation, which is often more computationally efficient for high-level planning than numerical simulation.

Handling the while Construct

Reasoning about loops (e.g., "keep sensing until you are 90% sure") is notoriously difficult in epistemic logic. The paper introduces fixpoint semantics to determine the resulting CBS of a while loop. This models the long-term epistemic outcome of repetitive actions, providing a formal way to calculate when and how an agent's belief thresholds will be met.

Limitations and Future Work

Despite the framework's robustness, several challenges remain:

  • Infinite Support: In certain while loops, the resulting belief states can become infinitely complex, making them difficult to represent finitely.
  • Restricted Modalities: To maintain computational feasibility, the current logic restricts highly nested modalities (e.g., "I believe that I believe that I believe...").
  • Counterfactuals: Future research may explore counterfactual reasoning, allowing agents to evaluate how different past beliefs would have altered their current trajectory.
  • Complexity: While symbolic progression is more efficient than state iteration, the complexity of accounting for all possible observations in very large environments remains a significant hurdle.

Conclusion

This paper bridges the gap between high-level logical programming and the nuanced uncertainty of real-world environments. By formalizing second-order uncertainty through Complex Belief States and providing a symbolic method for off-line reasoning, the authors provide a powerful alternative to traditional probabilistic models, paving the way for more expressive and robust autonomous agents.

Summary updated

BibTeX
@inproceedings{laverny2005from,
  author = {Noël Laverny and Jérôme Lang},
  title = {{From knowledge-based programs to graded belief-based programs, part II: off-line reasoning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
}
Figure