الملخص

Long-context LLM agents accumulate interaction histories that strain KV-cache memory and attention computation. Although sparse attention reduces these costs, heterogeneous cache representations and workflows hinder integration with existing inference engines, while prior sparse-serving abstractions support only specific layouts or workflows. We present SparseEngine, a ground-up, sparse-first inference engine whose shared lifecycle contract lets each method control its KV representation and computation while coordinating state transitions with common serving infrastructure. SparseEngine supports 15 methods across four categories and enables cross-request state management through Chain Cache, which resumes KV-eviction methods from retained history, and controllable Prefix-Cache Pruning, which removes KV from selected history regions while preserving logical-prefix matching. While maintaining method quality, SparseEngine delivers over 10x higher throughput with KV eviction, over 2.5x faster decoding at matched concurrency than vLLM, and over 2x end-to-end speedup on agent benchmarks. The code is available at https://github.com/CURRENTF/SparseEngine.

الكلمات المفتاحية

الموضوع

بيانات النشر

المجلة
غير متاح
وصول مفتوح
وصول مفتوح أخضر

اقتبس هذه المقالة

APA 7

Hao, J., Gu, Q., Huang, Q., & Yu, J. (2026). SparseEngine: Sparse-First Inference Engine. https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine

MLA 9

Hao, Jitai, et al. "SparseEngine: Sparse-First Inference Engine." https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine.

شيكاغو (المؤلف–التاريخ)

Hao, Jitai, Quansheng Gu, Qiang Huang, and Jun Yu. 2026. "SparseEngine: Sparse-First Inference Engine." https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine.

هارفارد

Hao, J., Gu, Q., Huang, Q. and Yu, J. (2026) 'SparseEngine: Sparse-First Inference Engine', Available at: https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine.

فانكوفر

Hao J, Gu Q, Huang Q, Yu J. SparseEngine: Sparse-First Inference Engine. https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine

IEEE

J. Hao, Q. Gu, Q. Huang, and J. Yu, "SparseEngine: Sparse-First Inference Engine," https://omanscience.com/ar/articles/sparseengine-sparse-first-inference-engine.