Paper deep dive
EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education
Wenjing Zhai, Jianbin Zhang, Tao Liu
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 90%
Last extracted: 7/20/2026, 9:32:47 PM
Summary
The paper introduces EDU-MATRIX, a society-centric generative cognitive digital twin architecture for secondary education. It addresses the 'Agent-Centric Paradox' by simulating a social space with a gravitational field rather than hard-coded agent rules. Key components include the Environment Context Injection Engine (ECIE) for dynamic rule injection, the Modular Logic Evolution Protocol (MLEP) for fluid knowledge synthesis, and Endogenous Alignment via Role-Topology. The system was deployed with 2,400 agents, demonstrating high dialogue consistency (94.1%) and value alignment.
Entities (8)
Relation Signals (8)
EDU-MATRIX â contains â Environment Context Injection Engine
confidence 95% ¡ We introduce three architectural contributions: (1) An Environment Context Injection Engine (ECIE)...
EDU-MATRIX â contains â Modular Logic Evolution Protocol
confidence 95% ¡ (2) A Modular Logic Evolution Protocol (MLEP)...
EDU-MATRIX â deployedat â The High School Affiliated to Beijing Normal University
confidence 95% ¡ The system was validated within the specific cultural context of The High School Affiliated to Beijing Normal University.
Role-Topology â enables â Endogenous Alignment
confidence 92% ¡ Endogenous Alignment via Role-Topology, where safety constraints emerge from the agent's position in the social graph
Environment Context Injection Engine â implements â Gravity
confidence 90% ¡ The Injection Mechanism: ...injects a new Prompt Layerârepresenting the gravitational force of 'Silence' and 'Diligence'...
Modular Logic Evolution Protocol â manages â Knowledge Capsules
confidence 90% ¡ Knowledge is encapsulated in 'Knowledge Capsules.'... The Synthesis Reactor V2.0 serves as the primary engine for 'Fluid' knowledge management
EDU-MATRIX â uses â Gemini
confidence 90% ¡ The core reasoning capabilities leverage the Gemini model family
â â
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Existing multi-agent simulations often suffer from the "Agent-Centric Paradox": rules are hard-coded into individual agents, making complex social dynamics rigid and difficult to align with educational values. This paper presents EDU-MATRIX, a society-centric generative cognitive digital twin architecture that shifts the paradigm from simulating "people" to simulating a "social space with a gravitational field." We introduce three architectural contributions: (1) An Environment Context Injection Engine (ECIE), which acts as a "social microkernel," dynamically injecting institutional rules (Gravity) into agents based on their spatial-temporal coordinates; (2) A Modular Logic Evolution Protocol (MLEP), where knowledge exists as "fluid" capsules that agents synthesize to generate new paradigms, ensuring high dialogue consistency (94.1%); and (3) Endogenous Alignment via Role-Topology, where safety constraints emerge from the agent's position in the social graph rather than external filters. Deployed as a digital twin of a secondary school with 2,400 agents, the system demonstrates how "social gravity" (rules) and "cognitive fluids" (knowledge) interact to produce emergent, value-aligned behaviors (Social Clustering Coefficient: 0.72).
Tags
Links
- Source: https://arxiv.org/abs/2602.18705v1
- Canonical: https://arxiv.org/abs/2602.18705v1
Trouble viewing inline? Open PDF directly â
Full Text
20,644 characters extracted from source content.
Expand or collapse full text
EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education WENJING ZHAI, The High School Affiliated to Beijing Normal University, China JIANBIN ZHANG, The High School Affiliated to Beijing Normal University, China TAO LIU, Department of Electronic and Communication Engineering, North China Electric Power University, China Existing multi-agent simulations often suffer from the "Agent-Centric Paradox": rules are hard-coded into individual agents, making complex social dynamics rigid and difficult to align with educational values. This paper presents EDU-MATRIX, a society-centric generative cognitive digital twin architecture that shifts the paradigm from simulating "people" to simulating a "social space with a gravitational field." We introduce three architectural contributions: (1) An Environment Context Injection Engine (ECIE), which acts as a "social microkernel," dynamically injecting institutional rules (Gravity) into agents based on their spatial-temporal coordinates; (2) A Modular Logic Evolution Protocol (MLEP), where knowledge exists as "fluid" capsules that agents synthesize to generate new paradigms, ensuring high dialogue consistency (94.1%); and (3) Endogenous Alignment via Role-Topology, where safety constraints emerge from the agentâs position in the social graph rather than external filters. Deployed as a digital twin of a secondary school with 2,400 agents, the system demonstrates how "social gravity" (rules) and "cognitive fluids" (knowledge) interact to produce emergent, value-aligned behaviors (Social Clustering Coefficient: 0.72). Additional Key Words and Phrases: Social Field Theory, Cognitive Digital Twin, Endogenous Alignment, Context Injection, Generative Agents ACM Reference Format: Wenjing Zhai, Jianbin Zhang, and Tao Liu. 2026. EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education. 1, 1 (February 2026), 9 pages. https://doi.org/10.1145/n.n 1 Introduction A key gap exists in constructing a secondary school-level CDT (Cyber Digital Twin) capable of carrying institutional memory, supporting cognitive interaction, and ensuring ethical controllability[3]. Current simulations often treat secondary education as a collection of isolated entities, failing to capture the schoolâs reality as a high-density "field" of values, norms, and institutional memory[1]. Internationally, campus simulation researchâsuch as Stanfordâs "AI Town" and Zhejiang Universityâs "Cyber Cam- pus"âhas explored large-scale digital twins. However, these projects predominantly focus on university-scale man- agement and multi-agent collaboration, prioritizing efficiency and node scale over cognitive depth[8][5]. They often neglect the particularities of secondary education, where agents are not static nodes but dynamic coordinates moving through a complex social fabric. Authorsâ Contact Information: Wenjing Zhai, wendysnake55@163.com, The High School Affiliated to Beijing Normal University, Beijing, China; Jianbin Zhang, The High School Affiliated to Beijing Normal University, Beijing, China, zhangjianbin2026@163.com; Tao Liu, Department of Electronic and Communication Engineering, North China Electric Power University, Hebei, China, taoliu@ncepu.edu.cn. Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org. Š 2026 Copyright held by the owner/author(s). Publication rights licensed to ACM. Manuscript submitted to ACM Manuscript submitted to ACM1 arXiv:2602.18705v1 [cs.MA] 21 Feb 2026 2Wenjing Zhai et al. As shown in Figure 1, Figure 1 illustrates this paradigm shift from rigid, agent-centric rules to a flexible, society- centric gravitational model.Existing works lead to cognitive distortion when migrated to the nuanced environment of a secondary school due to their reliance on static rules[2]. To address this, EDU-MATRIX proposes a theoretical shift: simulating a Social Space with a Gravitational Field. In this architecture: â˘Rules are Gravity: Instead of hard-coded scripts, a "Social Microkernel" exerts invisible forces (norms and value orientations) on agents, ensuring ethical controllability and institutional alignment. â˘Knowledge is Fluid: Information exists as "Capsules"[4] that flow, merge, and evolve between agents, forming a living institutional memory rather than a static database. â˘Agents are Coordinates: Decoupled from rigid physical attributes, agents function as dynamic points whose trajectories are defined by the interaction of social gravity and fluid knowledge. By replacing traditional modeling with this field-theory approach, EDU-MATRIX ensures that behavior verification and career evolution are grounded in the authentic, high-density social fabric of the secondary school environment. Fig. 1. The Paradigm Shift 2 SYSTEM DESIGN AND CORE MECHANISMS: THE PHYSICS OF THE SOCIAL SPACE The core philosophy of EDU-MATRIX represents a departure from simulating isolated agents to simulating the computational environment that governs them. We achieve this through a Social Decoupling Architecture, which treats the campus as a programmable computational society composed of rules, relationships, and memories, rather than a mere collection of agents. 2.1 The "Gravity": Environment Context Injection Engine (ECIE) Traditional agent designs often hard-code behavioral rules into individuals, which creates a maintenance nightmare in dynamic secondary school environments[10]. EDU-MATRIX adopts a Social Decoupling Logic, treating rules as properties of the space rather than the individual. â˘Environment Context Injection Engine (ECIE): Serving as the systemâs "Social Microkernel" (see Figure 2), the ECIE acts as a dynamic "Context Injector." â˘The Injection Mechanism: When an agentâs spatial coordinate changes (e.g., moving from the "Cafeteria" to the "Library"), the ECIE detects this state change. It immediately "injects" a new Prompt Layerârepresenting the gravitational force of "Silence" and "Diligence"âinto the agentâs context window. Manuscript submitted to ACM EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education3 â˘Live Programming: This architecture empowers educators to perform "Live Programming" of the schoolâs social gravity. By adjusting a global parameter like "Academic Pressure," the system instantly increases the gravitational pull of the library for all agents, without requiring a server restart. Fig. 2. System Architecture 2.2 The "Fluid": Modular Logic Evolution Protocol (MLEP) Secondary schools are characterized by High Cognitive Densityâintense emotional interactions and stable hierarchical relationships. Individual behavioral deviations can significantly impact the group learning ecosystem. We address this via Role-Topology[9]. â˘Topological Probabilistic Bias: Agents are modeled as nodes in a high-density social graph, as shown in Figure 3. An agentâs "role" (e.g., Student Council President) is not just a text label but a topological coordinate. This position naturally biases the probability distribution of their generated tokens. â˘Endogenous Value Alignment: Instead of relying on brittle external "guardrails" (hard filters), we achieve Endogenous Alignment. By reinforcing the agentâs anchor point in the topological network, behaviors that violate school mottos (e.g., Integrity, Love) become statistically improbable. ⢠Micro-Knowledge Communities: The interplay of semantic anchors and dynamic social weighting fosters the emergence of stable "Micro-Knowledge Communities," ensuring the consistent inheritance of campus values. 2.3 The "Coordinates": Role-Topology and Endogenous Alignment Cognition in EDU-MATRIX is treated as a "Logic Assetization" process. Knowledge is not static text but a "fluid" that circulates, merges, and evolves. â˘Modular Logic Evolution Protocol (MLEP): Knowledge is encapsulated in "Knowledge Capsules."[7] When agents (e.g., a Physics student and an Art student) interact in the Synthesis Lab, the system executes a protocol to fuse their respective capsules[11]. This synthesis generates new Logic Assets (e.g., "The Physics of Impressionist Light"), simulating the emergence of new paradigms. ⢠Circular Memory Flow: To manage this fluid knowledge, we implement a four-stage cycle: GenerationâRetrieval âSelectionâAbstraction, as shown in Figure 4. This ensures ephemeral dialogues are solidified into long-term collective memory. Manuscript submitted to ACM 4Wenjing Zhai et al. Fig. 3. Cognitive-Oriented Social Topology â˘Hierarchical Orchestration: We employ a three-tier architecture (Meta-Agents, Domain Agents, Student Agents) deeply coupled with the memory flow. This structure reduces reasoning costs while ensuring consistent character personas across time and space. Fig. 4. Modular Logic Evolution Protocol 2.4 The "Neural Handshake": Interaction and Conflict Resolution The "Knowledge Salon" serves as the core reactor for cognitive interaction, providing semantic anchors for multi- perspective discussions. However, the creativity of GenAI can conflict with educational safety[6]. Manuscript submitted to ACM EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education5 â˘Neural Handshake Interface: We introduce the "Neural Handshake", as shown in Figure 5, a visual interface that manages the tension between the environmentâs symbolic rules (Gravity) and the LLMâs neural generation (Fluid). ⢠Human-in-the-Loop Arbitration: When a conflict arises (e.g., a creative but ethically ambiguous action), this interface visualizes the conflict for the educator. It allows for real-time intervention and arbitration, ensuring the system remains a safe, controlled educational sandbox. ⢠Skill-Level Extension: Cognitive capabilities are encapsulated as loadable units (Skill Plugins). This focuses the simulation on "how to think" rather than just "what to think," transforming the system into an open Cognitive Ecosystem. Fig. 5. The "Neural Handshake" Workflow 3 System Implementation and Experimental Verification 3.1 System Implementation The core implementation of EDU-MATRIX is based on the philosophy of Holistic Ambience-Driven Engineering combined with multi-round interactive iterations. In the initial phase, vibe coding was utilized to align the core requirements of a secondary education cognitive digital twinâsuch as institutional memory inheritance, value alignment, and high-density social simulationâwith technical implementation logic. 3.1.1 Ambience-Driven Coding and Educational Alignment. Through multiple rounds of interactive adjustments, the systemâs educational adaptability and the depth of its cognitive modeling were refined. This ensured that the technical framework remained consistent with the characteristics of secondary education, effectively mapping the "Physics of the Social Space" (Gravity, Fluid, Coordinates) into functional modules. 3.1.2 Matrix Deployment via Google AI Studio. The core reasoning capabilities leverage the Gemini model family (accessed via API), orchestrated by a custom local microkernel that manages the secure plugin ecosystem. By leveraging the Gemini series of large language models, the system manages the integration of the core cognitive engine and the col- laborative scheduling of multi-agents.As shown in Figure 6, this module processes "Knowledge Capsules"âmodular logic fragmentsâby fusing disparate inputs, such as "Centenary School History Topology" and "Polymorphic Architecture Protocols," into new, synthesized logic assets. Manuscript submitted to ACM 6Wenjing Zhai et al. Fig. 6. Logic Synthesis Reactor 3.1.3 Plugin Ecosystem and the Synthesis Reactor. To fulfill the requirement of social decoupling, a "Database-per- Plugin" architecture was adopted, ensuring secure isolation and flexible maintenance of heterogeneous data. The Synthesis Reactor V2.0 serves as the primary engine for "Fluid" knowledge management, allowing for the fusion of different logic assets.As shown in Figure 7, this interface monitors the global synchronization of matrix nodes, including the KAI Digital Facilitator, the Digital School History Museum, and the Frontier Technology Lab. Fig. 7. EDU-MATRIX Deployment Hub 3.2 Simulation Experiments and Analysis We deployed the system to create a digital twin of a large-scale secondary school in East Asia. The simulation included 2,400 student agents, 300 teachers, and 100 virtual alumni over a 30-day longitudinal cycle. 3.2.1 Virtual Ecosystem and Topology Monitoring. The high-density social network was monitored in real-time using the Neural Topology Map to ensure the fidelity of the interaction environment.As shown in Figure 8, this map visualizes the active logic nodes and skill links surrounding the Matrix Core. The system maintained a global resonance synchronization rate of 98.4% throughout the simulation. 3.2.2 Value Alignment: Verifying the "Endogenous Coordinates". Value alignment experiments were conducted to verify the effectiveness of the "Gravity" modules (e.g., Integrity, Love, Diligence, Courage). The experimental group showed Manuscript submitted to ACM EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education7 Fig. 8. Neural Topology Map a 42% higher weight on "social contribution" in their career plans compared to the control group. This confirms that institutional values can be successfully internalized through topological constraints rather than external filters. Throughout the 30-day period, the KAI Digital Facilitator maintained the safety and consistency of the simulation by executing the Neural Handshake protocol.As shown in Figure 9, the interface demonstrates the "Neural Handshake" in action, where symbolic institutional rules intersect with neural LLM generation to resolve cognitive conflicts or ethical boundary crossings[12]. Fig. 9. KAI Digital Facilitator Interface The systemâs performance and stability were verified by the following key indicators:as done here for Table 1. Manuscript submitted to ACM 8Wenjing Zhai et al. Table 1. Key Performance Indicators Evaluation DimensionIndicator ValueConclusion Social Clustering Coefficient0.72Realistic formation of student cliques. Global Resonance Sync98.4%High alignment with institutional values. Value Injection Efficacy+42%Increase in "social contribution" discussions. Dialogue Consistency94.1%Long-term persona stability. 4 Conclusion and Outlook 4.1 Conclusion This paper has presented the architecture and implementation of EDU-MATRIX, a generative cognitive digital twin system specifically designed for secondary education settings. By shifting the modeling paradigm from agent-centric to society-centric, we have successfully addressed the unique challenges of high-density social interaction and value inheritance in basic education.The core of our contribution lies in the "Physics of the Social Space" framework, which successfully operationalizes abstract educational requirements into engineering mechanisms: â˘Gravity (ECIE): Effectively decoupled institutional rules from individual agents, allowing for the dynamic injection of environment-specific constraints. â˘Fluid (MLEP): Facilitated the "logic assetization" of knowledge through modular Knowledge Capsules and a circular memory flow. â˘Coordinates (Role-Topology): Enabled endogenous value alignment by anchoring agents within a dense, self- regulating social fabric. Our 30-day longitudinal simulation involving 2,400 student agents validated the systemâs stability and efficacy. The results showed a stable personality consistency of 94.1% and a global resonance synchronization rate of 98.4%. Most importantly, the value alignment experiments demonstrated a 42% increase in the weight of social contribution in agent decision-making, confirming that CDT systems can serve as powerful tools for educational intervention. EDU-MATRIX provides a reusable technical paradigm for bridging the gap between symbolic institutional rules and neural generative capabilities in digital campus research. 4.2 Limitations and Future Work While EDU-MATRIX demonstrates significant potential, several areas for improvement remain: ⢠Computational Optimization: The current hierarchical multi-agent orchestration is computationally intensive. Fu- ture work will explore lightweight models and optimized inference strategies to reduce the hardware requirements for large-scale deployment. ⢠Generalizability: The system was validated within the specific cultural context of The High School Affiliated to Beijing Normal University. Further research is needed to evaluate its effectiveness in schools with different organizational structures or cultural backgrounds. ⢠Cross-Campus Cognitive Connectivity: We plan to investigate mechanisms for connecting multiple "Matrix" instances across different campuses, enabling the collaborative sharing of logic assets and the creation of a broader cognitive ecosystem. Manuscript submitted to ACM EDU-MATRIX: A Society-Centric Generative Cognitive Digital Twin Architecture for Secondary Education9 â˘Human-AI Co-Evolution: We aim to further refine the Neural Handshake interface to better support real-time, human-in-the-loop arbitration, fostering a symbiotic relationship between educators and the digital twin system. References [1] Shaimaa Mohamed Amin, Shimaa Abd El-fattah Mahgoub, Ahmed Farghaly Tawfik, Dalia E Khalil, Ahmed Abdelwahab Ibrahim El-Sayed, Mohamed Hussein Ramadan Atta, Ali Albzia, and Shadia Ramadan Morsy Mohamed. 2025. Nursing education in the digital era: the role of digital competence in enhancing academic motivation and lifelong learning among nursing students. BMC nursing 24, 1 (2025), 571. [2] P Murali Doraiswamy, Jon Andoni DuĂąabeitia, Carlos Rodriguez, and Davangere P Devanand. 2025. Digital cognitive twins in mental health. Nature Mental Health 3, 10 (2025), 1106â1108. [3] Ian Editor (Ed.). 2008. The title of book two (2nd. ed.). University of Chicago Press, Chicago, Chapter 100, 25â137. doi:10.1007/3-540-09237-4 [4]Rolando Herrero, Mallesham Dasari, and Haitham Tayyar. 2025. Transforming Digital Twins into Cognitive Digital Twins to Enable Future Manufacturing. In International Conference on Emerging Trends and Technologies on Intelligent Systems. Springer, 153â165. [5]Martin Hideki Mensch Maruyama, Luan Willig Silveira, Elvandi da Silva JĂşnior, Gabriel Casanova, JosĂŠ Palazzo M. de Oliveira, and VinĂcius Maran. 2025. Recommender systems in smart campus: a systematic mapping. Knowledge and Information Systems 67, 3 (2025), 2063â2089. [6]Ting-Chia Hsu and Tai-Ping Hsu. 2025. Teaching AI with games: the impact of generative AI drawing on computational thinking skills. Education and Information Technologies (2025), 1â20. [7] Mario Lezoche and Diego Torres. 2024. What the Semantic Web Can Do for Cognitive Digital Twins: Challenges and Opportunities. In International Workshop on Collaboration in Knowledge Discovery and Decision Making. Springer, 224â237. [8] Jida Li, Mingyang Su, Junfan Zhao, Xiaomei Nie, and Xiu Li. 2024. Build Your Campus Image Together: Media Memory Shaping Campus Culture. In International Conference on Human-Computer Interaction. Springer, 140â153. [9] Huaping Liu, Xinzhu Liu, Kangyao Huang, and Di Guo. 2025. Embodied Multi-Agent Sys tems: Perception, Action, and Learning. Springer Nature. [10]Maha Riad, Vinicius Renan de Carvalho, and Fatemeh Golpayegani. 2024. Optimising multi-value alignment: a multi-objective evolutionary strategy for normative multi-agent systems. Neural Computing and Applications (2024), 1â19. [11]A Sathish et al.2025. Intelligent emotion sensing using BERT BiLSTM and generative AI for proactive customer care. Scientific Reports 15, 1 (2025), 1â22. [12]Mohammad Shahin, Ali Hosseinzadeh, and F Frank Chen. 2025. Generative artificial intelligence in manufacturing: applications, case studies, and future directions for next-generation intelligent production systems. The International Journal of Advanced Manufacturing Technology (2025), 1â107. Manuscript submitted to ACM