Learning Semantics, Not Addresses: Runtime Neural Prefetching for Far Memory
Abstract
Memory prefetching has long boosted CPU caches and is increasingly vital for far-memory systems, where large portions of memory are offloaded to cheaper, remote tiers. While effective prefetching requires accurate prediction of future accesses, prior ML approaches have been limited to simulation or small-scale hardware. We introduce FarSight, the first Linux-based far-memory system to leverage deep learning by decoupling application semantics from runtime memory layout. This separation enables offline-trained models to predict access patterns over a compact ordinal vocabulary, which are resolved at runtime through lightweight mappings. Across four data-intensive workloads, FarSight delivers up to 3.6x higher performance than the state-of-the-art.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| Four workloads: XGBoost, PageRank, SSSP, and MCF | FarSight | End-to-end application performance speedup | 2.6 times | split: testSource quoteL406: FarSight{} consistently delivers superior performance across all four workloads, achieving up to 3.6 times and 2.6 times speedups over FastSwap and Hermit, and outperforming Twilight on MCF by up to 3.9 times. |
BibTeX
@misc{huang2025learning,
author = {Yutong Huang and Zhiyuan Guo and Yiying Zhang},
title = {{Learning Semantics, Not Addresses: Runtime Neural Prefetching for Far Memory}},
year = {2025},
eprint = {2506.00384},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2506.00384},
}Ask Althea to put this paper to the test.
Loading related content...