HBFresh: Selective Refresh Management for LLM Inference on High-Bandwidth Flash

Yuanwu Zhu, Yanpeng Hu, Jingwei Sun, Guangzhong SunarXiv 2026

TL;DR

Reading data shouldn't destroy your memory drive, yet High-Bandwidth Flash (HBF) used for LLM inference can burn through its entire lifespan in just 2.2 years simply from repeatedly reading static model weights. This happens because intense reading triggers electrical "read-disturb" errors, forcing constant, wear-inducing data rewrites. HBFresh solves this by selectively refreshing only the specific pages on the brink of error and using a predictive Markov model to choreograph garbage collection—slashing unnecessary flash writes by up to 60.6% and preventing latency spikes.

What Problem Does This Paper Address?

To feed massive LLMs without paying a fortune for High-Bandwidth Memory (HBM), hardware architects are turning to High-Bandwidth Flash (HBF): NAND flash memory stacked right next to the GPU. The strategy seems foolproof: write the massive model weights to HBF once, and just read them on repeat, dodging NAND's notorious write-endurance limits.

Here’s the catch: in NAND flash, reading one page sends a higher "pass voltage" through neighboring pages in the same block. Over millions of reads, this electrical stress shifts cell voltages, causing bit errors known as read disturb. To prevent data corruption, standard HBF specifications require whole-block refresh—periodically rewriting an entire block after a set number of reads (e.g., $10^6$). At multi-terabyte-per-second LLM speeds, those defensive rewrites exhaust the flash's lifespan in 2.2 years—less than half of a standard 5-year warranty.

Figure 1: Refresh writes and SLC lifetime under sustained weight reads in HBF.

What if we use selective refresh, migrating only the individual pages about to fail? That saves writes upfront, because pages degrade at wildly different speeds. However, flash memory can only be erased in whole blocks. Leaving healthy pages behind creates fragmented, "partially valid" blocks. Eventually, garbage collection (GC) must step in to copy those remaining healthy pages elsewhere so the block can be erased and reused. Trigger GC too early, and you copy tons of healthy pages, wiping out your write savings. Trigger GC too late, and you run out of free space, stalling the LLM. Static rules fail here because the optimal GC timing shifts dynamically with memory occupancy and block layout.

Methods

Instead of relying on rigid, static thresholds, the authors introduce HBFresh, a host-side management system that pairs selective page refresh with predictive, risk-bounded garbage collection.

Figure 4: Overview of HBFresh and the read-disturb simulator.

HBFresh divides the labor between an online policy and an asynchronous backend:

  • Selective Refresh (Online): Using error-correcting code (ECC) warnings from the hardware, HBFresh rewrites only the pages hitting their error trigger, leaving healthy neighbors untouched in place.
  • Markov Forecasting & Risk-Bounded GC (Backend): In LLM decoding, every valid weight page is read uniformly once per token step. Because only valid pages are read, a page's read-disturb rate is directly proportional to how many valid neighbors remain in its block. HBFresh exploits this predictable physics! A backend Markov model tracks block layouts and runs Monte Carlo simulations over upcoming decode steps to forecast future free-space demand. It then dynamically picks the cheapest GC threshold (least write overhead) that keeps the probability of running out of free blocks safely below a strict risk bound.
  • Cross-Plane Striping: Selective refresh plucks failing pages from random blocks. Writing them all into a single destination block would bottleneck future parallel reads. Instead, HBFresh stripes refreshed pages across multiple open blocks on different flash dies/planes, preserving HBF's massive read parallelism.

Datasets

Because this is a hardware-systems study rather than a model-training paper, there are no traditional training datasets. Instead, the authors evaluate their read-disturb simulator (built atop MQSim timing) using actual LLM weight bit-patterns (specifically Qwen3-32B in BF16 and Qwen3-1.7B), alongside synthetic dense models and a 15 MiB Mixture-of-Experts (MoE) model (top-2 of 8 experts) to drive realistic cell-level voltage distributions and read access patterns.

Key Insights and Ideas

  • Whole-block refresh is wildly premature: Simulating real Qwen3-32B weights revealed that a block serves a median of 4.21 million reads before its very first page actually needs refreshing—over $4\times$ longer than the standard $10^6$-read refresh interval. Even a million reads after that first trigger, 82.5% of the block's remaining pages are still completely healthy.
Figure 2: Read-disturb errors in SLC HBF blocks.
  • Fragmentation slows down future wear: Classic SSD storage models assume writes arrive randomly. In HBF, selective refresh creates partially valid blocks, and because invalid pages aren't read anymore, the remaining valid pages disturb each other much more slowly (refresh rate scales roughly with the square of valid pages in a block). That self-braking dynamic makes future refresh demand mathematically predictable from the current block layout alone.
  • Uniformity breaks SSD tricks, but enables Markovian foresight: Traditional SSDs separate "hot" and "cold" data. Dense LLMs—and even batched MoE models—read almost every weight uniformly on every step, rendering hot/cold separation useless, while making Markov state forecasting remarkably accurate.

Key Results

  • Major Write & Erase Reductions: Across 25%–75% device occupancies, HBFresh requires 18.75%–60.6% fewer page writes and 56.7%–73.8% fewer block erases than the best possible static GC threshold at each occupancy—all without ever running out of free blocks.
  • Smoother Tail Latency: Static thresholds tend to trigger sudden, concentrated bursts of garbage collection. By deferring and smoothing GC, HBFresh drops worst-case per-step inference latency at 25% occupancy from 73.12 ms down to 16.98 ms ($4.3\times$ lower).
  • Restored Read Bandwidth: Without striping, refreshing pages in logical order bottlenecks parallel planes; striping across $K=16$ destination blocks boosts post-refresh bandwidth by $1.67\times$ (restoring the full 1.27 TB/s pre-refresh speed) and by $6.4\times$ under random-order rewrites.
  • Zero Inference Stalls: Running the Markov forecast asynchronously in the background adds zero latency to the GPU inference path, while background health scans add a negligible 0.026% read overhead.

Limitations and Future Work

  • Proprietary NAND Parameters: Because commercial NAND manufacturers keep exact cell threshold voltages secret, the authors rely on an illustrative Gaussian voltage model in simulation (though sensitivity tests show their core findings hold across wide parameter shifts).
  • Simulated Short-Horizon Error Injection: Because real read-disturb errors take millions of block reads to manifest, full end-to-end policy comparisons on the 8 GiB simulated device injected pseudo-random errors every 512 decode steps to stress-test GC timing within tractable simulation times.
  • Future Directions: Not explicitly discussed in the paper, though integrating dynamic KV-cache writes alongside weight-refresh reserves is hinted at via HBFresh's 5% free-block reserve design.

Summary updated

BibTeX
@misc{zhu2026hbfresh,
  author = {Yuanwu Zhu and Yanpeng Hu and Jingwei Sun and Guangzhong Sun},
  title = {{HBFresh: Selective Refresh Management for LLM Inference on High-Bandwidth Flash}},
  year = {2026},
  eprint = {2611.36929},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36929},
}
Figure