arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.15092cs.CVcs.AIcs.PF
收藏

VLCQ:基于变长编码的深度神经网络训练后量化方法

VLCQ: Post-training quantization for deep neural networks using variable length coding

Faculty of Engineering, Cairo University(开罗大学工程学院)

Reem Abdel-Salam, Ahmed H. Abdel-Gawad, Amr G. Wassal

AI总结:

本文提出VLCQ训练后量化方法,放宽定点编码约束,在无需训练数据或微调的情况下,提升了图像分类等任务的模型压缩率与准确率,性能优于多数现有同类方法。

摘要:

量化对于将深度学习模型高效部署在资源受限设备上至关重要。训练后量化无需访问原始数据集或对完整模型进行重新训练。当前能达到接近基线性能的方法通常需要INT8定点整数,但用更低比特宽度实现更高模型压缩率往往会导致性能显著下降。本文提出VLCQ,一种训练后量化方法,它放宽了定点编码约束,通过变长编码实现对量化技术的更灵活探索。该方法在降低比特宽度的同时达到了有竞争力或更优的性能,无需访问训练数据或对模型进行微调。在图像分类、分割和目标检测上的大量实验表明,与现有训练后量化方法相比,VLCQ提升了模型压缩率和准确率。对于逐通道量化,VLCQ在多数评估模型上超过FP32准确率和分段线性量化(PWLQ),相比FP32实现最高6倍压缩,相比PWLQ实现最高1.7倍压缩;当以有限准确率损失为优先实现压缩时,VLCQ相比FP32实现最高12.25倍压缩,且性能下降不足4%。对于逐张量量化,VLCQ与无数据量化(DFQ)具有竞争力,同时在不同任务和模型上提供更大灵活性以实现更低比特率。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑