ACM Transactions on Software Engineering and Methodology· 2026Q1
Görmek Ustalaşmak Değildir: LLM'lere Kod Üretimi İçin Özel Kütüphaneleri Kullanmayı Öğretmek
To See is Not to Master: Teaching LLMs to Use Private Libraries for Code Generation
- 5atıf
- Q1SCImago
- 2026yıl
Kısa özet
PriCoder adlı yeni bir yaklaşım, Büyük Dil Modellerinin (LLM'ler) özel kütüphaneleri doğru bir şekilde kullanan kod üretme yeteneğini önemli ölçüde geliştirerek, yeni kıyaslamalarda pass@k'ta %13,53–31,66 puanlık kazançlar elde etmektedir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- PriCoder, otomatik olarak eğitim verileri sentezleyerek LLM'lerin özel kütüphane kod üretme yeteneklerini geliştirir.
- Yaklaşım, veri çeşitliliği için İlerici Grafik Evrimi ve veri kalitesi için Çok Boyutlu Grafik Budama içeren bir sentez grafiği kullanır.
- PriCoder, iki yeni özel kütüphane kıyaslamasında pass@k'ta %13,53–31,66 puanlık iyileşmeler sağlamıştır.
- Performans artışları birden fazla LLM'de gözlemlenmiş ve genellikle HumanEval ve MBPP üzerinde RAG tabanlı taban çizgilerini aşmıştır.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Large Language Models (LLMs) have shown strong potential for code generation, yet they remain limited in private-library-oriented code generation, where models are expected to generate code that correctly invokes APIs from private libraries. Existing approaches primarily rely on retrieving private-library API documentation and injecting the retrieved knowledge into the context at inference time. However, our study shows that this strategy is insufficient: even when provided with accurate required API knowledge, LLMs still struggle to invoke private-library APIs effectively . To address this limitation, we propose PriCoder, an approach that improves LLMs’ ability to invoke private-library APIs through automatically synthesized training data. Specifically, PriCoder uses a synthesis graph to organize private-library data synthesis and applies two complementary operations: ❶ Progressive Graph Evolution , which improves data diversity by progressively synthesizing more complex and diverse training samples from basic ones, and ❷ Multidimensional Graph Pruning , which improves data quality through an automatic filtering pipeline. To support rigorous evaluation, we construct two new benchmarks based on recently released libraries that are unfamiliar to the evaluated models. Across the two private-library benchmarks and all evaluated models, PriCoder improves over Vanilla by 13.53–31.66 percentage points in pass@k . On HumanEval and MBPP, PriCoder generally achieves higher performance than RAG-based 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