paper-with-me

Papers

Remoe: Towards Efficient and Low-Cost MoE Inference in Serverless Computing

2025-12-21 · Wentao Liu, Yuhao Hu, Ruiting Zhou, Baochun Li, Ne Wang arxiv

Mixture-of-Experts (MoE) has become a dominant architecture in large language models (LLMs) due to its ability to scale model capacity via sparse expert activation. Meanwhile, serverless computing, with its elasticity and pay-per-use billing, is well-suited for deploying MoEs with bursty workloads. However, the large number of experts in MoE models incurs high inference costs due to memory-intensive parameter caching. These costs are difficult to mitigate via simple model partitioning due to input-dependent expert activation. To address these issues, we propose Remoe, a heterogeneous MoE inference system tailored for serverless computing. Remoe assigns non-expert modules to GPUs and expert modules to CPUs, and further offloads infrequently activated experts to separate serverless functions to reduce memory overhead and enable parallel execution. We incorporate three key techniques: (1) a Similar Prompts Searching (SPS) algorithm to predict expert activation patterns based on semantic similarity of inputs; (2) a Main Model Pre-allocation (MMP) algorithm to ensure service-level objectives (SLOs) via worst-case memory estimation; and (3) a joint memory and replica optimization framework leveraging Lagrangian duality and the Longest Processing Time (LPT) algorithm. We implement Remoe on Kubernetes and evaluate it across multiple LLM benchmarks. Experimental results show that Remoe reduces inference cost by up to 57% and cold start latency by 47% compared to state-of-the-art baselines.

📄 PDF Abstract BibTeX arXiv:2512.18674

Code (0)

등록된 구현이 없습니다.

Tasks

Semantic Similarity

Similar Papers 제목 키워드 기반

Optimizing Distributed Deployment of Mixture-of-Experts Model Inference in Serverless Computing

2025-01-09 · Mengfan Liu, Wei Wang, Chuan Wu

With the advancement of serverless computing, running machine learning (ML) inference services over a serverless platform has been advocated, given its labor-free scalability and cost effectiveness. Mixture-of-Experts (M…

Bayesian OptimizationCPUMixture-of-Experts

MLProxy: SLA-Aware Reverse Proxy for Machine Learning Inference Serving on Serverless Computing Platforms

2022-02-23 · Nima Mahmoudi, Hamzeh Khazaei

Serving machine learning inference workloads on the cloud is still a challenging task on the production level. Optimal configuration of the inference workload to meet SLA requirements while optimizing the infrastructure …

BIG-bench Machine LearningManagement

ServerlessLoRA: Minimizing Latency and Cost in Serverless Inference for LoRA-Based LLMs

2025-05-20 · Yifan Sui, Hanfei Yu, Yitao Hu, Jianxun Li 외

Serverless computing has grown rapidly for serving Large Language Model (LLM) inference due to its pay-as-you-go pricing, fine-grained GPU usage, and rapid scaling. However, our analysis reveals that current serverless c…

GPULarge Language Model

Scalable and Cost-Efficient ML Inference: Parallel Batch Processing with Serverless Functions

2025-01-30 · Amine Barrak, Emna Ksontini

As data-intensive applications grow, batch processing in limited-resource environments faces scalability and resource management challenges. Serverless computing offers a flexible alternative, enabling dynamic resource a…

ManagementSentiment Analysis

FSD-Inference: Fully Serverless Distributed Inference with Scalable Cloud Communication

2024-03-22 · Joe Oakley, Hakan Ferhatosmanoglu

Serverless computing offers attractive scalability, elasticity and cost-effectiveness. However, constraints on memory, CPU and function runtime have hindered its adoption for data-intensive applications and machine learn…

CPU