# Topology Survives Shuffling: Robust Long-Context Memory Access Prediction for Graph Analytics

DevFeed: [Topology Survives Shuffling: Robust Long-Context Memory Access Prediction for Graph Analytics](<https://devfeed.tech/articles/topology-survives-shuffling-robust-long-context-memory-access-prediction-for-graph-analytics-108808.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.39477>)

Author: Dongyan Sun, Neelesh Gupta, Rajgopal Kannan, Viktor K. Prasanna

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Graphs](<https://devfeed.tech/topics/graphs.md>), [Graph Mining](<https://devfeed.tech/topics/graph-mining.md>), [graph theory](<https://devfeed.tech/topics/graph-theory.md>), [Self-supervised learning](<https://devfeed.tech/topics/self-supervised-learning.md>)

Tags: [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [graph](<https://devfeed.tech/tags/graph.md>), [graph-analytics](<https://devfeed.tech/tags/graph-analytics.md>), [learning](<https://devfeed.tech/tags/learning.md>), [long-context](<https://devfeed.tech/tags/long-context.md>), [memory](<https://devfeed.tech/tags/memory.md>), [prediction](<https://devfeed.tech/tags/prediction.md>), [robust](<https://devfeed.tech/tags/robust.md>), [topology](<https://devfeed.tech/tags/topology.md>)

## AI overview

LoCoMAP predicts graph memory accesses using independently controlled history and prediction horizons. Across 18 synthetic graph-workload pairs, increasing history from 8 to 128 accesses improved F1 by 7.8%, while increasing the horizon from 8 to 512 improved it by 88.3%. Without retraining, long context was more resilient to node shuffling than short context for Connected Components on four graph families, but not Watts-Strogatz or Grid, where access patterns shifted beyond the predictor's range. On six real-world CC graphs, long context also outperformed short context. Under full shuffle, PageRank retained 57.6% of its original F1 and averaged 11.0% above short context; both SSSP models retained about 30%. The results indicate robustness across some related graphs and layouts, with substantial workload-dependent limits.

## Source excerpt

arXiv:2610.39477v1 Announce Type: new Abstract: Graph analytics generates irregular, topology-dependent memory-access streams via indirect traversals, limiting data prefetching. Accurate prediction enables timely prefetches that hide memory latency. However, ML predictors couple short histories with fixed horizons, fitting the training trace's node layout rather than learning transferable graph patterns. We propose LoCoMAP, a long-context representation-learning framework for memory-access prediction with independently controlled observation history and prediction horizon. We evaluate Connected Components (CC), PageRank (PR), and Single-Source Shortest Paths (SSSP) on six synthetic graph families, with Erdos-Renyi (ER) and Grid as random and deterministic controls. We test two interventions: same-family regeneration changes connectivity, while node shuffling disrupts layout but preserves connectivity. Across 18 graph-workload pairs, extending history from 8 to 128 accesses improves F1 by 7.8%, while extending prediction horizon from 8 to 512 improves F1 by 88.3%. For CC, regeneration is less disruptive than shuffling: without retraining, long context retains 95.4% of original F1 and outperforms short context in six families. Under full shuffle, long context improves CC F1 by 33.6% across ER, Barabasi-Albert, Copying Model, and Stochastic Block Model (SBM), with a 2.06x gain on SBM, but not on Watts-Strogatz or Grid, where near-zero delta mass shifts into heavy tails beyond the predictor's range. Long context outperforms short context on six real-world CC graphs. At full shuffle, long-context PR retains 57.6% of original F1 and averages 11.0% above short context. Both SSSP models retain about 30% of original F1 under full shuffle as distance updates access vertex data in a new order. Within these bounds, long-context predictors are robust across related graphs and layouts without retraining, enabling a generalizable graph prefetcher.