Unsupervised Wildfire Change Detection based on Contrastive Learning

Beichen Zhang, Huiqi Wang, Amani Alabri, Karol Bot, Cole McCall, Dale A. Hamilton, Vít RuzickaarXiv 2022 · DOI

Abstract

Rapid assessment of wildfire damage is critical for emergency response and ecological restoration. Traditional spectral indices often rely on Short-Wave Infrared (SWIR) bands unavailable on many high-resolution satellites, while supervised deep learning models are hindered by the scarcity of labeled disaster data. This paper presents FireCLR, an unsupervised contrastive learning framework designed for wildfire change detection. By adapting the SimCLR architecture to multispectral satellite imagery and utilizing cosine distance between pre- and post-fire embeddings, FireCLR identifies burned areas and fire severity with high accuracy without requiring manual labels. Our results demonstrate that FireCLR outperforms traditional vegetation indices and effectively generalizes across different sensors and geographic regions.

Introduction

Wildfires present an increasing global threat, necessitating timely and accurate damage mapping. Conventional methods primarily utilize the Normalized Burn Ratio (NBR), which calculates the difference between Near-Infrared (NIR) and SWIR bands. However, many commercial high-resolution constellations, such as PlanetScope, lack SWIR sensors. Furthermore, the dynamic nature of wildfires makes the collection of large-scale labeled datasets for supervised learning impractical during active crises.

To address these challenges, we propose an unsupervised approach that learns robust feature representations directly from multispectral data. By focusing on the inherent spectral changes caused by fire—such as the transition from green vegetation to black or white ash—our model provides a scalable solution for disaster monitoring across diverse environments.

Methodology

The FireCLR Framework

FireCLR is built upon the Simple Framework for Contrastive Learning of Visual Representations (SimCLR). The core objective is to learn an embedding space where different augmentations of the same pixel or patch are pulled together, while representations of different patches are pushed apart.

The FireCLR architecture showing the dual-stream contrastive learning process with custom augmentations and lightweight CNN encoders.

Two significant modifications were made to adapt standard contrastive learning for remote sensing:

  1. Custom Augmentations: Standard computer vision models often use "color jittering." In wildfire detection, color is the primary signal (e.g., green to black). We omit color jittering to prevent the model from becoming invariant to the very features it needs to detect.
  2. Lightweight Architecture: We utilize a custom, shallow Convolutional Neural Network (CNN) instead of a heavy ResNet. This allows the model to process an arbitrary number of multispectral bands and remain computationally efficient for rapid deployment.

Change Detection via Latent Distance

After training, the model generates "fingerprints" (embeddings) for pre-fire and post-fire images. We calculate the cosine distance between these embeddings in the latent space. This distance serves as a proxy for change; areas with higher mathematical distance in the embedding space correspond to higher physical burn severity on the ground.

Datasets and Evaluation

The framework was evaluated using data from Sentinel-2 (10m resolution, 13 bands) and PlanetScope (3.7m resolution, 4 bands). Testing focused on three major U.S. wildfires: the Mesa Fire (Idaho), East Troublesome Fire (Colorado), and McFarland Fire (California). Ground truth was established using National Interagency Fire Center (NIFC) data and expert-annotated ash classifications.

Results and Discussion

FireCLR demonstrated superior performance in identifying burned areas compared to traditional indices like dNDVI and dNBR. In local testing on Sentinel-2 data, the model achieved an AUPRC of 0.96, slightly exceeding the dNBR baseline (0.95) despite dNBR's reliance on specialized SWIR bands.

Comparison of (a) ground truth ash labels, (b) official burn severity maps, and (c) FireCLR's cosine distance output, showing high spatial correlation.

As shown in the figure above, the cosine distance map (c) closely mirrors the official burn severity classifications (b). The model effectively distinguishes between unburned vegetation (small distance) and high-severity burn areas (large distance). Furthermore, by applying unsupervised K-means clustering to the embeddings, we successfully differentiated between "White Ash" (indicative of high-intensity fire) and "Black Ash" (lower intensity), matching the accuracy of traditional statistical methods without requiring any labeled training samples.

Conclusion

FireCLR provides a robust, unsupervised alternative for wildfire damage assessment. By leveraging contrastive learning, the model overcomes the limitations of label scarcity and sensor-specific spectral requirements. Future work will focus on mitigating temporal noise from seasonal vegetation changes and expanding the framework to incorporate longer time-series data for improved change discrimination.

Summary updated

BibTeX
@misc{zhang2022unsupervised,
  author = {Beichen Zhang and Huiqi Wang and Amani Alabri and Karol Bot and Cole McCall and Dale A. Hamilton and Vít Ruzicka},
  title = {{Unsupervised Wildfire Change Detection based on Contrastive Learning}},
  year = {2022},
  eprint = {2211.14654},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2211.14654},
}
Figure