中文
相关论文

相关论文: Code to Comment "Translation": Data, Metrics, Base…

200 篇论文

Large Language Models are increasingly used in software engineering, but both code generation and its evaluation remain predominantly English-centric. This leaves a major gap in our understanding of how well current tools support…

Advances in natural language processing, such as transfer learning from pre-trained language models, have impacted how models are trained for programming language tasks too. Previous research primarily explored code pre-training and…

计算与语言 · 计算机科学 2023-02-08 Pinzhen Chen , Gerasimos Lampouras

With the rapid development of Large Language Models (LLMs), a large number of machine learning models have been developed to assist programming tasks including the generation of program code from natural language input. However, how to…

人工智能 · 计算机科学 2024-06-19 Debalina Ghosh Paul , Hong Zhu , Ian Bayley

When comprehending code, a helping hand may come from the natural language comments documenting it that, unfortunately, are not always there. To support developers in such a scenario, several techniques have been presented to automatically…

Recently, automatic code comment generation is proposed to facilitate program comprehension. Existing code comment generation techniques focus on describing the functionality of the source code. However, there are other aspects such as…

软件工程 · 计算机科学 2018-07-09 Mohammad Masudur Rahman , Chanchal K. Roy , Iman Keivanloo

Commit message is a document that summarizes source code changes in natural language. A good commit message clearly shows the source code changes, so this enhances collaboration between developers. Therefore, our work is to develop a model…

计算与语言 · 计算机科学 2021-06-01 Tae-Hwan Jung

Good comments help developers understand software faster and provide better maintenance. However, comments are often missing, generally inaccurate, or out of date. Many of these problems can be avoided by automatic comment generation. This…

软件工程 · 计算机科学 2018-10-17 Sergey Matskevich , Colin S. Gordon

Comments are an important part of the source code and are a primary source of documentation. This has driven interest in using large bodies of comments to train or evaluate tools that consume or produce them -- such as generating oracles or…

软件工程 · 计算机科学 2022-08-30 Sergey Matskevich , Colin S. Gordon

Code translation is one of the core capabilities of LLMs. However, evaluating the correctness of translations remains difficult, as commonly used metrics such as BLEU measure only syntactic similarity, disregarding program semantics. We…

编程语言 · 计算机科学 2026-05-08 Julius Näumann , Sven Keidel , Amir Molzam Sharifloo , Mira Mezini

The quality of automatic metrics for machine translation has been increasingly called into question, especially for high-quality systems. This paper demonstrates that, while choice of metric is important, the nature of the references is…

计算与语言 · 计算机科学 2020-10-21 Markus Freitag , David Grangier , Isaac Caswell

Source code summarizing is a task of writing short, natural language descriptions of source code behavior during run time. Such summaries are extremely useful for software development and maintenance but are expensive to manually…

机器学习 · 计算机科学 2020-04-03 Vivek Gupta

This paper focuses on Code Generation task that aims at generating relevant code fragments according to given natural language descriptions. In the process of software development, developers often encounter two scenarios. One is requested…

软件工程 · 计算机科学 2024-04-19 Zezhou Yang , Sirong Chen , Cuiyun Gao , Zhenhao Li , Ge Li , Michael Lyu

Since the rise of neural natural-language-to-code models (NL->Code) that can generate long expressions and statements rather than a single next-token, one of the major problems has been reliably evaluating their generated output. In this…

软件工程 · 计算机科学 2023-11-01 Shuyan Zhou , Uri Alon , Sumit Agarwal , Graham Neubig

We propose a framework to automatically generate descriptive comments for source code blocks. While this problem has been studied by many researchers previously, their methods are mostly based on fixed template and achieves poor results.…

人工智能 · 计算机科学 2018-08-22 Yuding Liang , Kenny Q. Zhu

Question answering over source code provides software engineers and project managers with helpful information about the implemented features of a software product. This paper presents a work devoted to using large language models for…

计算与语言 · 计算机科学 2024-11-06 Georgy Andryushchenko , Vladimir Ivanov , Vladimir Makharev , Elizaveta Tukhtina , Aidar Valeev

Text generation has made significant advances in the last few years. Yet, evaluation metrics have lagged behind, as the most popular choices (e.g., BLEU and ROUGE) may correlate poorly with human judgments. We propose BLEURT, a learned…

计算与语言 · 计算机科学 2020-05-22 Thibault Sellam , Dipanjan Das , Ankur P. Parikh

Transformer-based pre-trained models have recently achieved great results in solving many software engineering tasks including automatic code completion which is a staple in a developer's toolkit. While many have striven to improve the…

计算与语言 · 计算机科学 2023-04-25 Tim van Dam , Maliheh Izadi , Arie van Deursen

Software comments are critical for human understanding of software, and as such many comment generation techniques have been proposed. However, we find that a systematic evaluation of the factual accuracy of generated comments is rare; only…

软件工程 · 计算机科学 2024-06-24 Sungmin Kang , Louis Milliken , Shin Yoo

Comments, or natural language descriptions of source code, are standard practice among software developers. By communicating important aspects of the code such as functionality and usage, comments help with software project maintenance.…

计算与语言 · 计算机科学 2022-08-01 Theo Steiner , Rui Zhang

Unlike classical lexical overlap metrics such as BLEU, most current evaluation metrics for machine translation (for example, COMET or BERTScore) are based on black-box large language models. They often achieve strong correlations with human…

计算与语言 · 计算机科学 2024-11-19 Christoph Leiter , Piyawat Lertvittayakumjorn , Marina Fomicheva , Wei Zhao , Yang Gao , Steffen Eger