A Framework for Large Scale Particle Filters Validated with Data Assimilation for Weather Simulation

Sebastian Friedemann, Kai Keller, Yen-Sen Lu, Bruno Raffin, Leonardo Bautista-GomezarXiv 2023 · DOI

Abstract

Particle Filters (PFs) are powerful tools for non-linear and non-Gaussian data assimilation, yet they are often hindered by the "curse of dimensionality" and significant I/O bottlenecks on modern supercomputers. This paper introduces a highly scalable, elastic framework that implements "particle virtualization" and an asynchronous distributed cache. Validated using the Weather Research and Forecasting (WRF) model, the system successfully scaled to 2,555 particles across 20,442 cores with 87% efficiency, drastically reducing global file system transfers by 88%.

The Particle Filter Challenge

Particle Filters estimate the state of a complex system, such as the atmosphere, by combining physical models with real-world observations. Unlike Kalman Filters, PFs can handle the non-linearities inherent in weather systems. However, as system complexity increases, an exponentially larger number of "particles" (individual simulations) is required to maintain accuracy.

The Particle Filter assimilation cycle showing weighting and resampling over time.

In traditional high-performance computing (HPC) environments, this scaling creates two primary issues:

  1. I/O Bottlenecks: Moving massive amounts of state data for thousands of particles to and from a Parallel File System (PFS) creates a performance ceiling.
  2. Rigidity: Traditional MPI-based "online" methods are fragile; a single node failure can crash the entire simulation cycle.

A Scalable Runner/Server Architecture

To address these limitations, the authors propose a novel architecture built on three pillars: particle virtualization, a distributed particle cache, and asynchronous helper processes.

Overview of the proposed framework architecture featuring distributed caches and asynchronous runners.

Key Components:

  • Particle Virtualization: Instead of a fixed one-to-one mapping between particles and compute resources, the system uses "runners." These persistent model instances propagate multiple particles sequentially, decoupling the particle count from the core count.
  • Distributed Particle Cache: Each runner utilizes node-local RAM disks to store and retrieve particle states, minimizing reliance on the global PFS.
  • Asynchronous Prefetching: Background "helper" processes prefetch data and save finished states while the main model processes are computing, effectively "shadowing" I/O operations.
  • Elasticity: The independent nature of the runners and server allows the system to dynamically add or remove resources. If a runner fails, the server reassigns its tasks, ensuring fault tolerance.

Experimental Validation

The framework was tested using the WRF model (v3.7.1) on a European domain (220x220 grid cells, 49 vertical levels). Observations were derived from EUMETSAT satellite cloud cover data. Experiments were conducted on the Jean-Zay supercomputer, utilizing up to 512 nodes (20,442 cores).

Key Results and Insights

  • Scalability and Efficiency: The framework maintained approximately 92% efficiency at smaller scales and only dipped to 87% when running 2,555 particles, demonstrating its readiness for exascale computing.
  • I/O Reduction: The distributed cache strategy reduced global file system transfers by 88%. By using asynchronous prefetching, the system moved over 97% of state-load operations into the background.
  • Performance Gains: Compared to traditional file-based approaches like ESIAS-met, this framework improved resource usage (core-seconds per particle) by 2.84x at a scale of 1,024 particles.
  • Smart Eviction: The server prioritizes keeping "parent" particles—those most likely to be resampled—in the local cache, achieving an 88% cache hit ratio.

Limitations and Future Work

While the framework significantly improves scalability, a global synchronization barrier remains at the end of each assimilation cycle for resampling. Future work will focus on "localized" particle filters to further mitigate the curse of dimensionality and the transition to node-local SSDs to bypass the Parallel File System entirely for particle storage.

Summary updated

BibTeX
@misc{friedemann2023framework,
  author = {Sebastian Friedemann and Kai Keller and Yen-Sen Lu and Bruno Raffin and Leonardo Bautista-Gomez},
  title = {{A Framework for Large Scale Particle Filters Validated with Data Assimilation for Weather Simulation}},
  year = {2023},
  eprint = {2301.02668},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2301.02668},
}
Figure