Computed Permutation Trellis Coding: Near-Optimal Quantization Designed for Native Hardware Acceleration
Anonymous authors
ICLR 2027
TL;DR. We design a new trellis coding based quantization format that is theoretically almost optimal and add native support for it in a commercial ML accelerator's systolic arrays.
Abstract. We propose Computed Permutation Trellis Coding (CPTC), a low-bit weight format whose decoder multiplies the trellis state by two -bit coefficients and uses the top bits of the products to index a -byte table. Formats that round each value independently, such as INT4, FP4, and NF4, waste or more of their bits against the information-theoretic ideal; trellis codes recover this loss by encoding values jointly, but prior decoders either store a large table (Random Permutation Trellis Coding, RPTC) or replace it with a hash (QTIP) that fixes the distribution of the decoded values. CPTC computes the table index instead: the index distribution the two multiplications induce is a near-optimal rule for placing codepoints in a small table. One decoder with -bit multipliers, a -byte table and a coefficient pair loaded per configuration serves every bit width , reproduces the standard integer and floating-point formats exactly, and loses at most bits against the information-theoretic ideal for all , matching RPTC run two state bits deeper from an smaller table and exceeding QTIP's best variant ( vs.\ effective bits at ). In LLM weight quantization without fine-tuning, CPTC has the lowest KL divergence to the unquantized model at every tested bit width on LLaMA 3.1 8B and 70B Instruct against QTIP's HYB (by up to ) and 1MAD (by up to ) codebooks, and at -- bits surpasses even YAQA's fine-tuned B releases. A fused persistent GPU Viterbi kernel encodes an 8B-parameter model in about two GPU-minutes, and the decoder has been built into the weight-load path of a commercial systolic-array accelerator, where, post-layout, it runs at native FP4/FP8 throughput for about of the systolic array's area.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Desk rejected · OpenReview
Updated 24 Nov 2026, 16:43 UTC.
The venue hasn't published any reviews yet.
Loading the discussion…