Insuring Cognitive Models with Formal Verification: A New Attempt at a Unified CMoC Framework

A new paper uses CMoC as an intermediary to translate ACT-R and Soar cognitive models into state machines and automatically verify task completion and termination with nuXmv.
Cognitive science has long relied on behavioral matching and manual inspection to evaluate cognitive models such as ACT-R and Soar, making it difficult to guarantee correctness and termination across all execution paths. A new paper proposes introducing formal verification into cognitive modeling: using CMoC as an architecture-neutral abstraction layer, translating models into state transition systems, and using nuXmv to exhaustively verify task completion and termination. Three toy models covering procedural execution, memory retrieval, and problem solving are cross-validated in ACT-R and Soar, pointing toward high-level modeling languages and compilers.
Cognitive science and AI have long faced an awkward situation: we can build cognitive models that appear behaviorally plausible, yet it is very difficult to rigorously prove that they "won't go wrong." A new paper proposes introducing formal verification into the cognitive model development process, using the Common Model of Cognition (CMoC) as a unified framework, translating models into state machines, and then using tools like nuXmv for automated analysis—essentially performing a "model check" on cognitive models.

Why Cognitive Models Need Formal Verification
Traditional cognitive models (such as ACT-R and Soar) are evaluated through behavioral matching and manual inspection: run a few tasks and see whether the output matches expectations. This approach can catch obvious errors, but it struggles to cover all execution paths, let alone guarantee that a task will always complete and that the process will always terminate. The value of formal verification lies in exhaustively exploring the state space, providing mathematical guarantees for properties such as "correctness" (task completion) and "stoppability" (guaranteed termination).
The paper's core idea is not complicated: convert cognitive models into state transition systems and let verification tools replace humans in performing exhaustive checks. The real difficulty is that different cognitive architectures (ACT-R and Soar) differ greatly in their internal mechanisms, requiring a common abstraction layer to carry the translation. CMoC happens to provide this abstraction layer.
Model Checking is an automated formal verification technique proposed by Clarke, Emerson, and others in the early 1980s. Its basic approach is: model the system as a finite state transition system, describe the properties expected to hold using temporal logic (such as LTL, CTL), and then have an algorithm exhaustively search the entire state space to determine whether all reachable states satisfy those properties; if not, the tool provides a counterexample path. Compared with theorem proving, model checking is fully automated, at the cost of facing the "state space explosion" problem—the number of states grows exponentially with the number of concurrent components. Mitigation methods include symbolic representation (BDD), bounded model checking (SAT solving), and abstraction refinement. nuXmv is a representative tool of this kind, supporting symbolic and bounded model checking, and can directly perform invariant and reachability analysis on finite state machine models.
Task completion and termination are two correctness properties at different levels. Task completion is a "reachability property": starting from the initial state, there exists (or under all strategies there exists) a path to the goal state, meaning the model ultimately produces the correct answer or output. Termination is a "liveness property": the system does not fall into an infinite loop or deadlock, and any execution path necessarily ends within a finite number of steps. In temporal logic, the former is often expressed with quantifiers such as EF/AG for "can always reach the goal," while the latter is often expressed as "no infinite loop" or "eventually always reaches a terminal state." For cognitive models, these two properties are particularly critical: if a cognitive system does not terminate, it is effectively "stuck" and cannot produce behavior; if it cannot reach the goal state, it means reasoning has failed. Model checking can provide a rigorous determination of these two properties over the entire state space, rather than relying on sampled runs.
From Cognitive Architectures to State Machines: CMoC's Mediating Role
CMoC was originally a conceptual framework describing commonalities among cognitive architectures, and the paper further uses it as the basis for state machine representation. The authors point out that this work "highlights the feasibility of CMoC as a state machine framework suitable for formal reasoning." In other words, CMoC is no longer just a theoretical consensus model, but a bridge connecting symbolic cognitive architectures and formal methods from computer science.
This architecture neutrality has practical significance: if the verification process is tied to a single architecture, then every change of architecture requires rebuilding a toolchain. Using CMoC as an intermediary allows progress toward "fast, accurate, and architecture-independent cognitive model development."
ACT-R and Soar are the two most representative symbolic cognitive architectures. ACT-R is known for its modularity, including a procedural module (production rules), a declarative memory module, visual and motor modules, etc. Modules communicate through buffers, and the matching and conflict resolution of production rules drive the cognitive cycle. Soar centers on problem space search and the "impasse—subgoal" mechanism: when knowledge is insufficient to decide the next step, an impasse arises, subgoals are automatically created to solve subproblems, and the results of subproblems are compiled into new rules through chunking. The two differ significantly in memory organization, conflict resolution, and learning mechanisms, which is precisely why the paper needs CMoC as an abstraction layer—directly translating either architecture into a state machine would deeply couple the translation rules with the architecture's implementation details, making reuse difficult. The common layers provided by CMoC (such as working memory, procedural memory, and the perceptual-motor interface) provide a shared vocabulary for unified cross-architecture translation.
Cross-Validation of Three Toy Models and Two Architectures
The paper uses three toy models to demonstrate the method, covering three types of cognitive activity: procedural execution, memory retrieval, and problem solving. These three models are developed simultaneously in both ACT-R and Soar architectures, then uniformly converted into state transition systems to verify task completion and termination.
Using toy models for verification is a reasonable starting strategy: the state space is manageable, making it easy to observe which constructs are necessary in the translation process. The paper also explicitly states that this work "reveals the minimal constructs required to represent and translate cognitive architectures into a formal verification environment." This provides a checklist-style foundation for subsequent extension to more complex models.
Toy models are not pejorative in this type of research, but rather a deliberate experimental design: they strip cognitive activity down to its minimal runnable form, keeping the state space size manageable so that the correctness and completeness of translation rules can be examined one by one. The three types of activity chosen by the paper—procedural execution, memory retrieval, and problem solving—correspond exactly to the most core mechanisms in cognitive architectures: serial application of production rules, retrieval and matching of declarative memory, and multi-step search and goal management. By modeling the same task separately in ACT-R and Soar and then uniformly translating and verifying them, the authors are effectively doing a kind of "differential testing": if the implementations in both architectures pass the same state machine verification, it shows that the translation layer has indeed captured architecture-independent cognitive commonalities rather than the specific implementation of one architecture.
Toward High-Level Modeling Languages and Compilers
The paper concludes by pointing toward a grander goal: building on these foundations, to construct a high-level modeling language and accompanying compiler that connect symbolic cognitive architectures with formal methods. If this path succeeds, cognitive modelers may no longer need to manually handle state machine translation; instead, they can model in familiar architecture languages, and the compiler will generate a verifiable representation.
Of course, the current results remain at the toy model stage, and there is still a distance to go before verifying cognitive models at real scale. But moving "verifiability" earlier into the modeling process is itself a methodological shift—from "it runs, so it's fine" to "it provably runs."
Key Points Review
- The paper translates cognitive models in ACT-R and Soar into state transition systems and uses nuXmv to verify task completion and termination.
- CMoC is used as an architecture-neutral state machine framework, serving as an intermediary between cognitive architectures and formal methods.
- Three toy models cover procedural execution, memory retrieval, and problem solving, verifying the feasibility of the method.
- The research reveals the minimal constructs required for translation and paves the way for high-level modeling languages and compilers.
One-line Summary
A new paper uses CMoC as an intermediary to translate ACT-R and Soar cognitive models into state machines and automatically verify task completion and termination with nuXmv.
Paragraph Summary
Cognitive science has long relied on behavioral matching and manual inspection to evaluate cognitive models such as ACT-R and Soar, making it difficult to guarantee the correctness and termination of all execution paths. A new paper proposes introducing formal verification into the cognitive modeling process: using the Common Model of Cognition (CMoC) as an architecture-neutral abstraction layer, translating cognitive models into state transition systems, and then using model checking tools such as nuXmv to exhaustively search the state space and automatically verify task completion and termination. The authors use three toy models covering three types of cognitive activity—procedural execution, memory retrieval, and problem solving—and cross-validate them in both ACT-R and Soar architectures, revealing the minimal constructs required for translation. The research ultimately points toward the goal of building a high-level modeling language and compiler, enabling cognitive modelers to model in familiar architecture languages and have compilers generate verifiable representations, thereby moving "verifiability" earlier into the modeling process.
Related articles

GameStop Auctions Game Informer Vault: 14,000 Game Collectibles Listed on eBay
GameStop is auctioning the Game Informer Vault on eBay, featuring over 14,000 cataloged items spanning generations of gaming culture. We analyze the auction details, preservation impact, and industry signals.

Devin Integrates with AWS Transform: AI Agent Bridges Code Modernization to Production Deployment
AWS Transform integrates the Devin AI agent, enabling users to launch sessions in job chat and review pull requests, test results, and screenshots within the same job.

AI SDK's TogetherAI Module Update: Capabilities Declared Per Model
@ai-sdk/togetherai releases patch 3.0.101, refactoring TogetherAI model capabilities to be declared per model ID. This article analyzes the impact on multi-model integration, capability metadata management, and developers.