Code

LLMs for Software Engineering

First page
LLMs for Software Engineering
Paper summary

A comprehensive survey of LLMs for software engineering covering models, tasks, evaluation, and open challenges.

Ask this paper

Key points
01

Task coverage: Surveys code generation, bug detection and repair, code review, code translation, documentation, and testing.

02

Model landscape: Reviews code-specialized LLMs (Codex, StarCoder, CodeLlama) alongside general-purpose LLMs applied to code.

03

Evaluation review: Catalogs standard benchmarks (HumanEval, MBPP, DS-1000) and their limitations for real-world software engineering.

04

Open challenges: Highlights long-context code understanding, multi-file reasoning, verification, and agent-based SE as key open directions.

Abstract

This paper provides a survey of the emerging area of Large Language Models (LLMs) for Software Engineering (SE). It also sets out open research challenges for the application of LLMs to technical problems faced by software engineers. LLMs' emergent properties bring novelty and creativity with applications right across the spectrum of Software Engineering activities including coding, design, requirements, repair, refactoring, performance improvement, documentation and analytics. However, these very same emergent properties also pose significant technical challenges; we need techniques that can reliably weed out incorrect solutions, such as hallucinations. Our survey reveals the pivotal role that hybrid techniques (traditional SE plus LLMs) have to play in the development and deployment of reliable, efficient and effective LLM-based SE.

Every Monday
Get next week’s papers.
Subscribe on Substack