RESenv: A Realistic Earthquake Simulation Environment based on Unreal Engine

Yitong Sun, Hanchun Wang, Zhejun Zhang, Cyriel Diels, Ali Asadipour

Abstract

Training autonomous systems for post-disaster response is hindered by a lack of high-quality, standardized data from active earthquake zones. This paper introduces RESenv, a high-fidelity simulation environment built on Unreal Engine 5 that bridges the gap between structural engineering and AI training. By integrating real-world seismic waveform data with advanced physics-based destruction, RESenv provides a realistic synthetic data reservoir for training search-and-rescue robots and computer vision models. Our validation shows high structural similarity to real-world damage and demonstrates the environment's utility for reinforcement learning and image segmentation tasks.

Introduction

Developing AI for post-disaster scenarios presents a significant challenge: models require massive amounts of data to navigate and recognize rubble, yet collecting real-world data from earthquake zones is dangerous, rare, and difficult to standardize. Existing simulations often suffer from two primary flaws: they focus on single-building damage rather than complex urban environments, and they lack the visual realism necessary for AI models to generalize to the real world. Furthermore, many platforms fail to simulate the complex three-degree-of-freedom (3-DOF) motions of actual earthquakes, often relying on simplified vibrations that do not accurately reflect structural collapse.

RESenv addresses these gaps by leveraging the Unreal Engine 5 (UE5) ecosystem—specifically the Chaos Physics System and Nanite—to create a simulation that is both visually authentic and physically grounded.

The RESenv Framework

The development of RESenv follows a three-stage workflow designed to ensure that the virtual destruction mirrors physical reality.

1. Data Preparation and Material Calibration

To move beyond generic "game physics," the system utilizes material mechanics data from databases like MatWeb. 3D building models are pre-fractured based on their specific material properties (e.g., concrete, brick, or stone). This ensures that the "break-force" thresholds within the simulation are calibrated to real-world engineering standards.

2. Automated Data Binding

A critical technical hurdle in urban simulation is anchoring buildings to the ground. To scale from single structures to entire neighborhoods, the authors developed a C++ program that automatically identifies a building's foundation contours and places Physics Constraint Actors (PCAs). This ensures that structures respond realistically to ground movement—collapsing or tilting—rather than simply sliding across the terrain.

3. Seismic Simulation

RESenv ingests actual seismic waveform data, sourced from the IRIS Online Database (such as the 7.4 magnitude Oaxaca earthquake). These waveforms are converted into terrain displacements within the engine. The system supports high-speed simulation (up to 240 FPS), making it suitable for training high-frequency sensors and complex robotic controllers.

Experimental Validation and Results

The researchers validated the utility of RESenv through three distinct AI-centric evaluations:

  • Structural Similarity: Using a Vision Transformer (ViT) model pre-trained on ImageNet-21K, the team compared simulated collapses to real-world earthquake damage. The simulation achieved high similarity scores—94.8% for brick and 92.25% for stone structures—suggesting that the visual output is indistinguishable from reality for many computer vision tasks.
  • Path Planning: A Deep Reinforcement Learning (DRL) robot was tasked with navigating a simulated post-earthquake neighborhood recreated from OpenStreetMap data. The robot achieved an 80% completion rate across 20 random endpoints, proving the environment provides the necessary complexity for navigation training.
  • Image Segmentation: Using the Segment-Anything Model (SAM), the environment achieved 95% accuracy in edge detection compared to the simulation's ground truth. This confirms that RESenv can generate high-quality labeled data for training segmentation models.

Key Insights: The "Glare" Discovery

One of the most significant findings during testing was the impact of environmental "noise." Researchers observed that a robot's path-planning failed in specific areas not due to physical rubble, but because of glare from the virtual sun. This insight highlights a critical requirement for disaster simulations: to prepare AI for the messy real world, environments must model lighting and atmospheric conditions as rigorously as they model physical obstacles.

Limitations and Future Work

While RESenv represents a significant advancement, it currently abstracts certain geotechnical nuances, such as soil liquefaction and the internal "flexing" of foundations. Additionally, the materials are modeled in an idealized state, lacking the variations caused by aging or construction errors.

Future iterations of RESenv will aim to include dynamic disaster elements such as smoke, dust, and fluctuating weather conditions. The researchers also plan to expand the framework to simulate other catastrophic events, including floods and hurricanes, to create a comprehensive multi-hazard training ground for disaster robotics.

Summary updated

BibTeX
@inproceedings{sun2023resenv,
  author = {Yitong Sun and Hanchun Wang and Zhejun Zhang and Cyriel Diels and Ali Asadipour},
  title = {{RESenv: A Realistic Earthquake Simulation Environment based on Unreal Engine}},
  booktitle = {IMET},
  year = {2023},
  url = {https://openreview.net/forum?id=dt76f2X8wH},
}
Figure