mlsanityData to 7 Oct 2026

Amortizing Pragmatic Program Synthesis with Rankings

arXiv 2309.03225 ↗First posted 1 Sep 2023cs.PL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

In program synthesis, an intelligent system takes in a set of user-generated examples and returns a program that is logically consistent with these examples. 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 -- account for the fact that a user chooses their examples informatively. However, the computational burden of running the RSA algorithm has restricted the application of pragmatic program synthesis to domains with a small number of possible programs. This work presents a novel method of amortizing the RSA algorithm by leveraging a global pragmatic ranking -- a single, total ordering of all the hypotheses. We prove that for a pragmatic synthesizer that uses a single demonstration, our global ranking method exactly replicates RSA's ranked responses. We further empirically show that global rankings effectively approximate the full pragmatic synthesizer in an online, multi-demonstration setting. Experiments on two program synthesis domains using our pragmatic ranking method resulted in orders of magnitudes of speed ups compared to the RSA synthesizer, while outperforming the standard, non-pragmatic synthesizer.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 40 references that are in the map. First posted on arXiv 1 Sep 2023.

Builds on

18 of 40 references.

References · 18

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  2. 2017Deep reinforcement learning from human preferencescited by 3,846
  3. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  4. 2018Speaker-Follower Models for Vision-and-Language Navigationcited by 337
  5. 2016DeepCoder: Learning to Write Programscited by 145
  6. 2016Reasoning About Pragmatics with Neural Listeners and Speakerscited by 68
  7. 2017Colors in Context: A Pragmatic Neural Model for Grounded Language Understandingcited by 57
  8. 2017Unified Pragmatic Models for Generating and Following Instructionscited by 55
  9. 2022Inferring Rewards from Language in Contextcited by 50
  10. 2018Pragmatically Informative Image Captioning with Character-Level Inferencecited by 42
  11. 2019A mathematical theory of cooperative communicationcited by 23
  12. 2015Learning in the Rational Speech Acts Modelcited by 16
6 more
  1. 2020Program Synthesis with Pragmatic Communicationcited by 15
  2. 2021Reference-Centric Models for Grounded Collaborative Dialoguecited by 15
  3. 2018An Incremental Iterated Response Model of Pragmaticscited by 11
  4. 2018Neural Program Search: Solving Programming Tasks from Description and Examplescited by 10
  5. 2023The Usability of Pragmatic Communication in Regular Expression Synthesiscited by 4
  6. 2022Efficient Pragmatic Program Synthesis with Informative Specificationscited by 3

Built on by

Not cited yet.