CMLCompiler: A Unified Compiler for Classical Machine Learning

0Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

Classical machine learning (CML) occupies nearly half of machine learning pipelines in production applications. Unfortunately, it fails to utilize the state-of-the-practice devices fully and performs poorly. Without a unified framework, the hybrid deployments of deep learning (DL) and CML also suffer from severe performance and portability issues. This paper presents the design of a unified compiler, called CMLCompiler, for CML inference. We propose two unified abstractions: operator representations and extended computational graphs. The CMLCompiler framework performs the conversion and graph optimization based on two unified abstractions, then outputs an optimized computational graph to DL compilers or frameworks. We implement CMLCompiler on TVM. The evaluation shows CMLCompiler's portability and superior performance. It achieves up to 4.38× speedup on CPU, 3.31× speedup on GPU, and 5.09× speedup on IoT devices, compared to the state-of-the-art solutions - - scikit-learn, intel sklearn, and hummingbird. Our performance of CML and DL mixed pipelines achieves up to 3.04x speedup compared with cross-framework implementations. The project documents and source code are available at https://www.computercouncil.org/cmlcompiler.

References Powered by Scopus

Random forests

96706Citations
N/AReaders
Get full text

XGBoost: A scalable tree boosting system

33805Citations
N/AReaders
Get full text

LIBSVM: A Library for support vector machines

28224Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Wen, X., Gao, W., Li, A., Wang, L., Jiang, Z., & Zhan, J. (2023). CMLCompiler: A Unified Compiler for Classical Machine Learning. In Proceedings of the International Conference on Supercomputing (pp. 63–74). Association for Computing Machinery. https://doi.org/10.1145/3577193.3593710

Readers' Seniority

Tooltip

Lecturer / Post doc 1

50%

PhD / Post grad / Masters / Doc 1

50%

Readers' Discipline

Tooltip

Computer Science 2

67%

Engineering 1

33%

Save time finding and organizing research with Mendeley

Sign up for free