TRANSMISSION // 2610.35985v2
Using a Model’s Gate to Set Memory Precision
Source published
GateRQ uses a model’s gate to choose which conditional-memory lookups receive extra precision. Tests on two models show it outperforming other selection rules on PopQA at matched read budgets, while generally remaining below FP8 accuracy.

Large language models can use hashed n-gram tables that return vectors for token sequences. A gate scales those vectors before they enter the model’s computation. A new preprint asks whether that gate can help decide which lookups need higher precision, reducing table memory without retraining.
Why lookup frequency can mislead
Some language models supplement their neural networks with conditional memory: large tables that return a vector when a token sequence matches a hashed n-gram. A gate scales the retrieved vector before it joins the model’s computation. Storing these tables at high precision can take substantial memory.
A common strategy is to give more precision to rows that are accessed often. Tianqi Chen and colleagues argue that frequency can be a poor guide for gated memory. Common phrases may be looked up frequently but receive small gates, while a less common sequence may receive a larger gate in a relevant context. In one example question—“Who is the author of The Pianoplayers?”—the paper reports larger gates for the three token pieces of “Pianoplayers” than for other tokens in that question. This is an illustration, not a rule that rarity determines importance.
The authors’ central proposal is to set precision for each lookup in context, rather than assigning a fixed precision to each table row. The same row can receive different gates in different sentences.
A cheap first read, then selective refinement
GateRQ stores each row as a ladder of one-bit residual codes. The first level provides a rough reconstruction; later levels encode residuals that refine it. Level 1 stays on the GPU, while deeper levels can be stored in host memory.
For every lookup, the system reads level 1 and calculates the gate and an estimated importance score. That score also accounts for the memory head’s gain and the estimated row energy. The system fetches deeper levels for the highest-ranked lookups within a batch. Crucially, both the ranking and the gated values use the gate calculated from level 1; the deeper levels refine the value, not the gate. In the tested models, gates from the one-bit representation closely matched gates from the FP8 table.
This is a post-training method and requires no retraining. The researchers tested three quantization codecs—trellis-coded quantization (TCQ), integer coding (INT) and product quantization (PQ)—and compared gate-based selection with selection by access frequency, estimated average gate, or random choice.
What the tests found
The accuracy evaluations covered DeepSeek-V4.1-Flash and Qwen3.8-Flash-Next on PopQA, TriviaQA, NQ-open and the Chinese-language benchmark CMMLU. On PopQA, GateRQ had the highest accuracy among the four selection rules in all 12 combinations of two models, three codecs and two read budgets. Across those settings, its paired comparisons with the other rules were statistically significant. This is an advantage over those selection rules at matched read budgets—not an improvement over FP8.
For example, with TCQ, DeepSeek scored 51.37 on PopQA at 1.50 bits read per lookup and 52.18 at 2.10 bits, compared with 52.39 for FP8. Qwen scored 38.73 and 39.38 at those budgets, compared with 39.55 for FP8. The results suggest gate-based selection can retain more PopQA performance than the tested alternatives at the same read rate, but compressed results were generally below FP8. Performance differences also varied across benchmarks and configurations.
The team implemented GateRQ in vLLM for DeepSeek on an eight-GPU setup. Table memory fell from 23.6 to about 3.0 GiB per GPU. Reported throughput was 11–31% higher than with FP8 tables held in GPU memory. The authors attribute that difference to the larger KV cache made possible by freeing GPU memory, not simply to reading fewer bits. Compared with FP8 tables offloaded to host memory, throughput was similar, while the reported pinned host-memory requirement was lower.
What remains uncertain
The evidence covers two models, and the native serving implementation and throughput measurements were for DeepSeek. Accuracy evaluations for both models used an emulation of the read rule within vLLM, rather than native GateRQ serving throughout. Throughput comparisons were workload-specific single runs. The paper also says native four-task accuracy remains to be cross-checked against the accuracy runs. Its confidence intervals account for sampling questions, not variation between runs.
The lookup-importance score is a proxy for output distortion, derived under assumptions about quantization error. The researchers compare its predictions with measured results, but it is not a direct measure of every possible effect on generated answers.
This is an arXiv preprint, not an independently confirmed result. Its findings apply to the tested models, benchmarks, codecs and serving setup; further work is needed to establish how well the method transfers. The idea is to use a model’s existing gate as one signal for spending precision where a lookup may matter, rather than relying on how often its row is accessed.
- large language models
- conditional memory
- GateRQ
- quantization
- GPU memory
- LLM inference
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
VerKV checks compressed AI memory before fetching more
Source published
Shared keywords: gpu memory, large language models
LeapQuant trims the memory burden of linear-attention models
Source published
Shared keywords: gpu memory, large language models
BitDecoding-FP4 aims to shrink AI memory without sacrificing answer quality
Source published
Shared keywords: large language models
FOSCAR speeds up compressed AI memory by rearranging the maths
Source published
Shared keywords: large language models
When 4-Bit Language Models Run Faster—and Where Evidence Is Thin
Source published
Shared keywords: large language models