paper-with-me

Papers

Impact of Evaluation Methodologies on Code Summarization

2021-08-22 · ACL 2022 5 · Pengyu Nie, Jiyang Zhang, Junyi Jessy Li, Raymond J. Mooney, Milos Gligoric

There has been a growing interest in developing machine learning (ML) models for code summarization tasks, e.g., comment generation and method naming. Despite substantial increase in the effectiveness of ML models, the evaluation methodologies, i.e., the way people split datasets into training, validation, and test sets, were not well studied. Specifically, no prior work on code summarization considered the timestamps of code and comments during evaluation. This may lead to evaluations that are inconsistent with the intended use cases. In this paper, we introduce the time-segmented evaluation methodology, which is novel to the code summarization research community, and compare it with the mixed-project and cross-project methodologies that have been commonly used. Each methodology can be mapped to some use cases, and the time-segmented methodology should be adopted in the evaluation of ML models for code summarization. To assess the impact of methodologies, we collect a dataset of (code, comment) pairs with timestamps to train and evaluate several recent ML models for code summarization. Our experiments show that different methodologies lead to conflicting evaluation results. We invite the community to expand the set of methodologies used in evaluations.

📄 PDF Abstract BibTeX arXiv:2108.09619

Code (1)

engineeringsoftware/time-segmented-evaluation 공식 구현

Tasks

Code SummarizationComment Generation

Similar Papers 제목 키워드 기반

Source Code Summarization in the Era of Large Language Models

2024-07-09 · Weisong Sun, Yun Miao, Yuekang Li, Hongyu Zhang 외

To support software developers in understanding and maintaining programs, various automatic (source) code summarization techniques have been proposed to generate a concise natural language summary (i.e., comment) for a g…

Code SummarizationSource Code Summarization

On the Evaluation of Neural Code Summarization

2021-07-15 · Ensheng Shi, Yanlin Wang, Lun Du, Junjie Chen 외

Source code summaries are important for program comprehension and maintenance. However, there are plenty of programs with missing, outdated, or mismatched summaries. Recently, deep learning techniques have been exploited…

Code SummarizationSource Code Summarization

How Green are Neural Language Models? Analyzing Energy Consumption in Text Summarization Fine-tuning

2025-01-26 · Tohida Rehman, Debarshi Kumar Sanyal, Samiran Chattopadhyay

Artificial intelligence systems significantly impact the environment, particularly in natural language processing (NLP) tasks. These tasks often require extensive computational resources to train deep neural networks, in…

Language ModelingLanguage ModellingLarge Language ModelText Summarization

Code Summarization Beyond Function Level

2025-02-23 · Vladimir Makharev, Vladimir Ivanov

Code summarization is a critical task in natural language processing and software engineering, which aims to generate concise descriptions of source code. Recent advancements have improved the quality of these summaries,…

Code SummarizationFew-Shot LearningIn-Context LearningPrompt Engineering+1

Optimizing the role of human evaluation in LLM-based spoken document summarization systems

2024-10-23 · Margaret Kroll, Kelsey Kraus

The emergence of powerful LLMs has led to a paradigm shift in abstractive summarization of spoken documents. The properties that make LLMs so valuable for this task -- creativity, ability to produce fluent speech, and ab…

Abstractive Text SummarizationDocument SummarizationExperimental Design