Just-in-Time Dynamic-Batching
Not on the map. Why?
Abstract (arXiv)
Batching is an essential technique to improve computation efficiency in deep learning frameworks. While batch processing for models with static feed-forward computation graphs is straightforward to implement, batching for dynamic computation graphs such as syntax trees or social network graphs is challenging due to variable computation graph structure across samples. Through simulation and analysis of a Tree-LSTM model, we show the key trade-off between graph analysis time and batching effectiveness in dynamic batching. Based on this finding, we propose a dynamic batching method as an extension to MXNet Gluon's just-in-time compilation (JIT) framework. We show empirically that our method yields up to 6.25 times speed-up on a common dynamic workload, a tree-LSTM model for the semantic relatedness task.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Apr 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 2.
2 papers.