Reproduce “ResServe: Accurate and Efficient FP4 LLM Inference with Residue Compensation” 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

Shuo Rong, Ruibo Fan, Jiawen Wen, Xiaowen Chu

ResServe recovers information lost when large language model activations are quantized to four bits, while retaining low-precision computation. It computes a correction from the quantization residue and folds paired outputs on-chip, with selective compensation during prefill. Across five models, mean relative LiveCodeBench gains are 15.04% for NVFP4 and 53.57% for MXFP4; gains are not universal.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.