NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Recycler: In-Transit Machine Learning on High-Fidelity Data from Simulation Campaigns as an Optimized Approach for Building Frontier Models

Nikhil Rao, Mark Berrill, Ankush Checkervarty, Alexander Debus, Greg Eisenhauer, Ana Gainaru, Scott Klasky, Julian Lenz, Tapish Narwal, Vedhas Pandit, Richard Pausch, Norbert Podhorszki, Franz Pöschel, Ulrich Schramm, Klaus Steiniger, Jessica Tiebel, René Widera, Nico Wrobel, Yongqi Xiang, Michael Bussmann, Sunita Chandrasekaran, Jeffrey KellingarXiv 2026

TL;DR

Exascale supercomputers run massive physics simulations so fast that the hard drives literally cannot keep up—meaning scientists usually have to throw away 99.9% of their rich, intermediate data. This paper introduces "The Recycler," a workflow that streams data directly from hundreds of concurrent simulations straight into a neural network training in parallel on the same supercomputer. Instead of clogging up the file system, transient physics data is "recycled" on the fly into a compact, reusable AI surrogate model.

What Problem Does This Paper Address?

Imagine building a miniature particle accelerator using intense lasers—a real technique called Laser Wakefield Acceleration (LWFA), where a laser plows through plasma to surf electrons on an electromagnetic wave. Finding the sweet spot for these accelerators requires running massive "simulation campaigns": dozens or hundreds of 3D simulations exploring different laser and plasma parameters simultaneously.

Here is the catch: a single simulation in this study generates 138 TB of raw data if you save every step. Across hundreds of runs, file system bandwidth and storage quotas hit a brick wall. Usually, scientists save only a handful of snapshots (say, 138 GB) and discard the rest—losing the intricate, transient story of how the physics unfolded. Standard machine learning workflows assume you have a static dataset sitting patiently on a hard drive. How do you train a large-scale "frontier" AI model when your dataset is an ephemeral, terabyte-per-second firehose coming from hundreds of simulations at once?

Methods

Previously, researchers showed how to stream data from a single simulation to an AI trainer. Extending this to a massive parallel campaign is a logistical minefield. The Recycler solves this on the Oak Ridge Frontier exascale supercomputer using a clever decoupled architecture:

Fig. 2: The Recycler workflow. PIConGPU simulations (left) stream their fields over Sustainable Staging Transport (SST) to the ranks of the data-parallel training (center), each of which has its own DataLoader with prefetchers and experience replay buffers for the stream and for long-term storage on disk. The batches it produces train one replica of the model per rank, and the gradients of all ranks are averaged in an all-reduce (right). The metadata database (top) coordinates simulations, ranks and the supervisor, which replaces a simulation when its stream has ended.
  • Bypassing the Disk (In-Transit Streaming): Up to 256 PIConGPU plasma simulations stream 3D electromagnetic fields and currents directly over the supercomputer's high-speed Slingshot network (via ADIOS2 and RDMA) into PyTorch Distributed Data Parallel (DDP) training ranks.
  • Brokerless Coordination: At terabytes per second, a central data broker would melt. Instead, simulation streams and AI ranks coordinate dynamically via lightweight JSON records in a disk-based NoSQL metadata database. When a simulation finishes, a supervisor automatically spins up a new one with fresh parameters on the freed-up compute nodes.
  • Beating "Catastrophic Forgetting": If a neural network only sees sequential frames of a single evolving plasma wave, it overfits to the "now" and forgets earlier physics. The Recycler embeds a three-tiered Experience Replay (ER) system directly into the DataLoader: mixing brand-new streamed frames (nowBuffer), randomly retained older streamed frames (longBuffer), and random snapshots pulled from finished runs on disk (Long-Term Storage).
  • 3D Masked Autoencoder (MAE): For the brain, they adapt a 3D Vision Transformer (MuViT) taking 9 coupled physical channels ($\vec{E}$, $\vec{B}$, and current $\vec{J}$). Using self-supervised learning, they hide 90% of the 3D spatial patches (leaving only 10% visible!) and force the model to reconstruct the missing 90%.
The 3D Vision Transformer Masked Autoencoder: 90% of input patches are masked, forcing the encoder to learn global plasma physics from the remaining 10% to reconstruct the full volume.

Datasets

Rather than relying on a static benchmark, the dataset is ephemeral and generated live. PIConGPU simulations model DRACO laser experiments (helium-nitrogen gas mixtures) with randomized laser spot sizes, field strengths, and focus positions.

  • Streamed Data: 3D crops ($144 \times 1536 \times 144$ cells) published every 10th timestep out of 110,000 steps.
  • Long-Term Storage (LTS) & Evaluation: 11 random snapshots per simulation are saved to disk to act as a replay layer and to form held-out offline datasets (77 training runs, 22 validation runs, plus unseen test runs) for evaluating downstream physics predictions.

Key Insights and Ideas

  • Extreme Masking Teaches Real Physics: Hiding 90% of a 3D plasma volume prevents the AI from cheating via simple local interpolation. To reconstruct the hidden accelerating cavity from sparse clues, the encoder must internalize global spatial dependencies—essentially learning an implicit feel for Maxwell’s equations without a single physics equation in its loss function.
  • Spontaneous Organization: When the authors ran Principal Component Analysis (PCA) on the learned latent space, they found the model naturally separated distinct physical regimes—isolating the laser field, the symmetry axis, and the plasma perturbation region completely unprompted.
  • Predicting the Future Halfway Through: By slapping a simple linear probe onto the frozen encoder, the AI predicted the final peak energy of the electron bunch using snapshots from before the halfway mark of the simulation—matching domain-expert physics approximations that required snapshots from the entire run.
  • HPC Plumbing Matters: Getting simulation streams and DDP gradient exchanges to share Frontier's network without hanging or stalling required deep systems wizardry—like bundling everything into a single Slurm job to share a virtual network identifier, disabling Slingshot "eager messages," fixing Python GIL locks in openPMD, and forcing the OS kernel to drop cached disk pages.

Key Results

  • Massive Scale & Throughput: Scaled up to 1,056 Frontier nodes (256 concurrent simulations on 1,024 nodes feeding 256 DDP training ranks on 32 nodes), reaching a throughput of 8,916 training samples/second.
  • System Speedups: Fixing Python GIL locks and dropping OS page caches slashed DataLoader iteration stalls from 1.65 s down to 0.26 s (over 6x faster). Using RDMA over Slingshot trained 1.8x faster than TCP sockets.
  • High-Fidelity Reconstruction: Achieved a masked-encoding reconstruction loss of $4.0 \times 10^{-4}$ on held-out data, cleanly capturing delicate features like the microscopic accelerated electron bunch riding the wakefield.
Fig. 5: Input data (each panel: top) vs. reconstructions (each panel: bottom) for selected components of the electric field (Ex, Ey), magnetic field (Bx) and the current (Jy) from a simulation snapshot at t = 57 047 simulation steps. The Ex plot shows the transverse laser field dominating the picture, while Ey shows the accelerating field. In the longitudinal current Jy an accelerated electron bunch riding the laser wake can be seen as a blue droplet at the center of the panel.
  • Downstream Accuracy: The linear probe recovered unseen electron bunch peak energies with $R^2 \approx 0.59$–$0.76$ (Pearson $r \approx 0.79$).

Limitations and Future Work

  • Weak-Scaling Bottlenecks: While scaling from 8 to 256 streams boosted throughput 10x, parallel weak-scaling efficiency dropped to 31.1% at 256 ranks. Why? PyTorch DDP requires a global all-reduce to average gradients across all ranks at every step, and network communication eventually overwhelms computation. The authors also noted unexplained 12% run-to-run iteration time variances at large scales.
  • Lower-Resolution Demonstrator: To avoid blowing past disk quotas on the LTS comparison side, simulations ran at $16\times$ lower resolution than full-scale production LWFA runs.
  • Closing the Loop: Right now, replacement simulations pick random parameters. Next, the authors plan to add tensor and pipeline parallelism (to shrink the DDP all-reduce bottleneck), train model ensembles for uncertainty estimation, and close the active-learning loop—letting the AI actively steer the simulation campaign toward the most interesting unexplored physics.

Summary updated

BibTeX
@misc{rao2026recycler,
  author = {Nikhil Rao and Mark Berrill and Ankush Checkervarty and Alexander Debus and Greg Eisenhauer and Ana Gainaru and Scott Klasky and Julian Lenz and Tapish Narwal and Vedhas Pandit and Richard Pausch and Norbert Podhorszki and Franz Pöschel and Ulrich Schramm and Klaus Steiniger and Jessica Tiebel and René Widera and Nico Wrobel and Yongqi Xiang and Michael Bussmann and Sunita Chandrasekaran and Jeffrey Kelling},
  title = {{The Recycler: In-Transit Machine Learning on High-Fidelity Data from Simulation Campaigns as an Optimized Approach for Building Frontier Models}},
  year = {2026},
  eprint = {2611.31434},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.31434},
}
Figure