Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Large Language Models for Software Engineering: A Systematic Literature Review

Systematic review maps how general LLMs are used across software engineering

  • Problem Earlier reviews cover only one software engineering niche or older machine learning models, so they miss general LLMs. Developers apply general models like ChatGPT to many SE tasks, yet no review covers them across the whole field.
  • Method The authors run a systematic literature review of 395 papers from January 2017 to January 2024. They sort each LLM by architecture into encoder-only, encoder-decoder, or decoder-only groups, and use those groups for the rest of the analysis.
  • Results Decoder-only models appeared in 70.7% of the 2023 studies, up from earlier years. The review reports this shift as a move toward decoder-only models as the main approach.

What earlier reviews left uncovered

Earlier surveys each cover part of the ground, and that partial coverage is the problem this review addresses. Some narrow the scope to one task, such as software testing or natural-language-to-code work, while others stay with machine learning or deep learning models. Surveys of Code LLMs leave out general models like ChatGPT and LLaMA, even though developers apply those widely to SE tasks.

So the field needs a review that covers general LLMs across the whole of SE, not one slice of it.

The authors frame the work as four research questions about which models are used, how data is handled, how models are tuned and scored, and which tasks succeed. They answer these with a systematic literature review, which fixes the search and selection steps in advance so that others can check them.

How 395 papers were chosen

The authors start with a manual search of six top SE venues: ICSE, ESEC/FSE, ASE, ISSTA, TOSEM and TSE. From 4,618 crawled papers they verified 51 relevant ones, and those 51 became the quasi-gold standard. They then derived a search string that pairs SE task keywords with LLM keywords, because a paper with both kinds is more likely to be relevant.

Running that string over seven databases returned 218,765 candidate papers. A page-count filter dropped papers under 8 pages and left 80,611 papers. Keyword screening, language and venue checks, deduplication and grey-literature removal then reduced the set to 382 papers. Snowballing from those 382 papers added 13 more, which brought the total to 395.

Each study was scored on ten quality criteria, QAC1 to QAC10, where QAC1 to QAC3 act as gates. Published papers needed at least 16.8 out of 21 on QAC4 to QAC10, while unpublished arXiv papers needed 14.4 out of 18 on their own criteria. This scoring is what lets arXiv preprints stay in the set.

Three LLM architecture groups

The authors sort each model by its architecture into one of three groups, and the rest of the analysis uses those groups. Encoder-only models keep just the encoder, which turns an input into a hidden representation that captures word relations and context. BERT is the base model here, and CodeBERT and GraphCodeBERT add code-specific choices: token prediction in one case and edge-type prediction over code graphs in the other.

This design suits understanding tasks, such as code review and bug report understanding.

Encoder-decoder models pair two halves: the encoder maps the input into a hidden space, and the decoder writes the output from that space. T5, PLBART and CodeT5 follow this design, and the authors tie it to tasks such as code summarization. Because the output side is a generator, the design fits summarization, translation and question answering.

Decoder-only models use only the decoder, which predicts the next token from the tokens before it. GPT-series models, ChatGPT, Codex and open models such as LLaMA and Vicuna all follow this design. Because these models can work from a few examples or a simple instruction, they suit generation tasks such as code generation and code completion.

How architecture choices shifted by year

In 2020 encoder-only models led, with eight papers. The authors attribute this change to decoder-only models producing syntactically correct and functionally relevant code with little fine-tuning.

Encoder-decoder models appeared in 11.97% of those papers, so no single design had taken over.

By 2023 decoder-only models appeared in 432 instances across 195 papers, which is 70.7% of that year's research. Because one paper can use several decoder-only models, the 432 counts instances rather than papers. Encoder-only models stayed at 94 papers, or 15.39%, and encoder-decoder models reached 85 papers, or 13.91%. The authors read this as a shift of focus toward decoder-only models as the main approach.

What data the studies used

Open-source datasets dominate, since 235 studies used them for training LLMs. The authors give two reasons: such data is real-world and credible, and suitable training sets for newer LLMs were scarce. Researchers therefore often collected data from Stack Overflow and GitHub and built their own sets.

Only six studies used industrial datasets, which the authors flag as a gap between academic and industrial data. Text-based datasets are the most common data category, used in 151 studies.

Code-based datasets came next, and source code alone appeared 60 times. The review classifies data into five types: code-based, text-based, graph-based, repository-based and combined.

Limits of the review

The review sorts models by architecture rather than parameter count, because the literature has no formal minimum size for an LLM. So the boundary of what counts as an LLM rests on the scope the authors chose.

Of the 395 studies, 154 appear in peer-reviewed venues, while 241 are arXiv preprints. The authors kept arXiv papers because the field is new and many works are still under review, then relied on the quality scoring to filter them.

Only six venues went through manual search, so the rest of the coverage depends on the automated search and snowballing.

Paper info

Authors
Xinyi Hou, Yanjie Zhao, Yue Liu, Zhou Yang, Kailong Wang, Li Li, Xiapu Luo, David Lo, John Grundy, Haoyu Wang
Venue
arXiv · Preprint
First published
2023-8-21
Added
2026-11-12
Updated
2024-4-10
Version
v6
arXiv
2308.10620
Category
cs.SE · cs.AI
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Xinyi Hou, Yanjie Zhao, Yue Liu, Zhou Yang, Kailong Wang, Li Li, Xiapu Luo, David Lo, John Grundy, Haoyu Wang (2023). Large Language Models for Software Engineering: A Systematic Literature Review. arXiv:2308.10620v6. https://arxiv.org/abs/2308.10620v6

BibTeX
@misc{hou2023large,
  title = {{Large Language Models for Software Engineering: A Systematic Literature Review}},
  author = {Xinyi Hou and Yanjie Zhao and Yue Liu and Zhou Yang and Kailong Wang and Li Li and Xiapu Luo and David Lo and John Grundy and Haoyu Wang},
  year = {2023},
  eprint = {2308.10620},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.10620v6}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up