mlsanityData to 14 Oct 2026

An Exploratory Study of ML Sketches and Visual Code Assistants

arXiv 2412.13386 ↗First posted 17 Dec 2024cs.SE cs.AI cs.HCcited by 3

Not on the map. Why?

Abstract (arXiv)

This paper explores the integration of Visual Code Assistants in Integrated Development Environments (IDEs). In Software Engineering, whiteboard sketching is often the initial step before coding, serving as a crucial collaboration tool for developers. Previous studies have investigated patterns in SE sketches and how they are used in practice, yet methods for directly using these sketches for code generation remain limited. The emergence of visually-equipped large language models presents an opportunity to bridge this gap, which is the focus of our research. In this paper, we built a first prototype of a Visual Code Assistant to get user feedback regarding in-IDE sketch-to-code tools. We conduct an experiment with 19 data scientists, most of whom regularly sketch as part of their job. We investigate developers' mental models by analyzing patterns commonly observed in their sketches when developing an ML workflow. Analysis indicates that diagrams were the preferred organizational component (52.6%), often accompanied by lists (42.1%) and numbered points (36.8%). Our tool converts their sketches into a Python notebook by querying an LLM. We use an LLM-as-judge setup to score the quality of the generated code, finding that even brief sketching can effectively generate useful code outlines. We also find a positive correlation between sketch time and the quality of the generated code. We conclude the study by conducting extensive interviews to assess the tool's usefulness, explore potential use cases, and understand developers' needs. As noted by participants, promising applications for these assistants include education, prototyping, and collaborative settings. Our findings signal promise for the next generation of Code Assistants to integrate visual information, both to improve code generation and to better leverage developers' existing sketching practices.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 37 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

18 of 37 references.

References · 18

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,626
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2023Code Llama: Open Foundation Models for Codecited by 2,139
  5. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,080
  6. 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contextscited by 1,614
  7. 2024Chatbot Arena: An Open Platform for Evaluating LLMs by Human Preferencecited by 1,184
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  9. 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 114
  10. 2017Learning to Infer Graphics Programs from Hand-Drawn Imagescited by 74
  11. 2022Predicting the Future of AI with AI: High-quality link prediction in an exponentially growing knowledge networkcited by 36
  12. 2017DLPaper2Code: Auto-generation of Code from Deep Learning Research Paperscited by 8
6 more
  1. 2017Sketches and Diagrams in Practicecited by 5
  2. 2024Benchmarking Generative Models on Computational Thinking Tests in Elementary Visual Programmingcited by 3
  3. 2017Linking Sketches and Diagrams to Source Code Artifactscited by 2
  4. 2017Round-Trip Sketches: Supporting the Lifecycle of Software Development Sketches from Analog to Digital and Backcited by 2
  5. 2022PSDoodle: Fast App Screen Search via Partial Screen Doodlecited by 2
  6. 2022Let's Go to the Whiteboard (Again):Perceptions from Software Architects on Whiteboard Architecture Meetingscited by 1

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.