CogTwin is a hybrid cognitive architecture framework designed to bring autonomous reasoning and real-time adaptation to digital twin systems. Presented at IJCAI 2025, this work aims to advance the state of digital twin technology by addressing key gaps in autonomy, cognition, and real-time decision-making.
Digital twin technology has transformed how complex systems are managed, from smart cities to industrial processes. However, most current digital twins remain fundamentally reactive: they rely on pre-programmed rules and static data-driven models, and therefore struggle when confronted with unforeseen events or evolving conditions. Real-time learning, reasoning, and adaptation – hallmarks of human cognition – are largely absent.
CogTwin aims to address this gap by equipping digital twins with human-like cognitive abilities, enabling them to perceive, reason, learn, and act autonomously in dynamic environments. This approach marks a shift from traditional emphasis on simulation and monitoring toward genuine intelligence and adaptability, with the goal of enabling true cognition in cognitive digital twins.
At the core of CogTwin is a hybrid approach that integrates symbolic AI, sub-symbolic AI, and neuro-symbolic AI, each contributing complementary strengths.
The architecture is organized into several interconnected modules that operate within a continuous cognitive cycle:
A distinctive feature of CogTwin is a target 50-millisecond cognitive cycle, inspired by findings from years of cognitive science and cognitive architecture research. This rapid cycle is designed for real-time interaction and control in dynamic environments, aligning machine responsiveness with human-level reaction times while retaining digital precision and consistency.
The cognitive cycle is divided into six phases:
Throughout the cycle, the meta-cognitive layer continuously monitors performance with minimal overhead.
Preliminary complexity analysis and hardware assumptions indicate that the 50 ms target is achievable on cloud servers. Deployment on resource-constrained edge devices, such as Raspberry Pi 4, requires careful design of computationally intensive components. Strategies such as hierarchical graph representations, pre-computed paths, and optimized graph libraries support this goal, enabling CogTwin to operate across a range of platforms from cloud to edge.
CogTwin’s capabilities are demonstrated through detailed pseudocode implementations in four smart city scenarios, illustrating the framework’s versatility:
Beyond single-domain scenarios, CogTwin supports cross-domain coordination — for example, synchronizing traffic signal control to accelerate ambulance routes during medical emergencies, or managing cascading effects of power outages on traffic systems and smart homes. This systems-level perspective extends beyond traditional, siloed digital twin implementations.
CogTwin places strong emphasis on knowledge lifecycle management. During real-time operation, the DKR remains static to ensure stability. Over longer timescales, however, the DKR is periodically enriched offline with knowledge derived from the DIKG.
The enrichment process identifies information within the DIKG that has proven stable, persistent, and useful in practice. Offline integration allows for thorough validation and conflict resolution without affecting real-time performance. Safeguards such as ontological alignment, DKR versioning, and expert review for complex changes help prevent knowledge degradation. This approach ensures that learning enhances system performance while preserving reliability.
Trustworthy collaboration between humans and cognitive digital twins depends on transparency. CogTwin embeds explainability at multiple layers.
Symbolic components including the DKR, DIKG, and rule-based systems in the reactive layer naturally provide structured, queryable knowledge, making reasoning paths transparent and auditable. Planned enhancements include advanced explainable AI modules capable of generating counterfactual explanations and visualizing attention weights within neural networks. These capabilities will offer richer insight into both symbolic reasoning and sub-symbolic behavior, enabling stakeholders to understand not only what decisions are made, but why and under what conditions.
The CogTwin framework will be transitioned from detailed pseudocode to a working software implementation, followed by rigorous evaluation in simulated and real-world smart city pilots. The reference implementation and ongoing updates are (or will be) made available at the project GitHub repository.
Several research and development directions are in focus:
CogTwin contributes a concrete step toward a unified view of cognition in the digital twin domain. By integrating diverse cognitive functions into a practical architecture tailored for real-time, dynamic environments, the framework illustrates how digital twins can evolve from passive simulators to autonomous, adaptive, and intelligent systems.
The modular structure, hybrid AI stack, and rapid cognitive cycle together enable digital twins that perceive, reason, learn, and act in ways that echo human cognition, yet operate at the speed and scale demanded by modern cyber-physical infrastructures.