Large recommender systems that run graph neural networks spread their user–item interaction graph across many machines. Every time the model gathers a user's neighbors and those neighbors live on another machine, the request crosses the network, which is far slower than local memory. Partitioners keep tightly connected parts of the graph on the same machine, but they treat a change in access pattern as a purely mechanical event. A user who binge-browses camping gear for a weekend before a trip and a user who has permanently switched from fiction to cookbooks look the same to them: in both cases traffic suddenly crosses partitions. Moving the first user's data is wasted work. Leaving the second user in place means paying network costs indefinitely.
Recommendation models already separate these two cases. Multi-scale interest models keep one representation for what a user likes over months and another for what they want right now. We propose using the model's own long-term and short-term states to decide where data lives. Each user's long-term state sets their home machine and is re-placed rarely. When the short-term state drifts toward another partition, the system first responds with cheap temporary copies. It migrates the user only once the model judges the drift to be persistent. The question is whether a learned forecast of how long a drift will last cuts total network and migration cost compared with partitioners that react only to access counts.
Core Claim
The decision to migrate a vertex has the structure of the classic rent-or-buy problem. Each remote fetch is "rent." A migration is a one-time "purchase" that only pays off if the new access pattern lasts. Without any forecast, the safe rule is to migrate once accumulated remote cost equals the migration cost, which is within a factor of two of optimal in hindsight. Multi-scale interest models produce exactly the forecast this problem lacks. A short-term state that sits far from the user's long-term state in embedding space, and keeps diverging across sessions, signals a persistent shift. A divergence that comes and goes signals a transient burst.
The rule we propose is concrete. Let $C_u(t)$ be the remote-fetch cost user $u$ has accumulated since its short-term state first moved toward partition $p$, and let $M_u$ be the cost of migrating $u$'s vertex, adjacency, and cached states to $p$. We migrate when
$$C_u(t) \ge \lambda(\hat{\pi}_u)\, M_u,$$
where $\hat{\pi}_u$ is the predicted probability that the drift persists beyond a horizon $H$ and $\lambda$ is a decreasing function. When $\hat{\pi}_u$ is high, $\lambda$ is small and the user moves early. When $\hat{\pi}_u$ is low, $\lambda$ is large and the system keeps renting through temporary mirrors. The deliberately weak form of the claim is this: if $\hat{\pi}_u$ is calibrated, total cost (remote fetches plus migration bytes) beats both the forecast-free threshold rule and count-driven repartitioners. It should also avoid the thrashing that Hermes prevents only with an arbitrary rule based on server ID order.
This idea is not the same as the "multi-scale partitioning" gap described in the research file. That gap proposes separating update frequencies at the systems level. Our contribution is the semantic signal that decides when an access pattern moves from the fast tier to the slow tier, and a test of whether that signal is worth anything over access statistics alone.
Relation to Prior Work
The systems side supplies the mechanisms we reuse. FENNEL assigns arriving vertices greedily against a joint objective of edge cut and partition balance. It reaches a 6.8% cut on a 1.4-billion-edge Twitter graph in about 40 minutes, against 11.98% for METIS after more than 8 hours. We use its objective for slow placement, applied to a graph weighted by long-term affinity. LPS-GNN (code) shows that METIS-partitioned subgraph training scales to 100 billion edges, and it is our static-placement reference. Vertex-cut systems such as distributed edge partitioning for trillion-edge graphs and clustering-based partitioning for web graphs make replication factor (how many machines hold a copy of each vertex) the key cost. Our temporary mirrors are a time-limited version of that replication.
Two dynamic systems motivate the work and also set the bar. Hermes repartitions incrementally from query counts and neighbor tallies, and reports 2x–3x throughput over hashing. Pragh migrates vertex values while keys stay fixed, reduces remote accesses from 86.2% to 2.0%, and recovers within about 5 seconds of a workload shift. It depends on one-sided RDMA, a network feature that lets one machine read another's memory directly. Both react to observed access frequency and have no notion of why traffic changed. We keep their mechanisms and replace the trigger. We also target commodity TCP networks, where every unnecessary migration costs more than it does under RDMA.
The modeling side supplies the forecast. HierTCN updates a long-term recurrent state only at session boundaries, with a convolutional model inside sessions. CLSR separates long-term and short-term encoders with contrastive proxy targets, and reports NDCG gains above 10.7% on Taobao. Time-LSTM decays short-term influence by the physical time between events. MA-GNN combines a short-window graph neural network with a shared long-term memory, and its ablation shows that learned gating beats naive concatenation. All four live on a single machine and never use their states for anything beyond scoring. We use a CLSR-style dual encoder with Time-LSTM-style interval decay because it exposes two explicit vectors.
On drift, CLUB-HG re-forms user clusters dynamically but explicitly assumes each user's preference vector is static. Its authors name evolving tastes as open, and our persistence forecast addresses exactly that. Work on preference inertia (Wang et al.) and on contradictory historical preferences in non-stationary DPO supports the premise that some shifts are permanent and should be acted on.
Research Program
We would build three components. The first is a dual-scale encoder trained offline on interaction logs. Its long-term vector feeds placement; its short-term vector is refreshed on every event.
The second is a persistence forecaster: a small classifier that predicts $\hat{\pi}_u$. Its inputs are the distance between the two vectors, the trend of that distance across recent sessions, time-gap features, and the long-term state of the destination neighborhood. Labels come for free from logs. A drift episode counts as "persistent" if, $H$ days later, the user's long-term state has moved into the destination partition's region. This lets us measure forecast calibration directly, separately from systems cost.
The third is a placement controller layered on a sharded graph store and on a neighbor-sampling inference path for a graph recommender. Inference fetches a user's two-hop neighborhood plus the neighborhoods of their recent items, as in MA-GNN. The controller runs FENNEL-style re-placement on long-term affinities on a slow schedule, such as daily. In between, it serves drifted users through temporary mirrors that expire, and promotes a mirror to a migration according to the rule above.
The analysis would derive the cost bound as a function of forecast error. The goal is to show that the scheme falls back to the forecast-free factor-of-two guarantee when $\hat{\pi}_u$ carries no information. A learned trigger should never be catastrophically worse than the reactive rule.
Baselines
The naive reference is hash partitioning of vertex IDs with no migration. Every dynamic method must clear it, and it fixes the scale of remote-access rates on recommendation graphs. On social graphs, Hermes reports a 2x–3x throughput penalty for hashing relative to its dynamic partitioner. No reported result was found on Lacuna for hashing on time-ordered user–item graphs from Taobao or Amazon.
Static placement is METIS run once, as in LPS-GNN, and FENNEL re-run on a fixed weekly schedule over the accumulated graph. These are the cheapest credible answers and receive the same replay data. FENNEL is the stronger of the two because the file reports it reaching lower cut than METIS on Twitter (6.8% versus 11.98%).
The strongest existing dynamic competitor is a reactive repartitioner: Hermes-style incremental migration driven by access counts, combined with a Pragh-style cache monitor that moves vertex values when access frequency shifts. We reimplement both on the same simulated cluster and the same TCP transport, with the same migration budget and the same memory budget for mirrors. Their thresholds are tuned on a validation month with the same search budget as our $\lambda$. Pragh's reported figures, a remote access rate falling from 86.2% to 2.0% and roughly 5-second recovery on Graph500 and LUBM, come from RDMA traversal workloads. They are not directly comparable, and no reported result was found on Lacuna for these systems on recommendation interaction streams.
Beating the reactive repartitioner means lower total cost (remote bytes plus migration bytes) at equal mirror memory, with fewer reversed migrations. Reversed migrations are users moved and then moved back within $H$, which is our direct measure of thrashing. The cost reduction should be statistically separated across at least three replay windows.
Three ablations isolate the key ingredient. The first is the forecast-free threshold rule ($\lambda = 1$ always), which tests whether the forecast adds anything. The second is a persistence forecaster that sees only access-count trajectories and no embeddings, which tests whether learned multi-scale states matter or whether temporal access statistics suffice. The third places users by a single-scale embedding from a flat sequence model, which tests whether separating scales matters for placement.
Why not just…?
Why not just replicate popular items everywhere and use a large LRU cache? This is a real threat. Short-term bursts often concentrate on trending items, and replicating high-degree vertices is what vertex-cut systems already do well. We include hot-item replication with an LRU cache at matched memory as a baseline. We also report results stratified by the popularity of drift destinations. Our method can only win where drift goes to long-tail neighborhoods that caches do not hold. If that segment is small in Taobao and Kuaishou replays, the honest conclusion is that caching suffices, and we would report it.
Why not just tune the reactive repartitioner's hysteresis? Hermes already prevents oscillation, and a well-tuned delay before migrating might mimic persistence detection. The access-count-only forecaster ablation is the experiment that answers this: it gives the reactive approach the same learned trigger, just without embeddings. If it matches the full method, the multi-scale model contributes nothing to placement and the claim fails.
Why not just re-run FENNEL more often? Streaming re-placement is fast, but frequent global re-placement moves many users whose drift is transient, and it ignores per-user migration cost. We sweep FENNEL's re-run period from daily to hourly and plot migration bytes against remote bytes. The proposal should dominate that curve rather than sit on it.
Proposed Experiments
We replay time-ordered logs from Taobao and Kuaishou, the CLSR datasets; from Amazon-CDs and MovieLens-20M, the MA-GNN datasets; and from LastFM, the Time-LSTM dataset whose high event rate stresses short-term drift. We build user–item graphs over 16 to 64 simulated partitions. We then validate on a real 8-node TCP cluster for the two largest datasets. Per window we record remote neighbor-fetch rate, replication factor, migration bytes, reversed-migration rate, p50 and p99 inference latency, and load imbalance.
Recommendation quality (NDCG@10, Recall@10) is checked only to confirm that the encoder is competitive, since placement does not change exact computation. On Taobao the reference point is CLSR's reported NDCG gain of more than 10.7% over baselines. On LastFM it is Time-LSTM 3's Recall@10 of 0.3990.
The first decisive check is forecaster calibration. If $\hat{\pi}_u$ does not separate persistent from transient drift (measured by AUC against held-out $H$-day outcomes), the systems gains cannot come from the stated mechanism. The second is the access-count ablation described above. The third is a deliberate injection of synthetic transient bursts, such as a simulated holiday shopping spike, into MovieLens-20M. Under these bursts the proposal should show near-zero reversed migrations, while the reactive repartitioner pays for each round trip.
References
- Hermes: Dynamic Partitioning for Distributed Social Network Graph Databases
- FENNEL: streaming graph partitioning for massive scale graphs
- LPS-GNN: Deploying Graph Neural Networks on Graphs with 100-Billion Edges
- Distributed Edge Partitioning for Trillion-edge Graphs
- Clustering-based Partitioning for Large Web Graphs
- Pragh: Locality-preserving Graph Traversal with Split Live Migration
- Hierarchical Temporal Convolutional Networks for Dynamic Recommender Systems
- Disentangling Long and Short-Term Interests for Recommendation
- What to Do Next: Modeling User Behaviors by Time-LSTM
- Memory Augmented Graph Neural Networks for Sequential Recommendation
- Parallel Online Clustering of Bandits via Hedonic Game
- Towards Explainable Conversational Recommendation
- Right Now, Wrong Then: Non-Stationary Direct Preference Optimization under Preference Drift