<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Resumen:
Enhancing Code Generation for Low-Resource Languages: No Silver Bullet

bs.conference.acronymJISBD
bs.conference.nameJornadas de Ingeniería del Software y Bases de Datos (2025)
bs.edition.date2025-09-09
bs.edition.locationCórdoba
bs.edition.nameXXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025)
bs.proceedings.editorBurgueño, L.
bs.proceedings.nameActas de las XXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025)
dc.contributor.affiliationUniversità della Svizzera italiana, Switzerland
dc.contributor.affiliationUniversità della Svizzera italiana, Switzerland
dc.contributor.affiliationUniversità della Svizzera italiana, Switzerland
dc.contributor.authorGiagnorio, Alessandro
dc.contributor.authorMartin-Lopez, Alberto
dc.contributor.authorBavota, Gabriele
dc.contributor.emailalessandro.giagnorio@usi.ch
dc.contributor.emailalberto.martin@usi.ch
dc.contributor.emailgabriele.bavota@usi.ch
dc.contributor.signatureGiagnorio, Alessandro
dc.contributor.signatureMartin-Lopez, Alberto
dc.contributor.signatureBavota, Gabriele
dc.date.accessioned2025-09-01T20:03:32Z
dc.date.issued2025-09-09
dc.description.abstractThe advent of Large Language Models (LLMs) has significantly advanced the field of automated code generation. LLMs rely on large and diverse datasets to learn syntax, semantics, and usage patterns of programming languages. For low-resource languages (i.e., niche programming languages characterized by the scarcity of training data), the limited availability of such data hampers the models' ability to generalize effectively, resulting in poorer code generation performance as compared to high-resource languages. For this reason, there is a quest for techniques able to close this performance gap. We present an empirical study investigating the effectiveness of several approaches for boosting LLMs' performance on low-resource languages, namely: (i) a classic fine-tuning, which is however capped in size by the scarcity of training data; (ii) three variants of in-context learning, with prompts crafted to provide the LLM with additional information about the low-resource language (e.g., few-shot examples showcasing features of the targeted language); and (iii) a pre-training objective teaching the model how to translate between high- and low-resource languages. The context of our study are two low-resource languages (R and Racket) and six LLMs having different architectures and sizes. Our findings reveal that a fine-tuning is usually the best choice for smaller LLMs, possibly due to the fact that even a small dataset is sufficient to train their limited number of parameters. With the increase in size of the models, in-context learning becomes more and more effective, representing a safe and cheap bet (i.e., it always helps, but with different magnitudes). Differently, very large LLMs may deteriorate their performance on low-resource languages when fine-tuning is performed, possibly due to the lack of enough data needed to effectively update their weights.
dc.identifier.citationGiagnorio, A., Martin-Lopez, A., Bavota, G.: Enhancing Code Generation for Low-Resource Languages: No Silver Bullet. In: Burgueño, L. (ed.) Actas de las XXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025). Sistedes (2025). https://hdl.handle.net/11705/JISBD/2025/3
dc.identifier.citation-bibtex@inproceedings{11705:JISBD:2025:3, title = {{Enhancing Code Generation for Low-Resource Languages: No Silver Bullet}}, author = {Giagnorio, A. and Martin-Lopez, A. and Bavota, G.}, url = {https://hdl.handle.net/11705/JISBD/2025/3}, crossref = {11705:JISBD:2025} } @proceedings{11705:JISBD:2025, title = {{Actas de las XXIX Jornadas de Ingenier\'{i}a del Software y Bases de Datos (JISBD 2025)}}, author = {Burgueño, L.}, year = {2025}, publisher = {{Sistedes}}, }
dc.identifier.sistedes11705/JISBD/2025/3
dc.identifier.urihttps://hdl.handle.net/11705/3384
dc.publisherSistedes
dc.relation.ispartofActas de las XXIX Jornadas de Ingeniería del Software y Bases de Datos (JISBD 2025)
dc.rights.licenseCC BY-NC-ND 4.0
dc.rights.urihttps://creativecommons.org/licenses/by-nc-nd/4.0/
dc.subjectCode Generation
dc.subjectLow-Resource Languages
dc.subjectIn-Context Learning
dc.titleEnhancing Code Generation for Low-Resource Languages: No Silver Bullet
dspace.entity.typeAbstract
dspace.relatedentity.typeAuthor
dspace.relatedentity.typeAuthor
dspace.relatedentity.typeAuthor
person.identifier.orcid0000-0001-5501-9225
person.identifier.orcid0000-0002-2216-3148
relation.isAuthorOfAbstract16c97b37-eee1-42d3-9c43-d0578c176315
relation.isAuthorOfAbstract699ea4c6-99a9-4738-b415-00a750cf2a4d
relation.isAuthorOfAbstract5efd01f9-8cf0-4f7e-8a2d-5089bcf2080c
relation.isAuthorOfAbstract.latestForDiscovery16c97b37-eee1-42d3-9c43-d0578c176315

Archivos

Bloque original

Mostrando 1 - 1 de 1
Cargando...
Miniatura
Nombre:
11705-JISBD-2025-3.pdf
Tamaño:
135,91 KB
Formato:
Adobe Portable Document Format