Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMs

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Sakharova, Marina, Anand, Abhinav, Mezini, Mira
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866915272322973696
author Sakharova, Marina
Anand, Abhinav
Mezini, Mira
author_facet Sakharova, Marina
Anand, Abhinav
Mezini, Mira
contents Code-generating Large Language Models (LLMs) have become essential tools in modern software development, enhancing productivity and accelerating development. This paper aims to investigate the fine-tuning of code-generating LLMs using Reinforcement Learning and Direct Preference Optimization, further improving their performance. To achieve this, we enhance the training data for the reward model with the help of symbolic execution techniques, ensuring more comprehensive and objective data. With symbolic execution, we create a custom dataset that better captures the nuances in code evaluation. Our reward models, fine-tuned on this dataset, demonstrate significant improvements over the baseline, CodeRL, in estimating the quality of generated code. Our code-generating LLMs, trained with the help of reward model feedback, achieve similar results compared to the CodeRL benchmark.
format Preprint
id arxiv_https___arxiv_org_abs_2504_15210
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMs
Sakharova, Marina
Anand, Abhinav
Mezini, Mira
Software Engineering
Artificial Intelligence
Code-generating Large Language Models (LLMs) have become essential tools in modern software development, enhancing productivity and accelerating development. This paper aims to investigate the fine-tuning of code-generating LLMs using Reinforcement Learning and Direct Preference Optimization, further improving their performance. To achieve this, we enhance the training data for the reward model with the help of symbolic execution techniques, ensuring more comprehensive and objective data. With symbolic execution, we create a custom dataset that better captures the nuances in code evaluation. Our reward models, fine-tuned on this dataset, demonstrate significant improvements over the baseline, CodeRL, in estimating the quality of generated code. Our code-generating LLMs, trained with the help of reward model feedback, achieve similar results compared to the CodeRL benchmark.
title Integrating Symbolic Execution into the Fine-Tuning of Code-Generating LLMs
topic Software Engineering
Artificial Intelligence
url https://arxiv.org/abs/2504.15210