mlsanityData to 7 Oct 2026

In-IDE Code Generation from Natural Language: Promise and Challenges

arXiv 2101.11149 ↗First posted 27 Jan 2021cs.SEcited by 41

Not on the map. Why?

Abstract (arXiv)

A great part of software development involves conceptualizing or communicating the underlying procedures and logic that needs to be expressed in programs. One major difficulty of programming is turning concept into code, especially when dealing with the APIs of unfamiliar libraries. Recently, there has been a proliferation of machine learning methods for code generation and retrieval from natural language queries, but these have primarily been evaluated purely based on retrieval accuracy or overlap of generated code with developer-written code, and the actual effect of these methods on the developer workflow is surprisingly unattested. We perform the first comprehensive investigation of the promise and challenges of using such technology inside the IDE, asking "at the current state of technology does it improve developer productivity or accuracy, how does it affect the developer experience, and what are the remaining gaps and challenges?" We first develop a plugin for the IDE that implements a hybrid of code generation and code retrieval functionality, and orchestrate virtual environments to enable collection of many user events. We ask developers with various backgrounds to complete 14 Python programming tasks ranging from basic file manipulation to machine learning or data visualization, with or without the help of the plugin. While qualitative surveys of developer experience are largely positive, quantitative results with regards to increased productivity, code quality, or program correctness are inconclusive. Analysis identifies several pain points that could improve the effectiveness of future machine learning based code generation/retrieval developer assistants, and demonstrates when developers prefer code generation over code retrieval and vice versa. We release all data and software to pave the road for future empirical studies and development of better models.

Key facts. Cited by 41 papers in the map (data through 7 Oct 2026). First posted on arXiv 27 Jan 2021.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 7; 2023: 10; 2024: 6; 2025: 10; 2026: 1.

41 papers.

Sort:

By area:

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
  3. 2021Retrieval Augmented Code Generation and Summarizationcited by 148
  4. 2022Productivity Assessment of Neural Code Completioncited by 97
  5. 2023A Large-Scale Survey on the Usability of AI Programming Assistants: Successes and Challengescited by 75
  6. 2023Is ChatGPT the Ultimate Programming Assistant -- How far is it?cited by 72
  7. 2023Clover: Closed-Loop Verifiable Code Generationcited by 62
  8. 2022What is it like to program with artificial intelligence?cited by 39
  9. 2023MCU: An Evaluation Framework for Open-Ended Game Agentscited by 33
  10. 2023Outline, Then Details: Syntactically Guided Coarse-To-Fine Code Generationcited by 27
  11. 2023Refactoring Programs Using Large Language Models with Few-Shot Examplescited by 27
  12. 2024Why and When LLM-Based Assistants Can Go Wrong: Investigating the Effectiveness of Prompt-Based Interactions for Software Help-Seekingcited by 24
29 more
  1. 2022A Hazard Analysis Framework for Code Synthesis Large Language Modelscited by 22
  2. 2024Benchmarks and Metrics for Evaluations of Code Generation: A Critical Reviewcited by 19
  3. 2023ANPL: Towards Natural Programming with Interactive Decompositioncited by 13
  4. 2024Rocks Coding, Not Development--A Human-Centric, Experimental Evaluation of LLM-Supported SE Taskscited by 13
  5. 2021Toward Code Generation: A Survey and Lessons from Semantic Parsingcited by 8
  6. 2021Reading StackOverflow Encourages Cheating: Adding Question Text Improves Extractive Code Generationcited by 8
  7. 2024AutoCoder: Enhancing Code Large Language Model with textscAIEV-Instructcited by 8
  8. 2023Architext: Language-Driven Generative Architecture Designcited by 5
  9. 2024Cocobo: Exploring Large Language Models as the Engine for End-User Robot Programmingcited by 5
  10. 2025Towards Advancing Code Generation with Large Language Models: A Research Roadmapcited by 5
  11. 2025Do It For Me vs. Do It With Me: Investigating User Perceptions of Different Paradigms of Automation in Copilots for Feature-Rich Softwarecited by 5
  12. 2021Automatic Document Sketching: Generating Drafts from Analogous Textscited by 4
  13. 2021Natural Language-Guided Programmingcited by 4
  14. 2021Cascaded Fast and Slow Models for Efficient Semantic Code Searchcited by 4
  15. 2025The Impact of LLM-Assistants on Software Developer Productivity: A Systematic Review and Mapping Studycited by 4
  16. 2022A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspectivecited by 3
  17. 2022NS3: Neuro-Symbolic Semantic Code Searchcited by 3
  18. 2023AI for Low-Code for AIcited by 3
  19. 2023Pop Quiz! Do Pre-trained Code Models Possess Knowledge of Correct API Names?cited by 3
  20. 2025On Simulation-Guided LLM-based Code Generation for Safe Autonomous Driving Softwarecited by 3
  21. 2025Enhancing Code Generation via Bidirectional Comment-Level Mutual Groundingcited by 3
  22. 2025SketchAgent: Generating Structured Diagrams from Hand-Drawn Sketchescited by 3
  23. 2024Self-Explained Keywords Empower Large Language Models for Code Generationcited by 2
  24. 2025CodeWatcher: IDE Telemetry Data Extraction Tool for Understanding Coding Interactions with LLMscited by 2
  25. 2025Breaking Memorization Barriers in LLM Code Fine-Tuning via Information Bottleneck for Improved Generalizationcited by 1
  26. 2022Semantic Code Classification for Automated Machine Learningcited by 0
  27. 2025SVAgent: AI Agent for Hardware Security Verification Assertioncited by 0
  28. 2025Cracking CodeWhisperer: Analyzing Developers' Interactions and Patterns During Programming Taskscited by 0
  29. 2026The Invisible Hand of AI Libraries Shaping Open Source Projects and Communitiescited by 0