SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.12591 · ACL · 2024

Unlocking Data-free Low-bit Quantization with Matrix Decomposition for KV Cache Compression

Ji-Rong Wen, Tao Wang, Wayne Zhao, Peiyu Liu, Ze-Feng Gao, Yipeng Ma

arXiv · PDF · Open in the Atlas

Code that ran

6 of 10 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 5 failures of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.12591.json · badge: /api/ran/2405.12591.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
lpyhdzx/DecoQuant_code canonical (classifier label)
classifier basis: census
6 ran · 4 no recorded run
FunctionStatusWhere it lives
get_last_checkpoint_or_last_model Ran
ran; our contract draft was wrong, not the code
lpyhdzx/DecoQuant_code/icl/utils.py
pointer only (licence: NONE) · get_code("55c898dd0bb4836e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_parameter_number Ran
ran; our contract draft was wrong, not the code
lpyhdzx/DecoQuant_code/icl/evaluate_icl_ori.py
pointer only (licence: NONE) · get_code("383d339873e8f63f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_checkpoint_step Ran
ran, honoured the contract we drafted
lpyhdzx/DecoQuant_code/icl/utils.py
pointer only (licence: NONE) · get_code("231f5cf156c8b486")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

quantize_activation_per_token_absmax Ran
ran; our contract draft was wrong, not the code
lpyhdzx/DecoQuant_code/icl/models/fake_quant.py
pointer only (licence: NONE) · get_code("c1cb961b4f5cb75c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

quantize_weight_per_channel_absmax Ran
ran; our contract draft was wrong, not the code
lpyhdzx/DecoQuant_code/icl/models/fake_quant.py
pointer only (licence: NONE) · get_code("39396670c3373c8e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

quantize_weight_per_tensor_absmax Ran
ran; our contract draft was wrong, not the code
lpyhdzx/DecoQuant_code/icl/models/fake_quant.py
pointer only (licence: NONE) · get_code("dd3493503cb95888")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_act_scales Not yet run
unverified (harvested, no recorded run)
lpyhdzx/DecoQuant_code/language_model/smoothquant/calibration.py
pointer only (licence: NONE) · get_code("3fed3338f2ffb08f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_dataset Not yet run
unverified (harvested, no recorded run)
lpyhdzx/DecoQuant_code/icl/icl_dataset_loading.py
pointer only (licence: NONE) · get_code("062aa2adf5c6b989")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_model_tokenizer_device_isac Not yet run
unverified (harvested, no recorded run)
lpyhdzx/DecoQuant_code/icl/evaluate_icl_ori.py
pointer only (licence: NONE) · get_code("46b0ba2dfd30560a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_static_decoder_layer_scales Not yet run
unverified (harvested, no recorded run)
lpyhdzx/DecoQuant_code/language_model/smoothquant/calibration.py
pointer only (licence: NONE) · get_code("a5a75a01c343fb3b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, lpyhdzx/DecoQuant_code when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 5 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 5 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
quantize_activation_per_token_absmax 2 other papers
2 later
2505.02214 (2025-05)
An Empirical Study of Qwen3 Quantization
2605.04084 (2026-05)
FASQ: Flexible Accelerated Subspace Quantization for Calibration-Free LLM Compression
quantize_weight_per_tensor_absmax 2 other papers
2 later
2505.02214 (2025-05)
An Empirical Study of Qwen3 Quantization
2605.04084 (2026-05)
FASQ: Flexible Accelerated Subspace Quantization for Calibration-Free LLM Compression
get_act_scales 1 other paper
1 later
2505.02214 (2025-05)
An Empirical Study of Qwen3 Quantization
get_parameter_number 1 other paper
1 later
2411.06448 (2024-11)
Over-parameterized Student Model via Tensor Decomposition Boosted Knowledge Distillation
get_static_decoder_layer_scales 1 other paper
1 later
2505.02214 (2025-05)
An Empirical Study of Qwen3 Quantization

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Key-value (KV) caching is an important technique to accelerate the inference of large language models (LLMs), but incurs significant memory overhead. To compress the size of KV cache, existing methods often compromise precision or require extra data for calibration, limiting their practicality in LLM deployment. In this paper, we introduce DecoQuant, a novel data-free low-bit quantization technique based on tensor decomposition methods, to effectively compress KV cache. Our core idea is to adjust the outlier distribution of the original matrix by performing tensor decomposition, so that the quantization difficulties are migrated from the matrix to decomposed local tensors. Specially, we find that outliers mainly concentrate on small local tensors, while large tensors tend to have a narrower value range. Based on this finding, we propose to apply low-bit quantization to the large tensor, while maintaining high-precision representation for the small tensor. Furthermore, we utilize the proposed quantization method to compress the KV cache of LLMs to accelerate the inference and develop an efficient dequantization kernel tailored specifically for DecoQuant. Through extensive experiments, DecoQuant demonstrates remarkable efficiency gains, showcasing up to a ∼75% reduction in memory footprint while maintaining comparable generation quality.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2405.12591")
get_code_for_paper("2405.12591")
have("2405.12591")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2405.12591.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2405.12591.svg)](https://syntology.ai/paper/2405.12591)

Connect an agent — have() is free.