Navigation

Introduction to AI

Machine Learning

Deep Learning

Generative AI

Tools & Frameworks

General

AI for Disaster Response and Emergency Management

Disaster response is one of the highest-stakes domains where AI is making measurable, life-saving impact. Natural disasters — wildfires, floods, earthquakes, hurricanes, and tsunamis — kill hundreds of thousands of people annually and displace tens of millions more. The challenge of disaster management involves prediction (where and when will disaster strike?), rapid assessment (what happened and where is help needed most?), resource allocation (how do we get help to the right places fastest?), and coordination across dozens of agencies with incomplete, rapidly changing information.

AI addresses each of these challenges: machine learning models trained on satellite imagery, sensor networks, social media, and historical records can predict disaster onset, assess damage in real time, and optimize the deployment of limited response resources — faster and at greater geographic scale than human-only operations allow.

Wildfire Prediction and Spread Modeling

Wildfires have grown in frequency and intensity with climate change. AI improves wildfire management at multiple timescales:

Ignition Risk Prediction

FireRisk models combine weather data (wind speed, humidity, temperature), vegetation type and moisture (from satellite spectral indices like NDVI and EVI), topography, and historical ignition patterns to produce daily maps of fire ignition probability. Models trained on decades of Landsat and MODIS data can predict high-risk zones at 30-meter resolution — enabling pre-positioning of aircraft and personnel.

Real-Time Spread Forecasting

Traditional fire behavior models (FARSITE, FlamMap) use physics-based simulations that are computationally expensive and require expert parameterization. Neural network surrogate models that approximate these simulations are 10-100x faster, enabling real-time Monte Carlo spread forecasting:

import numpy as np
import torch

class FireSpreadNN(torch.nn.Module):
    """
    Neural surrogate for fire spread prediction.
    Predicts fire perimeter at time t+1 given current state and weather.
    
    Inputs: [fuel_type, fuel_moisture, wind_speed, wind_direction,
             slope, aspect, current_fire_perimeter]
    """
    def __init__(self, input_features=7, hidden=128):
        super().__init__()
        self.net = torch.nn.Sequential(
            torch.nn.Linear(input_features, hidden),
            torch.nn.ReLU(),
            torch.nn.Linear(hidden, hidden),
            torch.nn.ReLU(),
            torch.nn.Linear(hidden, 1),
            torch.nn.Sigmoid()  # Probability of burning
        )
    
    def forward(self, x):
        return self.net(x)

def monte_carlo_spread_forecast(model, initial_state, weather_ensemble, n_scenarios=1000):
    """
    Run Monte Carlo fire spread scenarios using a neural surrogate.
    Returns probability that each cell burns within the forecast window.
    """
    burn_probabilities = torch.zeros(initial_state.shape)
    
    for i, weather in enumerate(weather_ensemble[:n_scenarios]):
        features = torch.cat([initial_state, weather], dim=-1)
        spread = model(features)
        burn_probabilities += (spread > 0.5).float()
    
    return burn_probabilities / n_scenarios

Platforms like Aurora (Microsoft) and FireNet (Google) provide near-real-time fire spread forecasts to incident commanders during active fires.

Early Detection from Camera Networks

AI-powered camera networks (ALERTCalifornia has 1,000+ cameras across California) use computer vision models to detect smoke from camera images within seconds of ignition — before the fire grows large enough for satellite detection. Detection latency of under 5 minutes vs. the 20-30 minutes for satellite-based detection can make the difference between initial attack and out-of-control fire.

Flood Forecasting and Inundation Mapping

Global Flood Forecasting

Google’s flood forecasting system uses LSTM-based models trained on river gauge data, precipitation measurements, and digital elevation models to predict flood levels at 5-day horizons across 80+ countries — including regions with sparse gauge networks that previously had no flood warnings.

Machine learning inundation models approximate computationally expensive 2D hydraulic simulations (HEC-RAS, LISFLOOD-FP) using neural networks trained on simulated flood inundations. These surrogate models run in seconds rather than hours, enabling operational ensemble forecasting:

from sklearn.ensemble import GradientBoostingRegressor
import geopandas as gpd

def train_flood_depth_model(features_df, depths_array):
    """
    Train a model to predict flood depth given topographic and
    hydrological features. Trained on hydraulic simulation outputs.
    
    Features: elevation, distance_to_river, slope, TWI (topographic
              wetness index), soil_type, upstream_area, discharge
    """
    model = GradientBoostingRegressor(
        n_estimators=500,
        max_depth=6,
        learning_rate=0.05,
        subsample=0.8,
        random_state=42
    )
    model.fit(features_df, depths_array)
    return model

def predict_inundation(model, dem_features, discharge_forecast):
    """Predict flood depth at all cells given a discharge forecast."""
    features = np.column_stack([dem_features, discharge_forecast])
    depths = model.predict(features)
    depths[depths < 0] = 0  # Physical constraint: no negative depth
    return depths

Satellite-Based Flood Mapping

Sentinel-1 SAR (Synthetic Aperture Radar) imagery penetrates cloud cover — critical during active storms when optical satellites are blind. ML models trained on SAR backscatter values identify flooded areas in near-real time, updating every 6-12 hours during active floods. The Copernicus Emergency Management Service and the Dartmouth Flood Observatory provide these products operationally.

Earthquake Early Warning and Damage Assessment

Seismic Early Warning

ShakeAlert (US West Coast) uses machine learning to detect P-waves from seismic sensors and predict the ground shaking that will follow before S-waves (which cause most damage) arrive. The warning time is seconds to tens of seconds — enough to:

  • Automatically stop trains and open emergency doors.
  • Alert surgeons to pause procedures.
  • Slow or stop industrial processes.
  • Trigger autonomous alerts on phones before shaking begins.

Neural networks improve P-wave detection accuracy over threshold-based detectors, reducing both false alarms and missed events.

Post-Event Damage Assessment

Traditional damage assessment requires field teams driving through affected areas — taking days to weeks for large-scale disasters. AI-powered satellite damage assessment can produce building-level damage maps within hours of an event:

import torch
import torchvision.transforms as T
from torchvision.models import resnet50

class BuildingDamageClassifier(torch.nn.Module):
    """
    Classifies building damage from pre/post-event satellite imagery pairs.
    4-class: No Damage, Minor, Major, Destroyed (xBD dataset classes)
    """
    def __init__(self):
        super().__init__()
        # Two ResNet encoders: one for pre-image, one for post-image
        self.pre_encoder = resnet50(weights='DEFAULT')
        self.post_encoder = resnet50(weights='DEFAULT')
        
        # Replace final classification layer
        self.pre_encoder.fc = torch.nn.Identity()
        self.post_encoder.fc = torch.nn.Identity()
        
        # Fusion and classification head
        self.classifier = torch.nn.Sequential(
            torch.nn.Linear(2048 + 2048, 512),
            torch.nn.ReLU(),
            torch.nn.Dropout(0.5),
            torch.nn.Linear(512, 4)  # 4 damage classes
        )
    
    def forward(self, pre_image, post_image):
        pre_features = self.pre_encoder(pre_image)
        post_features = self.post_encoder(post_image)
        combined = torch.cat([pre_features, post_features], dim=1)
        return self.classifier(combined)

The xView2 dataset (xBD benchmark) contains 800,000+ annotated building footprints from 19 different disaster events — training models that generalize across earthquake, hurricane, wildfire, and flood damage types.

Humanitarian Logistics Optimization

During large-scale disasters, routing supplies and coordinating personnel across damaged road networks is a combinatorial optimization problem at enormous scale.

AI-assisted logistics applies optimization methods informed by real-time data:

  • Damage-aware routing: Graph neural networks trained on road damage assessments identify fastest routes accounting for impassable roads and bridge damage.
  • Supply pre-positioning: Before hurricane landfall, ML models predict which areas will need which supplies (medical, food, water, shelter) and optimize pre-deployment from warehouses.
  • Helicopter LZ identification: Computer vision models identify suitable landing zones from drone or satellite imagery for areas inaccessible by road.
  • Population displacement forecasting: Models predicting where displaced populations will move (based on flood/damage maps, road accessibility, and historical patterns) optimize shelter placement.

Social Media and Crowdsourced Situational Awareness

During active disasters, social media carries real-time information — flooded road reports, people trapped, shelter locations — that arrives before official systems respond.

Natural language processing systems mine Twitter/X, Nextdoor, and other platforms for disaster-relevant content:

  • Classification: Distinguishing actionable crisis reports from discussion and misinformation.
  • Geolocalization: Linking reports without GPS coordinates to specific locations using toponym recognition and disambiguation.
  • Aggregation: Combining hundreds of reports about the same area into coherent situational awareness.

AIDR (Artificial Intelligence for Disaster Response) and Ushahidi are operational platforms deploying these capabilities during active disaster responses.

Limitations and Responsible Deployment

AI disaster response systems raise important considerations:

Data gaps: The communities most vulnerable to disasters — in the Global South, rural areas, informal settlements — are often least represented in training data (satellite coverage, social media, sensor networks), leading to models that work best precisely where disaster impact is already better managed.

Infrastructure dependencies: AI systems require power and internet — both unreliable during disasters. Systems must degrade gracefully and provide cached outputs when connectivity fails.

False confidence: Probability maps and AI assessments carry uncertainty that may not be communicated to decision makers — leading to over-reliance on AI outputs in situations requiring human judgment.

Equity in pre-positioning: Predictive pre-positioning optimized for aggregate outcomes may systematically under-serve marginalized communities. Fairness constraints are necessary.

The most effective disaster AI systems are those developed in close partnership with emergency management professionals, field responders, and affected communities — with explicit attention to failure modes, edge cases, and equity implications.