A Deep Q-learning based Path Planning and Navigation System for Firefighting Environments

Manish Bhattarai, Manel Martínez-Ramón

TL;DR

This paper introduces a Deep Q-Learning (DQL) based path-planning system designed to help firefighters navigate dynamic, highly hazardous environments. By training an AI agent in a realistic Unreal Engine fire simulation using thermal imagery and human-guided experience replay, the system can dynamically route around sudden obstacles and spreading fires, significantly outperforming traditional static path-planning algorithms.

What Problem Does This Paper Address?

Firefighters operate in extreme conditions characterized by near-zero visibility, deadly heat, and immense psychological stress. This often leads to a loss of situational awareness and disorientation, which is a leading cause of firefighter fatalities. While firefighters carry sensors like thermal cameras, the data is currently only used in real-time by the individual holding the device.

Furthermore, existing robotic or AI path-planning algorithms (like A* or Dijkstra's) typically assume a static environment. They calculate a route from point A to point B and execute it, which fails catastrophically when a sudden fire blocks a previously planned escape route. This paper addresses the need for a dynamic, real-time navigation assistant that can process sensor data and instantly adapt to rapidly changing, hazardous environments without succumbing to human panic.

Methods

The authors employ Deep Reinforcement Learning (DRL), specifically a Deep Q-Network (DQN), to train a navigation agent. Because training an RL agent in a real fire is practically impossible and highly dangerous, they built a high-fidelity virtual environment using Unreal Engine and the AirSim plugin.

  • Inputs & Architecture: The agent "sees" the environment through simulated grayscale infrared images, mimicking the thermal cameras that firefighters use to see through smoke. A frozen VGG-net-like backbone extracts features from a stack of 4 historical frames (to give the agent a sense of motion/time). These features are passed to a fully connected layer to output Q-values for five discrete actions: move forward, backward, left, right, and jump.
  • Rewards & Training: The agent receives a +10 reward for reaching the target and a -10 penalty for touching fire. To accelerate the notoriously slow RL convergence, the authors use experience replay augmented with human-derived experiences. They recorded human users successfully navigating the virtual fire and fed these sequences into the replay memory. This allows the agent to learn from human intuition before refining its own policy via epsilon-greedy exploration.

Datasets

The paper does not use standard static datasets. Instead, training and evaluation data are generated dynamically within the Unreal Engine simulation via the AirSim interface. The agent was trained over 100,000 frames of simulated structural fire scenarios, utilizing a replay memory buffer of 20,000 frames (which included the human-controlled navigation episodes).

Key Insights and Ideas

  • Dynamic adaptability beats static planning: Traditional algorithms calculate a route once. The DQL agent evaluates its environment continuously, allowing it to pivot instantly when a new fire erupts in its path.
  • Human-in-the-loop accelerates RL: Bootstrapping the DQN's experience replay with human-controlled navigation data significantly speeds up training. It guides the agent toward successful strategies early on, avoiding the massive time sink of purely random initial exploration.
  • Thermal imagery as the ultimate input: Relying specifically on simulated infrared/thermal feeds ensures the model's logic is grounded in the only visual data type that remains reliable in heavy smoke conditions.

Key Results

  • High Success Rate: The DQL agent successfully reached its destination with a probability greater than 80% in dynamically changing fire simulations.
  • Crushing the Baselines: Traditional path-planning algorithms (A, BFS, DFS, random walk) had a success rate of less than 5%* in these same dynamic environments because they could not adapt to sudden changes.
  • Extreme Conditions: When fire coverage in the simulation was increased, the A algorithm failed completely at 30% coverage. The DQL agent, however, consistently navigated to the destination even when fire coverage reached up to 76%*.

Limitations and Future Work

Limitations: The training process is currently very slow, requiring several hours. Additionally, the authors note that when the agent is completely blocked, it is penalized into staying in place or retracing its steps—a behavior that is unrealistic and unsafe in an actual, spreading fire.

Future Work: The authors plan to upgrade to more advanced, parallelized RL algorithms like A2C and A3C to speed up training. They also aim to integrate object detection (identifying doors, ladders, and victims) to create a richer situational awareness map. Ultimately, the goal is to transition from the simulator to real-world 3D maps built from multi-modal sensor data (RGB, infrared, depth) collected by firefighters' gear in the field.

Summary updated

BibTeX
@inproceedings{bhattarai2021deep,
  author = {Manish Bhattarai and Manel Martínez-Ramón},
  title = {{A Deep Q-learning based Path Planning and Navigation System for Firefighting Environments}},
  booktitle = {ICAART},
  year = {2021},
  doi = {10.5220/0010267102670277},
}
Figure