Skip to main content
QUICK REVIEW

[Paper Review] PerLLM: Personalized Inference Scheduling with Edge-Cloud Collaboration for Diverse LLM Services

Zheming Yang, Yuanhao Yang|arXiv (Cornell University)|May 23, 2024
Privacy-Preserving Technologies in DataComputer Science6 citations
TL;DR

PerLLM proposes a personalized edge-cloud inference scheduling framework using a constraint-satisfaction upper confidence bound (CS-UCB) approach to optimize LLM service throughput while minimizing energy, under dynamic resource conditions.

ABSTRACT

With the rapid growth in the number of large language model (LLM) users, it is difficult for bandwidth-constrained cloud servers to simultaneously process massive LLM services in real-time. Recently, edge-cloud infrastructures have been used to improve the processing efficiency of large-scale LLM services. However, the diversity of task requirements and the dynamics of resources pose great challenges to inference scheduling, leading to the wastage of many resources. In this paper, we present PerLLM, a personalized inference scheduling framework with edge-cloud collaboration designed for diverse LLM services. For the complexity of multiple constraints and the decision-making process of edge-cloud collaboration, we integrate the upper confidence bound algorithm based on the constraint satisfaction mechanism in PerLLM. For diverse LLM services, PerLLM can optimize service scheduling and resource allocation solutions within the edge-cloud infrastructure to meet processing time requirements while minimizing energy costs. Experimental results from different model deployments show that PerLLM can effectively meet the processing time requirements of personalized services. Compared to other methods, PerLLM achieves 2.2x, 2.1x, and 1.6x throughput and reduces the energy cost by more than 50%.

Motivation & Objective

  • Motivate efficient real-time LLM inference under bandwidth-constrained cloud servers.
  • Leverage edge-cloud collaboration to balance fast responses and inference quality for diverse LLM tasks.
  • Develop a scheduling and resource allocation framework that adapts to dynamic resources and service requirements.
  • Formalize the problem as a combinatorial multi-armed bandit with constraint satisfaction.
  • Provide an algorithm and theoretical analysis for learning-based, constraint-aware scheduling.

Proposed method

  • Formulate the problem as a combinatorial multi-armed bandit (CMAB) for assigning multiple services to servers (edge or cloud).
  • Introduce a constraint satisfaction mechanism to encode processing time, bandwidth, and computing-power constraints into the optimization.
  • Define a CS-UCB algorithm that filters feasible actions and selects actions with the highest upper confidence bound (UCB) value, balancing exploration and exploitation.
  • Incorporate a reward function that penalizes constraint violations via a penalty term and accounts for energy costs (transmission, inference, idle).
  • Provide theoretical regret and complexity analysis for CS-UCB under constraint violations and dynamic environments.

Experimental results

Research questions

  • RQ1How can edge-cloud collaboration be optimized to meet diverse LLM service requirements under dynamic resource conditions?
  • RQ2Can a constraint-aware CMAB (CS-UCB) framework effectively schedule services and allocate resources to maximize throughput while minimizing energy?
  • RQ3What are the theoretical guarantees (regret bounds) for CS-UCB in this constrained CMAB setting?
  • RQ4How does PerLLM perform in terms of processing time satisfaction, throughput, and energy cost compared to baselines under varying bandwidth?

Key findings

  • PerLLM achieves over 97% success rate in meeting processing time requirements across model deployments and dynamic bandwidth.
  • PerLLM delivers 1.6×–2.2× higher throughput than the baselines (FineInfer, AGOD, RewardlessGuidance).
  • PerLLM reduces energy costs by more than 50% compared with baselines.
  • Experimental results show higher processing efficiency by dynamically allocating resources to satisfy service requirements.
  • The CS-UCB approach effectively learns and adapts to resource dynamics while respecting constraints.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.