ODEN: Live Programming for Neural Network Architecture Editing
Abstract
In deep learning application development, programmers tend to try different architectures and hyper-parameters until satisfied with the model performance. Nevertheless, program crashes due to tensor shape mismatch prohibit programmers, especially novice programmers, from smoothly going back and forth between neural network (NN) architecture editing and experimentation. We propose to leverage live programming techniques in NN architecture editing with an always-on visualization. When the user edits the program, the visualization can synchronously display tensor states and provide a warning message by continuously executing the program to prevent program crashes during experimentation. We implement the live visualization and integrate it into an IDE called ODEN that seamlessly supports the “edit→experiment→edit→···” repetition. With ODEN, the user can construct the neural network with the live visualization and transits into experimentation to instantly train and test the NN architecture. An exploratory user study is conducted to evaluate the usability, the limitations, and the potential of live visualization in ODEN.
- Venue
- IUI 2022
- Volume
- 27th International Conference on Intelligent User Interfaces
- DOI
- 10.1145/3490099.3511120
- https://dl.acm.org/doi/pdf/10.1145/3490099.3511120
- Anthology ID
2022.iui.18
Cite
@inproceedings{zhao-etal-2022-oden,
title = {{ODEN: Live Programming for Neural Network Architecture Editing}},
author = {Chunqi Zhao and I-Chao Shen and Tsukasa Fukusato and Jun Kato and Takeo Igarashi},
booktitle = {27th International Conference on Intelligent User Interfaces},
isbn = {9781450391443},
year = {2022},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
doi = {10.1145/3490099.3511120},
url = {https://doi.org/10.1145/3490099.3511120},
abstract = {In deep learning application development, programmers tend to try different architectures and hyper-parameters until satisfied with the model performance. Nevertheless, program crashes due to tensor shape mismatch prohibit programmers, especially novice programmers, from smoothly going back and forth between neural network (NN) architecture editing and experimentation. We propose to leverage live programming techniques in NN architecture editing with an always-on visualization. When the user edits the program, the visualization can synchronously display tensor states and provide a warning message by continuously executing the program to prevent program crashes during experimentation. We implement the live visualization and integrate it into an IDE called ODEN that seamlessly supports the “edit→experiment→edit→···” repetition. With ODEN, the user can construct the neural network with the live visualization and transits into experimentation to instantly train and test the NN architecture. An exploratory user study is conducted to evaluate the usability, the limitations, and the potential of live visualization in ODEN.}
}