Back to Feed
Efficiency & Inference

Compressing LLM Output Heads for Memory Efficiency

Original: ARCHead: Activation-Metric Residual Correction for Large Language Model Output Heads

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • Reduces output head memory consumption to 25.6 percent of the original BF16 size on Qwen3-8B-Base models.
  • Maintains high model performance with a relative perplexity of 1.007, significantly outperforming naive INT4 quantization.
  • Integrates into existing pipelines with less than 2 percent throughput impact during inference.
  • Compatible with existing quantization techniques like AWQ and bitsandbytes.

Summary & Methodology Analysis

ARCHead addresses the memory inefficiency of dense BF16 output projections (LM-heads), which remain uncompressed even when the rest of the transformer (the model architecture that uses attention to process sequences) is quantized. The method functions by replacing these dense matrices with a quantized core Wd, which is formed via a low-rank approximation and group-wise low-bit quantization, combined with a residual error correction. The system estimates a damped activation covariance matrix C to guide the reconstruction, performs an eigendecomposition to form a metric transform, and computes a rank-rr randomized truncated singular value decomposition to store correction factors Aw and Bw in INT8 format.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary problem ARCHead solves?

It solves the memory bloat caused by keeping dense BF16 output heads in LLMs after the transformer blocks have already been quantized.

Q2. How much does ARCHead reduce memory usage?

On Qwen3-8B-Base, it reduces storage for the output head to 25.6 percent of the original BF16 format.

Q3. Does this technique slow down inference?

The paper reports that replacing the head results in a throughput change of less than 2 percent.

Q4. What happens if I use naive INT4 quantization instead of ARCHead?

Naive INT4 quantization yields a relative perplexity of 1.14 to 1.16, which is worse than the 1.007 achieved by ARCHead.

Q5. Can ARCHead compress the entire model?

No, it is specialized for output heads and does not compress transformer MLP or attention weights.

Q6. Which quantization methods is ARCHead compatible with?

It is designed to work with models quantized by methods such as AWQ, GPTQ, and bitsandbytes NF4.

Q7. Does ARCHead guarantee peak memory improvement?

The paper does not claim improvements in peak GPU memory, as that depends on the specific workload and backend.

Q8. What are the limitations of the rank-r correction in ARCHead?

The conditional optimality of the correction applies to unquantized factors, but quantizing the factors introduces additional error.

Q9. What models were tested in this study?

The study tested Qwen3-8B-Base, Gemma-4-E4B, VibeThinker-3B, Mistral-7B-v0.3, and LFM2.5-8B-A1B.