Lune

CHI2023Top-tier venue

"What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Models

Michael Xieyang Liu, Advait Sarkar, Carina Negreanu, Benjamin G. Zorn, Jack Williams, Neil Toronto, Andrew D. Gordon

Abstract

Code-generating large language models map natural language to code. However, only a small portion of the infinite space of naturalistic utterances is effective at guiding code generation. For non-expert end-user programmers, learning this is the challenge of abstraction matching. We examine this challenge in the specific context of data analysis in spreadsheets, in a system that maps the user's natural language query to Python code using the Codex generator, executes the code, and shows the result. We propose grounded abstraction matching, which bridges the abstraction gap by translating the code back into a systematic and predictable naturalistic utterance. In a between-subjects, think-aloud study (n=24), we compare grounded abstraction matching to an ungrounded alternative based on previously established query framing principles. We find that the grounded approach improves end-users' understanding of the scope and capabilities of the code-generating model, and the kind of language needed to use it effectively.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

37 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • InfiAgent-DABench: Evaluating Agents on Data Analysis Tasks cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Can Foundation Models Wrangle Your Data? cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
  • Can Foundation Models Wrangle Your Data? cites Language Models are Few-Shot Learners
  • Can Foundation Models Wrangle Your Data? cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts cites Climbing towards NLU: On Meaning, Form, and Understanding in the Age of Data
  • AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts cites Language Models are Few-Shot Learners
  • AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Chain-of-Thought Prompting Elicits Reasoning in Large Language Models cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
  • EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined Criteria cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
  • EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined Criteria cites Language Models are Few-Shot Learners
  • EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined Criteria cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
  • DirectGPT: A Direct Manipulation Interface to Interact with Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • The Metacognitive Demands and Opportunities of Generative AI cites AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model Prompts
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers37

  1. The Metacognitive Demands and Opportunities of Generative AILev Tankelevitch, Viktor Kewenig, Auste Simkute, Ava Elizabeth Scott et al.CHI 2024 · 279 citations
  2. InfiAgent-DABench: Evaluating Agents on Data Analysis TasksXueyu Hu, Ziyu Zhao, Shuang Wei, Ziwei Chai et al.ICML 2024 · 110 citations
  3. DirectGPT: A Direct Manipulation Interface to Interact with Large Language ModelsDamien Masson, Sylvain Malacria, Géry Casiez, Daniel VogelCHI 2024 · 104 citations
  4. EvalLM: Interactive Evaluation of Large Language Model Prompts on User-Defined CriteriaTae Soo Kim, Yoonjoo Lee, Jamin Shin, Young-Ho Kim et al.CHI 2024 · 81 citations
  5. How Beginning Programmers and Code LLMs (Mis)read Each OtherSydney Nguyen, Hannah McLean Babe, Yangtian Zi, Arjun Guha et al.CHI 2024 · 66 citations

Builds on25

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  3. Climbing towards NLU: On Meaning, Form, and Understanding in the Age of DataEmily M. Bender, Alexander KollerACL 2020 · 914 citations
  4. AI Chains: Transparent and Controllable Human-AI Interaction by Chaining Large Language Model PromptsTongshuang Wu, Michael Terry, Carrie Jun CaiCHI 2022 · 465 citations
  5. Can Foundation Models Wrangle Your Data?Avanika Narayan, Ines Chami, Laurel J. Orr, Christopher RéVLDB 2023 · 325 citations

Related papers

  1. Discovering the Syntax and Strategies of Natural Language Programming with Generative Language ModelsEllen Jiang, Edwin Toh, Alejandra Molina, Kristen Olson et al.CHI 2022 · 76 citations
  2. PyDex: Repairing Bugs in Introductory Python Assignments using LLMsJialu Zhang, José Pablo Cambronero, Sumit Gulwani, Vu Le et al.OOPSLA 2024 · 38 citations
  3. TransMap: Pinpointing Mistakes in Neural Code TranslationBo Wang, Ruishi Li, Mingkai Li, Prateek SaxenaFSE 2023 · 4 citations
  4. PrepBench: How Far Are We from Natural-Language-Driven Data Preparation?Jingzhe Xu, Rui Wang, Jiannan Wang, Guoliang LiVLDB 2026 · 3 citations
  5. Execution-Based Evaluation for Open-Domain Code GenerationZhiruo Wang, Shuyan Zhou, Daniel Fried, Graham NeubigEMNLP Findings 2023 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines