On legacy MUMPS code, LLM-generated line comments are rated almost as good as human-written ones; on IBM assembly they are rated low, and standard automated metrics do not predict human quality scores.
Neural Machine Translation for Code Generation
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Neural machine translation (NMT) methods developed for natural language processing have been shown to be highly successful in automating translation from one natural language to another. Recently, these NMT methods have been adapted to the generation of program code. In NMT for code generation, the task is to generate output source code that satisfies constraints expressed in the input. In the literature, a variety of different input scenarios have been explored, including generating code based on natural language description, lower-level representations such as binary or assembly (neural decompilation), partial representations of source code (code completion and repair), and source code in another language (code translation). In this paper we survey the NMT for code generation literature, cataloging the variety of methods that have been explored according to input and output representations, model architectures, optimization techniques used, data sets, and evaluation methods. We discuss the limitations of existing methods and future research directions
fields
cs.LG 1years
2024 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Leveraging LLMs for Legacy Code Modernization: Challenges and Opportunities for LLM-Generated Documentation
On legacy MUMPS code, LLM-generated line comments are rated almost as good as human-written ones; on IBM assembly they are rated low, and standard automated metrics do not predict human quality scores.