TRANSMISSION // 2612.01389v1
A data-guided twist for compressing language models
Source published
Greedy Hadamard Alignment uses calibration activations to guide a quantization transform. Gains are strongest for KV caches, but vary by model and setting.

Quantization can make large language models cheaper to run, but unusually large activation values can make low-bit representations less accurate. A new preprint proposes using calibration data to choose the signs and ordering before a Hadamard transform, rather than choosing signs at random.
Why adjust the transform?
Quantization represents a model’s values with fewer bits, which can reduce memory and computation needs. But when activations—the intermediate values a model produces as it processes text—are concentrated in a few unusually large coordinates, a quantizer must accommodate a wide range. That can make its representation less accurate.
Hadamard transforms can spread this concentration across coordinates before quantization. Existing randomized Hadamard methods use random sign flips before the transform. The authors ask whether those choices can instead be guided by activations from the model being prepared for quantization.
A greedy, calibration-based approach
The proposed method, Greedy Hadamard Alignment (GHA), builds a signed permutation: it reorders activation channels and flips some signs before applying the Hadamard transform. It uses a representative activation derived from a small calibration set, then greedily searches for a “flat” target—one whose coordinates have equal magnitude. Given a target, the best alignment of signs and ordering can be found analytically by matching magnitudes in sorted order.
That distinction matters: the alignment step is optimal for a fixed target, but the search for the target is heuristic. The authors use a windowed version of the search in practice to reduce its cost. They also fuse the permutation and sign changes into the Hadamard kernel, reporting little additional inference overhead compared with a plain Hadamard transform in their benchmarks.
The method is training-free, but not data-free: it needs calibration activations to choose the transform. The paper also tests whether a transform calibrated on one source can be reused elsewhere. Its central condition is that activations should have shared directional structure and remain stable across calibration sources.
Where the results look strongest
The experiments cover KV-cache quantization—the compression of keys and values stored during text generation—and hidden-state quantization. For KV caches, the authors report that the best GHA representative outperformed randomized Hadamard (RHT) in all 12 model-setting combinations in one 2-bit RULER evaluation. The gains were not uniform across every configuration, and other methods led in some settings. In a separate transfer test, GHA calibrated on RULER data also outperformed RHT in the tested GSM8K settings.
For hidden states, the picture is more mixed. In the reported language-modeling results, GHA reduced perplexity in 17 of 25 model-setting pairs and KL divergence in 18 of 25. On zero-shot task averages, it improved accuracy in 13 of 15 combinations. These counts describe the particular models, quantization recipes and tasks tested; they are not a guarantee of improvement in a new deployment. The authors report weaker, less consistent gains when activation directions are less aligned or calibration sources differ more, and identify a case where GHA worsened both reported language-modeling metrics.
What remains uncertain
A shared transform is useful only insofar as one representative activation describes the activations encountered later. The paper finds that this assumption appears more reliable for keys than for hidden states, and that the best choice among mean, median and extreme-value representatives depends on the model. There is not yet a principled way to predict the best representative for a new model.
The method’s greedy target search does not guarantee a global optimum, and the windowed search may miss better candidates. The study’s primary low-bit evaluations use 2-bit KV-cache quantization and W4A4KV4 hidden-state quantization. The hidden-state language-modeling and zero-shot tests also include other settings, including W16 controls. Even with those controls, broader testing across architectures, bit widths, tasks and deployment settings is needed before treating the results as general.
This article summarizes an arXiv preprint (version 1), not a finding independently established here. The paper reports repeated-seed results for many comparisons, but some supplementary comparisons are single runs; those cannot establish statistical significance. Overall, GHA offers a data-guided alternative to random preconditioning, with promising but setting-dependent evidence—particularly for KV-cache compression.
- LLM quantization
- Hadamard transform
- Greedy Hadamard Alignment
- KV-cache compression
- activation calibration
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
BitDecoding-FP4 aims to shrink AI memory without sacrificing answer quality
Shared method: Both papers use Hadamard transforms in KV-cache quantization: GHA learns a calibration-based signed-permutation preconditioner before the transform, while BitDecoding-FP4 combines Hadamard rotation with key smoothing and scale search. This is a shared method component, not evidence that the approaches or their results are directly comparable; the cited results come from different quantization pipelines and evaluations.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01389v1 — Original paper
Excerpt reference:
static/papers/2612.01389v1.md:13-89
Basis: Paper text
Source file SHA-256:7da65c2788e28ba3096ff3b2e05b3f9b300b77cc29cf163d2a9fc1139912e4d92612.01389v1 — Original paper
Excerpt reference:
static/papers/2612.01389v1.md:90-202
Basis: Paper text
Source file SHA-256:7da65c2788e28ba3096ff3b2e05b3f9b300b77cc29cf163d2a9fc1139912e4d92611.09825v1 — Original paper
Excerpt reference:
static/papers/2611.09825v1.md:70-176
Basis: Paper text
Source file SHA-256:343c163910a63da8d4e6a5747df0b6ba699b1ea8d5b4285230d1be62794f9fb52611.09825v1 — Original paper
Excerpt reference:
static/papers/2611.09825v1.md:1742-1860
Basis: Paper text
Source file SHA-256:343c163910a63da8d4e6a5747df0b6ba699b1ea8d5b4285230d1be62794f9fb5
Why four-bit AI needs a recipe, not just a format
Shared method: Both papers evaluate Hadamard preprocessing for quantization. GHA replaces random sign flips with a calibration-derived signed-permutation alignment before the transform; the microscaling study varies rotation granularity alongside formats and PTQ methods. Their findings are not a head-to-head comparison: benefits depend on the format and configuration in the microscaling study, while GHA focuses on its own calibration method and settings.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.01389v1 — Original paper
Excerpt reference:
static/papers/2612.01389v1.md:13-89
Basis: Paper text
Source file SHA-256:7da65c2788e28ba3096ff3b2e05b3f9b300b77cc29cf163d2a9fc1139912e4d92611.32873v1 — Original paper
Excerpt reference:
static/papers/2611.32873v1.md:56-99
Basis: Paper text
Source file SHA-256:daa7310071811047cd9e23ca055a7ecbe674296654d1d6a661839c14a9019a8b2611.32873v1 — Original paper
Excerpt reference:
static/papers/2611.32873v1.md:556-674
Basis: Paper text
Source file SHA-256:daa7310071811047cd9e23ca055a7ecbe674296654d1d6a661839c14a9019a8b
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
A Hadamard Transform Helps Neural Networks Avoid Some Multiplications
Source published
Shared keywords: hadamard transform
VerKV checks compressed AI memory before fetching more
Source published
Shared keywords: kv cache compression
Teaching Video AI What to Remember
Source published
Shared keywords: kv cache compression
How EviCastKV chooses what a vision-language model remembers
Source published
Shared keywords: kv cache compression
Quantization’s uneven effects on Qwen models
Source published
Shared keywords: llm quantization