arXiv(opens in a new tab)cs.LGAug 2026Cited by 2 papers on PaperVantage

Manuscript Offprint

arXiv:2609.00224

QTEA: Ternary LLMs with Sparse Residual Salient Weight and By-Column Optimization

Yipin Guo, Arun M George, Jie Fu, Tareq Mahmoud, Sixue Xing, Siddharth Joshi

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Weight-only post-training quantization (PTQ) can alleviate the computational burden of serving large language models (LLMs) at scale. However, existing PTQ methods often fail to generalize across models and suffer severe accuracy loss below 2 bits. Many leverage unstructured sparsity to mitigate this loss, but at the cost of regularity and GPU-friendly execution. We present QTEA, a sub-2-bit PTQ framework that quantizes weights into ternary values and uses salient weights as residual error compensators. To maintain hardware efficiency, residuals are assigned to selected columns with semi-structured 1:4 sparsity within the salient columns. We further add column-wise rescale refinement to GPTQ-style column-by-column quantization, alternately updating per-column scales and ternary assignments to reduce reconstruction error. We also identify order-dependent error propagation in GPTQ and introduce error decay to attenuate late-stage error accumulation. On Qwen3-14B, QTEA compresses all weights to an effective 1.7 bits per weight while improving average accuracy over the strongest ternary PTQ baseline by 16.7%. It also achieves 1.40× and 2.61× lower perplexity on WikiText and C4 respectively. This trend holds on Llama3-8B, where QTEA obtains a 6.6% accuracy gain and 1.34×/1.95× lower perplexity on the same datasets. Finally, we develop a lookupable based kernel that achieves 7.2× faster per-token generation over an FP16 baseline. Code is available at https://github.com/Intelligent-Microsystems-Lab/QTEA.

1 Introduction

Large language models (LLMs) have demonstrated strong capabilities across natural language understanding, generation, and reasoning tasks (Touvron et al., 2023; Meta, 2024; Yang et al., 2025). However, deploying these models remains expensive because inference requires repeatedly load-

ing and storing billions of parameters. A 70-billion-parameter model requires roughly 140 GB for BF16 weights alone, before accounting for KV cache and runtime overhead. This cost is especially significant for low-batch autoregressive decoding, where each generated token is dominated by low-arithmetic-intensity GEMV operations that repeatedly fetch model weights from HBM to the compute cores, making inference memory-bandwidth bound. Therefore, weight-only post-training quantization (PTQ) is a direct path toward lower memory footprint and faster low-batch inference.

Recent low-bit quantization methods have delivered 2-bit LLMs (Chee et al., 2024; You et al., 2024a; Guo et al., 2024a) and even sub-2-bit techniques (Wang et al., 2023; Ma et al., 2024), substantially improving intelligence density. At such extremely low precision, uniformly quantizing all weights often severely degrades accuracy, making it necessary to preserve a small subset of salient weights with higher fidelity. However, preserving salient weights well is itself costly, and existing approaches differ mainly in which cost they pay. AWQ (Lin et al., 2024) rescales salient channels but degrades in the ternary regime. Unstructured salient-weight preservation (Yuan et al., 2024) improves accuracy but introduces irregular memory access (Hoefler et al., 2021; Gale et al., 2020), while column-wise preservation (Huang et al., 2024; Zhao et al., 2025) is more regular but wastes bit budget by storing and processing many non-salient weights together with salient ones. Each design therefore gives up either accuracy or hardware efficiency.

We observe that, in ultra-low-bit PTQ, salient weights can serve as error compensators rather than simply bypassing quantization. Instead of excluding important weights from the low-bit representation, we first quantize all weights into a compact ternary base and then allocate a bit budget to columns where ternary quantization is most harm-

Figure

Figure 1: WikiText2 perplexity comparison across Qwen3 model sizes. Results with perplexity greater than 100 are omitted.

ful. We further combine column-level saliency with semi-structured sparsity, into a scheme we call column-semi sparse salient weight: residuals are assigned only to important columns, and within these columns only a sparse subset of high-impact entries is retained. This preserves critical weight corrections under an extremely tight bit budget while maintaining a regular structure suitable for efficient kernels.

Building on this representation, we incorporate column-wise rescale refinement into GPTQ-style column-by-column quantization. Rather than fixing the ternary scale after the initial parameter estimation, we refine a per-column rescale factor during quantization so that the ternary base better matches the local weight distribution after Hessian-aware error propagation.

In addition, we observe that GPTQ error propagation introduces an order-dependent imbalance. Earlier columns can distribute their quantization errors over many subsequent columns, while later columns can only propagate errors to a short remaining suffix. Thus, applying the same propagation strength throughout the block may make late-stage error compensation overly aggressive and less reliable, since fewer columns are available to absorb the update at each step. To mitigate this effect, we introduce error decay, which assigns position-dependent propagation strengths during GPTQ-style quantization. By gradually attenuating error propagation along the column order, error decay reduces late-stage error accumulation and stabilizes ultra-low-bit quantization.

We integrate these observations and optimizations into a unified ultra-low-bit PTQ framework,

termed Quantized Ternary Error Adaptation (QTEA). On Qwen3-14B, QTEA substantially outperforms the current state-of-the-art ternary PTQ method, improving average downstream-task accuracy by 16.7% while achieving 1.40× and 2.61× lower perplexity on WikiText and C4, respectively. The same trend holds on Llama3-8B, where QTEA improves average downstream-task accuracy by 6.6% and reduces perplexity by 1.34× on WikiText and 1.95× on C4. Figure 1 demonstrates that QTEA achieves the best trade-off between model size and perplexity on Qwen3.

In addition, we develop efficient computation kernels for QTEA, translating the compact ternary representation into practical inference speedups. Combined with CUDA Graphs, QTEA reduces runtime overhead and achieves a 7.2× generation speedup over the FP16 baseline with CUDA Graphs; compared with FP16 inference without CUDA Graphs, the speedup reaches 13.3×.

Our contributions can be summarized as follows:

  • We propose QTEA, a Ternary PTQ framework that quantizes all weights into a ternary base and uses column-semi sparse salient weights as residual compensators rather than unquantized bypasses.

  • We incorporate column-wise rescale refinement into GPTQ-style column-by-column quantization and alternately optimize the rescale factor and ternary assignment to improve the expressiveness of the ternary base.

  • We identify the order-dependent imbalance in GPTQ error propagation and propose an error decay mechanism to balance compensation strength across the quantization order.

  • We have developed CUDA kernels enabling QTEA to achieve a per-token generation speedup of up to 7.2× over FP16 with CUDA Graphs and 13.3× over FP16 without CUDA Graphs.

References (30)