MoSKA: Mixture of Shared KV Attention for Efficient Long-Sequence LLM Inference

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rhee, Myunghyun, Choi, Sookyung, Kim, Euiseok, Sim, Joonseop, Joo, Youngpyo, Kim, Hoshik
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915606422355968
author Rhee, Myunghyun
Choi, Sookyung
Kim, Euiseok
Sim, Joonseop
Joo, Youngpyo
Kim, Hoshik
author_facet Rhee, Myunghyun
Choi, Sookyung
Kim, Euiseok
Sim, Joonseop
Joo, Youngpyo
Kim, Hoshik
contents The escalating context length in Large Language Models (LLMs) creates a severe performance bottleneck around the Key-Value (KV) cache, whose memory-bound nature leads to significant GPU under-utilization. This paper introduces Mixture of Shared KV Attention (MoSKA), an architecture that addresses this challenge by exploiting the heterogeneity of context data. It differentiates between per-request unique and massively reused shared sequences. The core of MoSKA is a novel Shared KV Attention mechanism that transforms the attention on shared data from a series of memory-bound GEMV operations into a single, compute-bound GEMM by batching concurrent requests. This is supported by an MoE-inspired sparse attention strategy that prunes the search space and a tailored Disaggregated Infrastructure that specializes hardware for unique and shared data. This comprehensive approach demonstrates a throughput increase of up to 538.7x over baselines in workloads with high context sharing, offering a clear architectural path toward scalable LLM inference.
format Preprint
id arxiv_https___arxiv_org_abs_2511_06010
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle MoSKA: Mixture of Shared KV Attention for Efficient Long-Sequence LLM Inference
Rhee, Myunghyun
Choi, Sookyung
Kim, Euiseok
Sim, Joonseop
Joo, Youngpyo
Kim, Hoshik
Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
The escalating context length in Large Language Models (LLMs) creates a severe performance bottleneck around the Key-Value (KV) cache, whose memory-bound nature leads to significant GPU under-utilization. This paper introduces Mixture of Shared KV Attention (MoSKA), an architecture that addresses this challenge by exploiting the heterogeneity of context data. It differentiates between per-request unique and massively reused shared sequences. The core of MoSKA is a novel Shared KV Attention mechanism that transforms the attention on shared data from a series of memory-bound GEMV operations into a single, compute-bound GEMM by batching concurrent requests. This is supported by an MoE-inspired sparse attention strategy that prunes the search space and a tailored Disaggregated Infrastructure that specializes hardware for unique and shared data. This comprehensive approach demonstrates a throughput increase of up to 538.7x over baselines in workloads with high context sharing, offering a clear architectural path toward scalable LLM inference.
title MoSKA: Mixture of Shared KV Attention for Efficient Long-Sequence LLM Inference
topic Machine Learning
Artificial Intelligence
Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2511.06010