Model Checking Temporal Epistemic Logic under Bounded Recall

Francesco Belardinelli, Alessio Lomuscio, Emily Yu

Introduction

Verifying multi-agent systems (MAS) often involves reasoning about both time and knowledge using Temporal Epistemic Logic (CTLK). However, a significant computational "cliff" exists between memoryless agents and those with "perfect recall." While memoryless semantics are computationally efficient (PSPACE-complete), they fail to capture protocols requiring history. Conversely, perfect recall is non-elementary, making it practically unusable for complex real-world systems.

This paper, presented at AAAI-20, introduces Bounded Recall as a middle ground. By allowing agents a fixed-size "sliding window" memory of their last $k$ observations, the authors provide a framework that is both realistic and computationally manageable.

Formal Semantics and Complexity

The authors propose a new logic, $CTLK_{BR}$, which formalizes agent memory through "k-paths" and "k-bound indistinguishability." This logic allows for the verification of properties where agents have a memory of length $k$.

Formal semantics of the $CTLK_{BR}$ logic under bounded recall.

A key contribution is the complexity analysis: when the memory window $k$ is fixed, model checking remains PSPACE-complete, matching the complexity of the memoryless case for implicit models. If $k$ is a variable, the problem becomes EXPTIME. Furthermore, for the "positive existential" fragment (ECTLK), properties are monotonic; if a property holds for memory size $k$, it holds for all sizes greater than $k$, including perfect recall.

Implementation: MCMAS$_{BR}$

To demonstrate practicality, the authors extended the BDD-based (Binary Decision Diagram) model checker MCMAS. The resulting tool, MCMAS$_{BR}$, manages agent histories using a FIFO queue structure. This allows users to specify the recall window $k$ as a parameter during verification, effectively tuning the approximation of agent memory.

Experimental Evaluation

The framework was evaluated using two benchmarks: the N-Transmission-Protocol (NTP) and the Train-Gate Controller (TGC). The TGC benchmark involves multiple trains sharing a single track, where trains must "remember" how long they have been waiting to avoid discarding requests prematurely.

Experimental results for the Train-Gate Controller (TGC) benchmark, showing scalability up to 10 trains.

The results highlight several key insights:

  • Scalability: The tool successfully verified systems with up to 10 trains and a recall window of $k=3$, managing a massive state space of approximately $8.10 \times 10^{18}$ states.
  • Performance Bottlenecks: Model construction time ($t_m$) grows significantly faster than verification time ($t_v$) as the window size increases. For the largest TGC test ($N=10, k=3$), $t_m$ was approximately 13.14 seconds, while $t_v$ remained highly efficient at 0.576 seconds.
  • Memory Efficiency: The BDD-based approach maintained a low memory footprint, generally staying under 40MB even for the most complex configurations tested.

Conclusion and Future Directions

Bounded recall serves as a tunable approximation for MAS verification, avoiding the non-elementary complexity trap of perfect recall. While the state space grows exponentially with the window size ($|L_i|^{k+1}$), BDDs effectively manage this growth for practical window sizes. Future work includes allowing heterogeneous window sizes for different agents, parallelizing state-space construction, and developing methods to automatically determine the minimum $k$ required to approximate perfect recall for specific properties.

Summary updated

BibTeX
@inproceedings{belardinelli2020model,
  author = {Francesco Belardinelli and Alessio Lomuscio and Emily Yu},
  title = {{Model Checking Temporal Epistemic Logic under Bounded Recall}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6193},
}
Figure