Metraipolis › archive › dc_9c906376bf25
Fine-Tuning Large Language Models to Classify Pull Request-Issue Alignments: Going Beyond Prompting — arXiv:2609.01087
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.01087
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-17T06:57:06.509Z
- SHA-256 of the archived text
368dfa743e679a532e028c3483d6ed7f7948b3abe31b306b0ccc598594227c09- Stable URL of this page
https://metraipolis.com/documento/dc_9c906376bf25
How to cite
Fine-Tuning Large Language Models to Classify Pull Request-Issue Alignments: Going Beyond Prompting — arXiv:2609.01087 — arXiv (en), https://arxiv.org/abs/2609.01087 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_9c906376bf25 (Metraipolis archive dc_9c906376bf25, sha256 368dfa743e679a532e028c3483d6ed7f7948b3abe31b306b0ccc598594227c09)
BibTeX
@misc{dc9c906376bf25,
title = {Fine-Tuning Large Language Models to Classify Pull Request-Issue Alignments: Going Beyond Prompting — arXiv:2609.01087},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.01087},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_9c906376bf25; sha256 368dfa743e679a532e028c3483d6ed7f7948b3abe31b306b0ccc598594227c09},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.01087. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Context: Accurate alignment between pull requests (PRs) and corresponding issues is crucial for efficient software development and maintaining code quality, as misalignments can reduce traceability, hinder defect localization, and decrease maintainability. Objective: This study aims to improve automated PR-issue alignment classification by leveraging fine-tuned large language models (LLMs) across multiple alignment categories, and conducts interpretability analysis to investigate the effects of PR-issue fields on the predictions of fine-tuned LLMs. Method: Our methodology consists of dataset preparation, LLM fine-tuning, and interpretability analysis. We first extended an existing dataset and applied data augmentation to address class imbalance. GPT-4o was then fine-tuned via instruction tuning, and open-source LLMs including CodeLlama-7B, CodeQwen1.5-7B, StableCode-3B, CodeGemma-7B, and Deepseek-Coder-6.7B were fine-tuned using classification-specific heads. Interpretability analysis using Shapley Additive Explanations (SHAP) was conducted to examine the influence of PR-issue fields on predictions for the best-performing open-source LLM. Results: Fine-tuned LLMs outperformed baseline models, achieving average improvements of 6.15% in accuracy and F1-micro, 14.69% in F1-macro, and 6.15% in recall. CodeLlama-7B emerged as the best-performing fine-tuned LLM overall, while interpretability analysis revealed that code diffs together with issue body and PR body contents exert the greatest influence on predictions. Conclusions: Fine-tuning substantially enhances PR-issue alignment classification, improving both accuracy and efficiency. Interpretability analysis provides actionable insights into the dataset features driving alignment decisions, deepening understanding of how LLMs reason over software artifacts. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-02 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2609.01087 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-17T06:43:00.616Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).