mlsanityData to 14 Oct 2026

Extending the Frontier of ChatGPT: Code Generation and Debugging

arXiv 2307.08260 ↗First posted 17 Jul 2023cs.SE cs.CLcited by 9

Not on the map. Why?

Abstract (arXiv)

Large-scale language models (LLMs) have emerged as a groundbreaking innovation in the realm of question-answering and conversational agents. These models, leveraging different deep learning architectures such as Transformers, are trained on vast corpora to predict sentences based on given queries. Among these LLMs, ChatGPT, developed by OpenAI, has ushered in a new era by utilizing artificial intelligence (AI) to tackle diverse problem domains, ranging from composing essays and biographies to solving intricate mathematical integrals. The versatile applications enabled by ChatGPT offer immense value to users. However, assessing the performance of ChatGPT's output poses a challenge, particularly in scenarios where queries lack clear objective criteria for correctness. For instance, evaluating the quality of generated essays becomes arduous and relies heavily on manual labor, in stark contrast to evaluating solutions to well-defined, closed-ended questions such as mathematical problems. This research paper delves into the efficacy of ChatGPT in solving programming problems, examining both the correctness and the efficiency of its solution in terms of time and memory complexity. The research reveals a commendable overall success rate of 71.875%, denoting the proportion of problems for which ChatGPT was able to provide correct solutions that successfully satisfied all the test cases present in Leetcode. It exhibits strengths in structured problems and shows a linear correlation between its success rate and problem acceptance rates. However, it struggles to improve solutions based on feedback, pointing to potential shortcomings in debugging tasks. These findings provide a compact yet insightful glimpse into ChatGPT's capabilities and areas for improvement.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 20 of its 40 references that are in the map. First posted on arXiv 17 Jul 2023.

Builds on

20 of 40 references.

References · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  5. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  6. 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
  7. 2021FinQA: A Dataset of Numerical Reasoning over Financial Datacited by 562
  8. 2022CodeT: Code Generation with Generated Testscited by 384
  9. 2020IntelliCode Compose: Code Generation Using Transformercited by 227
  10. 2022GitHub Copilot AI pair programmer: Asset or Liability?cited by 152
  11. 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
  12. 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 76
8 more
  1. 2021Neural Program Repair with Execution-based Backpropagationcited by 50
  2. 2023Conversational Automated Program Repaircited by 41
  3. 2021Automatic Program Repair with OpenAI's Codex: Evaluating QuixBugscited by 25
  4. 2020Evaluating Representation Learning of Code Changes for Predicting Patch Correctness in Program Repaircited by 22
  5. 2022DEAR: A Novel Deep Learning-based Approach for Automated Program Repaircited by 22
  6. 2023KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repaircited by 13
  7. 2022Flood Prediction Using Machine Learning Modelscited by 3
  8. 2022An Empirical Evaluation of Competitive Programming AI: A Case Study of AlphaCodecited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 2; 2025: 3; 2026: 1.

9 papers.