深入思考并不要忽视你的选项:重新审视基于LLM辅助检索的议题-提交链接
Think Harder and Don't Overlook Your Options: Revisiting Issue-Commit Linking with LLM-Assisted Retrieval
AI总结:
本文重新评估了多种议题-提交链接恢复技术,通过比较不同检索方法和机器学习模型,发现密集检索优于稀疏检索,传统机器学习方法性能优于大语言模型。
摘要:
将问题报告链接到解决它们的提交对于软件可追溯性、维护和演变至关重要。准确的问题-提交链接帮助开发人员理解系统变化及其背后的原因。尽管已提出多种自动技术,从启发式和基于特征的方法到现代深度学习和大语言模型方法,我们的目标是评估这些技术以确定哪些最有效且高效。在本研究中,我们重新审视了几种已建立的问题-提交链接恢复技术,包括BTLink、EasyLink、FRLink、RCLinker和Hybrid-Linker,并评估它们在重排序问题-提交链接方面的性能。我们首先评估不同检索方法(BM25、BM25L、SBERT-语义搜索、ANNOY、LSH、HNSW)在高效检索相关提交以减少必须由更计算密集型模型考虑的候选集方面的能力。使用最佳检索方法后,我们进一步研究了不同机器学习方法在重排序候选提交方面的有效性,包括传统机器学习模型、交叉编码器和大语言模型(ChatGPT、Qwen、Gemma、Llama),以优化候选提交的重排序并提高精度。最后,我们比较了这些技术的有效性。我们的结果表明,密集检索方法在识别相关提交方面优于稀疏检索方法,结合密集和稀疏检索可以提高召回率。此外,我们发现传统机器学习基于的重排序技术比大语言模型方法表现更好。我们的结果强调了基于检索的流水线仍然是大规模问题-提交链接的实用且有效的方法,并且在采用计算密集型大语言模型方法之前,应仔细考虑更简单的模型。
英文摘要:
Linking issue reports to the commits that resolve them is essential for software traceability, maintenance, and evolution. Accurate issue-commit links help developers to understand system changes and the rationale behind them. While numerous automated techniques have been proposed, ranging from heuristic and feature-based approaches to modern deep learning and large language model approaches, our goal is to evaluate these techniques to determine which are most effective and efficient. In this study, we revisit several established issue-commit link recovery techniques, including BTLink, EasyLink, FRLink, RCLinker, and Hybrid-Linker, and assess their performance for reranking issue-commit links. We first evaluate different retrieval methods (BM25, BM25L, SBERT-Semantic Search, ANNOY, LSH, HNSW) for their ability to efficiently retrieve relevant commits, reducing the candidate set that must be considered by more computationally expensive models. Using the best retrieval methods, we then investigate the reranking effectiveness of different machine learning-based techniques, including traditional machine learning models, a cross-encoder, and large language models (ChatGPT, Qwen, Gemma, Llama), to refine the reranking of candidate commits and improve precision. Finally, we compare the effectiveness of these techniques. Our results show that dense retrieval methods outperform sparse retrieval approaches in identifying relevant commits and that combining dense and sparse retrieval can improve recall. Additionally, we find that traditional machine learning-based reranking techniques achieve higher performance than LLM-based approaches. Our results highlight that retrieval-based pipelines remain a practical and effective solution for large-scale issue-commit linking, and that simpler models should be carefully considered before adopting computationally expensive LLM-based approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。