mlsanityData to 14 Oct 2026

LLM4VV: Developing LLM-Driven Testsuite for Compiler Validation

arXiv 2310.04963 ↗First posted 8 Oct 2023cs.AIcited by 15

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2022Training language models to follow instructions with human feedbackcited by 15,971
  3. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  4. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
  9. 2021Program Synthesis with Large Language Modelscited by 3,637
  10. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  11. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,975
  12. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
19 more
  1. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  2. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  3. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
  4. 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
  5. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 733
  6. 2022CodeT: Code Generation with Generated Testscited by 384
  7. 2023An Empirical Evaluation of Using Large Language Models for Automated Unit Test Generationcited by 194
  8. 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 169
  9. 2021Understanding the Capabilities, Limitations, and Societal Impact of Large Language Modelscited by 160
  10. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  11. 2023Can ChatGPT replace StackOverflow? A Study on Robustness and Reliability of Large Language Model Code Generationcited by 73
  12. 2023A Formal Perspective on Byte-Pair Encodingcited by 36
  13. 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
  14. 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
  15. 2023Scope is all you need: Transforming LLMs for HPC Codecited by 12
  16. 2023HPC-Coder: Modeling Parallel Programs using Large Language Modelscited by 11
  17. 2021OpenACC Acceleration of an Agent-Based Biological Simulation Frameworkcited by 1
  18. 2022Analysis of Validating and Verifying OpenACC Compilers 3.0 and Abovecited by 1
  19. 2022ECP SOLLVE: Validation and Verification Testsuite Status Update and Compiler Insight for OpenMPcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 8; 2026: 5.

15 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025LLM4VV: Evaluating Cutting-Edge LLMs for Generation and Evaluation of Directive-Based Parallel Programming Model Compiler Tests ↗
  2. 2025Holistic Evaluation of State-of-the-Art LLMs for Code Generation
  3. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code
  4. 2025Test code generation at Ericsson using Program Analysis Augmented Fine Tuned LLMs
  5. 2023CompCodeVet: A Compiler-guided Validation and Enhancement Approach for Code Dataset
  6. 2026LLM4RTL: Tool-Assisted LLM for RTL Generation
  7. 2025Rethinking Verification for LLM Code Generation: From Generation to Testing
  8. 2025Rethinking Testing for LLM Applications: Characteristics, Challenges, and a Lightweight Interaction Protocol