Low latency RNN inference with cellular batching

By Pin Gao, Lingfan Yu, Yongwei Wu, Jinyang Li. 2018

103 citations recorded by the source corpus.

Performing inference on pre-trained neural network models must meet the requirement of low-latency, which is often at odds with achieving high throughput. Existing deep learning systems use batching to improve throughput, which do not perform well when serving Recurrent Neural Networks with dynamic dataflow graphs. We propose the technique of cellular batching, which improves both the latency and throughput of RNN inference. Unlike existing systems that batch a fixed set of dataflow graphs, cellular batching makes batching decisions at the granularity of an RNN "cell" (a subgraph with shared weights) and dynamically assembles a batched cell for execution as requests join and leave the system. We implemented our approach in a system called BatchMaker. Experiments show that BatchMaker achieves much lower latency and also higher throughput than existing systems.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Efficiency & Compression, ML Systems & Hardware

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Joo Seong Jeong
  2. Yang Yu
  3. Minjie Wang
  4. Chien-chin Huang
  5. Chen-liang Zhao
  6. Jie Zhou
  7. Ramachandran Ramjee
  8. Jiarui Fang

In Computer Vision and Pattern Recognition

  1. Joo Seong Jeong
  2. Yang Yu
  3. Minjie Wang
  4. Chien-chin Huang
  5. Chen-liang Zhao
  6. Jie Zhou
  7. Alexey Tumanov
  8. Nitin Kedia

In Efficiency & Compression

  1. Yang Yu
  2. Chien-chin Huang
  3. Jie Zhou
  4. Jiarui Fang
  5. Gyeong-In Yu
  6. Jinyang Li

In ML Systems & Hardware

  1. Minjie Wang
  2. Jinyang Li

Citations in the corpus