Effect of Abstractions and Prompting Strategies on LLM-Guided High-Performance Optimizations
Not on the map. Why?
Abstract (arXiv)
Code performance optimization is a vital aspect of modern software development, as it enables faster response times and reduced resource usage. These optimizations require a deep understanding of low-level hardware details and the intricacies of parallel processing, making them challenging even for experienced developers. With the advent of Large Language Models (LLMs), which are increasingly capable of generating and understanding code, there is growing interest in incorporating these models into automated code optimization processes. Traditionally, this automation involves transcribing the source code into a domain-specific representation that can be auto-tuned using grid search or machine learning algorithms, while adhering to strict rules and a limited set of feasible transformations to ensure verifiability. LLMs incorporate high-level code semantics and can thus perform transformations that go beyond verifiable automated optimizations. This paper investigates whether the traditional abstractions used in automated code optimization improve the performance and correctness of LLM-guided optimizations of parallel HPC applications. We evaluate this using the PolyBench benchmark suite and demonstrate that, in our evaluated setting, LLMs provided with specific optimization goals achieve better measured performance and validity rates when generating C code compared to creating computation pipelines and optimization schedules with established frameworks, suggesting that future development should explore alternative approaches for verifiable LLM-guided code optimization.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 6 of its 21 references that are in the map. First posted on arXiv 8 Aug 2026.
Builds on
6 of 21 references.
References · 6
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2018Tiramisu: A Polyhedral Compiler for Expressing Fast and Portable Codecited by 53
- 2023Comparing Llama-2 and GPT-3 LLMs for HPC kernels generationcited by 30
- 2024OMPGPT: A Generative Pre-trained Transformer Model for OpenMPcited by 16
- 2025Agentic Auto-Scheduling: An Experimental Study of LLM-Guided Loop Optimizationcited by 4
- 2025Beyond Technical Debt: How AI-Assisted Development Creates Comprehension Debt in Resource-Constrained Indie Teamscited by 1
Built on by
Not cited yet.