TASO: optimizing deep learning computation with automatic generation of graph substitutions

By Oded Padon, James J. Thomas, Todd Warszawski, Matei A. Zaharia, A. Aiken. Symposium on Operating Systems Principles, 2019

371 citations recorded by the source corpus.

Existing deep neural network (DNN) frameworks optimize the computation graph of a DNN by applying graph transformations manually designed by human experts. This approach misses possible graph optimizations and is difficult to scale, as new DNN operators are introduced on a regular basis. We propose TASO, the first DNN computation graph optimizer that automatically generates graph substitutions. TASO takes as input a list of operator specifications and generates candidate substitutions using the given operators as basic building blocks. All generated substitutions are formally verified against the operator specifications using an automated theorem prover. To optimize a given DNN computation graph, TASO performs a cost-based backtracking search, applying the substitutions to find an optimized graph, which can be directly used by existing DNN frameworks. Our evaluation on five real-world DNN architectures shows that TASO outperforms existing DNN frameworks by up to 2.8X, while requiring significantly less human effort. For example, TensorFlow currently contains approximately 53,000 lines of manual optimization rules, while the operator specifications needed by TASO are only 1,400 lines of code.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/80b362efee95c1759c6dab9219eb77ca3ee44475

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. Ion Stoica
  2. Tal Ben-Nun
  3. Torsten Hoefler
  4. Joseph E. Gonzalez
  5. Chuanxiong Guo
  6. Andrei Ivanov
  7. Koushik Sen
  8. Oliver Flatt

In Computer Vision and Pattern Recognition

  1. Torsten Hoefler
  2. Tal Ben-Nun
  3. Joseph E. Gonzalez
  4. Ion Stoica
  5. Luc Van Gool
  6. Trevor Darrell
  7. Yong Cui
  8. Chuanxiong Guo

Citations in the corpus