FedCache: Predictive GenAI Model Caching for Edge GPU Clusters

dc.contributor.advisorKhazaei, Hamzeh
dc.contributor.authorMahmoudi, Niki
dc.date.accessioned2026-11-06T16:11:12Z
dc.date.available2026-11-06T16:11:12Z
dc.date.copyright2026-08-18
dc.date.issued2026-11-06
dc.date.updated2026-11-06T16:11:12Z
dc.degree.disciplineComputer Science
dc.degree.levelMaster's
dc.degree.nameMSc - Master of Science
dc.description.abstractServerless 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.
dc.identifier.urihttps://hdl.handle.net/10315/44295
dc.languageen
dc.rightsAuthor owns copyright, except where explicitly noted. Please contact the author directly with licensing requests.
dc.subjectComputer science
dc.subject.keywordsPredictive prefetching
dc.subject.keywordsGPU memory management
dc.subject.keywordsEdge computing
dc.subject.keywordsServerless computing
dc.subject.keywordsCold starts
dc.subject.keywordsReinforcement learning
dc.subject.keywordsFederated reinforcement learning
dc.subject.keywordsDiffusion models
dc.subject.keywordsModel serving
dc.subject.keywordsGenerative AI
dc.titleFedCache: Predictive GenAI Model Caching for Edge GPU Clusters
dc.typeElectronic Thesis or Dissertation

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Mahmoudi_Niki_2026_MSc.pdf
Size:
1 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 2 of 2
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.87 KB
Format:
Plain Text
Description:
Loading...
Thumbnail Image
Name:
YorkU_ETDlicense.txt
Size:
3.39 KB
Format:
Plain Text
Description: