Skip to main content
QUICK REVIEW

[论文解读] Sparks of GPTs in Edge Intelligence for Metaverse: Caching and Inference for Mobile AIGC Services

Minrui Xu, Dusit Niyato|arXiv (Cornell University)|Apr 18, 2023
Caching and Content Delivery被引用 11
一句话总结

论文提出一个在移动边缘服务器对预训练基础模型进行联合模型缓存与推理的框架,引入 Age of Context 概念,并显示 Least Context 算法能够降低系统成本并提升边缘执行。

ABSTRACT

Aiming at achieving artificial general intelligence (AGI) for Metaverse, pretrained foundation models (PFMs), e.g., generative pretrained transformers (GPTs), can effectively provide various AI services, such as autonomous driving, digital twins, and AI-generated content (AIGC) for extended reality. With the advantages of low latency and privacy-preserving, serving PFMs of mobile AI services in edge intelligence is a viable solution for caching and executing PFMs on edge servers with limited computing resources and GPU memory. However, PFMs typically consist of billions of parameters that are computation and memory-intensive for edge servers during loading and execution. In this article, we investigate edge PFM serving problems for mobile AIGC services of Metaverse. First, we introduce the fundamentals of PFMs and discuss their characteristic fine-tuning and inference methods in edge intelligence. Then, we propose a novel framework of joint model caching and inference for managing models and allocating resources to satisfy users' requests efficiently. Furthermore, considering the in-context learning ability of PFMs, we propose a new metric to evaluate the freshness and relevance between examples in demonstrations and executing tasks, namely the Age of Context (AoC). Finally, we propose a least context algorithm for managing cached models at edge servers by balancing the tradeoff among latency, energy consumption, and accuracy.

研究动机与目标

  • Motivate AGI-enabled Metaverse services via PFMs like GPTs at the edge to enable low-latency, privacy-preserving AIGC.
  • Develop a joint model caching and inference framework that optimizes resource allocation across mobile edge and cloud layers.
  • Introduce Age of Context (AoC) to measure in-context demo relevance and freshness.
  • Propose the Least Context (LC) caching algorithm to manage cached PFMs based on contextual usefulness.

提出的方法

  • Classify PFMs into LFMs, VFMs, and MFMs and summarize their fine-tuning and inference approaches in edge settings.
  • Define a joint model caching and inference framework with edge-cloud collaboration and dynamic cache management.
  • Introduce AoC as a metric to capture freshness/relevance of context examples during in-context learning.
  • Propose the LC algorithm that evicts the cached model with the fewest context examples when GPU memory is needed.
  • Provide a comparative evaluation against Random, Cloud, FIFO, and LFU baselines across a multi-metric cost model.
  • Present an illustrative use-case and analyze performance via a results table (Table II).
Figure 1: Categories of PFMs and their characteristic fine-tuning and inference methods. (1)-(3) The workflows of LFMs, VFMs, and MFMs. (a)-(c) The illustration of parameter-efficient fine-tuning. (d) An example of in-context learning.
Figure 1: Categories of PFMs and their characteristic fine-tuning and inference methods. (1)-(3) The workflows of LFMs, VFMs, and MFMs. (a)-(c) The illustration of parameter-efficient fine-tuning. (d) An example of in-context learning.

实验结果

研究问题

  • RQ1How can mobile edge-cloud systems optimally cache and execute PFMs to satisfy latency and accuracy objectives?
  • RQ2What is the impact of in-context learning context (AoC) on PFM inference performance in edge environments?
  • RQ3Does the Least Context caching strategy outperform traditional caching policies in terms of system cost and edge execution ratio?

主要发现

指标随机云端先进先出最近最少使用LC
系统成本25.677.2927.515.934.88
切换成本18.72023.280.370.32
总准确性成本0.1300.520.360.44
平均准确性成本0.015100.00850.00830.0076
推理延迟0.1201.301.321.26
卸载延迟0.0400.350.240.31
云端成本6.637.292.053.632.52
边缘执行比例9.8%0%70.7%49.4%65.0%
  • The LC algorithm reduces total system cost compared with baselines.
  • LC achieves a higher edge execution ratio than some baselines, indicating more inference at the edge.
  • AoC-based context management enables better utilization of in-context learning to improve accuracy.
  • In experiments, LC shows lower average accuracy cost and competitive inference/latency metrics versus alternatives.
  • The framework demonstrates that joint edge-cloud collaboration with dynamic, context-aware caching is beneficial for mobile AIGC services.
Figure 2: An illustration of the performance of zero-, one-, and few-shot accuracy under different model caching settings [ 3 ] .
Figure 2: An illustration of the performance of zero-, one-, and few-shot accuracy under different model caching settings [ 3 ] .

更好的研究,从现在开始

从论文设计到论文写作,大幅缩短您的研究时间。

无需绑定信用卡

本解读由 AI 生成,并经人工编辑审核。