File-Avoiding In-Transit Training for Scientific Deep Learning

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 126 papers38 conceptsfrozen 2026-10-04

In modern high-performance computing (HPC), we are facing a "storage wall." While our ability to simulate complex physical systems has grown exponentially, our ability to write that data to disk has not kept pace. As Nouamane Laanait and colleagues point out in Exascale Deep Learning for Scientific Inverse Problems, scientific datasets are reaching petabyte scales that are simply too large to store, transfer, or even read back for training.

The solution emerging across the field is in-transit training: a paradigm shift where we stop treating data as a static resource on a disk and start treating it as a live stream flowing directly from the simulation to the neural network.

The Bottleneck: From Disk-Centric to Stream-Centric

In a traditional "offline" workflow, a simulation runs on thousands of CPU cores, writes its state to a parallel file system, and then a deep learning framework reads those files to train a model. At exascale, this process is crippled by I/O latency. Francis J. Alexander and the Exascale Computing Project team argue in Exascale applications: skin in the game that we must process data "in-flight" while it remains in system memory to bypass the slow disk I/O layer.

By adopting an in-transit architecture, researchers like Lucas Thibaut Meyer, Alejandro Ribés, and Bruno Raffin decouple data generation from model training. In their work on Simulation-Based Parallel Training, they stream simulation outputs directly over the network to training nodes. This "file-avoiding" approach allows models to "see" far more data than could ever fit on a disk, leading to better generalization and higher accuracy.

Decoupling via Memory Buffers

The primary challenge of training on live streams is the mismatch in speed and data distribution. Simulations might produce data in bursts, and deep learning requires independent, identically distributed (i.i.d.) samples.

To solve this, frameworks like Melissa, described by Lucas Thibaut Meyer in Melissa: coordinating large-scale ensemble runs for deep learning and sensitivity analyses, use a centralized server with a memory-resident buffer. This buffer acts as a "reservoir" that:

  1. Collects incoming samples from thousands of parallel simulation clients.
  2. Shuffles the data to break temporal correlations inherent in a simulation.
  3. Feeds the training framework (like PyTorch or TensorFlow) at the optimal rate.

In High Throughput Training of Deep Surrogates from Large Ensemble Runs, this architecture allowed the team to train a surrogate model on 8TB of data in just 2 hours—achieving 13x higher throughput than disk-based methods.

On-the-Fly Interpolation and Reduction

In-transit processing isn't just about moving raw data; it’s about smart reduction. In climate science, comparing global models to specific aircraft observations usually requires saving massive 4D grids. M. R. Russo and the team behind ISO_simulator demonstrate that by interpolating model data to match observation trajectories during the simulation's runtime, they can reduce storage requirements by 200x.

Similarly, Sebastian Friedemann shows in An elastic framework for ensemble-based large-scale data assimilation that transferring simulation states directly via network sockets enables massive ensemble runs (16,000+ members) that would otherwise crash a shared file system.

Beyond the Supercomputer: Cloud and NLP

While born in HPC, the "streaming-first" philosophy is spreading. In the cloud, Anwar O Nunez-Elizalde developed cottoncandy to stream large numerical arrays directly between memory and object storage (like AWS S3), treating the cloud as a volatile memory extension.

In Natural Language Processing, the Hugging Face Datasets library, co-authored by Quentin Lhoest and Thomas Wolf, uses similar on-the-fly streaming to train on internet-scale corpora. This allows researchers to work with datasets that exceed their local disk capacity by buffering only what is needed for the current training step.

Why It Works

In-transit training works because it aligns the data pipeline with the hardware's strengths. Modern interconnects (like InfiniBand) and memory bandwidth are significantly faster than persistent storage. By treating the simulation as a "data generator" rather than a "data writer," we eliminate the most significant bottleneck in the scientific AI pipeline, enabling models to learn from the full fidelity of exascale physics.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_file_avoiding_in_transit_training_for_sc_8175acd0,
  title = {File-Avoiding In-Transit Training for Scientific Deep Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/file-avoiding-in-transit-training-for-scientific-deep-learning/rdr_8175acd074e5441b9a5e445c725d0323},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_file_avoiding_in_transit_training_for_sc_8175acd0_v1,
  title = {File-Avoiding In-Transit Training for Scientific Deep Learning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/file-avoiding-in-transit-training-for-scientific-deep-learning/rdr_8175acd074e5441b9a5e445c725d0323/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}