We present a design study of the TensorFlow Graph Visualizer, part of the TensorFlow machine intelligence platform. This tool helps users understand complex machine learning architectures by visualizing their underlying dataflow graphs. The tool works by applying a series of graph transformations that enable standard layout techniques to produce a legible interactive diagram. To declutter the graph, we decouple non-critical nodes from the layout. To provide an overview, we build a clustered graph using the hierarchical structure annotated in the source code. To support exploration of nested structure on demand, we perform edge bundling to enable stable and responsive cluster expansion. Finally, we detect and highlight repeated structures to emphasize a model's modular composition. To demonstrate the utility of the visualizer, we describe example usage scenarios and report user feedback. Overall, users find the visualizer useful for understanding, debugging, and sharing the structures of their models.
BibTeX
@article{2018-tfgraph,
title = {Visualizing Dataflow Graphs of Deep Learning Models in TensorFlow},
author = {Wongsuphasawat, Kanit AND Smilkov, Daniel AND Wexler, James AND Wilson, Jimbo AND Man\'{e}, Dandelion AND Fritz, Doug AND Krishnan, Dilip AND Viégas, Fernanda AND Wattenberg, Martin},
journal = {IEEE Trans. Visualization \& Comp. Graphics (Proc. VAST)},
year = {2018},
url = {https://idl.uw.edu/papers/tfgraph},
doi = {10.1109/TVCG.2017.2744878}
}