Massively-parallel break detection for satellite data

Malte von Mehren, Fabian Gieseke, Jan Verbesselt, Sabina Rosca, Stéphanie Horion, Achim ZeileisSSDBM 2018 · DOI

Abstract

The field of remote sensing is nowadays faced with huge amounts of data. While this offers a variety of exciting research opportunities, it also yields significant challenges regarding both computation time and space requirements. In practice, the sheer data volumes render existing approaches too slow for processing and analyzing all the available data. This work aims at accelerating BFAST, one of the state-of-the-art methods for break detection given satellite image time series. In particular, we propose a massively-parallel implementation for BFAST that can effectively make use of modern parallel compute devices such as GPUs. Our experimental evaluation shows that the proposed GPU implementation is up to four orders of magnitude faster than the existing publicly available implementation and up to ten times faster than a corresponding multi-threaded CPU execution. The dramatic decrease in running time renders the analysis of significantly larger datasets possible in seconds or minutes instead of hours or days. We demonstrate the practical benefits of our implementations given both artificial and real datasets.

Introduction: The Challenge of Scale in Remote Sensing

Remote sensing programs like Landsat and Sentinel generate petabytes of data annually, offering unprecedented opportunities to monitor deforestation, urban sprawl, and climate change. To detect these "breaks" in the landscape, researchers use BFAST (Breaks For Additive Season and Trend), which fits regression models to the time series of every individual pixel in an image.

BFAST break detection on an NDVI time series, showing the stable history and detected break.

The challenge is scale. A single satellite scene can contain millions of pixels; a regional analysis might involve billions. Fitting a regression model for every single pixel is computationally exhausting. Existing implementations in languages like R are too slow for large-scale global monitoring, often taking weeks to process datasets that are only growing in spatial and temporal resolution.

Methodology: Massively-Parallel BFAST

The authors propose a "massively-parallel" adaptation of the BFAST (monitor) approach. Their method moves away from the traditional loop-based processing of individual pixels toward a fused matrix-based framework:

  1. Matrix Fusion: Instead of solving $m$ independent regression problems, they stack all pixel time series into a large matrix $Y$. This allows the "stable history" period of the model to be solved using high-performance linear algebra libraries (like CUDA's BLAS).
  2. Custom CUDA Kernels: A specialized CUDA kernel was developed for the Moving Sum (MOSUM) process, which identifies deviations from the predicted trend. By spawning one GPU thread per pixel, calculations are performed in parallel across the entire image.
  3. Memory Optimization: To minimize the memory footprint, the implementation recomputes residuals "on the fly" during the MOSUM phase rather than storing them, preventing memory overflows on consumer-grade hardware.
  4. Hybrid Workflow: The CPU handles "inexpensive" tasks like calculating boundary values, while the GPU handles the heavy lifting of regression and summation.

Experimental Evaluation

The implementation was evaluated using two types of data:

  • Artificial Datasets: Generated sine-wave time series (100,000 to 1,000,000 pixels) with synthetic "breaks" to test scaling.
  • Real-World Dataset: A subset of Landsat imagery covering 400,000 hectares in Chile, consisting of 288 images with a resolution of $2400 \times 1851$ pixels.

Key Results: Four Orders of Magnitude Speedup

The GPU implementation demonstrated massive performance gains, achieving speedups of up to 10,000x (four orders of magnitude) over the commonly used R implementation and roughly 10x over a highly optimized multi-threaded CPU version.

Speed-up of various BFAST implementations relative to the standard R version across different dataset sizes.

For the Chile dataset, the original R code would have taken approximately 20 hours to complete. The proposed GPU implementation finished the same task in just 3.9 seconds. Furthermore, the runtime for the GPU version grows linearly with the number of pixels, but with a much lower slope than CPU-based methods, making it feasible to analyze hundreds of millions of pixels in minutes.

Insights and Future Directions

A key finding is the bottleneck shift: in traditional BFAST, the bottleneck is computation; in this massively parallel version, the math is so fast that the bottleneck shifts to data transfer—the time it takes to move the image matrix from CPU RAM to GPU memory. This suggests that future work should explore data compression to reduce PCIe bus traffic.

Additionally, the authors proved that high-performance change detection is accessible using commodity hardware (e.g., a standard desktop with a GTX 790 GPU). Future iterations will focus on handling missing values (e.g., cloud cover) more robustly and investigating lower-precision math (FP16) to further accelerate processing.

Summary updated

BibTeX
@inproceedings{mehren2018massively,
  author = {Malte von Mehren and Fabian Gieseke and Jan Verbesselt and Sabina Rosca and Stéphanie Horion and Achim Zeileis},
  title = {{Massively-parallel break detection for satellite data}},
  booktitle = {SSDBM},
  year = {2018},
  doi = {10.1145/3221269.3223032},
}
Figure