Abstract
Traditional building evacuation simulations are computationally expensive and time-consuming, creating a bottleneck in the iterative architectural design process. This paper presents DiffEvac, a generative AI framework leveraging diffusion models to predict evacuation patterns from architectural sketches. By decoupling floor plan features into structural, density, and exit channels, DiffEvac achieves a 16x speedup over industry-standard simulators while significantly outperforming GAN-based baselines in accuracy and robustness across complex geometries.
Introduction
In building design, safety is paramount, but "safety-first" design is often hindered by a massive bottleneck: simulation time. Traditional evacuation tools (like Pathfinder) require detailed 3D modeling and extensive parameter tuning. This makes them nearly impossible to use during the "schematic design" phase, where architects are rapidly iterating through dozens of different floor plans. Furthermore, previous attempts to use Artificial Intelligence—specifically Generative Adversarial Networks (GANs)—to solve this problem struggled with "irregular" floor plans (L-shaped, U-shaped, or T-shaped buildings). There was a clear need for a surrogate model that is fast enough for real-time design and robust enough to handle complex geometry.
Methods
The authors introduce DiffEvac, which shifts the paradigm from traditional physics-based simulation to image-to-image translation using a Diffusion Model. Key technical innovations include a Decoupled Feature Representation. Instead of feeding the model a standard RGB image of a floor plan, the data is decoupled into three distinct channels:
- Structural Layout: A binary map of walls and obstacles.
- Occupant Density: A matrix representing how many people are in each room based on its function.
- Exits: Precise locations of doors and stairs.
The model uses these decoupled features as "prompts" to guide the denoising process, gradually turning random noise into a precise evacuation flow heatmap. The core of the model is a U-Net architecture with temporal encoding, designed to capture both the global context of the building and the local details of narrow corridors.
Datasets and Training
The researchers established a custom dataset to train and validate the model using 81 real-world office building floor plans with diverse geometries. To overcome the small sample size, they used "functional augmentation"—randomly re-assigning room functions and densities to generate 399 unique functional layout drawings. Every layout was run through Pathfinder (a gold-standard industry simulator) to generate the ground truth evacuation heatmaps used for training.
Key Results and Insights
DiffEvac demonstrated significant performance gains over previous state-of-the-art approaches like pix2pix:
- Accuracy: The model achieved a 37.6% improvement in SSIM (Structural Similarity Index) and a 142% improvement in PSNR (Peak Signal-to-Noise Ratio).
- Efficiency: The total process—from modeling to results—was cut from roughly 20 minutes to 2 minutes. Actual AI inference takes only 74 seconds, representing a 16-fold increase in efficiency.
- Robustness: Unlike previous models that failed on "complex" or "irregular" layouts, DiffEvac maintained high accuracy regardless of building shape.
Technical analysis revealed that deep learning models perform better when physical constraints are explicitly separated. By giving the model a dedicated "exit channel," it learns the fundamental rule of evacuation—people move toward exits—much faster. Interestingly, the authors found that adding an Attention Mechanism didn't significantly improve results, suggesting that evacuation patterns are driven more by the global relationship between rooms and exits than by local pixel correlations.
Conclusion
DiffEvac provides a viable path toward real-time safety evaluation in architectural design. While currently validated for office buildings, the framework establishes a foundation for future work integrating dynamic factors like fire spread and smoke toxicity. The team aims to extend the model to more building types, such as hospitals and schools, to make simulations even more realistic for emergency management.
Summary updated