mlsanityData to 7 Oct 2026

Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketches

arXiv 2405.03998 ↗First posted 7 May 2024cs.HC cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Crafting effective prompts for code generation or editing with Large Language Models (LLMs) is not an easy task. Particularly, the absence of immediate, stable feedback during prompt crafting hinders effective interaction, as users are left to mentally imagine possible outcomes until the code is generated. In response, we introduce Language-Oriented Code Sketching, an interactive approach that provides instant, incremental feedback in the form of code sketches (i.e., incomplete code outlines) during prompt crafting. This approach converts a prompt into a code sketch by leveraging the inherent linguistic structures within the prompt and applying classic natural language processing techniques. The sketch then serves as an intermediate placeholder that not only previews the intended code structure but also guides the LLM towards the desired code, thereby enhancing human-LLM interaction. We conclude by discussing the approach's applicability and future plans.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 12 of its 30 references that are in the map. First posted on arXiv 7 May 2024.

Builds on

12 of 30 references.

References · 12

  1. 2022Grounded Copilot: How Programmers Interact with Code-Generating Modelscited by 216
  2. 2022Large Language Models Meet NL2Code: A Surveycited by 135
  3. 2022Reading Between the Lines: Modeling User Behavior and Costs in AI-Assisted Programmingcited by 91
  4. 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 87
  5. 2018A Survey on Semantic Parsingcited by 62
  6. 2023Unifying the Perspectives of NLP and Software Engineering: A Survey on Language Models for Codecited by 62
  7. 2023"What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Modelscited by 48
  8. 2019Universal Dependency Parsing from Scratchcited by 46
  9. 2018Anaphora and Coreference Resolution: A Reviewcited by 31
  10. 2024How Beginning Programmers and Code LLMs (Mis)read Each Othercited by 31
  11. 2023CoLadder: Supporting Programmers with Hierarchical Code Generation in Multi-Level Abstractioncited by 7
  12. 2023CrossData: Leveraging Text-Data Connections for Authoring Data Documentscited by 6

Built on by

Cited by year (2026 to 7 Oct)

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

7 papers.