OJBKQ: Objective-Joint Babai-Klein Quantization
Xinyu Wang, Ziyu Zhao, Peng Lu, Yu Gu, Xiao-Wen Chang
TL;DR
OJBKQ reframes layer-wise post-training quantization (PTQ) for large language models as a joint optimization over activations and weights, resulting in a multiple-right-hand-side box-constrained integer least squares (BILS) problem per layer. It introduces Joint Target Alignment (JTA) to smoothly interpolate between runtime and full-precision targets, and uses Random-$K$ Klein decoding to generate multiple suboptimal candidates, selecting the best by a unified JTA score. The method achieves lower perplexity at 3-4 bits and maintains stability across model families (Llama3, Qwen3, Mistral) with competitive compute cost, aided by GPU-efficient, path-isolated implementations. Across perplexity, zero-shot accuracy, and reasoning benchmarks, OJBKQ consistently outperforms strong PTQ baselines, particularly under aggressive low-bit settings, demonstrating the value of a principled lattice-decoding formulation for end-to-end PTQ robustness.
Abstract
Post-training quantization (PTQ) is widely used to compress large language models without retraining. However, many existing weight-only methods rely on heuristic objectives and greedy rounding, thus leading to noticeable degradation under low-bit quantization. In this work, we introduce OJBKQ (Objective-Joint Babai-Klein Quantization with K-Best Sampling), a layer-wise PTQ method that formulates weight quantization as a joint optimization problem over activations and weights. This formulation results in a multiple-right-hand-side box-constrained integer least squares (BILS) problem in each layer, which is NP-hard. For each column of the weight matrix, we apply an extended Babai nearest-plane algorithm and an extended version of Klein's randomized Babai algorithm to find the minimum-residual Babai-Klein point, a sub-optimal solution to the BILS problem. Experimental results on large language models show that OJBKQ achieves lower perplexity at 3-4 bits compared to existing PTQ approaches, while maintaining comparable computational cost.
