Softmax Reparameterization for Output-Head Quantization
A post-training softmax reparameterization cuts output-head quantization error, dropping Phi-4-mini AW-MSE KL from 0.936 to 0.256.
The paper proposes softmax reparameterization, a post-training method that selects a functionally equivalent language-model output head before quantization by subtracting a scaled vocabulary-row mean. The coefficient is chosen by validation KL separately for RTN, activation-weighted MSE, and GPTQ, preserving the full-precision softmax while leaving the decoder unchanged. On Phi-4-mini, W4 activation-weighted MSE KL falls from 0.936 to 0.256, and frozen WikiText coefficients transfer to C4 and OpenWebMath. With the decoder in BF16, quantizing the Phi output head reduces batch-one generation latency by 10.8%.
- One-dimensional search includes the original head and fixed mean-centering.
- Phi-4-mini W4 AW-MSE KL drops from 0.936 to 0.256.
- WikiText-selected coefficients transfer to C4 and OpenWebMath.
- Quantizing the Phi head cuts batch-one latency 10.8% versus BF16.
- Vendors
- Microsoft
- AI models
- Phi-4-mini
From the original article
1 min read at huggingface.coLarge vocabularies make output heads a substantial inference cost in small language models. We propose softmax reparameterization, a post-training method that selects a functionally equivalent output head before quantization.
By Asim Kadav, Christian Flores, Chirag Arora · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.