Reproduce “Structured Transforms for Low-Overhead Quantization of Language Models” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Daria Cherniuk, Alexander Rudikov, Boris Kashin, Ivan Oseledets

Kashin-DCT is a four-bit post-training quantization pipeline that combines Kashin factorization, a sign-randomized discrete cosine transform, adaptive error compensation, and analytically initialized two-bit clustering. It preserves convergence at the vector level while reducing transform complexity to O(N log N); experiments show competitive perplexity with OPTQ and QuIP# and substantially better robustness than several Hessian-based methods on difficult model settings.

Key insights

  • Vector-level Kashin updates retain convergence behavior while producing more consistently separated, four-peaked distributions than the earlier matrix-wise reformulation.
  • Closed-form centroid initialization cuts clustering time by roughly tenfold compared with multi-restart k-means on the reported medium-sized models.
  • The method’s bounded-infinity-norm factors and residual-adaptive centroids improve numerical stability when Hessian-based quantization becomes unreliable, although this comes with higher quantization-time cost than OPTQ.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.