Litcius/Paper detail

Evaluating Large Language Models in Class-Level Code Generation

Xueying Du, Mingwei Liu, Kaixin Wang, Hanlin Wang, Liu Jun-wei, Yixuan Chen, Jiayi Feng, Chaofeng Sha, Xin Peng, Yiling Lou

2024120 citationsDOI

Abstract

Recently, many large language models (LLMs) have been proposed, showing advanced proficiency in code generation. Meanwhile, many efforts have been dedicated to evaluating LLMs on code generation benchmarks such as HumanEval. Although being very helpful for comparing different LLMs, existing evaluation focuses on a simple code generation scenario (i.e., function-level or statement-level code generation), which mainly asks LLMs to generate one single code unit (e.g., a function or a statement) for the given natural language description. Such evaluation focuses on generating independent and often small-scale code units, thus leaving it unclear how LLMs perform in real-world software development scenarios.

Topics & Concepts

Statement (logic)Computer scienceCode (set theory)Code generationFunction (biology)Class (philosophy)Natural language generationProgramming languageNatural languageComputer securityArtificial intelligencePolitical scienceKey (lock)BiologyLawSet (abstract data type)Evolutionary biologyTopic ModelingNatural Language Processing TechniquesSoftware Engineering Research