基于大语言模型的代码生成任务的三级综述:趋势、挑战与未来方向
A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions
AI总结:
本三级综述综合了30篇二级研究(2017-2025年),分析了基于大语言模型的代码生成任务在出版趋势、效果、场景、集成挑战和未来方向上的证据,发现基准测试准确率高但泛化性弱,鲁棒性脆弱,效率问题普遍,毒性和偏见报告不足,主要挑战涉及经济可行性、评估有效性和社会技术集成。
摘要:
上下文。大语言模型(LLMs)越来越多地被应用于软件工程中的代码生成任务(CGTs)。尽管报告的结果令人鼓舞,但这种应用的更广泛影响及其与真实世界开发的集成仍未被充分理解,现有的三级研究在这方面提供的很少。目标。本三级研究整合了关于基于LLM的CGTs的二级证据,综合了出版格局、效果、场景、集成挑战和未来研究方向。方法。遵循系统综述指南,我们在相关数字图书馆中进行了检索,并辅以前向和后向滚雪球及筛选步骤。评估了研究质量,并通过评估者间一致性统计对提取可靠性进行了审计。使用SWEBOK知识领域和HELM框架综合了证据。结果。我们识别出30篇发表于2017-2025年间的二级研究,自2023年以来快速增长。在基准测试上准确性似乎很强,但在真实世界泛化方面支持较弱;鲁棒性在不同任务和配置下脆弱;效率约束普遍存在;毒性和偏见报告不足。主要挑战涉及经济可行性、评估有效性和社会技术集成。未来方向建议领域感知的模型改进以及全面、标准化评估的需求。结论。基于LLM的CGTs代表了一个快速成熟但评估不均的研究领域,突出了对领域感知模型改进和全面、标准化评估的需求,以及解决效率和相关成本问题。
英文摘要:
Context. Large language models (LLMs) are increasingly applied to code-generating tasks (CGTs) in software engineering. While reported results are promising, the broader effects of such application and their integration into real-world development remain insufficiently understood with existing tertiary studies provide little in this area. Objective. This tertiary study consolidates secondary evidence on LLM-based CGTs, synthesizing the publication landscape, effects, scenarios, integration challenges, and future research directions. Method. Following systematic review guidelines, we searched in related digital libraries, complemented by backward-and-forward snowballing and screening step. Study quality was assessed and extraction reliability was audited with inter-rater agreement statistics. Evidence was synthesized using SWEBOK knowledge areas and the HELM framework. Results. We identify 30 secondary studies published between 2017-2025, with rapid growth since 2023. Accuracy seems strong on benchmarks but weakly supported for real-world generalization; robustness is fragile across tasks and configurations; efficiency constraints are pervasive; toxicity and bias are under-reported. Dominant challenges concern economic feasibility, evaluation validity, and socio-technical integration. Future directions suggest domain-aware model improvement and the need for holistic, standardized evaluation. Conclusion. LLM-based CGTs represent a fast-maturing yet unevenly evaluated research area, highlighting the need for domain-aware model improvements and holistic, standardized evaluation, addressing efficiency and associated costs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。