Abstract
Machine learning compilers are large software containing complex transformations for deep learning models, and any buggy transformation may cause a crash or silently bring a regression to the prediction accuracy and performance. This paper proposes an SMT-based translation validation framework for Multi-Level IR (MLIR), a compiler framework used by many deep learning compilers. It proposes an SMT encoding tailored for translation validation that is an over-approximation of the FP arithmetic and reduction operations. It performs abstraction refinement if validation fails. We also propose a new approach for encoding arithmetic properties of reductions in SMT. We found mismatches between the specification and implementation of MLIR, and validated high-level transformations for SqueezeNet, MobileNet, and text_classification with proper splitting.
Cite
CITATION STYLE
Bang, S., Nam, S., Chun, I., Jhoo, H. Y., & Lee, J. (2022). SMT-Based Translation Validation for Machine Learning Compiler. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 13372 LNCS, pp. 386–407). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-031-13188-2_19
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.