Effective Approaches to Batch Parallelization for Dynamic Neural Network Architectures

Joseph Suarez, Clare Zhu
7/8/2017
cs.CV

Official code: jsuarez5341/Efficient-Dynamic-Batching (39 stars, Python, last commit 2017-08-02).

Abstract

We present a simple dynamic batching approach applicable to a large class of dynamic architectures that consistently yields speedups of over 10x. We provide performance bounds when the architecture is not known a priori and a stronger bound in the special case where the architecture is a predetermined balanced tree.

Show full abstract

We evaluate our approach on Johnson et al.'s recent visual question answering (VQA) result of his CLEVR dataset by Inferring and Executing Programs (IEP). We also evaluate on sparsely gated mixture of experts layers and achieve speedups of up to 1000x over the naive implementation.

View on arXivView PDF

Code Implementations(1)

Solves AI, transcends reality, infiltrates your mind

393Python, ShellApr 19, 20179 years ago

Similar Papers

Cite this paper

@article{suarez2017effective,
  title  = {Effective Approaches to Batch Parallelization for Dynamic Neural Network Architectures},
  author = {Joseph Suarez and Clare Zhu},
  year   = {2017},
  eprint = {1707.02402},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1707.02402}
}

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/1707.02402.svg)](https://codeofpaper.com/paper/1707.02402)

Discussion