arXiv AI

Computed Permutation Trellis Coding: Near-Optimal Quantization from Two Multiplications and a 64-Byte Table

arXiv Machine Learning
Sep 3

Unfolding the Leech Lattice: Fused Multi-Shell Decoding and VRAM Layouts for 2-Bit LLM Weights

The paper introduces a multi‑shell decoder for Leech‑lattice vector quantization, achieving the best reported 2‑bit quality under its evaluation protocol. It presents a GPU‑friendly layout that fuses dequantization with matrix‑vector multiplication, demonstrating significant speed and memory advantages over traditional one‑hot masks and other 4‑bit methods. Experiments show the new kernel outperforms baseline approaches across multiple model sizes, with measurable gains in throughput and reduced byte traffic.

By Pier-Jean Malandrino (Scub)
arXiv Machine Learning
Oct 23

Extreme Compression of Per-Layer Embeddings via Cross-Layer Latent Vector Quantization

The paper introduces OPTIC, a method for extreme compression of per-layer embeddings (PLE) in Transformer models. OPTIC stores a single quantized code per token and decodes it at each layer with a layer‑specific affine decoder, achieving up to 100× compression while retaining 97.8% of performance on seven benchmarks. At higher compression rates (594× and 1,002×), OPTIC still preserves 90.5% and 84.1% of performance, and it reduces GPU memory usage by 29.7% with minimal speed loss.

By Jiacheng Liu, Yaxin Luo, Xiaohan Zhao, Peng Sun, Xinyi Shang, Jiacheng Cui, Yonina C. Eldar, Zhiqiang Shen
Hugging Face Trending Papers
Sep 28

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

Tetra introduces a new Leech‑lattice based codebook that reduces the memory footprint of quantized LLMs to about 2.15 bits per weight, enabling efficient 2‑bit quantization without a massive lookup table. The method employs a 64‑state Golay trellis and a shared 16 KiB table, decoding each 24‑weight block with only six table loads and two small lookups. When applied to Qwen3 models (4B, 8B, 14B), Tetra achieves 2.70–2.73 bits per parameter, scoring 63–75 on MMLU and generating 57–114 tokens per second, while maintaining close performance to 4‑bit AWQ and outperforming llama.cpp’s IQ2_XXS on 4B.

arXiv Machine Learning
Nov 16

User-Schedulable Approximations for Quantized Tensor Programs

The paper introduces user‑schedulable approximations for quantized tensor programs, extending Halide’s algorithm‑schedule separation to value representation. By treating each approximation as a codec composed of reusable units (quantizers, integer representations, bit packers, layouts) and applying a new directive, approximate_by, the authors generate 347 kernels that cover 38 weight‑activation pairs missing in existing libraries, using 3.7× less code. Benchmarks on Arm CPUs, Apple GPUs, and x86 with AMX show that these kernels achieve up to 95% of the speed of format‑specific kernels, with a median speedup of 1.13× and comparable performance to Apple’s BLAS in most cases.

By Alex Reinking
arXiv Machine Learning
4d ago

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

The paper introduces Tetra, a new Leech‑lattice quantization scheme that reduces the memory footprint of large language models to about 2.7 bits per parameter while maintaining competitive accuracy. Tetra replaces the massive codebook lookup with a 64‑state Golay trellis and a small shared table, enabling efficient decoding that reads only 2.148 bits per weight. Experiments on Qwen3 models show MMLU scores within a few points of 4‑bit AWQ and token generation rates of 57–114 tokens per second on a single NVIDIA L40S GPU.

By Pier-Jean Malandrino