paper-with-me

Papers

HARD-KV: Head-Adaptive Regularization for Decoding-time KV Compression

2026-06-27 · Yuxuan Yang, Feiyang Ren, Bowen Zeng, Dalin Zhang, Jinpeng Chen, Gang Chen, Huan Li arxiv

Long-context LLM inference faces a fundamental conflict: head-adaptive compression algorithms (e.g., Top-$p$ nucleus sampling) offer superior accuracy by dynamically fluctuating memory budgets, yet modern inference engines (e.g., vLLM) demand rigid, static memory patterns to leverage CUDA Graphs and PagedAttention. We resolve this ``Static-Dynamic'' mismatch with HARD-KV, a unified framework that that bridges dynamic selection with rigid system constraints. HARD-KV introduces a Cascade Cache hierarchy, managing the token lifecycle across dense, sparse, and condensed tiers. Crucially, we propose a Logits Calibration mechanism that normalizes diverse importance metrics into a unified probability space, enabling consistent Top-$p$ budgeting across heterogeneous heads. To bridge the efficiency gap, we offer a system-level solution, which rewrites fragmented, dynamic indices into contiguous physical layouts compatible with high-performance inference engine. Extensive experiments on math-reasoning benchmarks (AIME, U-Math) verify that HARD-KV achieves up to 2$\times$ throughput improvement over static baselines while maintaining high-fidelity generation in 10k+ token scenarios. Code is available at https://github.com/SuDIS-ZJU/HARDInfer.

📄 PDF Abstract BibTeX arXiv:2606.28831

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Hardware-Aware Parallel Prompt Decoding for Memory-Efficient Acceleration of LLM Inference

2024-05-28 · Hao Mark Chen, Wayne Luk, Ka Fai Cedric Yiu, Rui Li 외

The auto-regressive decoding of Large Language Models (LLMs) results in significant overheads in their hardware performance. While recent research has investigated various speculative decoding techniques for multi-token …

GPUText Generation

High Throughput Polar Decoding Using Two-Staged Adaptive Successive Cancellation List Decoding

2019-05-22

Polar codes are the first class of capacity-achieving forward error correction (FEC) codes. They have been selected as one of the coding schemes for the 5G communication systems due to their excellent error correction pe…

AHASD: Asynchronous Heterogeneous Architecture for LLM Adaptive Drafting Speculative Decoding on Mobile Devices

2026-04-28 · Ma Zirui, Fan Zhihua, Li Wenxing, Wu Haibin 외 arxiv

Speculative decoding enhances the inference efficiency of large language models (LLMs) by generating drafts using a small draft language model (DLM) and verifying them in batches with a large target language model (TLM).…

Enhancing Monotonic Multihead Attention for Streaming ASR

2020-05-19 · Hirofumi Inaguma, Masato Mimura, Tatsuya Kawahara

We investigate a monotonic multihead attention (MMA) by extending hard monotonic attention to Transformer-based automatic speech recognition (ASR) for online streaming applications. For streaming inference, all monotonic…

AllAutomatic Speech RecognitionAutomatic Speech Recognition (ASR)Boundary Detection+2

GQLA: Group-Query Latent Attention for Hardware-Adaptive Large Language Model Decoding

2026-05-14 · Fanxu Meng arxiv

Multi-head Latent Attention (MLA), the attention used in DeepSeek-V2/V3, jointly compresses keys and values into a low-rank latent and matches the H100 roofline almost perfectly. Its trained weights, however, expose only…