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

代码摘要任务中LLMs性能分析

Analysis on LLMs Performance for Code Summarization

Department of Computer Science and Engineering(计算机科学与工程系)

Md. Ahnaf Akib, Md. Muktadir Mazumder, Salman Ahsan

AI总结:

本研究比较分析LLaMA-3、Phi-3、Mistral和Gemma等开源LLMs在代码摘要任务中的性能,利用BLEU和ROUGE指标评估优劣,为模型改进和工具集成提供见解。

摘要:

代码摘要旨在为源代码生成简洁的自然语言描述。近年来,深度学习在软件工程领域中的应用日益增多,特别是在代码生成和摘要等任务中。具体而言,当前最具先进性的代码相关大型语言模型在这些任务上表现优异。大型语言模型(LLMs)显著推动了代码摘要领域的发展,提供了生成源代码简洁且准确摘要的先进方法。本研究旨在对多个开源LLMs进行比较分析,包括LLaMA-3、Phi-3、Mistral和Gemma。这些模型的性能通过BLEU和ROUGE等重要指标进行评估。通过这一分析,我们力求识别每个模型的优缺点,为它们在代码摘要任务中的适用性和有效性提供见解。我们的发现有助于LLMs的持续发展和优化,支持其集成到增强软件开发与维护流程的工具中。

英文摘要:

Code summarization aims to generate concise natural language descriptions for source code. Deep learning has been used more and more recently in software engineering, particularly for tasks like code creation and summarization. Specifically, it appears that the most current Large Language Models with coding perform well on these tasks. Large Language Models (LLMs) have significantly advanced the field of code summarization, providing sophisticated methods for generating concise and accurate summaries of source code. This study aims to perform a comparative analysis of several open-source LLMs, namely LLaMA-3, Phi-3, Mistral, and Gemma. These models' performance is assessed using important metrics such as BLEU\textsubscript{3.1} and ROUGE\textsubscript{3.2}. Through this analysis, we seek to identify the strengths and weaknesses of each model, offering insights into their applicability and effectiveness in code summarization tasks. Our findings contribute to the ongoing development and refinement of LLMs, supporting their integration into tools that enhance software development and maintenance processes.

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

↑