VLCQ: Post-training quantization for deep neural networks using variable length coding
Reem Abdel-Salam, Ahmed H. Abdel-Gawad, Amr G. Wassal
Abstract
Quantization plays a crucial role in efficiently deploying deep learning models on resource-constrained devices. Post-training quantization does not require access to the original dataset or retraining the full model. Current methods that achieve high performance close to baseline results typically require INT8 fixed-point integers. However, achieving higher model compression with lower bit-widths often leads to significant performance degradation. In this paper, we propose VLCQ, a post-training quantization method that relaxes the fixed-point encoding constraint, enabling more flexible exploration of quantization techniques through variable-length encoding. This approach achieves competitive or improved performance while reducing bit-widths, without requiring access to training data or model fine-tuning. Extensive experiments on image classification, segmentation, and object detection demonstrate that VLCQ improves model compression and accuracy compared with state-of-the-art post-training quantization approaches. For per-channel quantization, VLCQ surpasses FP32 accuracy and Piece-Wise Linear Quantization (PWLQ) on most evaluated models, achieving up to 6x compression compared with FP32 and up to 1.7x compared with PWLQ. When prioritizing compression with limited accuracy loss, VLCQ achieves up to 12.25x compression compared with FP32 with less than 4% performance degradation. For per-tensor quantization, VLCQ is competitive with Data-Free Quantization (DFQ), while providing greater flexibility to achieve lower bit rates across different tasks and models.
Create a lesson
Related papers
When Trackers Fail: VLM-Guided Verification and Recovery for Robust Video Object Segmentation
Valay Bundele, Susmit Agrawal, Mehran Hosseinzadeh et al.
Frequency-Step Cache: Separating Synchronization and Repair for Efficient Autoregressive Video Diffusion
Kerry Xu, Param Misra, Zachary Stenglein et al.
VIEWCRAFT: Evolving What Multimodal Agents See and How They Read It
Binxiao Xu, Ruichuan An, Bocheng Zou et al.
Gen Through the Lens: Camera-Controllable Video Generation via Cross-Coordinate Conditioning Fusion
Shuai Li, Jinxu Xiang, Xinyuan Li et al.
Learning Multimodal Sensor Fusion with JEPA Representations for Breathing Activity and Pose Recognition
Yunxiang Luo, Constantino Álvarez Casado, Xiaoting Wu et al.
Sharper Frames, Worse Rooms: Viewpoint Coverage Dominates Image Quality in Feed-Forward 3D Reconstruction
Alibek Dadajonov, Hikmatillo Umarhojiyev