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 (Post-Training Quantization to Trit-Planes) is a novel, model-agnostic framework that compresses Large Language Models (LLMs) to ultra-low bit-widths (1.58-bit ternary format) in just a single hour without any retraining or fine-tuning. By decomposing weight matrices into dual ternary "trit-planes" ($\{-1, 0, 1\}$), it eliminates expensive floating-point multiplications in favor of lightweight additions, achieving up to a $4.63\times$ inference speedup while matching the accuracy of resource-intensive Quantization-Aware Training (QAT) methods.

What Problem Does This Paper Address?

Running massive LLMs on consumer hardware or edge devices is heavily bottlenecked by memory bandwidth and computational costs. While quantizing models to 4 bits has become standard practice, pushing models down to ultra-low bit-widths (1 or 2 bits) typically results in a catastrophic drop in performance—particularly on complex reasoning, math, and coding tasks.

Existing ultra-low-bit approaches fall into two camps, both with severe drawbacks:

  1. Quantization-Aware Training (QAT): Methods like BitNet b1.58 achieve excellent accuracy at 1.58 bits, but require retraining the model from scratch, consuming tens of thousands of GPU hours.
  2. Binary Post-Training Quantization (PTQ): These methods force weights into binary states ($\pm 1$). This creates a "forced activation problem" where near-zero weights (noise) are amplified, destroying the delicate logic paths required for reasoning.

PTQTP bridges this gap by offering a fast, post-training solution that compresses pre-trained models to ternary precision ($\{-1, 0, 1\}$) without destroying their reasoning capabilities.

Methods

The core innovation of PTQTP is Magnitude-Topology Decoupling. Instead of quantizing weights as scalar values, it decomposes a full-precision weight matrix $W$ into a linear combination of two sparse ternary matrices called trit-planes ($T^{(1)}, T^{(2)} \in \{-1, 0, 1\}$), scaled by continuous row-wise vectors ($\alpha^{(1)}, \alpha^{(2)}$):

$$W \approx \alpha^{(1)} T^{(1)} + \alpha^{(2)} T^{(2)}$$

Here is how the framework functions:

  • Dual Trit-Planes: The first plane ($T^{(1)}$) captures the coarse, principal structure of the weights. The second plane ($T^{(2)}$) acts as a fine-grained residual compensator, capturing high-frequency details missed by the first.
  • The Power of Zero: Crucially, the inclusion of the 0 state allows the model to perform implicit denoising, effectively silencing irrelevant features rather than forcing them to $\pm 1$.
  • Progressive Optimization & Adaptive Regularization: The authors use an iterative ridge regression algorithm to dynamically update the scaling factors ($\alpha$) and perform a local exhaustive search to find the optimal ternary values for the trit-planes. The process adaptively adjusts regularization to prevent numerical instability and guarantees convergence within 50 iterations.
  • Group-wise Processing: Weights are divided into column groups (typically $G=128$) to minimize parameter overhead while maximizing approximation accuracy.
Figure 2: PTQTP workflow overview: (top) Linear layer transformation pathway for ternary quantization in LLaMA architecture; (bottom) Group-wise progressive trit-plane approximation process, where G represents group size and Tmax indicates maximum iteration count.

Datasets

The authors evaluated PTQTP across a comprehensive suite of standard benchmarks:

  • Language Modeling (Perplexity): WikiText-2 and C4.
  • Common Sense & Language Reasoning: ARC-Challenge, ARC-Easy, BoolQ, HellaSwag, PIQA, Winogrande, and MMLU.
  • Mathematical Reasoning: Math-500 and GSM8K.
  • Coding: HumanEval and MBPP.

Evaluations were performed across multiple mainstream LLM families, including LLaMA2, LLaMA3.x, and Qwen3, ranging from small 0.6B models up to large 70B parameters.

Key Insights and Ideas

  • The "0" State is Essential for Logic: Binary PTQ completely collapses on math benchmarks (scoring ~0% on Math-500). PTQTP proves that mathematical reasoning is uniquely sensitive to precision loss, and having a 0 state to filter out noise is what prevents this collapse.
  • Constructive Interference via Dual Planes: By superimposing two ternary planes, the framework creates a highly expressive space that mimics higher bit-width performance while remaining entirely multiplier-free.
  • Massive Compute Savings: PTQTP achieves the performance of 1.58-bit QAT models but bypasses the need for 10–14 days of GPU cluster training, reducing the quantization process to a single hour on a single GPU.
Figure 3: Iterations on LLaMA3.1-8B. (a) Initialized single trit-plane. (b)After 30 iterations.

Key Results

  • Inference Speedup: PTQTP delivers a $4.63\times$ end-to-end decode speedup on an NVIDIA RTX 3090 GPU compared to the FP16 baseline for LLaMA-2-7B.
  • Quantization Efficiency: It achieves a $73.4\times$ speedup in quantization runtime over advanced vector quantization methods like AQLM, and a $1.57\times$ speedup over AWQ.
  • Reasoning Performance: On Qwen3-14B, PTQTP retained 95% of the baseline's language reasoning accuracy and scored 82.40% on Math-500, vastly outperforming existing sub-4bit PTQ alternatives which suffered catastrophic failures.
Extracted figure from page 1 of PTQTP: Post-Training Quantization to Trit-Planes for Large Language Models

Limitations and Future Work

While PTQTP achieves impressive algorithmic efficiency, the authors note a few hardware-level limitations:

  • Bit-Packing Overhead: The current memory layout stores each 3-state ternary element in a 2-bit datatype. Further optimization via bit-packing (e.g., packing 8 ternary elements into a single byte) could reduce cache misses by an additional 20%–30%.
  • Hardware Ecosystem Support: Although ternary operations can theoretically run at sub-nanosecond latencies using simple bitwise XOR gates and adders on custom ASICs or FPGAs, widespread technical support on modern commodity GPUs is still limited. The authors highlight hardware-software co-design for 1.58-bit acceleration as a vital direction for future work.
BibTeX
@misc{xiao2025ptqtp,
  author = {He Xiao and Runming Yang and Qingyao Yang and Wendong Xu and Zhen Li and Yupeng Su and Zhengwu Liu and Hongxia Yang and Ngai Wong},
  title = {{PTQTP: Post-Training Quantization to Trit-Planes for Large Language Models}},
  year = {2025},
  eprint = {2509.16989},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.16989},
}
Figure