Improving Inference Performance of Machine Learning with the Divide-and-Conquer Principle

Alex Kogan
1/12/2023
cs.LGcs.AIcs.DC

No confident code implementation found for this paper.

Abstract

Many popular machine learning models scale poorly when deployed on CPUs. In this paper we explore the reasons why and propose a simple, yet effective approach based on the well-known Divide-and-Conquer Principle to tackle this problem of great practical importance.

Show full abstract

Given an inference job, instead of using all available computing resources (i.e., CPU cores) for running it, the idea is to break the job into independent parts that can be executed in parallel, each with the number of cores according to its expected computational cost. We implement this idea in the popular OnnxRuntime framework and evaluate its effectiveness with several use cases, including the well-known models for optical character recognition (PaddleOCR) and natural language processing (BERT).

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kogan2023improving,
  title  = {Improving Inference Performance of Machine Learning with the Divide-and-Conquer Principle},
  author = {Alex Kogan},
  year   = {2023},
  eprint = {2301.05099},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2301.05099v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2301.05099.svg)](https://codeofpaper.com/paper/2301.05099)

Discussion