arrow
Return

MIX-PC: Enabling Efficient DNN Inference with Mixed Numeric Precision Compilation Optimization

delete2026-03-01
delete0
PRE
AI
S
Shiyuan Huang
L
Liu, Fangxin
W
Wang, Zongwu
Y
Yang, Ning
L
Li, Haomin
J
Jiang, Li *
H
Haibing Guan
DOI:10.1145/3785473delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Mixed-precision quantization has shown great potential in reducing memory requirements and improving inference efficiency and has received extensive attention. However, narrowing bit lengths does not always translate into significant efficiency gains for various reasons. Firstly, computation kernels often lack support for mixed-precision operations, limiting their utility in systems that rely on such kernels. Secondly, as DNN computation involves multiple stages, the precision pattern can vary significantly across these stages. This complicates the development of precision-aware optimizations for achieving end-to-end efficiency gains. Ultimately, effective precision-aware optimization necessitates additional support throughout the entire vertical stack. This article proposes Mix-PC, a framework that enables efficient mixed-precision compilation for highperformance DNN inference. On one hand, we delve into the cause of inefficiencies in the current compilation for supporting mixed-precision operators. On the other hand, we propose Mix-PC, a general-purpose compilation framework that leverages adaptive patterns for different numeric precision. It leverages adaptive patterns tailored for different numeric precision and progressive fusion strategies, enabling enhanced compatibility with diverse models. The results show that compared to the SOTA quantization efforts, Mix-PC achieves 1.70 & times;, 1.34 & times;, and 2.13 & times; speedup, respectively, in BERT, ViT, and HuBERT.
Keywords:
AI compiler
model compression
mixed-precision quantization

Journal

A
ACM Transactions on Architecture and Code Optimization
IF:
1.8
Papers:
96
Citations:
1.1K

Organization

S
shanghai jiao tong university
Scholars:
15.5W
Papers: 11.6W
Citations: 159
S
shanghai university
Scholars:
3.8W
Papers: 2.7W
Citations: 52