paper-with-me

Papers

FLInt: Exploiting Floating Point Enabled Integer Arithmetic for Efficient Random Forest Inference

2022-09-09 · Christian Hakert, Kuan-Hsun Chen, Jian-Jia Chen

In many machine learning applications, e.g., tree-based ensembles, floating point numbers are extensively utilized due to their expressiveness. Nowadays performing data analysis on embedded devices from dynamic data masses becomes available, but such systems often lack hardware capabilities to process floating point numbers, introducing large overheads for their processing. Even if such hardware is present in general computing systems, using integer operations instead of floating point operations promises to reduce operation overheads and improve the performance. In this paper, we provide \mdname, a full precision floating point comparison for random forests, by only using integer and logic operations. To ensure the same functionality preserves, we formally prove the correctness of this comparison. Since random forests only require comparison of floating point numbers during inference, we implement \mdname~in low level realizations and therefore eliminate the need for floating point hardware entirely, by keeping the model accuracy unchanged. The usage of \mdname~basically boils down to a one-by-one replacement of conditions: For instance, a comparison statement in C: if(pX[3]<=(float)10.074347) becomes if((*(((int*)(pX))+3))<=((int)(0x41213087))). Experimental evaluation on X86 and ARMv8 desktop and server class systems shows that the execution time can be reduced by up to $\approx 30\%$ with our novel approach.

📄 PDF Abstract BibTeX arXiv:2209.04181

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

ANT: Exploiting Adaptive Numerical Data Type for Low-bit Deep Neural Network Quantization

2022-08-30 · Cong Guo, Chen Zhang, Jingwen Leng, Zihan Liu 외

Quantization is a technique to reduce the computation and memory cost of DNN models, which are getting increasingly large. Existing quantization solutions use fixed-point integer or floating-point types, which have limit…

Quantization

Exploiting Binary Floating-Point Representations for Constraint Propagation: The Complete Unabridged Version

2013-08-18 · Roberto Bagnara, Matthieu Carlier, Roberta Gori, Arnaud Gotlieb

Floating-point computations are quickly finding their way in the design of safety- and mission-critical systems, despite the fact that designing floating-point algorithms is significantly more difficult than designing in…

AdaptivFloat: A Floating-point based Data Type for Resilient Deep Learning Inference

2019-09-29 · Thierry Tambe, En-Yu Yang, Zishen Wan, Yuntian Deng 외

Conventional hardware-friendly quantization methods, such as fixed-point or integer, tend to perform poorly at very low word sizes as their shrinking dynamic ranges cannot adequately capture the wide data distributions c…

Quantization

Low-Bitwidth Floating Point Quantization for Efficient High-Quality Diffusion Models

2024-08-13 · Cheng Chen, Christina Giannoula, Andreas Moshovos

Diffusion models are emerging models that generate images by iteratively denoising random Gaussian noise using deep neural networks. These models typically exhibit high computational and memory demands, necessitating eff…

DenoisingQuantization

Addition is All You Need for Energy-efficient Language Models

2024-10-01 · Hongyin Luo, Wei Sun

Large neural networks spend most computation on floating point tensor multiplications. In this work, we find that a floating point multiplier can be approximated by one integer adder with high precision. We propose the l…

AllNatural Language UnderstandingQuestion Answering