YOLOv11-Safe: An Explainable AI Framework for Data-Driven Building Safety Evaluation and Design Optimization in University Campuses
Campus buildings often present hidden safety risks such as falls and wheelchair instabilities, which are closely related to architectural layout, material selection, and accessibility design. This study develops YOLOv11-Safe, an attention-enhanced and geometry-aware framework that functions as both a detection model and a spatial diagnostic tool for building safety assessment. The framework integrates a modified SimAM attention mechanism and a normalized Wasserstein distance (NWD) loss to improve detection accuracy in complex indoor environments, trained on a dataset of 1000 annotated images covering fall and wheelchair accident scenarios. To interpret spatial risk patterns, a Random Forest classifier combined with SHAP analysis was applied to quantify the contribution of five architectural–behavioral variables: body–ground contact ratio (BGCR), accessibility index (AI), event duration (D), body posture angle (PA), and spatial density (SD). Results show that BGCR and AI dominate the risk-level prediction, while D, PA, and SD refine boundary conditions. Scene-based verification further demonstrated that the framework accurately localized unsafe features—such as uneven drainage edges and discontinuous handrails—and translated them into actionable design feedback. The proposed approach thus links deep-learning detection with interpretable spatial analysis, offering a quantitative foundation for evidence-based architectural safety optimization in university campuses.
Authors
- Bingchun Jiang (ORCID: https://orcid.org/0000-0002-6157-3457)
- Baoqun Wang (ORCID: https://orcid.org/0009-0007-2980-9398)
- Zhengxi Chang (ORCID: https://orcid.org/0009-0008-2656-2120)
- Yanfeng Hu (ORCID: https://orcid.org/0009-0000-4151-3740)
- Jian Hou (ORCID: https://orcid.org/0009-0009-1860-907X)
- Mingjie Cao (ORCID: https://orcid.org/0009-0006-9541-8419)
Institutions
- Universiti Putra Malaysia (MY)
- Dongguan University of Technology (CN)
Publication Details
- Journal
- Buildings
- Published
- 2025-11-16
- DOI
- https://doi.org/10.3390/buildings15224125
- Primary Topic
- Occupational Health and Safety Research
- Type
- article
- Field-Weighted Citation Impact
- 0.00