DASH-KV: Accelerating Long-Context LLM Inference via Asymmetric KV Cache Hashing

Jinyu Guo, Zhihan Zhang, Yutong Li, Jiehui Xie, Md. Tamim Iqbal +6 more
4/21/2026
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

The quadratic computational complexity of the standard attention mechanism constitutes a fundamental bottleneck for large language models in long-context inference. While existing KV cache compression methods alleviate memory pressure, they often sacrifice generation quality and fail to address the high overhead of floating-point arithmetic. This paper introduces DASH-KV, an innovative acceleration framework that reformulates attention as approximate nearest-neighbor search via asymmetric deep hashing. Under this paradigm, we design an asymmetric encoding architecture that differentially maps queries and keys to account for their distinctions in precision and reuse characteristics. To balance efficiency and accuracy, we further introduce a dynamic mixed-precision mechanism that adaptively retains full-precision computation for critical tokens. Extensive experiments on LongBench demonstrate that DASH-KV significantly outperforms state-of-the-art baseline methods while matching the performance of full attention, all while reducing inference complexity from O(N^2) to linear O(N). The code is available at https://github.com/Zhihan-Zh/DASH-KV

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{guo2026dashkv,
  title  = {DASH-KV: Accelerating Long-Context LLM Inference via Asymmetric KV Cache Hashing},
  author = {Jinyu Guo and Zhihan Zhang and Yutong Li and Jiehui Xie and Md. Tamim Iqbal and Dongshen Han and Lik-Hang Lee and Sung-Ho Bae and Jie Zou and Yang Yang and Chaoning Zhang},
  year   = {2026},
  eprint = {2604.19351},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.19351v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.19351.svg)](https://codeofpaper.com/paper/2604.19351)

Discussion