Final English Task and Admin handoff

The English Task is ready for handoff. Admin startup handoff · Download Task · Protocol · Full baseline evidence · Link checks. No new research run has been started.

KV Cache Compression: Advancing the Quality, Memory and Inference-Cost Pareto Frontier

Motivation

When a language model generates text, causal self-attention reads the key (K) and value (V) vectors of earlier tokens. Inference systems store these vectors so they need not be recomputed. This storage is the KV cache. An uncompressed full-attention KV cache grows linearly with context length and with the number of concurrent requests. In long-document question answering and multi-request serving it can take more GPU memory than the model weights, which limits context length, batch size and serving cost. Compressing the cache frees memory but can discard information, and encoding, indexing and reading a compressed cache all add computation.

This Task asks how to advance the Pareto frontier of quality, actual memory and inference cost. Configuration A dominates configuration B if A is no worse than B on all three dimensions and strictly better on at least one. The configurations that no other configuration dominates form the frontier. A method advances the frontier when it produces a new non-dominated point. For example, it might use fewer bytes without losing quality or speed, or reach higher quality without using more memory or compute. We do not combine the three measures into one weighted score, because the choice of weights would determine the ranking.

What the cache must preserve

Consider a question about how a person mentioned in paragraph 3 relates to an event in paragraph 40. To answer it, the model must recover two distant pieces of evidence from the cache. Uniformly lowering precision may blur the details it needs. Dropping tokens that look unimportant may delete exactly that evidence.

KV compression works under different conditions from weight compression. Weights are fixed and can be compressed offline with a large compute budget (see the Post-training quantization Task). A KV cache is produced online for each request, its contents depend on the input, and the cost of compressing it counts as inference cost. Looped models add another dimension. Ouro-1.4B applies one shared block of layers four times for every token, and each iteration can keep its own KV cache (see Looped computation in Faster Decoding in Looped Transformers). The central question is when to compress, which representation to use and which information to keep.

Research tracks

The Task offers two optional tracks:

Researchers may pursue one track in depth or propose a general method for both. Either track is sufficient task scope; the scientific contribution must still be established. A claim of generality across both model types requires evidence on each. The supplied models are reproducible starting points, and conclusions need not be limited to them.

Objective

Aim for original, explainable and reproducible methods or analyses that advance the frontier in the chosen setting. Begin by analysing the supplied baselines and how each trades off quality, actual storage and runtime. Then go further: improve on them with new ideas, or develop new methods that beat strong applicable baselines on the frontier. The mechanism is open. Training-based approaches, such as learning compression parameters or adapting the model, are in scope, as are entirely new cache representations. Report the data and GPU time used for training or calibration separately from inference savings.

Analyses that explain when and why a method succeeds or fails, and well-supported negative results, are also valuable. Fixing compatibility problems, switching to a known configuration or tuning hyperparameters is generally not a scientific contribution on its own, even when it improves a metric.

Starting baselines

The supplied measurements come from local adaptations of existing methods, not reproductions of the original papers. The methods differ in backend and storage implementation. The numbers therefore describe the current state and do not form a fair frontier. The two models' results should not be ranked against each other.

Qwen3.5-4B (non-looped track). The baseline families are Full, DropKV, xKV, xKV-SR, KV-COBRA and EchoKV. Thirteen configurations were each evaluated on the same 750-question LongBench-lite set. Full scored 45.98 with a 348.89 MiB cache at 2.64 s per question. xKV at rank 512 scored 45.93 with a 132.44 MiB cache, about 62% smaller, but took 4.35 s per question. Actual storage has been measured for the KV-COBRA and EchoKV configurations. The current data does not support a fair ranking at equal budgets.

Ouro-1.4B, four iterations (looped track). The baseline families are Full, KIVI, FlashLoop, LoopCache and LoopVQ. They were evaluated on the same 750 LongBench questions (macro average over 16 English tasks) and 264 GSM questions (strict scoring of the first number after ####).

Method LongBench macro avg GSM accuracy (%) Storage
Full 25.99 15.91 Uncompressed cache
KIVI 25.91 15.53 Mixed v1/v2 implementation; dense temporary tensors on read
LoopCache 25.88 17.80 Preallocated BF16 cache; no storage reduction
LoopVQ 23.45 5.30 Truly compressed storage; no dense shadow copy
FlashLoop 15.20 1.89 Negative result, retained

LoopVQ uses codebooks fine-tuned with the official procedure and leaves the model weights unchanged. Its compressed generation ran end to end. The cause of its drop in GSM accuracy has not been isolated. Held-out calibration KL decreased during fine-tuning, but no matched downstream comparison against an untuned codebook was run, so the effect of fine-tuning on task scores is not isolated. The supplement gives the storage layout, timing conditions and output-termination statistics, which limit how these numbers can be compared.

Fair comparison

Use the same model, data and device for every method, and align backends and optimization levels as closely as possible. When a specialized kernel or backend is part of the method, report both an ablation against a matched implementation and the full-system comparison. Include the strongest relevant methods available when the research begins, and search recent literature at the outset.

Report resident KV storage (including metadata, indices and codebooks), de-duplicated actual allocation, temporary reconstruction and runtime peak memory separately, without counting the same storage twice. Sweep several actual-byte budgets, context lengths and concurrency levels. Compare resources at equal quality and quality at equal resources. Report end-to-end time, time to first token, decoding speed and throughput separately, and record compilation and warm-up costs on their own. Repeat timings on the same device and report variation (see KernelBench for timing practice). State the range of lengths, budgets and concurrency over which a dominance claim holds. Report output lengths and termination reasons so that shorter outputs are not mistaken for acceleration (see Fair comparison in the looped-decoding Task).

Generalization and data exposure

The 750 LongBench and 264 GSM questions were used for debugging and method selection. They are a development starting point, not an unseen final test. Freeze methods and hyperparameters before final evaluation on unused questions or additional benchmarks. Match each claim's scope to its evidence. A claim of generalization within one track needs results on several models and tasks.

Deliverables

Provide a method description with a mechanistic explanation, reproducible code, per-question outputs and scores, raw memory and timing records, ablations, and documented failure cases and limits of applicability.

Supplement

Read the complete baseline evidence report, evaluation protocol, references and Admin handoff. The baseline report includes full tables, adapted implementations, reproducibility records and data-exposure limitations.

References and starting implementations

Each family in the baseline tables is covered below. Full is the uncompressed model control, not a separate compression method. Local adaptations and their results are documented in the accompanying baseline evidence; a paper citation does not certify that its original implementation was reproduced.

Baseline family Original reference / public source
Full: Qwen / Ouro Model identities and uncompressed controls are recorded in the baseline report. Ouro: Scaling Latent Reasoning via Looped Language Models. Qwen model-card URLs were unreachable from this host during the check; the preserved baseline model identity remains available locally in the evidence bundle.
DropKV DropKV: Decoupling Residual-Output Perturbation for Near-Optimal KV-Cache Eviction
xKV and xKV-SR xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extraction. Rank variants and the SR implementation belong to this family; no separate SR paper is claimed.
KV-COBRA KV-COBRA: KV Cache Compression via Co-Optimized Bit-Rank Allocation; official project
EchoKV Official repository and original method description, EchoKV: Efficient KV Cache Compression via Similarity-Based Reconstruction. The checked official README identifies a NeurIPS 2026 paper but provides no verified separate manuscript URL; this is a repository reference, not a verified paper link.
KIVI KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache; official implementation
FlashLoop FlashLoop: Fast and Memory-Efficient Looped Transformers via Lazy Updates; official implementation
LoopCache Official repository and original method description, LoopCache: Accelerating Long-Context Self-Speculative Decoding for Looped Transformers. No separate manuscript URL was verified in the official README; do not treat local adaptation results as paper results.
LoopVQ LoopVQ: Sub 1-bit KV Cache Quantization for Looped Transformers; official project and code link

Related RStation Tasks: Post-training quantization, Faster Decoding in Looped Transformers, and GPU kernel optimization. All three returned HTTP 200 with the expected Task title during this handoff's check. The linked baseline papers, project pages and repository references above also returned HTTP 200. See recorded checks. Availability is recorded at check time.