TRADER: Trace Divergence Analysis and Embedding Regulation for Debugging Recurrent Neural Networks
TRADER: Trace Divergence Analysis and Embedding Regulation for Debugging Recurrent Neural Networks
复制标题
DOI:
10.1145/3377811.3380423
复制
发表时间:
2020-06
期刊:
影响因子:
--
通讯作者:
Guanhong Tao;Shiqing Ma;Yingqi Liu;Qiuling Xu;X. Zhang
中科院分区:
文献类型:
--
作者:
Guanhong Tao;Shiqing Ma;Yingqi Liu;Qiuling Xu;X. Zhang
Recurrent Neural Networks (RNN) can deal with (textual) input with various length and hence have a lot of applications in software systems and software engineering applications. RNNs depend on word embeddings that are usually pre-trained by third parties to encode textual inputs to numerical values. It is well known that problematic word embeddings can lead to low model accuracy. In this paper, we propose a new technique to automatically diagnose how problematic embeddings impact model performance, by comparing model execution traces from correctly and incorrectly executed samples. We then leverage the diagnosis results as guidance to harden/repair the embeddings. Our experiments show that TRADER can consistently and effectively improve accuracy for real world models and datasets by 5.37% on average, which represents substantial improvement in the literature of RNN models.