A diffusion based approach for Oil Spill Detection in SAR Images

Sigurd Almli Hanssen, Dina Svendsen Solskinnsbakk, Harald Lykke Joakimsen, Vilde B. Gjærum, Kristoffer Knutsen Wickstrøm, Elisabeth WetzerNLDL Abstracts 2026

TL;DR

This paper investigates using diffusion models, a powerful generative AI technique, for detecting oil spills in Synthetic Aperture Radar (SAR) images. While diffusion models show promise for anomaly detection, the authors found them challenging to adapt to the nuances of SAR imagery, with a traditional autoencoder performing better in this specific application.

What Problem Does This Paper Address?

Accurate and timely detection of oil spills is critical for minimizing environmental damage. Synthetic Aperture Radar (SAR) is a key technology for monitoring vast ocean areas, but distinguishing actual oil spills from "lookalikes" (natural phenomena that mimic oil spills) is a significant challenge for automated systems. This paper tackles this by framing oil spill detection as an "out-of-distribution" detection problem, where a model trained only on normal (non-oil spill) images learns to identify anomalies.

Methods

The core of this research is the application of a diffusion model for anomaly detection. Diffusion models work by gradually adding noise to data and then learning to reverse this process, effectively reconstructing the original data. In this context, the diffusion model is trained exclusively on SAR images without oil spills. During inference, when presented with an image that might contain an oil spill, the model's reconstruction error is used to create an "anomaly map." High reconstruction errors in specific areas are indicative of potential oil spills. This diffusion model is compared against two baselines: a standard autoencoder (another reconstruction-based method) and a Local Binary Pattern (LBP) descriptor, which focuses on texture analysis. The anomaly maps from all methods are then fed into a Support Vector Machine (SVM) for classification.

Datasets

The study utilizes a dataset of 313 SAR images from the Sentinel-1A satellite, provided by KSAT. These images were pre-processed by Norsk Regnesentral (NR), resulting in 10,317 cropped samples. The dataset includes both original 10-meter resolution images and downsampled 60-meter resolution versions. Pixel-level labels are available for the 60-meter resolution data, categorizing pixels into background, five types of oil spills, and an "ignore" class. The models were trained on images without oil spills.

Key Insights and Ideas

  • Diffusion Models for SAR Anomaly Detection: This is presented as one of the first attempts to apply diffusion models to SAR imagery for oil spill detection, exploring their potential in this specialized domain.
  • The "Out-of-Distribution" Framing: Reframing oil spill detection as an anomaly detection task, where the model learns what "normal" looks like and flags deviations, is a powerful approach for dealing with limited labeled oil spill data.
  • Challenges with SAR Nuances: The fine-grained nature of SAR images and the difficulty in balancing noise levels within the diffusion process pose significant hurdles for achieving high performance.
  • Lookalikes Remain a Hurdle: Even advanced models struggle with distinguishing oil spills from natural lookalikes, which can produce similar visual artifacts in SAR images.

Key Results

  • Autoencoder Outperforms Diffusion: The autoencoder achieved a recall of 70% and a precision of 59%, which was better than the diffusion model's recall of 70% and precision of 54%.
  • LBP's Trade-offs: The LBP baseline showed strong recall (76%) but significantly poorer precision (44%).
  • Overall Performance: The diffusion model achieved an overall accuracy of 68.5% and an F1-score of 0.610. The autoencoder performed better with an accuracy of 72.0% and an F1-score of 0.639.

Limitations and Future Work

The authors acknowledge that adapting diffusion models to SAR imagery is challenging due to the fine-grained features and the need for careful noise level balancing. They suggest several avenues for future research:

  • Hyperparameter Tuning: Further exploration of hyperparameter tuning for the noise level and conditioning variables within the diffusion model.
  • Dataset Refinement: Expanding and refining the dataset to include more diverse examples of oil spills and lookalikes.
  • Improved Noise Handling: Developing more sophisticated methods for managing noise within the diffusion process for SAR data.

Summary updated

BibTeX
@inproceedings{hanssen2026diffusion,
  author = {Sigurd Almli Hanssen and Dina Svendsen Solskinnsbakk and Harald Lykke Joakimsen and Vilde B. Gjærum and Kristoffer Knutsen Wickstrøm and Elisabeth Wetzer},
  title = {{A diffusion based approach for Oil Spill Detection in SAR Images}},
  booktitle = {NLDL Abstracts},
  year = {2026},
  url = {https://openreview.net/forum?id=E9gk5wX6Sp},
}
Figure