Metamorphic Testing of Deep Learning Compilers


연구 분야: Artificial Intelligence



학회: SIGMETRICS/PERFORMANCE '22: Abstract Proceedings of the 2022 ACM SIGMETRICS/IFIP PERFORMANCE Joint International Conference on Measurement and Modeling of Computer Systems


초록

The prosperous trend of deploying deep neural network (DNN) models to diverse hardware platforms has boosted the development of deep learning (DL) compilers. DL compilers take high-level DNN model specifications as input and generate optimized DNN executables for diverse hardware architectures like CPUs, GPUs, and hardware accelerators. We introduce MT-DLComp, a metamorphic testing framework specifically designed for DL compilers to uncover erroneous compilations. Our approach leverages deliberately-designed metamorphic relations (MRs) to launch semantics-preserving mutations toward DNN models to generate their variants. This way, DL compilers can be automatically tested for compilation correctness by comparing the execution outputs of the compiled DNN models and their variants without manual intervention. We detected over 435 inputs that can result in erroneous compilations in four popular DL compilers, all of which are industry-strength products maintained by Amazon, Facebook, Microsoft, and Google. We uncovered four bugs in these compilers by debugging them using the error-triggering inputs.


Author Profile
Dongwei Xiao

The Hong Kong University of Science and Technology Clear Water Bay Hong Kong

Andorra
Author Profile
Zhibo Liu

The Hong Kong University of Science and Technology Clear Water Bay Hong Kong

Andorra
Author Profile
Yuanyuan Yuan

The Hong Kong University of Science and Technology Clear Water Bay Hong Kong

Andorra

📄 논문 정보

발행 연도 2022년
인용수 10
출판 국가 Andorra
사이트 ACM
좋아요 수 0

연관 논문 목록 (404건)