Ariadne: Analysis for Machine Learning Programs

被引:24
作者
Dolby, Julian [1 ]
Shinnar, Avraham [1 ]
Allain, Allison [1 ]
Reinen, Jenna [1 ]
机构
[1] IBM Res, Yorktown Hts, NY 10598 USA
来源
MAPL'18: PROCEEDINGS OF THE 2ND ACM SIGPLAN INTERNATIONAL WORKSHOP ON MACHINE LEARNING AND PROGRAMMING LANGUAGES | 2018年
关键词
machine learning; program analysis; FMRI;
D O I
10.1145/3211346.3211349
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Machine learning has transformed domains like vision and translation, and is now increasingly used in science, where the correctness of such code is vital. Python is popular for machine learning, in part because of its wealth of machine learning libraries, and is felt to make development faster; however, this dynamic language has less support for error detection at code creation time than tools like Eclipse. This is especially problematic for machine learning: given its statistical nature, code with subtle errors may run and produce results that look plausible but are meaningless. This can vitiate scientific results. We report on Ariadne: applying a static framework, WALA, to machine learning code that uses TensorFlow. We have created static analysis for Python, a type system for tracking tensors-Tensorflow's core data structures-and a data flow analysis to track their usage. We report on how it was built and present some early results.
引用
收藏
页码:1 / 10
页数:10
相关论文
共 21 条
[1]  
Abadi M., 2016, TENSORFLOW LARGESCAL
[2]  
[Anonymous], 1999, REFACTORING IMPROVIN
[3]  
[Anonymous], 2017, ABS170906182 CORR
[4]  
[Anonymous], 2016, ABS161104558 CORR
[5]  
Bravenboer M, 2009, OOPSLA 2009, CONFERENCE PROCEEDINGS, P243
[6]  
Chen Tongfei, 2017, ABS171006892 CORR
[7]  
Conti Juan Jose, 2012, Information Security Technology for Applications.15th Nordic Conference on Secure IT Systems, NordSec 2010. Revised Selected Papers, P210, DOI 10.1007/978-3-642-27937-9_15
[8]  
Feldthaus A, 2013, PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), P752, DOI 10.1109/ICSE.2013.6606621
[9]  
Fink Stephen J., 2004, RC23326 IBM CORP
[10]  
Guarnieri S., 2011, P INT S SOFTW TEST A, P177, DOI [10.1145/2001420.2001442, DOI 10.1145/2001420.2001442]