Enhancing Translation Validation of Compiler Transformations with Large Language Models
This paper presents a framework that integrates Large Language Models (LLMs) into translation validation, targeting LLVM compiler transformations where formal verification tools fall short. Our framework utilizes the existing tools, like Alive2, to perform initial validation. For transformations deemed unsolvable by traditional methods, our approach leverages fine-tuned LLMs to predict soundness or unsoundness, with subsequent fuzzing applied to identify counterexamples for unsound transformations. Our approach has proven effective in complex scenarios, such as deep-learning accelerator designs, enhancing the reliability of compiler transformations.
Authors
- Yanzhao Wang (ORCID: https://orcid.org/0000-0003-1314-2262)
- Fei Xie (ORCID: https://orcid.org/0000-0002-7324-3287)
Institutions
- Portland State University (US)
Publication Details
- Journal
- International Journal of Software Engineering and Knowledge Engineering
- Published
- 2024-09-05
- DOI
- https://doi.org/10.1142/s0218194024500475
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00