mlsanityData to 7 Oct 2026

The Program Testing Ability of Large Language Models for Code

arXiv 2310.05727 ↗First posted 9 Oct 2023cs.CL cs.AI cs.LGcited by 11

Not on the map. Why?

Abstract (arXiv)

Recent development of large language models (LLMs) for code like CodeX and CodeT5+ demonstrates tremendous promise in achieving code intelligence. Their ability of synthesizing code that completes a program for performing a pre-defined task has been intensively tested and verified on benchmark datasets including HumanEval and MBPP. Yet, evaluation of these LLMs from more perspectives (than just program synthesis) is also anticipated, considering their broad scope of applications in software engineering. In this paper, we explore the ability of LLMs for testing programs/code. By performing thorough analyses of recent LLMs for code in program testing, we show a series of intriguing properties of these models and demonstrate how program testing ability of LLMs can be improved. Following recent work which utilizes generated test cases to enhance program synthesis, we further leverage our findings in improving the quality of the synthesized programs and show +11.77% and +4.22% higher code pass rates on HumanEval+ comparing with the GPT-3.5-turbo baseline and the recent state-of-the-art, respectively.

Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Builds on 27 of its 42 references that are in the map. First posted on arXiv 9 Oct 2023.

Builds on

27 of 42 references.

References · 27

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  5. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2021Program Synthesis with Large Language Modelscited by 3,509
  8. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  9. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  10. 2023WizardLM: Empowering large pre-trained language models to follow complex instructionscited by 1,116
  11. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  12. 2023StarCoder: may the source be with you!cited by 790
15 more
  1. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  2. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  3. 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
  4. 2022CodeT: Code Generation with Generated Testscited by 369
  5. 2022The Stack: 3 TB of permissively licensed source codecited by 354
  6. 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
  7. 2023SantaCoder: don't reach for the stars!cited by 169
  8. 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 124
  9. 2022Natural Language to Code Translation with Executioncited by 122
  10. 2020Unit Test Case Generation with Transformers and Focal Contextcited by 118
  11. 2021TOGA: A Neural Method for Test Oracle Generationcited by 57
  12. 2023Understanding Programs by Exploiting (Fuzzing) Test Casescited by 13
  13. 2021An Empirical Study of Automated Unit Test Generation for Pythoncited by 10
  14. 2022Methods2Test: A dataset of focal methods mapped to test casescited by 10
  15. 2023Code Representation Pre-training with Complements from Program Executionscited by 8

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 3.

11 papers.