TensorFlow Estimators: Managing Simplicity vs. Flexibility in High-Level Machine Learning Frameworks

Heng-Tze Cheng, Zakaria Haque, Lichan Hong, Mustafa Ispir, Clemens Mewald +10 more
8/8/2017
cs.DCcs.LG

Official code: tensorflow/tensorflow (201,314 stars, C++, Apache-2.0, TensorFlow, last commit 2026-05-04).

Abstract

We present a framework for specifying, training, evaluating, and deploying machine learning models. Our focus is on simplifying cutting edge machine learning for practitioners in order to bring such technologies into production.

Show full abstract

Recognizing the fast evolution of the field of deep learning, we make no attempt to capture the design space of all possible model architectures in a domain- specific language (DSL) or similar configuration language. We allow users to write code to define their models, but provide abstractions that guide develop- ers to write models in ways conducive to productionization. We also provide a unifying Estimator interface, making it possible to write downstream infrastructure (e.g. distributed training, hyperparameter tuning) independent of the model implementation. We balance the competing demands for flexibility and simplicity by offering APIs at different levels of abstraction, making common model architectures available out of the box, while providing a library of utilities designed to speed up experimentation with model architectures. To make out of the box models flexible and usable across a wide range of problems, these canned Estimators are parameterized not only over traditional hyperparameters, but also using feature columns, a declarative specification describing how to interpret input data. We discuss our experience in using this framework in re- search and production environments, and show the impact on code health, maintainability, and development speed.

View on arXivView PDF

Code Implementations(1)

TensorFlowApache-2.0

An Open Source Machine Learning Framework for Everyone

201,31478,233C++, PythonNov 7, 20157 months agoApache-2.0
deep-learningdeep-neural-networksdistributedmachine-learningml+3 more

Similar Papers

Cite this paper

@article{cheng2017tensorflow,
  title  = {TensorFlow Estimators: Managing Simplicity vs. Flexibility in High-Level Machine Learning Frameworks},
  author = {Heng-Tze Cheng and Zakaria Haque and Lichan Hong and Mustafa Ispir and Clemens Mewald and Illia Polosukhin and Georgios Roumpos and D Sculley and Jamie Smith and David Soergel and Yuan Tang and Philipp Tucker and Martin Wicke and Cassandra Xia and Jianwei Xie},
  year   = {2017},
  eprint = {1708.02637},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.02637}
}

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

Discussion