Logical Filtering and Smoothing: State Estimation in Partially Observable Domains

Brent Mombourquette, Christian J. Muise, Sheila A. McIlraith

Introduction

In artificial intelligence, state estimation is the challenge of inferring the current state of a system (the "belief state") based on a history of actions and incomplete or noisy observations. In purely logical settings, this is typically handled by logical filtering, which progresses forward in time. However, exact logical filtering is often computationally intractable; as systems grow, the complexity of the formulas required to describe the belief state explodes. While researchers use "approximate filtering" to maintain speed, these approximations are often too weak to track complex dependencies between facts, leading to a loss of critical information.

This paper introduces logical smoothing, a technique that uses backwards reasoning to refine past belief states. By combining this with approximate filtering in a "backwards-forwards" (BF) algorithm, the authors provide a computationally efficient way to track the state of complex logical systems that would otherwise be mathematically intractable.

The Backwards-Forwards (BF) Algorithm

The proposed BF algorithm operates in two distinct phases to maintain an accurate belief state:

  1. Logical Smoothing (Backwards Phase): Inspired by smoothing in stochastic control theory, this process uses regression. When a new observation is made, the algorithm works backward through the history of actions to determine what must have been true in the past for that observation to occur. This effectively "fills in the blanks" of the historical record.
  2. Approximate Filtering (Forwards Phase): Once the past is refined, the algorithm re-plays the history forward using approximate filtering to update the current belief state.

To ensure efficiency, the authors restrict the belief state to conjunctive formulas (simple lists of facts). While this is a logically "weak" representation, the smoothing process compensates by recovering information that a forward-only filter would have discarded. Additionally, the authors introduce State Relevance Minimization (SRM), an optimization that ensures the system only tracks variables (fluents) relevant to the actions performed, significantly reducing the memory footprint.

Experimental Evaluation

The authors evaluated the BF algorithm using standard planning benchmarks—including Wumpus World, Doors, and the Canadian Traveler’s Problem (CTP)—as well as new synthetic domains designed to test specific logical complexities like conditional effects and cascading ramifications.

Performance metrics across standard benchmarks demonstrating 100% coverage and memory efficiency.

Key Results and Insights

  • Flawless Recall: In benchmark tests, the BF algorithm achieved 100% coverage, correctly inferring every action precondition and goal condition. In contrast, standard Approximate Logical Filtering (ALF) failed significantly on harder tasks, such as achieving 0% coverage on Wumpus05.
  • Massive Memory Savings: The SRM optimization reduced the number of fluents the system needed to track from 100% of the domain down to less than 1% in several benchmarks, such as Wumpus05 and Balls4-1.
  • Scalability: The algorithm scaled gracefully even as problem difficulty increased. In synthetic domains like "Password" and "Lights," the runtime performance remained manageable despite the growth in domain size and complexity.
Runtime performance of the BF algorithm in synthetic domains as problem size increases.

Conclusion and Future Work

The paper demonstrates that logical state estimation should not be a one-way street. By incorporating hindsight through smoothing, agents can use simple conjunctive representations to capture information that previously required much more complex logic.

Future work includes extending the framework to handle non-deterministic actions natively and integrating the approach with "width-based" search techniques to better handle problems requiring complex reasoning by cases. While the SRM optimization saves significant memory, further software optimization could help bridge the computational overhead introduced by the smoothing process.

Summary updated

BibTeX
@inproceedings{mombourquette2017logical,
  author = {Brent Mombourquette and Christian J. Muise and Sheila A. McIlraith},
  title = {{Logical Filtering and Smoothing: State Estimation in Partially Observable Domains}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.11031},
}
Figure