GA4GC: Greener Agent for Greener Code via Multi-Objective Configuration Optimization

📅 2025-10-05
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
LLMs powering code-generation agents face significant challenges in industrial deployment—namely, high energy consumption (exceeding 100K tokens per inference) and poor scalability—making it difficult to simultaneously achieve operational efficiency (“green agents”) and high-quality code generation (“green code”). This work is the first to systematically investigate the Pareto trade-off between these competing objectives. We propose a multi-objective configuration optimization framework that uses temperature as the primary control variable to jointly tune hyperparameters and prompt templates. Evaluated on the SWE-Perf benchmark, our framework reduces latency by 37.7%, improves code correctness, and achieves a 135× gain in hypervolume—a metric quantifying Pareto-front improvement. Key contributions include: (i) uncovering temperature’s pivotal role in balancing efficiency and quality; (ii) delivering the first practically deployable strategy for green coding agents; and (iii) establishing a new paradigm for sustainable AI engineering.

Technology Category

Application Category

📝 Abstract
Coding agents powered by LLMs face critical sustainability and scalability challenges in industrial deployment, with single runs consuming over 100k tokens and incurring environmental costs that may exceed optimization benefits. This paper introduces GA4GC, the first framework to systematically optimize coding agent runtime (greener agent) and code performance (greener code) trade-offs by discovering Pareto-optimal agent hyperparameters and prompt templates. Evaluation on the SWE-Perf benchmark demonstrates up to 135x hypervolume improvement, reducing agent runtime by 37.7% while improving correctness. Our findings establish temperature as the most critical hyperparameter, and provide actionable strategies to balance agent sustainability with code optimization effectiveness in industrial deployment.
Problem

Research questions and friction points this paper is trying to address.

Optimizing coding agent sustainability and scalability challenges
Balancing runtime efficiency with code performance trade-offs
Reducing environmental costs while maintaining optimization effectiveness
Innovation

Methods, ideas, or system contributions that make the work stand out.

Optimizes coding agent runtime and code performance trade-offs
Discovers Pareto-optimal agent hyperparameters and prompt templates
Identifies temperature as the most critical hyperparameter for balancing
🔎 Similar Papers
No similar papers found.
Jingzhi Gong
Jingzhi Gong
University of Leeds
Configuration LearningPerformance EngineeringSoftware EngineeringAI4SE
Jingzhi Gong
Jingzhi Gong
University of Leeds
Configuration LearningPerformance EngineeringSoftware EngineeringAI4SE
Y
Yixin Bian
Harbin Normal University
L
Luis de la Cal
Universidad Politécnica de Madrid
G
Giovanni Pinna
University of Trieste
A
Anisha Uteem
King’s College London
D
David Williams
University College London
M
Mar Zamorano
University College London
Karine Even-Mendoza
Karine Even-Mendoza
King's College London
Software VerificationProgramming LanguagesTestingModel CheckingCompilers
W
W. B. Langdon
University College London
H
Hector Menendez
King’s College London
Federica Sarro
Federica Sarro
Professor, University College London
AI EngineeringSBSEAutomated Software EngineeringEmpirical Software Engineering