atlas

Research map / Architectures and efficiency / Quantization

QJL: 1-Bit Quantized JL Transform for KV Cache Quantization with Zero Overhead

AAAI 2025 · Architectures and efficiency › Quantization · approach: KV cache quantization · 4 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 QJL, a data-oblivious KV cache key quantizer that applies a Gaussian JL transform followed by sign-bit quantization, paired with an unbiased asymmetric inner-product estimator, reaching 3 bits per FPN with no accuracy loss.

Problem

KV cache memory grows with sequence length, and existing KV cache quantizers add 1-2 bits per number from storing full-precision quantization constants (zero point and scale) per block.

Approach

Apply a random Gaussian JL transform to key embeddings and keep only the sign bits plus the key norm, while the query is JL-projected without quantization; this asymmetric estimator is unbiased for the inner product, so no per-group constants are needed. Outlier channels are handled by a separate quantizer copy.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench NarrativeQAF1: 20.79 -> 21.83Helped
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench QasperF1: 29.42 -> 29.44No clear effect
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench MultiQA-enF1: 42.83 -> 41.52Hurt
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench MultifQA-zhF1: 34.33 -> 34.42No clear effect
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench HotpotQAF1: 33.05 -> 35.62Helped
Use 3-bit QJL instead of FP16longchat-7b-v1.5-32k · LongBench 2WikiMultiQAF1: 24.14 -> 23.60Hurt
Use 3-bit QJL instead of FP16Llama-2-7B · LM-eval Lambada-OpenAIaccuracy: 73.90 -> 73.88No clear effect
Use 3-bit QJL instead of FP16Llama-2-7B · LM-eval HellaSwagaccuracy: 57.18 -> 57.14No clear effect
Use 3-bit QJL instead of FP16Llama-2-7B · LM-eval PIQAaccuracy: 78.07 -> 78.07No clear effect
Use 3-bit QJL instead of FP16Llama-2-7B · LM-eval MathQAaccuracy: 28.11 -> 28.17No clear effect
Use 3-bit QJL instead of FP16Llama-2-7B · LM-eval MMLUaccuracy: 41.85 -> 41.78No clear effect
Use 3-bit QJL instead of BF16Llama-3-8B · LM-eval PIQAaccuracy: 79.65 -> 79.87Helped

Surprising findings

Limitations

Experimental setup

Datasets: LongBench LM-eval tasks (Lambada-OpenAI, HellaSwag, PIQA, MathQA, MMLU)

Benchmarks: LongBench LM-eval

Metrics: F1 accuracy wall-clock time memory usage

Baselines: KIVI KVQuant FP16 exact cache

Builds on: Johnson-Lindenstrauss transform KIVI KVQuant

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