CrossPool: Efficient Multi-LLM Serving for Cold MoE Models via KV-Cache and Weight Disaggregation

arXiv CS · · 2 min read · Engineering & Technology

Read research and analysis on CrossPool: Efficient Multi-LLM Serving for Cold MoE Models via KV-Cache and Weight Disaggregation published by ICANEWS, a global research journal for emerging researchers.

Key Takeaways

  • CrossPool separates FFN weights and KV-cache into two distinct GPU memory pools.
  • TheWeights pool consolidates FFN weights across cold models.
  • The KV-cache pool dynamically serves active requests while keeping attention local to KV-cache.
  • CrossPool combines a KV-cache planner/virtualizer, a layer-wise pipeline scheduler, and persistent kernels.
  • CrossPool underpins bursty long-context requests with efficient GPU memory pooling.
  • CrossPool reduced P99 TBT by up to 10.4x compared to kvcached-based multi-LLM serving systems.

Why This Matters

Efficiently serving multiple, often inactive, large language models (LLMs) is a significant challenge in modern AI infrastructure due to memory constraints. By optimizing GPU memory utilization through KV-cache and weight disaggregation, CrossPool offers a mechanism to handle bursty long-context requests more effectively, potentially improving the cost-efficiency and responsiveness of LLM services.

Overview

CrossPool is a serving engine specifically designed for cold Mixture of Experts (MoE) models in multi-LLM environments. It addresses the GPU memory challenges that arise when hosting numerous sparse MoE models, many of which receive infrequent requests. The core mechanism involves disaggregating FFN weights and KV-cache into two distinct GPU memory pools: a weights pool and a KV-cache pool.

Research Context

Emerging LLM services frequently host multiple sparse MoE models. A significant proportion of these models receive sparse requests, classifying them as "cold." This scenario creates a GPU memory management problem because model weights are stable and determined by the model's structure, whereas KV-cache is transient and demand-dependent. The predominant issue is that cold models rarely experience peak KV-cache demand concurrently. Consequently, reserving worst-case KV capacity for each model individually results in wasted memory resources. While a shared KV-cache pool can provision for aggregate active demand, this solution is insufficient when weights and KV-cache reside within a monolithic GPU memory pool. In such setups, static weights compete with dynamic KV-cache. Furthermore, under cold, low-concurrency traffic, attention mechanisms become KV-head-limited, exposing only a fraction of replicated KV capacity. This leads to low GPU memory utilization and weakened support for long-context requests.

Approach

CrossPool's approach centers on the disaggregation of GPU memory into two dedicated pools: a weights pool and a KV-cache pool. The weights pool consolidates FFN weights across cold models. The KV-cache pool dynamically serves active requests, maintaining attention local to the KV-cache. The system integrates several components to achieve its functionality:

  • A KV-cache planner and virtualizer.
  • A layer-wise pipeline scheduler, designed to hide hidden-state transfers.
  • Persistent kernels with control lowering, aimed at reducing CPU-GPU control overhead.

Findings

CrossPool's implementation of efficient GPU memory pooling underpins bursty long-context requests. The system exhibited performance improvements against kvcached-based multi-LLM serving systems, which are considered state-of-the-art. Specifically, CrossPool achieved reductions in P99 TBT (Time Between Tokens) by a factor of up to 10.4x.

Why This Matters

The described approach, by disaggregating KV-cache and weights, offers a method to manage GPU memory more efficiently in environments hosting numerous, often 'cold,' sparse MoE models. This can lead to improved performance, particularly for long-context requests, by addressing memory utilization issues arising from the transient nature of KV-cache versus the static nature of weights.

Research Information

Institution
arXiv CS
Original Study
View Publication
Source
arXiv CS

About ICANEWS

ICANEWS is a global research journal for emerging researchers, publishing student and emerging researcher work across all fields.