English

Learning Semantics, Not Addresses: Runtime Neural Prefetching for Far Memory

Machine Learning 2025-10-07 v2 Distributed, Parallel, and Cluster Computing Operating Systems

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.

Keywords

Cite

@article{arxiv.2506.00384,
  title  = {Learning Semantics, Not Addresses: Runtime Neural Prefetching for Far Memory},
  author = {Yutong Huang and Zhiyuan Guo and Yiying Zhang},
  journal= {arXiv preprint arXiv:2506.00384},
  year   = {2025}
}
R2 v1 2026-07-01T02:52:00.792Z