arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.13792cs.LG
收藏

二值与三值量化能增强特征判别力

Binary and Ternary Quantization Can Enhance Feature Discrimination

School of Control Science and Engineering, Shandong University(控制科学与工程学院,山东大学);Key Laboratory of Machine Intelligence and System Control, Ministry of Education(机器智能与系统控制重点实验室,教育部);Zhongtai Securities Institute for Financial Studies, Shandong University(中泰证券金融研究学院,山东大学);National Center for Applied Mathematics in Shandong(山东省应用数学中心)

Weizhi Lu, Mingrui Chen, Weiyu Li

AI总结:

本文发现二值与三值量化能增强而非降低原始数据的特征判别力,通过直接分析特征判别力而非量化误差,解释了低精度量化数据在分类任务中表现优异的现象。

摘要:

量化在机器学习中被广泛应用,以降低数据和模型的计算与存储成本。考虑到分类任务是该领域的基础,研究量化如何影响分类性能至关重要。传统研究侧重于量化误差,假设较大的误差通常会导致较低的分类准确率。然而,这一假设缺乏坚实的理论基础,且常常与经验观察相矛盾。例如,尽管引入了显著的误差,{0,1}-二值和{0,±1}-三值量化数据有时却能取得与全精度数据相当甚至更优的分类准确率。为了合理解释这一现象,需要对分类性能进行更准确的评估。为此,我们提出直接分析量化数据的特征判别力,而非关注量化误差。我们的分析表明,二值和三值量化都有可能增强而非降低原始数据的特征判别力。这一发现得到了在合成数据和真实数据上进行的分类实验的支持。

英文摘要:

Quantization is widely applied in machine learning to reduce computational and storage costs for both data and models. Considering that classification tasks are fundamental to the field, it is crucial to investigate how quantization impacts classification performance. Traditional research has focused on quantization errors, assuming that larger errors generally lead to lower classification accuracy. However, this assumption lacks a solid theoretical foundation and often contradicts empirical observations. For example, despite introducing significant errors, $\{0,1\}$-binary and $\{0, \pm1\}$-ternary quantized data have sometimes achieved classification accuracy comparable or even superior to full-precision data. To reasonably explain this phenomenon, a more accurate evaluation of classification performance is required. To achieve this, we propose a direct analysis of the feature discrimination of quantized data, instead of focusing on quantization errors. Our analysis reveals that both binary and ternary quantization can potentially enhance, rather than degrade, the feature discrimination of the original data. This finding is supported by classification experiments conducted on both synthetic and real data.

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

↑