Automatic Tuning of Tensorflow's CPU Backend using Gradient-Free Optimization Algorithms
Not on the map. Why?
Abstract (arXiv)
Modern deep learning (DL) applications are built using DL libraries and frameworks such as TensorFlow and PyTorch. These frameworks have complex parameters and tuning them to obtain good training and inference performance is challenging for typical users, such as DL developers and data scientists. Manual tuning requires deep knowledge of the user-controllable parameters of DL frameworks as well as the underlying hardware. It is a slow and tedious process, and it typically delivers sub-optimal solutions. In this paper, we treat the problem of tuning parameters of DL frameworks to improve training and inference performance as a black-box optimization problem. We then investigate applicability and effectiveness of Bayesian optimization (BO), genetic algorithm (GA), and Nelder-Mead simplex (NMS) to tune the parameters of TensorFlow's CPU backend. While prior work has already investigated the use of Nelder-Mead simplex for a similar problem, it does not provide insights into the applicability of other more popular algorithms. Towards that end, we provide a systematic comparative analysis of all three algorithms in tuning TensorFlow's CPU backend on a variety of DL models. Our findings reveal that Bayesian optimization performs the best on the majority of models. There are, however, cases where it does not deliver the best results.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 3 of its 20 references that are in the map. First posted on arXiv 13 Sep 2021.
Builds on
3 of 20 references.
References · 3
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2019Exploiting Parallelism Opportunities with Deep Learning Frameworkscited by 10
- 2018Auto-tuning TensorFlow Threading Model for CPU Backendcited by 3
Built on by
Not cited yet.