atlas

Research map / Architectures and efficiency / Attention and transformers

Efficient Low Rank Attention for Long-Context Inference in Large Language Models

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes LRQK, a training-free KV cache method that jointly low-rank factorizes queries and keys to compute proxy attention for top-k token selection, with a mixed GPU-CPU hit-and-miss cache that preserves exact attention on selected tokens.

Problem

KV cache memory grows linearly with context length, limiting long-context inference on resource-constrained devices; existing quantization, pruning/eviction, and offloading methods lose precision, discard tokens, or incur CPU-GPU transfer latency.

Approach

Jointly factorize full-precision query and key matrices into rank-r factors during prefill, then use these low-dimensional projections to compute proxy attention scores at each decode step to select top-k tokens plus a fixed recent window; only missing full-precision KV pairs are fetched from CPU via a hit-and-miss GPU cache, so attention on selected tokens is exact.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply LRQK rather than QuestLLaMA-3-8B-1M · RULER 128K, QA-1accuracy: 60.42 -> 75.00Helped
Apply LRQK rather than ShadowKVLLaMA-3-8B-1M · RULER 128K, QA-2accuracy: 52.08 -> 53.00Helped
Apply LRQK rather than ShadowKVLLaMA-3-8B-1M · LongBench PRetraccuracy: 80.00 -> 89.00Helped
Apply LRQK rather than ShadowKVLLaMA-3-8B-1M · LongBench LCCaccuracy: 63.93 -> 66.13Helped
Apply LRQKQwen2.5-7B · RULER-4K QA-2accuracy: 64.00 -> 65.00Helped
Apply LRQKQwen2.5-7B · RULER-4K VTaccuracy: 99.20 -> 96.60Hurt
increase rank from 8 to 32 (ablation)LRQK on LLaMA-3-8B-1M · RULER-4K QA-1accuracy: 79.00 -> 84.00Helped
increase rank from 8 to 16 (ablation)LRQK on LLaMA-3-8B-1M · RULER-4K QA-2accuracy: 50.00 -> 60.00Helped
increase rank from 8 to 16 (ablation)LRQK on LLaMA-3-8B-1M · RULER-4K VTaccuracy: 56.80 -> 98.80Helped
increase top-k from 256 to 1024 (ablation)LRQK on LLaMA-3-8B-1M · RULER-4K QA-2accuracy: 50.00 -> 63.00Helped
increase top-k from 256 to 1024 (ablation)LRQK on LLaMA-3-8B-1M · RULER-4K VTaccuracy: 56.80 -> 100.00Helped
use topcol instead of randn initialization (ablation)LRQK on LLaMA-3.1-8B-1M · RULER 16K QA-2accuracy: 61.00 -> 61.00No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Wikitext-2-v1

Benchmarks: RULER LongBench

Metrics: accuracy miss rate throughput

Baselines: Loki InfiniGen Quest ShadowKV StreamingLLM

Builds on: StreamingLLM ShadowKV Quest InfiniGen

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy