Quantization based on the binary codes is gaining attention because each quantized bit can be directly utilized for computations without dequantization using look-up tables. Previous attempts, however, only allow for integer numbers of quantization bits, which ends up restricting the search space for compression ratio and accuracy. In this paper, we propose an encryption algorithm/architecture to compress quantized weights so as to achieve fractional numbers of bits per weight. Decryption during inference is implemented by digital XOR-gate networks added into the neural network model while XOR gates are described by utilizing $\tanh(x)$ for backward propagation to enable gradient calculations. We perform experiments using MNIST, CIFAR-10, and ImageNet to show that inserting XOR gates learns quantization/encrypted bit decisions through training and obtains high accuracy even for fractional sub 1-bit weights. As a result, our proposed method yields smaller size and higher model accuracy compared to binary neural networks.
Trainable Smooth-Rotation Transforms with Learned Channel Scales for LLM Quantization
Doctoral School of Applied Informatics and Applied Mathematics, Obuda University(应用信息学与应用数学博士学校,奥布达大学);John von Neumann Faculty of Informatics, Obuda University(约翰·冯·诺伊曼信息学系,奥布达大学)
LSQ+: Improving low-bit quantization through learnable offsets and better initialization
Qualcomm AI Research, Qualcomm Technologies, Inc.(高通AI研究,高通技术公司);Qualcomm AI Research, Qualcomm Technologies Netherlands B.V.(高通AI研究,高通技术荷兰有限公司);Seoul National University(首尔大学)
MSQ: Memory-Efficient Bit Sparsification Quantization
Department of Electrical and Computer Engineering, Sungkyunkwan University(全州大学电子与计算机工程系);Department of Electrical and Computer Engineering, University of Arizona(亚利桑那大学电子与计算机工程系)
Precision Gating: Improving Neural Network Efficiency with Dynamic Dual-Precision Activations
Cornell University(康奈尔大学);Cornell Tech(康奈尔科技学院)
我们提出了精确门控(PG),这是一种用于深度神经网络的端到端可训练动态双精度量化技术。PG以低精度计算大多数特征,仅以较高精度计算一小部分重要特征以保持准确性。所提出的方法适用于各种DNN架构,并显着降低了DNN执行的计算成本,几乎没有精度损失。我们的实验表明,PG在CNN上取得了优异的结果,包括静态压缩的移动友好网络,如ShuffleNet。与最先进的基于预测的量化方案相比,PG在ImageNet上实现了相同或更高的精度,但计算量减少了2.4 $\times$。PG也适用于RNN。与8位均匀量化相比,PG在Penn Tree Bank数据集上的LSTM上每字的困惑度提高了1.2%,计算成本降低了2.7 $\times$。代码可在:https://github.com/cornell-zhang/dnn-gating
Systematic Characterization of Minimal Deep Learning Architectures: A Unified Analysis of Convergence, Pruning, and Quantization
School of Computing, Newcastle University(新castle大学计算机学院);VSB-Technical University of Ostrava(奥斯特拉瓦技术大学);Queen Mary University of London(伦敦女王玛丽大学);University of Florida(佛罗里达大学);University of Catania(卡塔尼亚大学)