Reasoning about Noisy Sensors in the Situation Calculus

Fahiem Bacchus, Joseph Y. Halpern, Hector J. LevesqueIJCAI 1995

Introduction

A fundamental divide has long existed in Artificial Intelligence between logical reasoning—the formal manipulation of symbols to deduce consequences of actions—and probabilistic reasoning—the mathematical framework for handling noisy, uncertain data. This 1995 paper by Bacchus, Halpern, and Levesque bridges this gap by extending the Situation Calculus to incorporate a weighting mechanism for "possible worlds." The result is a unified system where an agent’s beliefs update coherently whether it is physically moving or receiving imperfect sensor readings.

The Problem: Logic vs. Probability

Traditional logical formalisms, such as the Situation Calculus, excel at handling complex "what-if" scenarios and the "frame problem" (determining what remains unchanged after an action). However, they typically assume perfect sensors: a value is either known or unknown. Conversely, probabilistic models like Bayesian Networks are the gold standard for noise but often struggle with the logical structure of dynamic worlds and complex quantification.

The authors address a specific challenge: How can a robot reason that moving closer to a wall should predictably shift its noisy sonar readings and increase its confidence as more data is gathered?

Methodology: Extending the Situation Calculus

The authors build upon a version of the Situation Calculus that utilizes "successor-state axioms" to solve the frame problem. They introduce several key components:

  1. Epistemic States: The agent considers a set of "accessible situations"—all possible ways the world could be given its current knowledge.
  2. Relative Weights ($p$): A new functional fluent, $p(s', s)$, represents the weight an agent assigns to a possible situation $s'$ while actually in situation $s$.
  3. Degree of Belief (BEL): An agent's belief in a proposition is defined as the normalized sum of weights of all possible situations where that proposition holds true.
  4. The Successor-State Axiom for $p$: This core innovation defines how weights evolve:
  5. Physical Actions: Weights are "shifted" to new resulting situations (a process known as imaging).
  6. Sensor Actions: Weights are multiplied by a likelihood function (e.g., a Gaussian distribution representing sensor noise), effectively embedding Bayesian conditioning into the logic.

Key Insights

  • Unified Belief Update: The formalism elegantly handles two distinct types of belief change: persistence (when the world changes via physical action) and refinement (when the agent gains information via sensing).
  • The Frame Problem for Probability: By leveraging successor-state axioms, the persistence of belief is handled automatically. Sensing the distance to a wall does not require explicit rules to state that the status of a light switch remains unchanged.
  • Sensor Fusion: The logic naturally accounts for multiple readings. Sequential noisy observations automatically narrow the "degree of belief" around the true value.
  • Logical Flexibility: As a logic-based system, the agent can represent complex disjunctions (e.g., "The sensor is either broken or the distance is 10 meters") that are difficult for purely probabilistic models.

Results and Validation

The authors demonstrate that their logical update rule is mathematically equivalent to standard Bayesian conditioning. They validate the formalism through a "thought experiment" involving a robot measuring its distance from a wall.

Figure 1: Evolution of an agent's belief distribution through a sequence of observations and actions.

As shown in Figure 1, when the robot moves closer to a wall, its entire probability distribution shifts accordingly, maintaining relative uncertainty. Subsequent observations then refine this distribution, narrowing the peak around the most likely distance. This integration is achieved with remarkable simplicity, requiring only three primary axioms added to the existing framework.

Limitations and Future Work

Despite its elegance, the framework has limitations:

  • Deterministic Actions: The paper assumes physical actions are perfect. In reality, actuators (motors) are as noisy as sensors.
  • Computational Complexity: Summing over all possible situations to calculate belief is computationally intensive. Practical implementations in languages like GOLOG would require optimization.
  • Decision Theory: The paper focuses on updating beliefs rather than acting on them. Integrating this with utility theory remains a path for future research.

Summary updated

BibTeX
@inproceedings{bacchus1995reasoning,
  author = {Fahiem Bacchus and Joseph Y. Halpern and Hector J. Levesque},
  title = {{Reasoning about Noisy Sensors in the Situation Calculus}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure