Analysis on LLMs Performance for Code Summarization

Md. Ahnaf Akib, Md. Muktadir Mazumder, Salman Ahsan
12/22/2024
cs.SEcs.AI

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{akib2024analysis,
  title  = {Analysis on LLMs Performance for Code Summarization},
  author = {Md. Ahnaf Akib and Md. Muktadir Mazumder and Salman Ahsan},
  year   = {2024},
  eprint = {2412.17094},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.17094v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.17094.svg)](https://codeofpaper.com/paper/2412.17094)

Discussion