Publication
MAPL/PLDI 2018
Conference paper

Ariadne: Analysis for machine learning programs

View publication

Abstract

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: applying a static framework, WALA, to machine learning code that uses TensorFlow. We have created static analysis for Python, a type system for tracking tensorsTensorflows core data structuresand a data flow analysis to track their usage. We report on how it was built and present some early results.

Date

Publication

MAPL/PLDI 2018

Authors

Share