Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code

Ziyin Zhang, Chaoyu Chen, Bingchang Liu, Cong Liao, Zi Gong +3 more
11/14/2023
126 citations
cs.CLcs.AIcs.SE
survey

Official code: codefuse-ai/Awesome-Code-LLM (3,457 stars, last commit 2026-04-10).

Abstract

In this work we systematically review the recent advancements in software engineering with language models, covering 70+ models, 40+ evaluation tasks, 180+ datasets, and 900 related works. Unlike previous works, we integrate software engineering (SE) with natural language processing (NLP) by discussing the perspectives of both sides: SE applies language models for development automation, while NLP adopts SE tasks for language model evaluation.

Show full abstract

We break down code processing models into general language models represented by the GPT family and specialized models that are specifically pretrained on code, often with tailored objectives. We discuss the relations and differences between these models, and highlight the historical transition of code modeling from statistical models and RNNs to pretrained Transformers and LLMs, which is exactly the same course that had been taken by NLP. We also go beyond programming and review LLMs' application in other software engineering activities including requirement engineering, testing, deployment, and operations in an endeavor to provide a global view of NLP in SE, and identify key challenges and potential future directions in this domain. We keep the survey open and updated on GitHub at https://github.com/codefuse-ai/Awesome-Code-LLM.

View on arXivView PDF

Code Implementations(1)

[TMLR] A curated list of language modeling researches for code (and other software engineering activities), plus related datasets.

3,457241Sep 21, 20237 months ago
aiawesomedatasetsllmnlp+4 more

Similar Papers

Cite this paper

@article{zhang2023unifying,
  title  = {Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Code},
  author = {Ziyin Zhang and Chaoyu Chen and Bingchang Liu and Cong Liao and Zi Gong and Hang Yu and Jianguo Li and Rui Wang},
  year   = {2023},
  eprint = {2311.07989},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.07989v7}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.07989.svg)](https://codeofpaper.com/paper/2311.07989)

Discussion