acceptodds
Under review as a conference paper at ICLR 2027

Computed Permutation Trellis Coding: Near-Optimal Quantization Designed for Native Hardware Acceleration

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.

open until 14 Dec 2026

est. 32% chance this paper gets accepted at ICLR 2027.

Reject 68%Accept 32%

What do you think this paper will get?

All positions stay anonymous.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.