FedCache: Predictive GenAI Model Caching for Edge GPU Clusters
Date
Authors
Journal Title
Journal ISSN
Volume Title
Publisher
Abstract
Serverless generative-AI inference at the edge serves a heterogeneous, multi-tenant mix of diffusion components (base checkpoints, LoRA adapters, ControlNets, and full pipelines) whose combined footprint far exceeds the VRAM of a single edge node. Requests therefore often target models absent from GPU memory, forcing a multi-second cold start while weights load from storage. Reactive policies such as LRU evict after a miss but cannot avoid the latency of the request that triggered it; avoiding it requires loading models before they arrive. We present FedCache, a predictive VRAM-caching system that casts model prefetching and eviction as a sequential decision problem: a compact macro-action space and a demand-aware state decide when to prefetch, evict, or idle, while the target model is resolved deterministically. Because edge traces are private and non-IID, FedCache trains the policy across nodes with asynchronous federated reinforcement learning, sharing gradient updates rather than raw logs and tolerating slow workers. Under a trace-driven, queue-aware simulation of the Alibaba GenTD26 production trace, FedCache improves cache-hit rate over LRU and three learned baselines (IceBreaker, XGBoost, and ACPM) and retains its advantage on held-out periods. Given memory headroom, it also exceeds an eviction-only Belady reference, which occupies a different information setting, so neither bounds the other. A four-node edge deployment reproduces the hit-rate gain (+7 percentage points); with a demand-priority IO scheduler, FedCache also attains up to 40% lower latency on fast-storage nodes, though this replay-measured benefit does not extend to IO-saturated nodes.