potentialpaper

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

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:25 UTC · 54541c909917 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "1W5aP7VZOd"
- }
- ],
- "title": "Computed Permutation Trellis Coding: Near-Optimal Quantization Designed for Native Hardware Acceleration",
- "authors": [],
- "abstract": "We propose Computed Permutation Trellis Coding\n(CPTC), a low-bit weight format whose decoder multiplies the\ntrellis state by two $16$-bit coefficients and uses the top bits\nof the products to index a $64$-byte table. Formats that round\neach value independently, such as INT4, FP4, and NF4, waste\n$0.6$ or more of their $4$ bits against the information-theoretic\nideal; trellis codes recover this loss by encoding values\njointly, but prior decoders either store a large table (Random\nPermutation Trellis Coding, RPTC) or replace it with a hash (QTIP) that fixes the distribution of the\ndecoded values. CPTC computes the table index instead: the index\ndistribution the two multiplications induce is a near-optimal\nrule for placing codepoints in a small table. One decoder with\n$16$-bit multipliers, a $64$-byte table and a coefficient pair loaded per\nconfiguration serves every bit width $K \\in [1, 6]$, reproduces\nthe standard integer and floating-point formats exactly, and loses at most\n$0.07$ bits against the information-theoretic ideal for all\n$K \\le 4$, matching RPTC run two state bits deeper from an\n$8{,}192\\times$ smaller table and exceeding QTIP's best\nvariant ($3.93$ vs.\\ $3.86$ effective bits at $K{=}4$). In LLM\nweight quantization without\nfine-tuning, CPTC has the lowest KL divergence to the unquantized\nmodel at every tested bit width on LLaMA 3.1 8B and 70B Instruct against\nQTIP's HYB (by up to $27\\%$) and 1MAD (by up to $5\\%$) codebooks,\nand at $3$--$4$ bits surpasses even YAQA's fine-tuned $70$B\nreleases. A fused persistent GPU Viterbi kernel encodes an\n8B-parameter model in about two GPU-minutes, and the decoder has\nbeen built into the weight-load path of a commercial\nsystolic-array accelerator, where, post-layout, it runs at native FP4/FP8\nthroughput for about $3\\%$ of the systolic array's area.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "a70ee7be-8c25-4f61-9050-685e00e37f8e"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "Computed Permutation Trellis Coding: Near-Optimal Quantization Designed for Native Hardware Acceleration",
+ "authors": [],
+ "abstract": "We propose Computed Permutation Trellis Coding\n(CPTC), a low-bit weight format whose decoder multiplies the\ntrellis state by two $16$-bit coefficients and uses the top bits\nof the products to index a $64$-byte table. Formats that round\neach value independently, such as INT4, FP4, and NF4, waste\n$0.6$ or more of their $4$ bits against the information-theoretic\nideal; trellis codes recover this loss by encoding values\njointly, but prior decoders either store a large table (Random\nPermutation Trellis Coding, RPTC) or replace it with a hash (QTIP) that fixes the distribution of the\ndecoded values. CPTC computes the table index instead: the index\ndistribution the two multiplications induce is a near-optimal\nrule for placing codepoints in a small table. One decoder with\n$16$-bit multipliers, a $64$-byte table and a coefficient pair loaded per\nconfiguration serves every bit width $K \\in [1, 6]$, reproduces\nthe standard integer and floating-point formats exactly, and loses at most\n$0.07$ bits against the information-theoretic ideal for all\n$K \\le 4$, matching RPTC run two state bits deeper from an\n$8{,}192\\times$ smaller table and exceeding QTIP's best\nvariant ($3.93$ vs.\\ $3.86$ effective bits at $K{=}4$). In LLM\nweight quantization without\nfine-tuning, CPTC has the lowest KL divergence to the unquantized\nmodel at every tested bit width on LLaMA 3.1 8B and 70B Instruct against\nQTIP's HYB (by up to $27\\%$) and 1MAD (by up to $5\\%$) codebooks,\nand at $3$--$4$ bits surpasses even YAQA's fine-tuned $70$B\nreleases. A fused persistent GPU Viterbi kernel encodes an\n8B-parameter model in about two GPU-minutes, and the decoder has\nbeen built into the weight-load path of a commercial\nsystolic-array accelerator, where, post-layout, it runs at native FP4/FP8\nthroughput for about $3\\%$ of the systolic array's area.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}