Triple replication stores three bytes for every byte of data. Erasure coding stores 1.3 to 1.4, and it has done so in production at large operators for more than a decade. The cost question for AI datasets is whether those savings survive contact with a workload that reads the same data thousands of times at high throughput. The research literature gives a partial answer, and the gaps in it matter as much as the answer.

The overhead arithmetic

An erasure code splits data into k fragments and adds m parity fragments; any k of the k+m can rebuild the data. Storage overhead is (k+m)/k. Facebook’s f4 warm BLOB system, described at OSDI 2014, uses Reed-Solomon (10,4) within a datacenter: an expansion factor of 1.4. It adds XOR coding across datacenters, which brings the effective replication factor to 2.1 while tolerating the loss of a whole site. Against 3x replication, the in-datacenter overhead alone is a reduction of about 53 percent in raw capacity. The f4 paper reported more than 65 petabytes of logical data and savings of more than 53 petabytes.

Microsoft’s Windows Azure Storage team attacked the other side of the problem. A Reed-Solomon 12+4 code reaches 1.33x overhead, but rebuilding one lost fragment means reading 12 others, which is expensive in disk and network traffic when failures are routine. Their Local Reconstruction Codes, presented at USENIX ATC 2012, where the paper won the best paper award, keep the 1.33x overhead while cutting the fragments read during a typical repair to six. The lesson is that capacity overhead is only one of three costs. The others are repair traffic and degraded-read performance.

Why AI datasets look like good candidates

Training corpora have a distinctive access pattern: written once during preparation, then read repeatedly across epochs and experiments, rarely modified. Write-once data avoids the update penalty that makes erasure coding awkward for databases. Large datasets also tend to be sharded into big files read sequentially, which is friendly to wide stripes.

But the read side is where the question sits. Data loading can dominate training time. Analyzing and Mitigating Data Stalls in DNN Training (VLDB 2021) found that in many cases training time is dominated by time spent waiting for data to be fetched from storage and pre-processed. A storage tier that saves money but slows reads can waste more GPU time than it saves in capacity. Cost for AI storage must be measured in dollars per training run, not dollars per terabyte.

What the research says about erasure-coded storage under training loads

The most direct evidence comes from the University of Chicago and collaborators. Design Considerations and Analysis of Multi-Level Erasure Coding in Large-Scale Data Centers (SC 2023) lays out the design space for multi-level erasure coding (MLEC), meaning codes applied at more than one level, such as within a rack and across racks. It covers code parameters, chunk placement and repair methods, and compares MLEC against single-level coding and LRC, reporting that MLEC can provide high durability with higher encoding throughput and less repair network traffic than both.

A follow-on dissertation by the first author, Multi-Level Erasure Coded Storage Design and Its Relationship to Deep Learning Workloads, connects that work to training. It reports that MLEC storage can improve GPU utilization with wider stripes, and that optimized repair methods limit the performance loss during failures. It also identifies the constraint most architects will hit first: bandwidth between GPU clusters and the storage cluster becomes the bottleneck, because those links are more constrained than links within a cluster. The proposed answer, SOPHON, offloads preprocessing selectively at fine granularity to reduce data traffic, and is reported to achieve 1.2x to 2.2x reductions in both traffic and training time against baselines. The same work provides emulation tools, GPEmu for GPU workloads and MLECEmu for erasure-coded read throughput, so teams can estimate throughput without buying the hardware.

Caching research addresses the other half of tiering. Quiver: An Informed Storage Cache for Deep Learning (FAST 2020) uses knowledge of training jobs to share cached data across jobs and to avoid cache thrashing when the cache is far smaller than the dataset. In a tiered design, a small fast tier acts as a cache in front of a large coded tier. Such a cache must be designed for training access patterns, not for generic ones.

A design pattern, with limits

Putting this together suggests a pattern for teams that control their own storage layer, such as private clusters or colocated deployments:

  • Cold and archived corpora, old checkpoints and raw data: erasure code at high k, accepting slower reads and repair.
  • Active training sets: stage onto a fast tier ahead of the run, with a cache aware of access order, so GPUs read from the fast tier while the coded tier holds the durable copy.
  • Network placement: account for the link between compute and storage first, because the dissertation’s finding is that this link, not the code, can limit training.

Three limits apply. First, managed cloud object storage already applies erasure coding internally, so a customer renting object storage generally cannot choose k and m; the decision belongs to the provider, and the customer’s levers are storage class, caching and where data sits relative to compute. Second, we found no peer-reviewed study that prices an end-to-end tiering policy for large language model corpora, so any specific dollar figure for a given configuration should be treated as a hypothesis to test on your workload. Third, the evidence on training throughput comes largely from emulation, which is useful for screening but is not a substitute for a pilot on real hardware.

This year’s SOSP program includes TensorDex: A Compact, Tensor-Centric Storage System for Modern AI Models, whose title points at the storage of model weights and checkpoints rather than datasets. We have not evaluated its claims and mention it as a reading item, not as evidence.

The practical takeaway is to run the arithmetic in the right order. Compute the capacity saving from coding, subtract the cost of any added GPU stall time, include repair traffic, and only then compare against a replicated or cached alternative. The coded tier usually wins for data that is cold. Whether it wins for data that is hot depends on the network and the cache, and that is where measurement beats projection.