PTQTP: Post-Training Quantization to Trit-Planes for Large Language Models
He Xiao, Runming Yang, Qingyao Yang, Wendong Xu, Zhen Li, Yupeng Su, Zhengwu Liu, Hongxia Yang, Ngai Wong
TL;DR
PTQTP introduces a novel structured post-training quantization scheme that decomposes full-precision LLM weights into two trit-planes with scaling, achieving a 1.58-bit representation and multiplication-free inference via $\hat{W} = \mathrm{diag}(\alpha^{(1)}) T^{(1)} + \mathrm{diag}(\alpha^{(2)}) T^{(2)}$. By performing row-wise direct trit-plane approximation with closed-form ridge regression and applying progressive, adaptive regularization alongside a fine-grained, group-wise search over trit-plane entries, PTQTP achieves robust, model-agnostic quantization without retraining. Empirical results across LLaMA3.x and Qwen3 models (0.6B–70B) show PTQTP consistently outperforms existing 1–3-bit PTQ methods, approaches or surpasses 4-bit FP16 baselines on many tasks, and preserves mathematical reasoning capabilities with high fidelity (e.g., Math-500 at ~82.4% accuracy). The method yields substantial practical benefits, including up to ~28.8× quantization-speedups over certain baselines and a modest memory footprint, enabling efficient deployment on edge and resource-constrained platforms without architecture-specific adjustments. These findings establish structured ternary PTQ as a viable, efficient pathway for scalable LLM deployment with minimal computational overhead.
Abstract
Post-training quantization (PTQ) of large language models (LLMs) to extremely low bit-widths remains challenging due to the fundamental trade-off between computational efficiency and model expressiveness. While existing ultra-low-bit PTQ methods rely on binary approximations or complex compensation mechanisms, they suffer from either limited representational capacity or computational overhead that undermines their efficiency gains. We introduce PTQ to Trit-Planes (PTQTP), the first ternary-weight PTQ framework that decomposes weight matrices into structured ternary {-1, 0, 1} trit-planes using 2x1.58-bit representation. PTQTP achieves multiplication-free inference, identical to 1-bit quantization, while maintaining superior expressiveness through its novel structured decomposition. Our approach provides: (1) a theoretically grounded progressive approximation algorithm ensuring global weight consistency; (2) model-agnostic deployment across diverse modern LLMs without architectural modifications; and (3) uniform ternary operations that eliminate the need for mixed-precision or compensation schemes. Comprehensive experiments across LLaMA3.x and Qwen3 model families (0.6B-70B parameters) demonstrate that PTQTP significantly outperforms existing low-bit PTQ methods, achieving 82.4% mathematical reasoning retention versus 0% for competing approaches. PTQTP approaches and sometimes surpasses 1.58-bit quantization-aware training performance while requiring only single-hour quantization compared to 10-14 GPU days for training-based methods. These results establish PTQTP as a practical solution for efficient LLM deployment in resource-constrained environments. The code will be available at https://github.com/HeXiao-55/PTQTP.
