arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08055cs.SEcs.LG
收藏

打破沉默:在软件工程中使用LLM的威胁

Breaking the Silence: the Threats of Using LLMs in Software Engineering

TU Delft(代尔夫特理工大学)

June Sallou, Thomas Durieux, Annibale Panichella

AI总结:

本文探讨了在软件工程中使用LLM进行研究的有效性威胁(如数据泄露和可重复性问题),并为SE研究人员与模型提供商提出了缓解这些问题的指南。

摘要:

大型语言模型(LLM)在软件工程(SE)社区获得了极大关注,影响了从代码补全到测试生成、从程序修复到代码摘要的各种SE任务。尽管前景广阔,但研究人员仍须谨慎,因为许多复杂因素会影响涉及LLM的实验结果。本文发起了关于基于LLM研究有效性潜在威胁的公开讨论,包括闭源模型、LLM训练数据与研究评估间可能的数据泄露,以及基于LLM研究结果的可重复性等问题。作为回应,本文提出了一套专为SE研究人员和语言模型(LM)提供商量身定制的指南,以缓解这些担忧。本文利用LM提供商遵循的现有良好实践,以及SE研究人员在测试用例生成背景下的一个实际示例,阐明了这些指南的影响。

英文摘要:

Large Language Models (LLMs) have gained considerable traction within the Software Engineering (SE) community, impacting various SE tasks from code completion to test generation, from program repair to code summarization. Despite their promise, researchers must still be careful as numerous intricate factors can influence the outcomes of experiments involving LLMs. This paper initiates an open discussion on potential threats to the validity of LLM-based research including issues such as closed-source models, possible data leakage between LLM training data and research evaluation, and the reproducibility of LLM-based findings. In response, this paper proposes a set of guidelines tailored for SE researchers and Language Model (LM) providers to mitigate these concerns. The implications of the guidelines are illustrated using existing good practices followed by LLM providers and a practical example for SE researchers in the context of test case generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑