2 papers
cs.LG2026
An Initial Exploration of Contrastive Prompt Tuning to Generate Energy-Efficient Code
Sophie Weidmann, Fernando Castor
Although LLMs are capable of generating functionally correct code, they also tend to produce less energy-efficient code in comparison to human-written solutions. As these inefficie…
cs.SE2025
AI-Powered, But Power-Hungry? Energy Efficiency of LLM-Generated Code
Lola Solovyeva, Sophie Weidmann, Fernando Castor
Large language models (LLMs) are used in software development to assist in various tasks, e.g., code generation and code completion, but empirical evaluations of the quality of the…