English

Data-driven Test Generation for Fuzzing AI Compiler

Software Engineering 2026-01-27 v1

Abstract

Artificial Intelligence (AI) compilers are critical for efficiently deploying AI models across diverse hardware platforms. However, they remain prone to bugs that can compromise both compiler reliability and model correctness. Thus, ensuring the quality of AI compilers is crucial. In this work, we present a unified data-driven testing framework that systematically addresses stage-specific challenges in AI compilers. Specifically, OPERA migrates tests for AI libraries to test various operator conversion logic in the model loading stage. OATest synthesizes diverse optimization-aware computational graphs for testing high-level optimizations. HARMONY generates and mutates diverse low-level IR seeds to generate hardware-optimization-aware tests for testing low-level optimizations. Together, these techniques provide a comprehensive, stage-aware framework that enhances testing coverage and effectiveness, detecting 266 previously unknown bugs in four widely used AI compilers.

Keywords

Cite

@article{arxiv.2601.17450,
  title  = {Data-driven Test Generation for Fuzzing AI Compiler},
  author = {Qingchao Shen},
  journal= {arXiv preprint arXiv:2601.17450},
  year   = {2026}
}

Comments

This paper has been accepted by ICSE 2026 Doctoral Symposium track

R2 v1 2026-07-01T09:18:31.797Z