arXiv:2504.13792cs.LG2025-04

二值和三值量化反而能提升特征区分度

Binary and Ternary Quantization Can Enhance Feature Discrimination

  • 不看量化误差,直接分析特征区分能力
  • 实验表明二值/三值量化可增强分类特征
  • 适合关注量化与性能关系的研究者

量化广泛应用于机器学习以降低数据与模型的计算及存储开销。由于分类任务是该领域的基础,研究量化对分类性能的影响至关重要。传统研究聚焦于量化误差,认为误差越大分类精度越低,但这一假设缺乏理论支撑且常与实证结果矛盾。例如,尽管引入显著误差,{0,1}-二值和{0,±1}-三值量化数据有时仍能达到甚至超过全精度数据的分类准确率。为合理解释此现象,需更精确评估分类性能。为此,我们提出直接分析量化数据的特征区分能力,而非仅关注量化误差。分析发现,二值与三值量化可能增强而非削弱原始数据的特征区分能力。该结论在合成与真实数据上的分类实验中得到验证。

原文摘要 · Abstract (English)

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.

量化特征区分分类

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。