DEVIATE: A Deep Learning Variance Testing Framework

被引:6
|
作者
Pham, Hung Viet [1 ]
Kim, Mijung [2 ,4 ]
Tan, Lin [2 ]
Yu, Yaoliang [1 ]
Nagappan, Nachiappan [3 ,5 ]
机构
[1] Univ Waterloo, Waterloo, ON, Canada
[2] Purdue Univ, W Lafayette, IN 47907 USA
[3] Microsoft Res, Redmond, WA USA
[4] Ulsan Natl Inst Sci & Technol, Ulsan, South Korea
[5] Facebook, Menlo Pk, CA USA
关键词
deep learning; variance; nondeterminism;
D O I
10.1109/ASE51524.2021.9678540
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Deep learning (DL) training is nondeterministic and such nondeterminism was shown to cause significant variance of model accuracy (up to 10.8%). Such variance may affect the validity of the comparison of newly proposed DL techniques with baselines. To ensure such validity, DL researchers and practitioners must replicate their experiments multiple times with identical settings to quantify the variance of the proposed approaches and baselines. Replicating and measuring DL variances reliably and efficiently is challenging and understudied. We propose a ready-to-deploy framework DEVIATE that (1) measures DL training variance of a DL model with minimal manual efforts, and (2) provides statistical tests of both accuracy and variance. Specifically, DEVIATE automatically analyzes the DL training code and extracts monitored important metrics (such as accuracy and loss). In addition, DEVIATE performs popular statistical tests and provides users with a report of statistical pvalues and effect sizes along with various confidence levels when comparing to selected baselines. We demonstrate the effectiveness of DEVIATE by performing case studies with adversarial training. Specifically, for an adversarial training process that uses the Fast Gradient Signed Method to generate adversarial examples as the training data, DEVIATE measures a max difference of accuracy among 8 identical training runs with fixed random seeds to be up to 5.1%. Tool and demo links: https://github.com/lin-tan/DEVIATE
引用
收藏
页码:1286 / 1290
页数:5
相关论文
共 50 条
  • [41] A stochastic gradient method with variance control and variable learning rate for Deep Learning
    Franchini, Giorgia
    Porta, Federica
    Ruggiero, Valeria
    Trombini, Ilaria
    Zanni, Luca
    JOURNAL OF COMPUTATIONAL AND APPLIED MATHEMATICS, 2024, 451
  • [42] A deep learning framework for Hybrid Heterogeneous Transfer Learning
    Zhou, Joey Tianyi
    Pan, Sinno Jialin
    Tsang, Ivor W.
    ARTIFICIAL INTELLIGENCE, 2019, 275 : 310 - 328
  • [43] Survey on Testing of Deep Learning Frameworks
    Ma, Xiang-Yue
    Du, Xiao-Ting
    Cai, Qing
    Zheng, Yang
    Hu, Zheng
    Zheng, Zheng
    Ruan Jian Xue Bao/Journal of Software, 2024, 35 (08): : 3752 - 3784
  • [44] Towards Improved Testing For Deep Learning
    Sekhon, Jasmine
    Fleming, Cody
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: NEW IDEAS AND EMERGING RESULTS (ICSE-NIER 2019), 2019, : 85 - 88
  • [45] Metamorphic Testing of Deep Learning Compilers
    Xiao, Dongwei
    Liu, Zhibo
    Yuan, Yuanyuan
    Pang, Qi
    Wang, Shuai
    PROCEEDINGS OF THE ACM ON MEASUREMENT AND ANALYSIS OF COMPUTING SYSTEMS, 2022, 6 (01)
  • [46] Reduced Variance Deep Reinforcement Learning with Temporal Logic Specifications
    Gao, Qitong
    Hajinezhad, Davood
    Zhang, Yan
    Kantaros, Yiannis
    Zavlanos, Michael M.
    ICCPS '19: PROCEEDINGS OF THE 2019 10TH ACM/IEEE INTERNATIONAL CONFERENCE ON CYBER-PHYSICAL SYSTEMS, 2019, : 237 - 248
  • [47] Deep Learning Based Minimum Variance Beamforming for Ultrasound Imaging
    Zhuang, Renxin
    Chen, Junying
    SMART ULTRASOUND IMAGING AND PERINATAL, PRETERM AND PAEDIATRIC IMAGE ANALYSIS, SUSI 2019, PIPPI 2019, 2019, 11798 : 83 - 91
  • [48] DEEP LEARNING AND DEEP THINKING: NEW APPLICATION FRAMEWORK BY CICT
    Fiorini, Rodolfo A.
    2016 IEEE 15TH INTERNATIONAL CONFERENCE ON COGNITIVE INFORMATICS & COGNITIVE COMPUTING (ICCI*CC), 2016, : 117 - 128
  • [49] Deep Staging: An Interpretable Deep Learning Framework for Disease Staging
    Yao, Liuyi
    Yao, Zijun
    Hu, Jianying
    Gao, Jing
    Sun, Zhaonan
    2021 IEEE 9TH INTERNATIONAL CONFERENCE ON HEALTHCARE INFORMATICS (ICHI 2021), 2021, : 130 - 137
  • [50] Tracking Property Ownership Variance and Forecasting Housing Price with Machine Learning and Deep Learning
    Jiao, Junfeng
    Choi, Seung Jun
    Xu, Weijia
    2021 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2021, : 5175 - 5184