arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04135cs.SEcs.AI
收藏

GA4GC:通过多目标配置优化实现面向更绿色代码的更绿色智能体

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

University of Leeds(利兹大学);TurinTech AI(都灵科技AI);Harbin Normal University(哈尔滨师范大学);Universidad Politécnica de Madrid(马德里理工大学);University of Trieste(特里este大学);King’s College London(伦敦国王学院);University College London(伦敦大学学院)

Jingzhi Gong, Yixin Bian, Luis de la Cal, Giovanni Pinna, Anisha Uteem, David Williams, Mar Zamorano, Karine Even-Mendoza, W. B. Langdon, Hector Menendez, Federica Sarro

AI总结:

针对LLM驱动的编程智能体工业部署中环境成本高的问题,提出GA4GC框架通过帕累托最优超参数与提示模板平衡智能体运行效率与代码性能,在SWE-Perf基准上实现显著优化效果。

摘要:

由大语言模型(LLM)驱动的编程智能体在工业部署中面临严峻的可持续性与可扩展性挑战,单次运行消耗超10万token,产生的环境成本甚至可能超过优化收益。本文提出GA4GC——首个系统性优化编程智能体运行时(更绿色智能体)与代码性能(更绿色代码)权衡的框架,通过挖掘帕累托最优的智能体超参数与提示模板实现。在SWE-Perf基准上的评估显示,其超体积提升最高达135倍,智能体运行时间减少37.7%,同时提升了正确性。研究发现温度是最关键的超参数,并为工业部署中平衡智能体可持续性与代码优化效果提供了可落地的策略。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑