Leveraging LLMs to Automate Energy-Aware Refactoring of Parallel Scientific Codes
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are increasingly used for generating parallel scientific codes, with a primary focus on generating functionally correct code. Recent work has focused on generating performant code, with an emphasis on its execution time. However, energy efficiency is now recognized as a critical objective, given the significant power demands of large-scale compute systems. This paper addresses the research question of whether LLMs can generate energy-efficient parallel scientific codes when guided by empirical execution feedback. To answer this question, we propose LASSI-EE, an automated LLM-based refactoring framework that generates energy-efficient parallel codes through a multi-stage, iterative approach integrating runtime power profiling, energy-aware prompting, self-correcting feedback loops, and an LLM-as-a-Judge agent for screening generated code. We evaluate LASSI-EE using twenty-two representative scientific benchmarks and applications on NVIDIA A100 and AMD MI100 GPUs. The results indicate an average energy reduction of 36% for MI100 and 34% for A100, across trials that produced passing energy-reducing refactorings.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 16 of its 56 references that are in the map. First posted on arXiv 4 May 2025.
Builds on
16 of 56 references.
References · 16
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2024Qwen2.5-Coder Technical Reportcited by 1,203
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 331
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 117
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2017CLTune: A Generic Auto-Tuner for OpenCL Kernelscited by 27
- 2023Evaluation of OpenAI Codex for HPC Parallel Programming Models Kernel Generationcited by 22
- 2024CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programmingcited by 19
- 2023ytopt: Autotuning Scientific Applications for Energy Efficiency at Large Scalescited by 13
4 more
- 2024LASSI: An LLM-based Automated Self-Correcting Pipeline for Translating Parallel Scientific Codescited by 10
- 2024HPC-Coder-V2: Studying Code LLMs Across Low-Resource Parallel Languagescited by 8
- 2025LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Studycited by 7
- 2020Utilizing Ensemble Learning for Performance and Power Modeling and Improvement of Parallel Cancer Deep Learning CANDLE Benchmarkscited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.