Amortizing Pragmatic Program Synthesis with Rankings
Not on the map. Why?
Abstract (arXiv)
The usage of Rational Speech Acts (RSA) framework has been successful in building pragmatic program synthesizers that return programs which, in addition to being logically consistent with user-generated examples, account for the fact that a user chooses their examples informatively. We present a general method of amortizing the slow, exact RSA synthesizer. Our method first query the exact RSA synthesizer to compile a communication dataset. The dataset contains a number of example-dependent rankings of subsets of programs. It then distills a textitsingle global ranking of all programs as an approximation to every ranking in the dataset. This global ranking is then used at inference time to rank multiple logically consistent candidate programs generated from a fast, non-pragmatic synthesizer. Experiments on two program synthesis domains using our ranking method resulted in orders of magnitudes of speed ups compared to the exact RSA synthesizer, while being more accurate than a non-pragmatic synthesizer when communicating with humans. Finally, we prove that in the special case of synthesis from a single example, this approximation is exact.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 19 of its 40 references that are in the map. First posted on arXiv 1 Jun 2024.
Builds on
19 of 40 references.
References · 19
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2018Speaker-Follower Models for Vision-and-Language Navigationcited by 337
- 2016DeepCoder: Learning to Write Programscited by 145
- 2016Reasoning About Pragmatics with Neural Listeners and Speakerscited by 68
- 2017Colors in Context: A Pragmatic Neural Model for Grounded Language Understandingcited by 57
- 2017Unified Pragmatic Models for Generating and Following Instructionscited by 55
- 2022Inferring Rewards from Language in Contextcited by 50
- 2018Pragmatically Informative Image Captioning with Character-Level Inferencecited by 42
- 2019A mathematical theory of cooperative communicationcited by 23
- 2015Learning in the Rational Speech Acts Modelcited by 16
7 more
- 2020Program Synthesis with Pragmatic Communicationcited by 15
- 2021Reference-Centric Models for Grounded Collaborative Dialoguecited by 15
- 2018An Incremental Iterated Response Model of Pragmaticscited by 11
- 2018Neural Program Search: Solving Programming Tasks from Description and Examplescited by 10
- 2023Generating Pragmatic Examples to Train Neural Program Synthesizerscited by 5
- 2023The Usability of Pragmatic Communication in Regular Expression Synthesiscited by 4
- 2022Efficient Pragmatic Program Synthesis with Informative Specificationscited by 3
Built on by
Citing papers per year: 2024: 1; 2025: 2.
3 papers.
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generationcited by 1
- 2025Direct Preference Optimization for Adaptive Concept-based Explanationscited by 0
- 2025Identifying & Interactively Refining Ambiguous User Goals for Data Visualization Code Generation10 Oct 2025
- 2025Direct Preference Optimization for Adaptive Concept-based Explanations21 May 2025
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructions22 Jun 2024