Research on Convolution Operator Generation Based on MLIR

In recent years, convolutional neural networks have become increasingly important in deep learning. Convolution operation is the core computing unit in convolutional neural networks, which directly affects the computational efficiency of the network. However, there are a large number of convolution operations with different parameters on convolutional neural networks, and manually optimizing the convolution operations for each set of parameters is too costly. In addition, with the rapid iteration of hardware platforms and the continuous evolution of deep learning frameworks, convolution operators need to be manually optimized multiple times. To solve the problem of handwritten convolution operators mentioned above, this paper designs and implements an MLIR convolution operator generator adapted to domestic accelerators, aiming to combine the advantages of MLIR and the characteristics of domestic accelerators to automatically generate convolution operators. The main work of this article is as follows: a hierarchical convolution operator generation framework was constructed to achieve optimization experiments of convolution at different granularities; Based on the Implicit GEMM algorithm, Conv Reflect was designed to implement the computation logic of convolution on domestic accelerators. The experimental results show that under FP32 accuracy, the performance of the generator can reach 85% of the domestic handwritten operator library, which basically meets the requirements of industrial applications. However, there is still a certain gap in performance under FP16 accuracy, and there is room for further optimization.

Authors

Institutions

Publication Details

Published
2025-05-09
DOI
https://doi.org/10.1109/aemcse65292.2025.11042593
Primary Topic
Advanced Computational Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Research on Convolution Operator Generation Based on MLIR

John T. Wen, Wenhao Tang, Wudi Cao
Advanced Computational Techniques and Applications
article

Research on Convolution Operator Generation Based on MLIR

John T. Wen, Wenhao Tang, Wudi Cao
article en

Abstract

In recent years, convolutional neural networks have become increasingly important in deep learning. Convolution operation is the core computing unit in convolutional neural networks, which directly affects the computational efficiency of the network. However, there are a large number of convolution operations with different parameters on convolutional neural networks, and manually optimizing the convolution operations for each set of parameters is too costly. In addition, with the rapid iteration of hardware platforms and the continuous evolution of deep learning frameworks, convolution operators need to be manually optimized multiple times. To solve the problem of handwritten convolution operators mentioned above, this paper designs and implements an MLIR convolution operator generator adapted to domestic accelerators, aiming to combine the advantages of MLIR and the characteristics of domestic accelerators to automatically generate convolution operators. The main work of this article is as follows: a hierarchical convolution operator generation framework was constructed to achieve optimization experiments of convolution at different granularities; Based on the Implicit GEMM algorithm, Conv Reflect was designed to implement the computation logic of convolution on domestic accelerators. The experimental results show that under FP32 accuracy, the performance of the generator can reach 85% of the domestic handwritten operator library, which basically meets the requirements of industrial applications. However, there is still a certain gap in performance under FP16 accuracy, and there is room for further optimization.

Zhengzhou University (CN)
Openalex Percentile: Top 93%
Advanced Computational Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Research on Convolution Operator Generation Based on MLIR — John T. Wen, Wenhao Tang, et al. · (2025) | TGRS Research Map | TGRS