Binary and Ternary Quantization Can Enhance Feature Discrimination

Weizhi Lu, Mingrui Chen, Weiyu Li
4/18/2025
cs.LG

No confident code implementation found for this paper.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lu2025binary,
  title  = {Binary and Ternary Quantization Can Enhance Feature Discrimination},
  author = {Weizhi Lu and Mingrui Chen and Weiyu Li},
  year   = {2025},
  eprint = {2504.13792},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.13792v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.13792.svg)](https://codeofpaper.com/paper/2504.13792)

Discussion