Belief Functions for Real-Time Script Processing

Philip SchaeferIJCAI 1987

Introduction

In real-time situation understanding, such as weather forecasting or industrial process monitoring, systems must process continuous, time-ordered data streams. Unlike static analysis, these environments offer no "complete" dataset; decisions must be made dynamically as information arrives.

The "Script" paradigm, introduced by Schank in 1978, organizes data into meaningful sequences of events. However, matching noisy, real-world sensor data to these scripts is challenging. Sensors may miss events, and multiple scripts often partially overlap. This paper proposes a robust probabilistic belief function to address these temporal ambiguities and provide a mathematically grounded approach to script matching.

Methodology: Probabilistic Script Belief

The core of the proposed approach is a Probabilistic Script Belief Function derived from conditional probability. It calculates the likelihood of a script occurring based on two primary factors:

  1. Sensor Confidence: The probability that a specific event (script element) actually occurred.
  2. Knowledge Base Statistics: The relative frequency of a specific sequence compared to all other known scripts.

The author explores two estimation methods:

  • Static Knowledge Base: This method explicitly counts occurrences within a fixed database. While highly accurate, it is computationally intensive for large-scale or evolving systems.
  • Dynamic Knowledge Base: This approach uses global parameters—such as average script length and a priori event probabilities—to approximate likelihoods. This is more efficient for real-time learning systems where the "memory" of scripts is constantly updated.
Script definitions for the synthetic 'Daily Routine' scenario, illustrating sequences of events like 'commute to work' and 'go to store'.

Evaluation and Results

The model was evaluated using a synthetic "Daily Routine" scenario involving a person moving between home, work, and a store. The knowledge base contained four distinct scripts: "go for a ride," "commute to work," "go to store," and "day at home."

Key Insights

  • Temporal Sensitivity: The belief function assigns higher weight to matches occurring later in a script. While an early match is merely predictive, a late match implies the successful (though perhaps unobserved) completion of preceding events, offering a stronger synopsis of the situation.
  • The Subsumption Problem: The function naturally handles overlapping scripts (e.g., "eating food" appearing in multiple contexts) by penalizing generic scripts when a more specific, detailed script provides a better fit for the data.
  • Robustness: The probabilistic framework allows the system to maintain a viable match even if specific events are missed, provided subsequent data confirms the overall script.

Performance

The system demonstrated clear convergence as time progressed. In the "Daily Routine" example, as the subject moves from "home" to "going east" and arrives "at work," the belief in the "commute to work" script rises sharply, eventually dominating other possibilities.

Belief convergence over time for competing scripts in the 'Daily Routine' scenario.

Conclusion and Future Work

The proposed belief function aligns well with intuitive human situation assessment. However, several areas for improvement remain. Future work includes incorporating "focus of attention" mechanisms—ensuring that a lack of observation in an unmonitored area does not unfairly penalize a script. Additionally, the author suggests integrating these temporal constraints into broader uncertainty paradigms, such as Dempster-Shafer theory, to handle groups of hypotheses more effectively.

Summary updated

BibTeX
@inproceedings{schaefer1987belief,
  author = {Philip Schaefer},
  title = {{Belief Functions for Real-Time Script Processing}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1987},
}
Figure