CMLCompiler: A Unified Compiler for Classical Machine Learning
Xu Wen, Wanling Gao, Anzheng Li, Lei Wang, Zihan Jiang, Jianfeng Zhan

TL;DR
CMLCompiler is a unified compiler framework that optimizes classical machine learning inference across various hardware, achieving significant speedups and improving performance and portability in hybrid ML deployments.
Contribution
It introduces a unified abstraction and conversion framework for CML inference, enabling optimized execution on diverse hardware through integration with DL compilers.
Findings
Up to 4.38× CPU speedup
Up to 3.31× GPU speedup
Up to 5.09× IoT device speedup
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Topic Modeling · Machine Learning and Data Classification
