SMT-Based Translation Validation for Machine Learning Compiler

被引:7
|
作者
Bang, Seongwon [1 ]
Nam, Seunghyeon [1 ]
Chun, Inwhan [1 ]
Jhoo, Ho Young [1 ]
Lee, Juneyoung [2 ]
机构
[1] Seoul Natl Univ, Seoul, South Korea
[2] CryptoLab, Seoul, South Korea
基金
新加坡国家研究基金会;
关键词
D O I
10.1007/978-3-031-13188-2_19
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:386 / 407
页数:22
相关论文
共 50 条
  • [41] SMT-Based Unbounded Model Checking for ATL
    Kanski, Michal
    Niewiadomski, Artur
    Kacprzak, Magdalena
    Penczek, Wojciech
    Nabialek, Wojciech
    VERIFICATION AND EVALUATION OF COMPUTER AND COMMUNICATION SYSTEMS (VECOS 2021), 2022, 13187 : 43 - 58
  • [42] SMT-Based Control and Feedback for Social Navigation
    Campos, Thais
    Pacheck, Adam
    Hoffman, Guy
    Kress-Gazit, Hadas
    2019 INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), 2019, : 5005 - 5011
  • [43] SMT-Based Modeling and Verification of Cloud Applications
    Zhang, Xiyue
    Sun, Meng
    SERVICES - SERVICES 2019, 2019, 11517 : 1 - 15
  • [44] SMT-Based Automatic Proof of ASM Model Refinement
    Arcaini, Paolo
    Gargantini, Angelo
    Riccobene, Elvinia
    SOFTWARE ENGINEERING AND FORMAL METHODS: 14TH INTERNATIONAL CONFERENCE, SEFM 2016, 2016, 9763 : 253 - 269
  • [45] Efficient SMT-based ATPG for Interconnect Open Defects
    Erb, Dominik
    Scheibler, Karsten
    Sauer, Matthias
    Becker, Bernd
    2014 DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION (DATE), 2014,
  • [46] SMT-based Synthesis of TTEthernet Schedules: a Performance Study
    Pozo, Francisco
    Rodriguez-Navas, Guillermo
    Hansson, Hans
    Steiner, Wilfried
    2015 10TH IEEE INTERNATIONAL SYMPOSIUM ON INDUSTRIAL EMBEDDED SYSTEMS (SIES), 2015, : 162 - 165
  • [47] An SMT-Based Approach to the Verification of Knowledge-Based Programs
    Belardinelli, Francesco
    Boureanu, Ioana
    Malvone, Vadim
    Rajaona, Fortunat
    FORMAL ASPECTS OF COMPUTING, 2025, 37 (01)
  • [48] SMT-Based Planning Synthesis for Distributed System Reconfigurations
    Robillard, Simon
    Coullon, Helene
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2022, 2022, 13241 : 268 - 287
  • [49] Modular SMT-Based Analysis of Nonlinear Hybrid Systems
    Bae, Kyungmin
    Gao, Sicun
    PROCEEDINGS OF THE 17TH CONFERENCE ON FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD 2017), 2017, : 180 - 187
  • [50] An SMT-Based Concolic Testing Tool for Logic Programs
    Fortz, Sophie
    Mesnard, Fred
    Payet, Etienne
    Perrouin, Gilles
    Vanhoof, Wim
    Vidal, German
    FUNCTIONAL AND LOGIC PROGRAMMING, FLOPS 2020, 2020, 12073 : 215 - 219