Program Synthesis with Pragmatic Communication
Not on the map. Why?
Abstract (arXiv)
Program synthesis techniques construct or infer programs from user-provided specifications, such as input-output examples. Yet most specifications, especially those given by end-users, leave the synthesis problem radically ill-posed, because many programs may simultaneously satisfy the specification. Prior work resolves this ambiguity by using various inductive biases, such as a preference for simpler programs. This work introduces a new inductive bias derived by modeling the program synthesis task as rational communication, drawing insights from recursive reasoning models of pragmatics. Given a specification, we score a candidate program both on its consistency with the specification, and also whether a rational speaker would chose this particular specification to communicate that program. We develop efficient algorithms for such an approach when learning from input-output examples, and build a pragmatic program synthesizer over a simple grid-like layout domain. A user study finds that end-user participants communicate more effectively with the pragmatic program synthesizer over a non-pragmatic one.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). First posted on arXiv 9 Jul 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 4; 2024: 2; 2025: 2; 2026: 1.
15 papers.
Sort:
By area:
- 2021Communicating Natural Programs to Humans and Machinescited by 35
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2022I Cast Detect Thoughts: Learning to Converse and Guide with Intents and Theory-of-Mind in Dungeons and Dragonscited by 22
- 2023Human-like Few-Shot Learning via Bayesian Reasoning over Natural Languagecited by 22
- 2022Pragmatics in Language Grounding: Phenomena, Tasks, and Modeling Approachescited by 12
- 2022Toward Trustworthy Neural Program Synthesiscited by 11
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programscited by 7
- 2023Generating Pragmatic Examples to Train Neural Program Synthesizerscited by 5
- 2022Efficient Pragmatic Program Synthesis with Informative Specificationscited by 3
- 2024Amortizing Pragmatic Program Synthesis with Rankingscited by 3
- 2024Sketching With Your Voice: "Non-Phonorealistic" Rendering of Sounds via Vocal Imitationcited by 1
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generationcited by 1
3 more
- 2026Online library learning in human visual puzzle solving24 Mar 2026
- 2025Natural Building Blocks for Structured World Models: Theory, Evidence, and Scaling3 Nov 2025
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generation10 Oct 2025
- 2024Sketching With Your Voice: "Non-Phonorealistic" Rendering of Sounds via Vocal Imitation20 Sep 2024
- 2024Amortizing Pragmatic Program Synthesis with Rankings1 Jun 2024
- 2023Generating Pragmatic Examples to Train Neural Program Synthesizers9 Nov 2023
- 2023Amortizing Pragmatic Program Synthesis with Rankings1 Sep 2023
- 2023Human-like Few-Shot Learning via Bayesian Reasoning over Natural Language5 Jun 2023
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Models24 Jan 2023
- 2022I Cast Detect Thoughts: Learning to Converse and Guide with Intents and Theory-of-Mind in Dungeons and Dragons20 Dec 2022
- 2022Pragmatics in Language Grounding: Phenomena, Tasks, and Modeling Approaches15 Nov 2022
- 2022Toward Trustworthy Neural Program Synthesis29 Sep 2022
3 more
- 2021Communicating Natural Programs to Humans and Machinescited by 35
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Modelscited by 34
- 2022I Cast Detect Thoughts: Learning to Converse and Guide with Intents and Theory-of-Mind in Dungeons and Dragonscited by 22
- 2022Pragmatics in Language Grounding: Phenomena, Tasks, and Modeling Approachescited by 12
- 2022Toward Trustworthy Neural Program Synthesiscited by 11
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programscited by 7
- 2023Generating Pragmatic Examples to Train Neural Program Synthesizerscited by 5
- 2022Efficient Pragmatic Program Synthesis with Informative Specificationscited by 3
- 2024Amortizing Pragmatic Program Synthesis with Rankingscited by 3
- 2024Sketching With Your Voice: "Non-Phonorealistic" Rendering of Sounds via Vocal Imitationcited by 1
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generationcited by 1
- 2026Online library learning in human visual puzzle solvingcited by 1
12 most cited of 13 All 13 (JSON)
- 2026Online library learning in human visual puzzle solving24 Mar 2026
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generation10 Oct 2025
- 2024Sketching With Your Voice: "Non-Phonorealistic" Rendering of Sounds via Vocal Imitation20 Sep 2024
- 2024Amortizing Pragmatic Program Synthesis with Rankings1 Jun 2024
- 2023Generating Pragmatic Examples to Train Neural Program Synthesizers9 Nov 2023
- 2023Amortizing Pragmatic Program Synthesis with Rankings1 Sep 2023
- 2023Generating High-Precision Feedback for Programming Syntax Errors using Large Language Models24 Jan 2023
- 2022I Cast Detect Thoughts: Learning to Converse and Guide with Intents and Theory-of-Mind in Dungeons and Dragons20 Dec 2022
- 2022Pragmatics in Language Grounding: Phenomena, Tasks, and Modeling Approaches15 Nov 2022
- 2022Toward Trustworthy Neural Program Synthesis29 Sep 2022
- 2022Efficient Pragmatic Program Synthesis with Informative Specifications5 Apr 2022
- 2021Transcribing Natural Languages for The Deaf via Neural Editing Programs17 Dec 2021
12 newest of 13 All 13 (JSON)