paper-with-me

Papers

LLM Cache Bandit Revisited: Addressing Query Heterogeneity for Cost-Effective LLM Inference

2025-09-19 · Hantao Yang, Hong Xie, Defu Lian, Enhong Chen arxiv

This paper revisits the LLM cache bandit problem, with a special focus on addressing the query heterogeneity for cost-effective LLM inference. Previous works often assume uniform query sizes. Heterogeneous query sizes introduce a combinatorial structure for cache selection, making the cache replacement process more computationally and statistically challenging. We treat optimal cache selection as a knapsack problem and employ an accumulation-based strategy to effectively balance computational overhead and cache updates. In theoretical analysis, we prove that the regret of our algorithm achieves an $O(\sqrt{MNT})$ bound, improving the coefficient of $\sqrt{MN}$ compared to the $O(MN\sqrt{T})$ result in Berkeley, where $N$ is the total number of queries and $M$ is the cache size. Additionally, we also provide a problem-dependent bound, which was absent in previous works. The experiment rely on real-world data show that our algorithm reduces the total cost by approximately 12\%.

📄 PDF Abstract BibTeX arXiv:2509.15515

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

BeaconKV: Key-Value Cache Compression Guided by Beacon Queries for Efficient Large Reasoning Model Inference

2026-09-04 · Janghyeon Kim, Minsoo Kim, Kyuhong Shim, Jungwook Choi arxiv

Large Reasoning Models (LRMs) achieve superior problem-solving through extended Chain-of-Thought (CoT) generation, but the resulting key-value (KV) cache grows linearly with sequence length and creates severe memory bott…

Bandit Convex Optimisation Revisited: FTRL Achieves $\tilde{O}(t^{1/2})$ Regret

2023-02-01 · David Young, Douglas Leith, George Iosifidis

We show that a kernel estimator using multiple function evaluations can be easily converted into a sampling-based bandit estimator with expectation equal to the original kernel estimate. Plugging such a bandit estimator …

An efficient high-probability algorithm for Linear Bandits

2016-10-06 · Gábor Braun, Sebastian Pokutta

For the linear bandit problem, we extend the analysis of algorithm CombEXP from [R. Combes, M. S. Talebi Mazraeh Shahi, A. Proutiere, and M. Lelarge. Combinatorial bandits revisited. In C. Cortes, N. D. Lawrence, D. D. L…

Learning TheoryVocal Bursts Intensity Prediction

ThinK: Thinner Key Cache by Query-Driven Pruning

2024-07-30 · Yuhui Xu, Zhanming Jie, Hanze Dong, Lei Wang 외

Large Language Models (LLMs) have revolutionized the field of natural language processing, achieving unprecedented performance across a variety of applications. However, their increased computational and memory demands p…

GPUQuantization

Variance-sensitive Thompson sampling for generalised linear bandits, revisited

2026-05-29 · Tom Perneczky, Marc Abeille, David Janz arxiv

We prove a variance-sensitive regret bound for Thompson sampling in stochastic generalised linear bandits. The argument assumes a warm-up, after which the regret is controlled through using the Gaussian Poincaré inequali…