﻿# Beyond packed KV: effective bits, kernel speed and serving capacity

Separate Beyond payload compression, fake-QDQ quality, fused-kernel timing and end-to-end fixed-batch or capacity measurements.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/beyond-packed-kv-effective-bits-kernel-serving-boundaries/
Language: en

Low-bit KV storage saves useful GPU memory only if the serving path can consume its representation efficiently. A packed cache can introduce metadata, conversion work and kernel constraints. Beyond is a concrete example of why payload size, attention-kernel latency and end-to-end throughput must be reported separately.

## Count effective storage rather than code bits

The [Beyond paper](https://aclanthology.org/2026.emnlp-main.526.pdf) learns non-uniform quantization levels and thresholds while freezing the language-model backbone. Its standard configuration uses 4-bit codes with group size 32, but group metadata raises storage to 5 effective bits per KV scalar. The resulting 3.2× reduction is relative to a dense 16-bit cache before page padding.

It is not a 3.2× reduction in total GPU memory. Model weights, runtime state, allocator behaviour and temporary buffers remain. The [pinned author README](https://raw.githubusercontent.com/wsxhjnb1/Beyond-KV-Cache/33ac1aadd9fe6bf4efd553e8c7f23ac4aef039e7/README.md) explicitly describes this payload boundary, which should remain attached to the headline compression factor.

## Separate numerical quality from packed execution

Beyond optimizes next-token loss through a hard-forward quantizer. The reviewed README distinguishes quality evaluation using fake quantize–dequantize with a floating-point cache from the packed-serving benchmarks. These paths share intended quantization semantics but do not have identical memory layouts.

An aggregate quality improvement therefore should not be interpreted as a complete packed-path validation on every downstream task. The publication itself notes task-dependent gains and formatting effects. A deployment still needs tests that exercise its actual packed representation and decoding implementation.

## Identify where reconstruction happens

The fused decode kernel reads packed codes and reconstructs values inside the attention computation, avoiding materialization of a complete dense cache in GPU memory. Prefill retains a dense-attention path with quantize–dequantize values. These distinctions help explain why the same compression method can have different costs during prompt processing and token generation.

A general evaluation should distinguish packing, attention computation and any fallback path. Report kernel selection and unsupported cases instead of treating recognition of a low-bit option as evidence that the intended fused path ran.

## Keep kernel speed and serving speed distinct

On one B300, the paper reports a peak 1.50× attention-kernel speedup, while the complete serving comparison reaches up to 1.17× at a matched batch. The kernel experiment and offline serving workload have different measurement boundaries. Neither number is a universal latency improvement for arbitrary requests.

The capacity experiment also finds a larger tested batch under the same configured memory fraction. That result answers a different question from fixed-batch throughput. An exact maximum should not be inferred between a last successful test and the next tested failure.

## Compare fixed work before expanding concurrency

First use identical requests, batch size, model weights and output lengths to identify execution overhead or speedup. Record allocated and reserved memory, payload estimates, metadata and peak temporary use. Then perform a separate capacity sweep with explicit latency and quality requirements.

This proposed accounting avoids confusing more admitted requests with faster execution of the same work. The article reviews the paper and pinned documentation; no GPU kernel or serving benchmark was run here. For an inference provider, the useful outcome is additional correct work within the service limits, supported by the actual execution path and measured memory boundary.

Related: [active-request memory accounting](/journal/kv-cache-economics/) and [FP8 cache quality checks](/journal/fp8-kv-cache-calibration-quality/).
