paper-with-me

홈 › Papers

FATNN: Fast and Accurate Ternary Neural Networks

2020-08-12 · ICCV 2021 10 · Peng Chen, Bohan Zhuang, Chunhua Shen

Ternary Neural Networks (TNNs) have received much attention due to being potentially orders of magnitude faster in inference, as well as more power efficient, than full-precision counterparts. However, 2 bits are required to encode the ternary representation with only 3 quantization levels leveraged. As a result, conventional TNNs have similar memory consumption and speed compared with the standard 2-bit models, but have worse representational capability. Moreover, there is still a significant gap in accuracy between TNNs and full-precision networks, hampering their deployment to real applications. To tackle these two challenges, in this work, we first show that, under some mild constraints, computational complexity of the ternary inner product can be reduced by a factor of 2. Second, to mitigate the performance gap, we elaborately design an implementation-dependent ternary quantization algorithm. The proposed framework is termed Fast and Accurate Ternary Neural Networks (FATNN). Experiments on image classification demonstrate that our FATNN surpasses the state-of-the-arts by a significant margin in accuracy. More importantly, speedup evaluation compared with various precisions is analyzed on several platforms, which serves as a strong benchmark for further research.

📄 PDF Abstract BibTeX arXiv:2008.05101

Code (0)

등록된 구현이 없습니다.

Tasks

image-classificationImage ClassificationQuantization

Similar Papers 제목 키워드 기반

ATP-Net: An Attention-based Ternary Projection Network For Compressed Sensing

2021-06-24 · Guanxiong Nie, Yajian Zhou

Compressed Sensing (CS) theory simultaneously realizes the signal sampling and compression process, and can use fewer observations to achieve accurate signal recovery, providing a solution for better and faster transmiss…

compressed sensingImage Reconstruction

Hyperspherical Loss-Aware Ternary Quantization

2022-12-24 · Dan Liu, Xue Liu

Most of the existing works use projection functions for ternary quantization in discrete space. Scaling factors and thresholds are used in some cases to improve the model accuracy. However, the gradients used for optimiz…

image-classificationImage Classificationobject-detectionObject Detection+1

A multi-layer network based on Sparse Ternary Codes for universal vector compression

2017-10-31 · Sohrab Ferdowsi, Slava Voloshynovskiy, Dimche Kostadinov

We present the multi-layer extension of the Sparse Ternary Codes (STC) for fast similarity search where we focus on the reconstruction of the database vectors from the ternary codes. To consider the trade-offs between th…

Ternary Quantization: A Survey

2023-03-02 · Dan Liu, Xue Liu

Inference time, model size, and accuracy are critical for deploying deep neural network models. Numerous research efforts have been made to compress neural network models with faster inference and higher accuracy. Prunin…

QuantizationSurvey

Fast matrix multiplication for binary and ternary CNNs on ARM CPU

2022-05-18 · Anton Trusov, Elena Limonova, Dmitry Nikolaev, Vladimir V. Arlazarov

Low-bit quantized neural networks are of great interest in practical applications because they significantly reduce the consumption of both memory and computational resources. Binary neural networks are memory and comput…

CPU