Pack-PTQ: Advancing Post-training Quantization of Neural Networks by Pack-wise Reconstruction
Changjun Li, Runqing Jiang, Zhuo Song, Pengpeng Yu, Ye Zhang, Yulan Guo
TL;DR
Pack-PTQ addresses the key PTQ challenge of losing cross-block dependencies under ultra-low bit-widths by introducing Hessian-guided adaptive packing that forms non-overlapping packs as reconstruction units and a pack-based mixed-precision quantization to tailor bit-widths per pack. The method optimizes a pack-wise reconstruction loss and allocates bits under a memory budget based on pack sensitivity, enabling accurate quantization with limited calibration data. Empirical results on ImageNet and ModelNet40 across CNNs, ViTs, and PointNet show state-of-the-art or competitive accuracy in low-bit settings, with substantial gains over block-wise PTQ methods. This approach improves the practicality of PTQ for diverse vision tasks and edge deployment by preserving accuracy while reducing memory and compute footprints.
Abstract
Post-training quantization (PTQ) has evolved as a prominent solution for compressing complex models, which advocates a small calibration dataset and avoids end-to-end retraining. However, most existing PTQ methods employ block-wise reconstruction, which neglects cross-block dependency and exhibits a notable accuracy drop in low-bit cases. To address these limitations, this paper presents a novel PTQ method, dubbed Pack-PTQ. First, we design a Hessian-guided adaptive packing mechanism to partition blocks into non-overlapping packs, which serve as the base unit for reconstruction, thereby preserving the cross-block dependency and enabling accurate quantization parameters estimation. Second, based on the pack configuration, we propose a mixed-precision quantization approach to assign varied bit-widths to packs according to their distinct sensitivities, thereby further enhancing performance. Extensive experiments on 2D image and 3D point cloud classification tasks, using various network architectures, demonstrate the superiority of our method over the state-of-the-art PTQ methods.
