Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Future generation computer systems, 2024-11, Vol.160, p.1-13
2024

Details

Autor(en) / Beteiligte
Titel
LLM4VV: Developing LLM-driven testsuite for compiler validation
Ist Teil von
  • Future generation computer systems, 2024-11, Vol.160, p.1-13
Ort / Verlag
Elsevier B.V
Erscheinungsjahr
2024
Link zum Volltext
Quelle
Alma/SFX Local Collection
Beschreibungen/Notizen
  • 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’s Codellama, Phind’s fine-tuned version of Codellama, Deepseek’s Deepseek Coder and closed-source LLMs - OpenAI’s GPT-3.5-Turbo and GPT-4-Turbo. We further fine-tune 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. •LLMs enable basic test generation for compiler validation.•Investigates suitable prompt engineering and fine-tuning techniques.•The majority of passing tests are correct, while tests fail for a variety of reasons.
Sprache
Englisch
Identifikatoren
ISSN: 0167-739X
eISSN: 1872-7115
DOI: 10.1016/j.future.2024.05.034
Titel-ID: cdi_elsevier_sciencedirect_doi_10_1016_j_future_2024_05_034

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX