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

要旨

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.

受賞
Honorable Mention
著者
Michael Xieyang Liu
Microsoft Research, Cambridge, United Kingdom
Advait Sarkar
Microsoft Research, Cambridge, United Kingdom
Carina Negreanu
Microsoft Research , Cambridge, Cambridgeshire, United Kingdom
Benjamin Zorn
Microsoft Research, Redmond, Washington, United States
Jack Williams
Microsoft Research, Cambridge, United Kingdom
Neil Toronto
Microsoft Research, Cambridge, United Kingdom
Andrew D Gordon
Microsoft Research, Redmond, Washington, United States
論文URL

https://doi.org/10.1145/3544548.3580817

動画

会議: CHI 2023

The ACM CHI Conference on Human Factors in Computing Systems (https://chi2023.acm.org/)

セッション: Programming

Room Y01+Y02
6 件の発表
2023-04-25 01:35:00
2023-04-25 03:00:00