Answers are grounded in this paper and cite their sources.
To address the insufficient cognition of dormitory safety risks and the low efficiency of dynamic security prevention and control, a knowledge-enhanced multi-agent collaborative dormitory safety risk cognition and dynamic regulation algorithm is proposed. To improve the practicality of the architecture, a Knowledge-Enhanced Multi-Agent Proximal Policy Optimization algorithm (KE-MAPPO) is designed. The algorithm employs a Bidirectional Long Short-Term Memory model with Conditional Random Fields (BiLSTM-CRF) to extract dormitory safety risk knowledge, which is stored in a Neo4j graph database. A complete ontology is constructed for the dormitory safety domain; quantitative indicators of graph entities, relations and triples are counted, and the procedures for dataset annotation, partitioning and consistency verification are standardized. The extracted knowledge is embedded into the loss function of KE-MAPPO to guide each agent to work efficiently, supplement the complete mathematical definitions of knowledge regularization terms and multi-factor risk reward functions, along with explanations of variable symbols and gradient constraints, and the model is transformed based on the Markov Decision Process. Standardize the definitions of dormitory simulation environment zoning, sensor deployment, state space, action space and state transition dynamic probability rules. To verify the performance of the KE-MAPPO algorithm, it is compared with four mainstream multi-agent reinforcement learning (MARL) baseline models, namely vanilla MAPPO, MADDPG, QMIX and RODE through training simulations of 3,000 and 30,000 episodes. We further conduct component-wise ablation experiments and statistical significance tests to quantify the individual contribution of each knowledge-enhancement sub-module and verify their synergistic effects. The results show the KE-MAPPO algorithm achieves higher precision, recall, F1-score and other metrics than the baseline models. Meanwhile, the proposed algorithm has the shortest runtime and the minimum average task latency, reaching 84.6 s and 0.44 s, respectively. The KE-MAPPO achieves rapid convergence of the reward curve within 500–800 episodes during the 3,000-episode training and maintains an upward trend. After 1,000 episodes, its reward curve aligns with that of MAPPO, indicating that the algorithm can quickly recognize dormitory safety risks and make dynamic regulatory decisions, demonstrating strong performance(This conclusion only applies to the simulated dormitory environment built in this work and lacks experimental validation in real campus dormitory scenarios.). In the 30,000-episode training, a significant increase in reward value was observed for KE-MAPPO around the 15,000th episode. Therefore, knowledge-enhanced multi-agent collaboration is beneficial for resolving confusion in risk cognition under complex dormitory environments, generating regulatory decisions more rapidly, and reducing the negative impact of dormitory risk incidents; For practical deployment in real dormitory scenarios, this paper further analyzes feasible deployment schemes, hardware adaptation challenges, and the simulation-to-reality gap.
No takes yet. Share an insight, caveat, or question.
Yan et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: