LLM4VV: Developing LLM-Driven Testsuite for Compiler Validation
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are a new and powerful tool for a wide span of applications involving natural language and demonstrate impressive code generation abilities. The goal of this work is to automatically generate tests and use these tests to validate and verify compiler implementations of a directive-based parallel programming paradigm, OpenACC. To do so, in this paper, we explore the capabilities of state-of-the-art LLMs, including open-source LLMs -- Meta Codellama, Phind fine-tuned version of Codellama, Deepseek Deepseek Coder and closed-source LLMs -- OpenAI GPT-3.5-Turbo and GPT-4-Turbo. We further fine-tuned the open-source LLMs and GPT-3.5-Turbo using our own testsuite dataset along with using the OpenACC specification. We also explored these LLMs using various prompt engineering techniques that include code template, template with retrieval-augmented generation (RAG), one-shot example, one-shot with RAG, expressive prompt with code template and RAG. This paper highlights our findings from over 5000 tests generated via all the above mentioned methods. Our contributions include: (a) exploring the capabilities of the latest and relevant LLMs for code generation, (b) investigating fine-tuning and prompt methods, and (c) analyzing the outcome of LLMs generated tests including manually analysis of representative set of tests. We found the LLM Deepseek-Coder-33b-Instruct produced the most passing tests followed by GPT-4-Turbo.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). Builds on 31 of its 69 references that are in the map. First posted on arXiv 8 Oct 2023.
Builds on
31 of 69 references.
References · 31
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
19 more
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
- 2022CodeT: Code Generation with Generated Testscited by 384
- 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
- 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 169
- 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 160
- 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
- 2023Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generationcited by 73
- 2023A Formal Perspective on Byte-Pair Encodingcited by 36
- 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
- 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
- 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
- 2023HPC-Coder: Modeling Parallel Programs using Large Language Modelscited by 11
- 2021OpenACC Acceleration of an Agent-Based Biological Simulation Frameworkcited by 1
- 2022Analysis of Validating and Verifying OpenACC Compilers 3.0 and Abovecited by 1
- 2022ECP SOLLVE: Validation and Verification Testsuite Status Update and Compiler Insight for OpenMPcited by 1
Built on by
Citing papers per year: 2024: 2; 2025: 8; 2026: 5.
15 papers.
Sort:
By area:
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2024HPC-Coder-V2: Studying Code LLMs Across Low-Resource Parallel Languagescited by 8
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Taskscited by 8
- 2025LLM-ProS: Analyzing Large Language Models' Performance in Competitive Problem Solvingcited by 6
- 2026Agentic Harness for Real-World Compilerscited by 3
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
- 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
- 2025Generative AI for Internet of Things Security: Challenges and Opportunitiescited by 1
- 2025AI Assistants to Enhance and Exploit the PETSc Knowledge Basecited by 1
- 2026An Agentic Evaluation Framework for AI-Generated Scientific Code in PETSccited by 1
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compilercited by 0
- 2025HPCAgentTester: A Multi-Agent LLM Approach for Enhanced HPC Unit Test Generationcited by 0
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?1 Jun 2026
- 2026AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study3 Apr 2026
- 2026Agentic Harness for Real-World Compilers20 Mar 2026
- 2026An Agentic Evaluation Framework for AI-Generated Scientific Code in PETSc16 Mar 2026
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025HPCAgentTester: A Multi-Agent LLM Approach for Enhanced HPC Unit Test Generation13 Nov 2025
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compiler6 Nov 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025AI Assistants to Enhance and Exploit the PETSc Knowledge Base25 Jun 2025
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directions13 May 2025
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Tasks15 Mar 2025
- 2025Generative AI for Internet of Things Security: Challenges and Opportunities13 Feb 2025
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2024HPC-Coder-V2: Studying Code LLMs Across Low-Resource Parallel Languagescited by 8
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Taskscited by 8
- 2025LLM-ProS: Analyzing Large Language Models' Performance in Competitive Problem Solvingcited by 6
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
- 2025Large Language Models for Software Testing: A Research Roadmapcited by 2
- 2025Generative AI for Internet of Things Security: Challenges and Opportunitiescited by 1
- 2025AI Assistants to Enhance and Exploit the PETSc Knowledge Basecited by 1
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compilercited by 0
- 2026What Artificial Intelligence can do for High-Performance Computing systems?cited by 0
- 2026AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Studycited by 0
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?cited by 0
- 2026CodegenBench: Can LLMs Write Efficient Code Across Architectures?1 Jun 2026
- 2026AI-Assisted Unit Test Writing and Test-Driven Code Refactoring: A Case Study3 Apr 2026
- 2026What Artificial Intelligence can do for High-Performance Computing systems?3 Jan 2026
- 2025Exploring the Feasibility of End-to-End Large Language Model as a Compiler6 Nov 2025
- 2025Large Language Models for Software Testing: A Research Roadmap29 Sep 2025
- 2025AI Assistants to Enhance and Exploit the PETSc Knowledge Base25 Jun 2025
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directions13 May 2025
- 2025LLM & HPC:Benchmarking DeepSeek's Performance in High-Performance Computing Tasks15 Mar 2025
- 2025Generative AI for Internet of Things Security: Challenges and Opportunities13 Feb 2025
- 2025LLM-ProS: Analyzing Large Language Models' Performance in Competitive Problem Solving4 Feb 2025
- 2024HPC-Coder-V2: Studying Code LLMs Across Low-Resource Parallel Languages19 Dec 2024
- 2024Can Large Language Models Write Parallel Code?23 Jan 2024
Similar, not cited
Close in wording, no citation either way
- 2025LLM4VV: Evaluating Cutting-Edge LLMs for Generation and Evaluation of Directive-Based Parallel Programming Model Compiler Tests ↗
- 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
- 2025Test code generation at Ericsson using Program Analysis Augmented Fine Tuned LLMs
- 2023CompCodeVet: A Compiler-guided Validation and Enhancement Approach for Code Dataset
- 2026LLM4RTL: Tool-Assisted LLM for RTL Generation
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testing
- 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocol