LLM Translation of Cognitive Models: A New Path for ACT-R and Soar Interoperability

LLMs can assist cross-architecture translation between ACT-R and Soar, but semantic fidelity still requires human-in-the-loop oversight.
This study explores using large language models to automate bidirectional translation between the two major cognitive architectures, ACT-R and Soar. Through controlled translation experiments and iterative prompt engineering, it finds that LLMs can generate code scaffolding conforming to the target framework's syntax, but clear gaps remain in semantic mapping—especially architecture-specific mechanisms (such as ACT-R's activation-based retrieval) whose probabilistic characteristics are easily lost. The core conclusion is that human-in-the-loop intervention is indispensable, and LLMs should be positioned as structural translators rather than semantic decision-makers. Methodologically, the work provides a reusable experimental framework and validates bidirectional interoperability, though a quantitative evaluation system remains to be established.
When Cognitive Architectures Meet: Can LLMs Become Translators?
Computational cognitive science has long faced a thorny problem: models built on different cognitive architectures are difficult to reuse and interoperate. ACT-R and Soar, the two mainstream cognitive modeling frameworks, each have their own syntax and semantic conventions, and cross-architecture translation has always relied on manual work—time-consuming, labor-intensive, and error-prone. A recent study attempts to automate this process using large language models (LLMs), exploring the feasibility of bidirectional translation between ACT-R and Soar through carefully designed prompt engineering.

Rather than simply testing LLM translation capabilities, the study systematically constructs an experimental methodology: combining controlled translation experiments with iterative prompt engineering loops to progressively identify and validate structures that can serve as general translation patterns. This lays the methodological foundation for subsequent quantitative evaluation.
ACT-R (Adaptive Control of Thought—Rational) and Soar are the two most representative cognitive architectures in computational cognitive science. ACT-R, developed at Carnegie Mellon University, uses production rules as its core computational unit, connecting declarative memory, procedural memory, and the perceptual-motor system through modular buffers; its memory retrieval relies on activation values, a probabilistic mechanism. Soar, proposed by a team at the University of Michigan, employs problem-space search and operator selection, achieving subgoal decomposition and learning through preferences and the decision cycle. The two differ fundamentally in cognitive assumptions, computational semantics, and modeling languages, so cross-architecture translation is not simple syntax substitution but involves deep semantic alignment problems.
Translation Patterns: From Syntactic Scaffolding to Semantic Mapping
Through multiple rounds of experiments, the research team found that LLMs exhibit layered capabilities in cross-architecture translation. At the syntactic scaffolding level, the model can correctly identify the correspondence between ACT-R production rules and Soar operator structures, generating code frameworks that conform to the target framework's syntax specifications. This structural-level mapping provides a reliable container for subsequent semantic filling.
However, there remain clear gaps in the completeness of semantic mapping. The core of a cognitive model lies in its precise characterization of cognitive processes—working memory capacity limits, conflict resolution strategies, learning mechanisms, and other details cannot be directly derived from syntactic structure. LLMs perform well on some semantic mappings, but when facing architecture-specific mechanisms, outputs often require manual correction to ensure the model is executable and cognitively plausible.
This finding is consistent with the cognitive science community's cautious attitude toward automated tools: LLMs can take on the heavy lifting of structural transformation, but the semantic core of cognitive modeling still requires domain expert oversight.
Syntactic scaffolding refers to the structural skeleton of the target framework code established first during translation—including declarations of rules/operators, variable bindings, control flow, and module calls, i.e., the formal shell. Its role is to provide a container that conforms to the target architecture's syntax specifications for subsequent semantic filling. This concept originates from the "scaffolding" metaphor in software engineering: first build a runnable structural framework, then gradually inject domain semantics. In cross-architecture translation, the correctness of syntactic scaffolding is relatively easy to verify (whether the code can be compiled and run by the interpreter), but semantic fidelity requires more detailed evaluation against the behavioral traces of the original model.
Human-in-the-Loop: The Irreplaceable Quality Gatekeeper
One of the study's core conclusions is that human-in-the-loop intervention remains critical. LLM-generated translations are often syntactically runnable but may deviate from the original model's expected behavior in terms of cognitive plausibility. For example, when ACT-R's activation-based memory retrieval mechanism is translated to Soar, a simple mapping to preference selection may lose the original model's probabilistic characteristics.
Iterative prompt engineering mitigates this problem to some extent: by encoding domain knowledge as prompt constraints, the semantic fidelity of model outputs gradually improves. However, the study explicitly notes that fully automated cross-architecture translation is not yet mature, and human expert verification remains indispensable.

Human-in-the-loop (HITL) is a collaborative paradigm in AI system design in which human participation is retained in automated processes, with humans reviewing, correcting, or making decisions about system outputs. In cognitive modeling translation scenarios, HITL takes specific forms including: experts checking the cognitive plausibility of generated code (e.g., whether memory retrieval matches the original model's activation distribution), correcting semantic deviations, and validating the model's behavioral performance on standard cognitive tasks. HITL stands in contrast to full automation; its core assumption is that in domains that are semantically sensitive and where errors are costly, human judgment remains the key to quality assurance.
Methodological Contributions and Future Directions
The value of this work lies not only in validating the feasibility of LLM-assisted translation but also in providing a reusable experimental methodology. The combination of controlled translation experiments and iterative prompt engineering elevates translation patterns from anecdotal experience to verifiable general rules. The validation of bidirectional interoperability means that translation patterns do not depend on a specific direction, which has direct implications for research on hybrid architecture integration.
The study also candidly acknowledges its limitations: current work focuses on feasibility exploration and pattern recognition, and a quantitative evaluation system remains to be established. Future research requires larger-scale model samples and more rigorous cognitive behavioral comparison metrics to comprehensively measure the fidelity of LLM translation.
Implications for Cognitive Modeling Practitioners
For researchers who routinely use ACT-R or Soar, this study conveys a pragmatic signal: LLMs can serve as auxiliary tools for cross-architecture migration, significantly reducing the mechanical burden of manual translation, but one should not expect a one-click solution. Positioning LLMs as "structural translators" rather than "semantic decision-makers," combined with expert review of cognitive plausibility, is currently the most viable collaboration model.
Cross-framework validation and model reuse are long-standing pain points in computational cognitive science. The involvement of LLMs has opened the door to automation in this field, but the road beyond the door still needs to be paved jointly by cognitive scientists and AI tools.
One-line Summary
LLMs can assist cross-architecture translation between ACT-R and Soar, but semantic fidelity still requires human-in-the-loop oversight.
Paragraph Summary
This study explores using large language models to automate bidirectional translation between the two major cognitive architectures, ACT-R and Soar. Through controlled translation experiments and iterative prompt engineering, the study finds that LLMs can generate code scaffolding conforming to the target framework's specifications at the syntactic level, but clear gaps remain in semantic mapping—especially architecture-specific mechanisms (such as ACT-R's activation-based retrieval) whose probabilistic characteristics are easily lost in translation. The core conclusion is that human-in-the-loop intervention is indispensable, and LLMs should be positioned as structural translators rather than semantic decision-makers. Methodologically, the work provides a reusable experimental framework and validates bidirectional interoperability, though a quantitative evaluation system remains to be established.
Related articles

Small Models + RAG: Construction Site Translation Accuracy Beats Fine-Tuning
Language barriers on construction sites pose safety risks. A study proposes an sLLM+RAG real-time domain translation solution. On a 250-sentence test set, the RAG approach achieves a COMET semantic accuracy of 0.846, surpassing fine-tuned models, without parameter updates, offering an efficient and maintainable path for on-device safety-critical translation.

Neural Program Learning: Achieving Generalization and Reuse in Logical Reasoning
A new neural program learning method represents programs as computational node networks, learns executable logic from examples, and reuses knowledge through automatically defined functions. Experiments show it successfully acquires and composes programs in relational reasoning tasks across multiple tasks, and learned circuits can be verified for equivalence.

Hardware Can Also Recursively Self-Improve: Robot Autonomously Redesigns Hardware for the First Time
The HardwareRSI framework lets robot agents autonomously redesign hardware, including mechanical structures and sensors, based on execution feedback. It completed 33 of 36 tasks in HardwareRSI-Bench and reduced median control steps by 22%, and on a physical robot it successfully designed gripper sleeves to lift a box.