跳到正文
arXiv (AI + Vision + Imaging)· Pier-Jean Malandrino·· 5 天前精选AI 评分60

Tetra 提出 2.7 bit/参数 Lee 格量化 LLM 服务方案

Tetra: Serving Leech-Lattice Quantized LLMs at 2.7 Bits per Parameter

AI 导读

Tetra 提出一种基于 Lee 格的量化码本,24 个权重仍占 48 bit,内核在矩阵乘中通过六次查表和两次小查找解码,每权重读取 2.148 bit。

推荐理由

论文给出 Lee 格量化在 2.7 bit/参数下的完整服务方案与实测数据,可对照 4-bit AWQ 和 IQ2_XXS 评估低比特推理的精度与吞吐取舍。

正文 · 原文

arXiv:2609.35465v2 Announce Type: replace Abstract: Leech-lattice quantization gives good quality at two bits per weight, but its codebooks hold more than 10^14 points, too many for a lookup table. Our earlier kernel expanded the codes at load time and read 4.804 bits per weight from GPU memory for 2 bits of code. We present Tetra, a new codebook on the same lattice. A 24-weight block still takes 48 bits, most of which index a 64-state trellis of the Golay code and one shared 16 KiB table. The kernel decodes a block with six table loads and two small lookups inside the matrix-vector product, and reads 2.148 bits per weight. For full models, we retrain one scale per matrix row, store the matrices that lose the most as 4-bit integers, and pay for them with 4-bit embedding tables. Our Qwen3-4B, 8B and 14B files hold 2.73, 2.70 and 2.73 bits per parameter over the whole model. They score 63.37, 69.58 and 75.66 on the full MMLU test set, 4.76, 4.21 and 2.46 points below 4-bit AWQ at 5.3 to 6.0 bits per parameter. They generate 113.8, 95.0 and 57.2 tokens per second in our engine. On GSM8K, through the served kernel, they lose 9.63, 4.62 and 3.26 points to FP16. At 4B our file scores 23.6 points above llama.cpp's IQ2_XXS (2.48 bits per parameter). Every number we measured for a table or figure comes from one NVIDIA L40S GPU. We preregistered the main experiments.

来源:arXiv (AI + Vision + Imaging) · arxiv.org