ACM Transactions on Software Engineering and Methodology· 2026Q1
Nöron Yamalama: Kod Üretimi İçin Semantik Tabanlı Nöron Seviyesi Dil Modeli Onarımı
Neuron Patching: Semantic-based Neuron-level Language Model Repair for Code Generation
- 11atıf
- Q1SCImago
- 2026yıl
Kısa özet
MINT (Model Improvement via Neuron Targeting) adlı yeni bir yaklaşım, yalnızca yanlış kod üretiminden sorumlu belirli nöronları güncelleyerek kod dil modellerini onarır ve doğruluk ve verimlilikte önemli iyileştirmeler sağlar.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Ana noktalar
- MINT, kod dil modelleri için yeni bir nöron seviyesi onarım yaklaşımıdır.
- Yanlış kod üretimine neden olan kritik nöronları belirler ve yalnızca bunları günceller.
- MINT, en gelişmiş yöntemlere kıyasla ExactMatch puanlarında (en fazla %20,8) ve verimlilikte (en fazla %74,8) önemli iyileştirmeler sağlar.
- Yaklaşım, satır seviyesinde kod üretimi, kabuk kodu üretimi ve niyetten bash'e çeviri görevlerinde değerlendirilmiştir.
Yapay zekâ ile başlık ve abstract'tan üretildi; tam metin okunmaz.
Özet (abstract)
Language Models (LMs) have become widely used in software engineering, especially for tasks such as code generation, where they are referred to as code LMs. These models have proven effective in generating code, making it easier for developers to automate coding activities. However, research has highlighted a significant limitation: despite their effectiveness, LMs often produce code that is incorrect, buggy, or not fully functional. Addressing this limitation is essential to fully realize LMs’ potential in practical applications. Yet, updating LMs, especially with only a small amount of feedback data, is highly challenging. In such cases, hot-fix techniques, which facilitate agile model updates with limited data, may be promising to maintain reliability and usefulness. In this article, we propose Model Improvement via Neuron Targeting (MINT), a novel approach for repairing code LMs. MINT leverages the semantic property of LMs to perform neuron-level repairs in a novel way. Furthermore, by analyzing the relationships between the model’s latent representations, the incorrect outputs, and the desired outputs, MINT determines which neurons are worth updating. This approach ensures that only the neurons crucial to the model’s failure are targeted, avoiding unnecessary changes and allowing for a more efficient and precise repair process. MINT is effective, efficient, and reliable, capable of correcting a neural model by patching a minimum number of neurons (usually one neuron for short code, while two or more neurons for long codes). We introduce new measures to evaluate its generalizability and develop a new benchmark, which is made available for further study. Our approach is evaluated on three coding tasks: line-level code generation, shellcode generation, and intent-to-bash translation. The experimental results demonstrate that the proposed approach significantly outperforms the State-of-the-Art (SOTA) in both effectiveness and efficiency measures. With respect to the ExactMatch score, MINT achieves 5.7–20.8 \(\%\) improvements in StarCoder2-3B and 3.9–18.5 \(\%\) improvements in CodeLlama-7B concerning the SOTA. Regarding efficiency, MINT is 32.3–74.8 \(\%\) faster than the SOTA. In addition, we analyze and discuss the side effects of model repair techniques, including the balance between generalization and specificity and the performance after multiple repairs in succession.
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