Submitted:
10 February 2026
Posted:
11 February 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Ontology-Driven Building Model: We propose a formal OWL!/RDF!-based ontology to represent both the spatial structure and semantic constraints of a multi-floor building environment, including rooms, corridors, staircases, exits, hazards, and evacuation policies. This knowledge layer enables automated reasoning over implicit connections and safety rules during evacuation planning.
- Reasoning-Enhanced Heuristic for LPA*: We introduce a semantic heuristic function that exploits ontology-derived information to guide the LPA*! algorithm. By integrating inferred paths, vertical navigation constraints, and policy-compliant transitions, the planner achieves efficient incremental re-planning without full recomputation.
- BiLSTM-Guided Neuro-Symbolic Planning: We develop a neuro-symbolic extension of semantic LPA*! by incorporating a BiLSTM! (BiLSTM!) model trained on ontology-consistent evacuation trajectories. The BiLSTM! predicts remaining evacuation cost and the likelihood of backtracking, providing anticipatory guidance while preserving admissibility through a bounded hybrid heuristic.
- Dynamic Re-planning and Semantic Backtracking Mechanism: We design an event-driven re-planning and backtracking strategy that allows the planner to revise unsafe routes in response to evolving hazards (e.g., blocked corridors or structural failures) and to safely return to the last feasible semantic situation when necessary.
- Explainable and Policy-Compliant Decision Making: Unlike black-box learning approaches, the proposed framework provides explainable evacuation decisions grounded in ontology reasoning and SWRL rules, ensuring that generated routes comply with safety policies and access constraints.
- Realistic Multi-Floor Case Study: We provide a detailed case study conducted in a realistic multi-floor academic building to demonstrate the applicability of the proposed framework under dynamic evacuation scenarios.
2. Related work
-
Outdoor and City-Scale Evacuation Planning: Large-scale evacuation planning has traditionally focused on network-level optimisation under uncertainty. Goerigk and Grün [2] formulated a robust bus evacuation problem that explicitly accounts for delayed information on evacuee demand, demonstrating how robust optimisation can mitigate uncertainty in urban-scale evacuations involving transit-dependent populations. While effective at the scheduling level, this model does not explicitly incorporate spatially heterogeneous risk or route-level exposure.To address congestion and route diversity, Chang et al. [3] studied the problem of identifying k discriminative evacuation paths on road networks, aiming to minimise both travel distance and path overlap. Their ant colony optimisation-based heuristic enables congestion mitigation through path diversification, which is particularly relevant for emergency evacuation and rescue logistics. However, environmental hazards and spatial risk intensity are not explicitly modelled [4].More recent studies have integrated environmental dynamics into city-scale evacuation planning. Li et al. [5] proposed a coupled hydrodynamic and CA! (CA!)-based framework for pedestrian evacuation under flooding scenarios, explicitly accounting for flood depth, flow velocity, and human instability. Similarly, Shao et al. [6] emphasised exposure-based evacuation modelling, highlighting the importance of spatially varying hazard intensity in flood-prone urban regions.Uncertainty-aware urban evacuation routing has also been investigated using heuristic optimisation techniques. Mao et al. [7] developed a fuzzy integer programming model combined with an improved ant colony optimisation algorithm to minimise expected evacuation time in uncertain traffic environments, addressing both symmetric and asymmetric evacuation demands. Although computationally efficient, the approach remains primarily route-centric and does not consider coordinated decisions on shelters or relief distribution. More recently, Jafarian et al. [8] and Li et al. [9] investigated large-scale evacuation from complementary perspectives. Jafarian et al. [8] focused on the impact of behavioural factors on evacuation efficiency, analysing how individual compliance, response delays, and behavioural heterogeneity influence route choice and overall evacuation performance under emergency conditions. Their work enhances behavioural realism but assumes a fixed evacuation network and does not explicitly optimise risk distribution across geographical zones. In contrast, Li et al. [9] adopted a collaborative evacuation framework in which multiple stakeholders or decision-making entities coordinate evacuation actions to improve system-level efficiency. While this approach captures inter-agent coordination and information sharing, geographical risk is still embedded indirectly through network parameters rather than being modelled as an explicit optimisation criterion. Consequently, neither approach directly addresses the problem of balancing spatially heterogeneous risk across the evacuation network.
-
Single-Floor Building Evacuations and Simulations: At the building scale, evacuation research has largely relied on simulation-based and heuristic path-planning approaches. Wang et al. [10] proposed a cellular ant optimisation model for passenger ship evacuation, combining CA! with ant colony optimisation on hexagonal grids to accelerate search and reduce the likelihood of local optima. While effective in confined environments, the method assumes static hazards and does not explicitly account for dynamically evolving risk.Infrastructure-assisted evacuation has also been investigated. Zhang et al. [11] addressed evacuation efficiency through the optimal placement of signage systems in public spaces, modelling pedestrian–signage interactions using a cooperative location framework. Although this improves wayfinding and guidance, the approach focuses on behavioural support rather than adaptive evacuation routing under emergency conditions.More recently, Baglioni and Jamshidnejad [12] introduced a model predictive control framework for indoor search-and-rescue robots, integrating target-oriented and coverage-oriented objectives under uncertainty. While their approach demonstrates strong performance in dynamic indoor environments, it is primarily designed for robotic exploration and does not directly address large-scale human evacuation or network-level risk balancing.
-
Multi-Floor and Complex Building Evacuation: Evacuation in complex and multi-level structures introduces additional challenges related to vertical movement, smoke propagation, and inter-floor connectivity. Li and Huang [13] proposed a 3D GIS-based evacuation framework for large public buildings that integrates numerical fire simulation, smoke diffusion, and individual behaviour modelling with A* path planning. Their approach enables risk-aware routing across multiple floors, but relies heavily on simulation outputs and lacks an explicit optimisation mechanism for balancing risk across the evacuation network.In specialised underground environments, Zheng et al. [14] investigated coordinated rescue-path planning for multiple mine rescue teams using a hybrid FA-MDPSO algorithm and force-directed graph layouts. Their work highlights the importance of multi-team coordination and network visualisation in constrained environments. However, the proposed framework is domain-specific and does not readily generalise to urban evacuation networks involving heterogeneous geographical risk and multiple decision layers.
3. Preliminaries
3.1. LSTM for Evacuation Planning
3.2. BiLSTM for Backtracking and Route Revision
4. Research Methodology
4.1. Evacuation Micro-Models
- Topological Modelling: The evacuation environment is represented as a directed semantic graph , where each node corresponds to a physical space (e.g., room, corridor, staircase, exit), and each edge represents a traversable connexion. This topological structure enables the retrieval of explicit neighbours during planning, as follows (Equation 3):
- Event Modeling: Events represent discrete occurrences that may alter evacuation dynamics, such as door closures, congestion, alarms, or accessibility changes. Events are represented as assertions that update the ontology’s state, thereby altering the availability of transitions or the cost during planning. Formally, an event induces a change in the transition function (Equation 4):which is dynamically reflected in the inferred neighbour set queried by the planner.
- Situation Representation: A situation corresponds to a semantic state describing the current evacuation context of an individual. Each situation encapsulates: (i) the evacuee’s location, (ii) the structural properties of the space, and (iii) safety and accessibility constraints. Situations serve as nodes in the state-space search graph explored by the LPA*! algorithm.
-
Action Space Definition: Actions define admissible movements between situations, such as move_to_corridor, enter_staircase, or exit_building. The action space is constrained by ontology rules and encoded using SWRL! triplets. Each action induces a cost used during planning (Equation 5):These costs may reflect distance, vertical movement penalties, or safety-related preferences.
4.2. Planning Rules
-
Prescriptive Rules: Prescriptive rules define mandatory evacuation actions that must be taken under specific conditions, such as enforcing movement toward exits once an alarm is triggered or preventing access to restricted areas. These rules ensure compliance with evacuation policies and safety regulations.Formally, prescriptive rules constrain the action space by allowing only transitions that satisfy predefined safety conditions:
- Descriptive Rules: Descriptive rules capture factual relationships within the environment, such as adjacency between spaces, floor connectivity, and accessibility relations. These rules enable the ontology reasoner to infer implicit connections that are not explicitly encoded in the topological graph. Such inferred relations are queried during planning through ontology reasoning, as reflected in Algorithm 3 by the function:
- Policy Rules: Policy rules express evacuation preferences rather than strict constraints. Examples include prioritising safer routes, avoiding congested areas, or favouring ramps over stairs for mobility-impaired evacuees. These rules influence the planning process by affecting heuristic evaluation and cost assignment rather than enforcing hard exclusions.
- Constraint Encoding: Constraint rules encode physical and operational limitations, such as blocked passages, closed doors, or capacity restrictions. These constraints dynamically prune the state–transition graph by removing infeasible neighbours during node expansion.
4.3. Controller
- Rule Engine: Applies SWRL!-based planning rules to validate actions and infer implicit state transitions. Routes violating evacuation policies (e.g., restricted areas or unsafe corridors) are rejected at expansion time.
- Semantic Interpreter: Maps ontology assertions and inferred relations into executable planning constructs. Semantic situations correspond to graph nodes, actions to transitions, and inferred relations to neighbour sets used by the planner.
- Heuristic Engine: Implements the heuristic path planner using semantic LPA*!. At each expansion step, both explicit neighbours (physical adjacency) and inferred neighbours (reasoner-derived connections) are evaluated using the semantic heuristic and, when enabled, the learned guidance :
- Event Processing Mechanism: Produces and processes time-stamped dynamic events (e.g., hazards, blocked corridors, door constraints) and updates the ontology accordingly. These updates modify edge costs and admissibility, which triggers incremental replanning.
- Action Interpreter: Translates the planner’s sequence of situations and actions into executable evacuation guidance. Each transition is validated against the current ontology state. If a transition becomes invalid due to a new event, semantic backtracking is invoked and replanning resumes from the last feasible situation.
| Algorithm 1Dynamic Path Planning with Re-planning and Backtracking |
|
4.4. Neuro-Symbolic Evacuation Planning Framework
- •
-
Reasoning-Enhanced Semantic Heuristic: The semantic heuristic exploits ontology-derived structure that cannot be captured by purely geometric heuristics. It queries inferred evacuation paths, vertical navigation requirements, and policy-compliant transitions to estimate remaining cost:When a plausible route can be inferred by the reasoner, the heuristic converts semantic evidence into an optimistic estimate combining horizontal traversal and vertical transitions. The factor acts as a confidence discount so that uncertain inferred routes are down-weighted without violating admissibility. Algorithm 2 specifies this computation.
Algorithm 2 Heuristic Estimation Using Inferred Paths - Require:
- current node n, goal node g
- Ensure:
- heuristic estimate is returned
- 1:
- ▹ Candidate inferred route sequences from n to g via ontology reasoning.
- 2:
- ▹ Admissible geometric fallback (e.g., Manhattan/Euclidean in the discretisation).
- 3:
- if then
- 4:
- return
- 5:
- end if
- 6:
- ▹ Length of shortest inferred path in number of hops.
- 7:
- ▹ Optimistic average traversal cost from this node per edge.
- 8:
- 9:
- 10:
- 11:
- ▹ Optimistic time to change floorDiff floors via stairs.
- 12:
- 13:
- ▹ Assess inferred path plausibility under current hazards/policies.
- 14:
- ▹ is a confidence discount: 1 if high-quality, smaller if uncertain.
- 15:
- 16:
- return▹ Max of admissible heuristics is admissible and more informative.
- •
-
Semantic Lifelong Planning A*: Semantic LPA*! integrates the heuristic into an incremental planning framework. The search space is defined by semantic states derived from the ontology, and neighbour expansion combines explicit topological connections with inferred semantic transitions. For each node n, the planner evaluates:When the ontology is updated due to dynamic events (e.g., blocked corridors or modified traversal costs), only the affected nodes and edges are updated, and vertex consistency is restored using the standard LPA*! bookkeeping (g- and -values). This enables rapid local repair instead of full recomputation.
- •
- Neuro-Symbolic Semantic LPA* (BiLSTM-Guided): To incorporate temporal experience, a BiLSTM model is trained offline on SWRL!-consistent state-action sequences expressed in the same symbolic vocabulary as the planner. At run time, given the movement history and a candidate node n, the model predicts a guidance term:
- BiLSTM-guided bounded heuristic.
5. Experiments
5.1. Evaluation Metrics
- Mean Evacuation Time (): This metric measures the average time required for an occupant to reach a safe exit across all simulated scenarios. It reflects the overall efficiency of the evacuation planner under dynamic conditions.where denotes the evacuation time of the i-th scenario and N is the total number of evaluated scenarios. Percentile evacuation times (e.g., 90th percentile) were also computed to assess worst-case performance under adverse conditions.
- Evacuation Success Rate (): The success rate quantifies the proportion of evacuation trials in which occupants successfully reached a safe exit within a predefined time limit. This metric evaluates the robustness and reliability of the planner in the presence of hazards, re-planning, and backtracking events.where is the number of scenarios that resulted in a successful evacuation and is the total number of tested scenarios.
- Search Effort (Expanded Nodes ): Computational efficiency was evaluated by counting the number of nodes expanded by the planner during the search process. This metric directly reflects the complexity of the planning task and the effectiveness of heuristic guidance in reducing unnecessary exploration.where represents the number of nodes expanded during the k-th evacuation run and K is the number of simulated scenarios.
Algorithm 3 Neuro-Symbolic Semantic LPA* (BiLSTM-Guided) - Require:
- start node s, goal node g, ontology , movement history
- Ensure:
- returns an optimal evacuation path from s to g, or null if none exists
- 1:
- ;
- 2:
- 3:
- ▹ Hybrid heuristic per Eq. (9)
- 4:
- while do
- 5:
- ▹ Node with lowest estimated total cost
- 6:
- if then
- 7:
- return
- 8:
- end if
- 9:
- 10:
- 11:
- 12:
- 13:
- 14:
- for all do
- 15:
- if then
- 16:
- continue
- 17:
- end if
- 18:
- 19:
- 20:
- if then
- 21:
- 22:
- else if then
- 23:
- continue
- 24:
- end if
- 25:
- 26:
- ▹ End of Semantic LPA* update
- 27:
- 28:
- 29:
- ▹ Ensure non-negative learned estimate
- 30:
- ▹ Bounded convex blend (Eq. (9)); preserves admissibility
- 31:
- 32:
- end for
- 33:
- end while
- 34:
- returnnull
- Re-planning and Backtracking Frequency: The number of re-planning events and backtracking actions was recorded to quantify how often the system needed to revise previously selected routes due to environmental changes (e.g., blocked corridors or emerging hazards). Lower values indicate more stable and anticipatory planning behaviour.
-
Prediction Performance Metrics (BiLSTM): For the BiLSTM! prediction module, the following supervised learning metrics were employed:- RMSE! (RMSE!) for remaining cost prediction:where and denote the predicted and true remaining costs for sample j, respectively.- Area Under the ROC Curve (AUC) for backtracking prediction, measuring the discriminative ability of the classifier between backtracking and non-backtracking trajectories.- Classification Accuracy () for both backtracking prediction and next-state prediction:where , , , and denote true positives, true negatives, false positives, and false negatives, respectively.
5.2. Trained data
5.3. BiLSTM Training and Backtracking Prediction Performance
5.4. Planner Performance and Ablation Results
5.5. Discussion
6. Conclusion and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Oulefki, A.; Kheddar, H.; Amira, A.; Kurugollu, F.; Himeur, Y.; Bounceur, A. Innovative AI strategies for enhancing smart building operations through digital twins: A survey. Energy and Buildings 2025, 115567. [Google Scholar] [CrossRef]
- Goerigk, M.; Grün, B. A robust bus evacuation model with delayed scenario information. Or Spectrum 2014, 36, 923–948. [Google Scholar] [CrossRef]
- Chang, C.W.; Chen, C.D.; Chuang, K.T. Queries of K-discriminative paths on road networks. Knowledge and Information Systems 2020, 62, 1751–1780. [Google Scholar] [CrossRef]
- Djemai, R.; Vassilev, V.; Ouazzane, K.; Dey, M. Knowledge-based reactive planning and re-planning–a case-study approach. In Proceedings of the 2024 IEEE Conference on Artificial Intelligence (CAI), 2024; IEEE; pp. 770–775. [Google Scholar]
- Li, B.; Hou, J.; Ma, Y.; Bai, G.; Wang, T.; Xu, G.; Wu, B.; Jiao, Y. A coupled high-resolution hydrodynamic and cellular automata-based evacuation route planning model for pedestrians in flooding scenarios. Natural hazards 2022, 110, 607–628. [Google Scholar] [CrossRef]
- Shao, X.; Zhao, Z.; Liu, Z.; Yang, H.; Hu, C. Exposure risk and emergency evacuation modeling of toxic gas leakage in urban areas under the influence of multiple meteorological factors. Environmental pollution 2023, 333, 122044. [Google Scholar] [CrossRef] [PubMed]
- Mao, J.; Zhou, Y.; Zhou, Y.; Wang, X. Urban Emergency Evacuation Path Optimization Based on Uncertain Environments to Enhance Response for Symmetric and Asymmetric Evacuation Problems. Symmetry (20738994) 2024, 16. [Google Scholar] [CrossRef]
- Jafarian, A.; Granberg, T.A.; Farahani, R.Z. The effect of geographic risk factors on disaster mass evacuation strategies: A smart hybrid optimization. Transportation Research Part E: Logistics and Transportation Review 2025, 193, 103825. [Google Scholar] [CrossRef]
- Li, R.; Zhou, Z.; Chen, E.; Luo, X.; Xing, L. Collaborative operation planning for post-disaster victim evacuation and relief distribution on considering heterogeneous rescue teams. Expert Systems with Applications 2026, 297, 129361. [Google Scholar] [CrossRef]
- Wang, P.; Zhang, T.; Xiao, Y. Emergency evacuation path planning of passenger ship based on cellular ant optimization model. Journal of Shanghai Jiaotong University (Science) 2020, 25, 721–726. [Google Scholar] [CrossRef]
- Zhang, Z.; Jia, L.; Qin, Y. Optimal number and location planning of evacuation signage in public space. Safety science 2017, 91, 132–147. [Google Scholar] [CrossRef]
- Baglioni, M.; Jamshidnejad, A. A novel MPC formulation for dynamic target tracking with increased area coverage for search-and-rescue robots. Journal of Intelligent & Robotic Systems 2024, 110, 140. [Google Scholar]
- Li, H.; Huang, X. Fire Emergency Evacuation for Large-Scale Public Buildings In 3d Gis. In Proceedings of the IOP Conference Series: Earth and Environmental Science; IOP Publishing, 2021; Vol. 772, p. 012003. [Google Scholar]
- Zheng, Q.; Ding, P.; Qin, Z.; Yan, Z. An Investigation into the Rescue-Path Planning Algorithm for Multiple Mine Rescue Teams Based on FA-MDPSO and an Improved Force-Directed Layout. Fire 2025, 8, 188. [Google Scholar] [CrossRef]
- Yang, B.; Yan, J.; Cai, Z.; Ding, Z.; Li, D.; Cao, Y.; Guo, L. A novel heuristic emergency path planning method based on vector grid map. ISPRS International Journal of Geo-Information 2021, 10, 370. [Google Scholar] [CrossRef]
- Wang, C.; Luo, J.; Zhang, C.; Liu, X. A Dynamic Escape Route Planning Method for Indoor Multi-floor Buildings Based on Real-time Fire Situation Awareness. In Proceedings of the 2020 IEEE 26th International Conference on Parallel and Distributed Systems (ICPADS), 2020; IEEE; pp. 222–229. [Google Scholar]
- Nishinari, K.; Kirchner, A.; Namazi, A.; Schadschneider, A. Extended floor field CA model for evacuation dynamics. IEICE Transactions on information and systems 2004, 87, 726–732. [Google Scholar]






| Ref. | Data source | NoF | PP technique | RP | Indoor | DR | BT | Mass | VN | OR | XAI | RTEA |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| [2] | Synthetic + real city case | NA | MILP + robust optimisation | ✗ | ✗ | ≈ | ✗ | ✓ | ✗ | ✗ | ✗ | ≈ |
| [3] | Real road networks | NA | ACO-based multi-objective routing | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| [5] | Hydrodynamic simulation + GIS | NA | CA + heuristic shortest path | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ≈ |
| [7] | Synthetic + benchmark networks | NA | Fuzzy IP + improved ACO | ✗ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ≈ |
| [8] | Behavioural simulation data | NA | Behaviour-aware routing model | ✗ | ✗ | ≈ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| [9] | Multi-agent simulated networks | NA | Collaborative optimisation framework | ≈ | ✗ | ✓ | ✗ | ✓ | ✗ | ✗ | ✗ | ≈ |
| [10] | Ship layout (grid-based) | 1 | Cellular automata + ACO | ✗ | ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| [11] | Public hall experiments | 1 | Signage location optimisation | ✗ | ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ | ✗ |
| [12] | Indoor robotic simulations | 1 | MPC-based planning | ✓ | ✓ | ✓ | ≈ | ✗ | ✗ | ✗ | ✗ | ✓ |
| [13] | 3D GIS + fire simulation | 8 | A* + fire dynamics | ✗ | ✓ | ✓ | ✗ | ✓ | ✓ | ✗ | ✗ | ≈ |
| [14] | Mine network simulation | NA | FA-MDPSO + graph layout | ✗ | ✓ | ✓ | ✗ | ✗ | ✓ | ✗ | ✗ | ✗ |
| Our | Real building ontology | 11 | Neuro-Symbolic Semantic LPA* (BiLSTM-Guided) | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Component | Consumes → Produces | Responsibility and constraint |
|---|---|---|
| OWL/RDF ontology (state model) | Building entities, occupants, hazards, events → semantic situations and facts | Defines the semantic state space (situations) and typed entities (Room, Corridor, Exit, Hazard). All planning operates over these semantic representations. |
| SWRL rules + constraints (planning rules) | Ontology facts + event assertions → admissible (state, action, next-state) transitions and pruned neighbours | Acts as the admissibility gate: transitions that violate safety or access constraints are rejected at expansion and at execution time. Also supports inferred connections and policy-driven constraints. |
| Semantic heuristic | Current node + goal + ontology inferences → admissible remaining-cost estimate | Guides search using ontology-derived structure (including inferred connectivity and vertical navigation). Must remain admissible to preserve optimality guarantees. |
| Planner (Semantic LPA*) | Admissible neighbours + costs + heuristic → candidate evacuation path | Performs incremental heuristic search on semantic situations. Uses to prioritise expansions while respecting admissibility and ontology constraints. |
| Replanner (event-driven repair) | New event assertions + updated ontology → repaired plan | Triggered when events change costs or invalidate transitions. Updates only affected portions and repairs the prior search results (incremental replanning rather than full recomputation). |
| Backtracker (semantic rollback) | Execution failure or invalidated transition → last feasible situation + replanning trigger | When the next action becomes invalid at run time, returns to the most recent safe, semantically valid situation, then restarts planning from that point. |
| BiLSTM guidance module | History of semantic state-action sequence → predicted remaining cost and backtracking likelihood | Provides learned guidance to bias the planner away from fragile trajectories and towards stable ones. It does not create actions and does not bypass SWRL admissibility. Its influence must be bounded so that semantic admissibility and policy compliance are preserved. |
| Controller (orchestration loop) | Events + reasoning + planner outputs → executed guidance and logs | Coordinates event processing, reasoning refresh, planning, action execution, replanning triggers, and backtracking. Acts as the runtime glue between symbolic and learned modules. |
| Scenario | Key behaviour | Path (state-action sequence) |
|---|---|---|
| 1 | Single trigger event; no obstruction; no rerouting or backtracking. | S0, A01, S1, A02, S2, A13, S12, A14, S15, A15, S18, A16, S5, A8, S11 |
| 2 | Obstruction (E02) invalidates a previously admissible continuation; rerouting via corrective actions (CA1, CA2); no backtracking. BiLSTM guidance biases branch-off selection while feasibility remains enforced by ontology constraints and SWRL rules. | S0, A01, S1, A02, S2, A3, S3, CA1*, S13, CA2*, S4, A5, S5, A8, S11 |
| 3 | Multiple events; rerouting followed by backtracking due to persistent hazards; explicit return to earlier decision points before recovering a feasible route to the exit. | S0, A01, S1, A02, S2, A3, S3, CA1, S13, CA2, S4, A12, S4, BTA1, S13, BTA2, S2, A13, S12, A14, S15, A15, S18, A16, S5, A8, S11 |
| Current Situation | Action | Resultant Situation |
|---|---|---|
| person_in_inner_room(?x) | exit_inner_room(?x, ?y) | person_in_room(?x) |
| person_on_level_3(?x) | head_downstairs_to_floor_2(?x, ?y) | person_on_level_2(?x) |
| person_in_lab(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_lecture_hall(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_room(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_corridor(?x) | exit_to_vestibule(?x, ?y) | person_in_vestibule(?x) |
| person_in_vestibule(?x) | exit_to_staircase_left(?x, ?y) | person_on_staircase(?x) |
| person_at_ebarriers(?x) | exit_through_ebarriers(?x, ?y) | person_next_to_reception(?x) |
| person_in_inner_lecture_hall(?x) | exit_inner_room(?x, ?y) | person_in_lecture_hall(?x) |
| person_next_to_reception(?x) | walk_out_of_building(?x, ?y) | person_outside_building(?x) |
| person_in_inner_lab(?x) | exit_inner_room(?x, ?y) | person_in_lab(?x) |
| person_in_office(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_on_level_2(?x) | head_downstairs_to_piazza_floor(?x, ?y) | person_on_piazza_floor(?x) |
| person_on_piazza_floor(?x) | head_downstairs_to_ground_floor(?x, ?y) | person_on_ground_floor(?x) |
| person_in_classroom(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_cafeteria(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_bathroom(?x) | exit_room(?x, ?y) | person_in_corridor(?x) |
| person_in_corridor(?x) | enter_vestibule(?x, ?y) | person_in_vestibule(?x) |
| person_in_vestibule(?x) | exit_to_staircase_right(?x, ?y) | person_on_staircase(?x) |
| person_on_staircase(?x) | head_downstairs_to_ground_floor(?x, ?y) | person_on_ground_floor(?x) |
| person_on_ground_floor(?x) | exit_building_main_door(?x, ?y) | person_outside_building(?x) |
| person_outside_building(?x) | proceed_to_assembly_point(?x, ?y) | person_at_assembly_point(?x) |
| person_on_piazza_floor(?x) | exit_to_piazza_walkway(?x, ?y) | person_outside_building(?x) |
| person_on_ground_floor(?x) | head_downstairs_to_basement(?x, ?y) | person_in_basement(?x) |
| person_in_basement(?x) | exit_via_basement_emergency(?x, ?y) | person_outside_building(?x) |
| person_on_level_4(?x) | head_downstairs_to_floor_3(?x, ?y) | person_on_level_3(?x) |
| person_on_level_5(?x) | head_downstairs_to_floor_4(?x, ?y) | person_on_level_4(?x) |
| person_on_level_6(?x) | head_downstairs_to_floor_5(?x, ?y) | person_on_level_5(?x) |
| person_on_level_7(?x) | head_downstairs_to_floor_6(?x, ?y) | person_on_level_6(?x) |
| person_on_level_8(?x) | head_downstairs_to_floor_7(?x, ?y) | person_on_level_7(?x) |
| person_on_level_9(?x) | head_downstairs_to_floor_8(?x, ?y) | person_on_level_8(?x) |
| person_on_level_10(?x) | head_downstairs_to_floor_9(?x, ?y) | person_on_level_9(?x) |
| Split | Cost RMSE | Backtracking AUC | Backtracking accuracy (%) |
Next-state accuracy (%) |
|---|---|---|---|---|
| Training | 0.058 | 0.96 | 90.4 | 91.2 |
| Validation | 0.071 | 0.93 | 88.1 | 88.4 |
| Test | 0.076 | 0.92 | 88.0 | 87.1 |
| Variant | Guidance | (s) | (%) | Nodes | Nodes (%) | Replans | Backtracks | Success rate (%) | |
|---|---|---|---|---|---|---|---|---|---|
| Semantic LPA* (no learning) | 0.0 | – | 124.6 | 0.0 | 1610 | 0.0 | 3.4 | 2.0 | 91.8 |
| Cost-only guidance () | 0.3 | cost | 118.3 | 5.1 | 1365 | 15.2 | 3.1 | 1.7 | 93.4 |
| Backtracking-only () | 0.3 | backtracking prob. | 120.1 | 3.6 | 1440 | 10.6 | 2.7 | 1.1 | 94.6 |
| Full guidance () | 0.3 | cost + backtracking | 115.2 | 7.5 | 1235 | 23.3 | 2.8 | 1.2 | 95.6 |
| Full guidance () | 0.7 | cost + backtracking | 112.7 | 9.6 | 1095 | 32.0 | 2.6 | 1.0 | 96.2 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
