Enabling Formal Verification in a Common Model of Cognition

Parth Ganeriwala, Miki Matsumuro, Frank E. Ritter, Siddhartha BhattacharyyaarXiv 2026

TL;DR

Simulating human thought processes is impressive, until your AI tutor or autonomous agent gets stuck in an infinite loop because of a subtle logic flaw. This paper bridges cognitive science and computer science by translating simulated "minds" into formal state machines, paving the way for mathematical proofs that guarantee cognitive models actually work as intended and won't get stuck.

What Problem Does This Paper Address?

For decades, cognitive scientists have built computational "cognitive architectures"—essentially operating systems for simulating human thought, memory, and decision-making. Famous frameworks like ACT-R and Soar do a great job of mimicking human behavior, from how fast we recall facts to how we solve puzzles.

Here is the catch: just because a model looks human in a few test runs doesn't mean its internal logic is bulletproof. Traditional validation relies on running simulations and checking if the output matches human data. As we deploy these models into critical, real-world systems like autonomous agents or adaptive training software, "it worked in tests" isn't enough. We lack formal, mathematical guarantees of correctness (will it complete the task?) and haltability (is it guaranteed to terminate rather than loop forever?).

Methods

To bring software-grade rigor to cognitive science, the authors turn to model checking—a formal verification technique that exhaustively explores every possible state a system can enter to prove logical properties.

Rather than building custom verification tools for every cognitive framework out there, the authors use the Common Model of Cognition (CMoC) as a universal middleman. The CMoC is a consensus blueprint of the mind's core modules (working memory, procedural rules, long-term memory).

Fig. 1. Overview of the verification process and compiler approach.

As a proof-of-concept for the broader vision shown above, the authors:

  1. Built three classic cognitive models in both ACT-R and Soar.
  2. Used the CMoC as a conceptual guide to identify shared representational structures across both architectures.
  3. Manually translated those models into finite-state transition systems written in the language of nuXmv, a state-of-the-art symbolic model checker.

For Soar, they modeled its "propose-apply" rule cycle; for ACT-R, they translated memory buffer updates into guarded state transitions while abstracting away messy, continuous math (like memory activation decay).

Datasets

Not discussed in the paper. Instead of empirical datasets, the authors evaluated their translation methodology using three canonical "toy" benchmark tasks from cognitive science:

  • Hungry-Thirsty: A basic procedural decision-making task (prioritizing eating over drinking).
  • The Fan Effect: A memory retrieval task where recalling facts takes longer when concepts have more overlapping associations (e.g., "A hippie is in the park").
  • Water Jug: A classic puzzle requiring state-space exploration to measure out a specific volume of water using 3-liter and 5-liter jugs.

Key Insights and Ideas

  • CMoC works as a Rosetta Stone: Despite ACT-R and Soar having very different under-the-hood mechanics, viewing them through the CMoC revealed clear structural parallels (like goal management and conditional rule firing), making a unified translation vocabulary surprisingly natural.
  • Architectural friction: Translating to strict, deterministic state machines exposes how differently architectures handle control flow. Soar's explicit operators mapped cleanly to nuXmv, whereas ACT-R's parallel buffer operations and utility-based rule selection required heavy abstraction to fit into a rigid state machine.
  • The symbolic-subsymbolic tradeoff: To make formal translation feasible right now, you have to strip away "subsymbolic" features—like probabilistic memory retrieval or reinforcement learning. This creates a fascinating tension: simplifying the model makes it mathematically verifiable, though less faithful to messy human psychology.

Key Results

Because this study served as a structural proof-of-concept, the authors did not run automated formal verification checks to output quantitative metrics (like verification speed or bug-catch rates).

Instead, the primary result is qualitative: they successfully encoded all six model implementations (3 tasks × 2 architectures) into valid, verification-ready nuXmv module specifications, demonstrating that diverse symbolic cognitive models can systematically be reduced to formal state machines.

Limitations and Future Work

The authors are upfront about this being step one. First, the translations were done entirely by hand—a tedious, error-prone process that could introduce human bias and won't scale to complex models. Second, omitting learning mechanisms (like Soar's chunking), stochasticity, and continuous timing limits how realistic the verified models can be.

To fix this, their next phase aims to build an automated compiler and a high-level, architecture-neutral modeling language based on the CMoC. The goal is a unified toolchain where a researcher writes a cognitive model once, and the compiler automatically generates both executable ACT-R/Soar code for behavioral simulation and nuXmv code (incorporating timing and learning) for automated mathematical verification.

Summary updated

BibTeX
@misc{ganeriwala2026enabling,
  author = {Parth Ganeriwala and Miki Matsumuro and Frank E. Ritter and Siddhartha Bhattacharyya},
  title = {{Enabling Formal Verification in a Common Model of Cognition}},
  year = {2026},
  eprint = {2611.40479},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.40479},
}
Figure