Inference efficiency

Quantization, distillation, pruning and serving work aimed at the same accuracy for less memory, latency and money.

7,962 stories · RSS feed

arXiv Machine Learning
6d ago

KVUse: Reusable-KV User Memory for Efficient LLM Recommenders

KVUse introduces a reusable key-value (KV) cache system for storing user profiles in memory-augmented recommenders that use large language models (LLMs). By training lightweight LoRA writers through self-distillation, KVUse generates reusable KV caches during profile updates, allowing LLMs to read these caches at new positions without recomputation. The approach includes a custom KV scheduler that overlaps KV transfer with GPU computation, achieving up to 4.5× throughput gains in scoring and 1.9× in profile updates while maintaining ranking quality on InstructRec datasets.

By Xin Guo, Qiang Zhang, Xiang Zhou, Arushi Rai, Siyu Lin, Yifan Wu, Xiang Shen, Lei Huang, Qunshu Zhang, Xiangjun Fan, Lizhu Zhang
arXiv Machine Learning
6d ago

TempQuant: Learning Adaptive Temperatures for Quantized Language Models

TempQuant introduces a method to learn adaptive sampling temperatures and top‑p values for quantized language models, aiming to align their next‑token probability distributions with those of full‑precision counterparts. The approach operates at two granularities: a global setting per requested temperature and a token‑wise setting that adjusts temperature and top‑p based on whether token rankings flip under quantization. Experiments on 3‑bit Qwen3‑4B show that TempQuant can significantly boost accuracy—raising MATH scores from 34% to 51%—and generally improves the fidelity of quantized models to their full‑precision behavior.

By Mukund Athmaram, Liang Ma, Manoj Rao
arXiv Machine Learning
6d ago

Beyond Bitwidth: Deployment-Constrained Mixed-Precision Quantization for Multilingual LLM Inference on NVIDIA Blackwell

The paper evaluates deployment‑constrained mixed‑precision quantization for the Qwen3‑8B model on NVIDIA Blackwell GPUs. It tests various low‑bit formats (INT2, INT3, INT4, INT8, NVFP4) and finds that while packed INT2/INT3 can execute, they degrade generation quality. A mixed‑precision configuration with 16‑bit activations, 98 NVFP4 weight‑only modules, 46 INT8 modules, and an INT8 output head meets all accuracy, memory, and latency gates, improving accuracy over NVFP4 W4A4 by 1.4 percentage points on the full test set.

By Hyojung Han
arXiv Machine Learning
6d ago

XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory Pools

XM‑Sparse is a sparse‑attention offloading system that leverages scale‑up memory pools to move both KV history and the indexer key cache out of GPU HBM, matching each cache with a tailored I/O strategy. It fuses TMA‑based retrieval with tile‑level attention for dynamic KV entries and prefetches K‑index pages via GPU‑initiated DMA to hide latency. Experiments on DeepSeek‑V3.2 and GLM‑5.3 show up to 4.98× higher decode throughput than PCIe‑based ECHO and 4.52× over HiSparse, and 1.34× over a naive integration across 16K‑1M contexts.

By Yijun Sun, Xudong Liao, Zhuobin Huang, Kai Chen, Nikita Lazarev, Zhizhen Zhong