ACM Transactions on Software Engineering and Methodology· 2026Q1
Evrimsel Algoritmalar Kullanarak Maliyet Etkin Kod Üretimi için Otomatik İstem Mühendisliği
Automated Prompt Engineering for Cost-Effective Code Generation Using Evolutionary Algorithms
- 22atıf
- Q1SCImago
- 2026yıl
Kısa özet
Evrimsel bir algoritma tabanlı yaklaşım olan EPiC, Büyük Dil Modelleri (BDM'ler) için istemleri iyileştirerek, BDM etkileşimlerini en aza indirirken yüksek kaliteli kod üretilmesini sağlar; bu yöntem, Durum-Sanat yöntemlerine göre %5'e kadar pass@k iyileştirmesi elde eder ve 1.2–10 kat daha maliyet etkindir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- EPiC, BDM kod üretimi için istem mühendisliğini otomatikleştirmek üzere bir evrimsel algoritma kullanır.
- Yöntem, BDM etkileşimleri ve token kullanımına ilişkin maliyetleri azaltmayı hedefler.
- EPiC, Durum-Sanat ajanlarına kıyasla pass@k'ta %5'e varan iyileşme sağlar.
- Yaklaşım, mevcut temel yöntemlerden 1.2–10 kat daha maliyet etkindir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Large Language Models (LLMs) have seen increasing use in various software development tasks, especially in code generation. The most advanced recent methods attempt to incorporate feedback from code execution into prompts to help guide LLMs in generating correct code in an iterative process. While effective, these methods could be costly due to numerous interactions with the LLM and extensive token usage. To address this issue, we propose an alternative approach named Evolutionary Prompt Engineering for Code ( EPiC ) , which leverages a lightweight evolutionary algorithm to refine the original prompts into improved versions that generate high-quality code, with minimal interactions with the LLM. Our evaluation against State-of-the-Art (SOTA) LLM-based code generation agents shows that EPiC not only achieves up to 5% improvement in pass@k but is also 1.2–10 times more cost-effective than the baselines.
Yazarların özeti; kaynağından alınmıştır. ACM Transactions on Software Engineering and Methodology, 2026 · DOI ↗
Ücretsiz hesapla devam et
Makaleye Sor ile bu makaleye günde 5 soru ücretsiz; makaleyi kaydet, kaynakçasını al, ilgi alanına göre her gün yeni özetler. Çıkarımlar Premium.
Web'de ücretsiz devam etGoogle ya da Apple hesabınla giriş; kart istemez. Bu makaleye geri dönersin.
Telefonda:
Alan: Bilişim Sistemleri
Information SystemsComputer Science