Reproduce “Post-Training 4-bit Quantization on Embedding Tables” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Hui Guan, Andrey Malevich, Jiyan Yang, Jongsoo Park, Hector Yuen
Researchers from North Carolina State University and Facebook, Inc. developed
Key insights
- Prior post-training quantization techniques, relying on global distribution approximations, are often ineffective for embedding tables due to the low dimensionality of individual embedding row vectors.
- Achieving accurate 4-bit quantization for embeddings requires fine-grained, row-wise optimization, either through an iterative search for optimal uniform clipping or by learning non-uniform, data-adapted codebooks.
- Careful, low-level optimization of 4-bit dequantization routines is critical to mitigate potential runtime overheads, enabling 4-bit inference to be as fast as or faster than higher-precision alternatives for large-scale embedding lookups.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.