paper-with-me

Papers

Efficient Pragmatic Program Synthesis with Informative Specifications

2022-04-05 · Saujas Vaduguru, Kevin Ellis, Yewen Pu

Providing examples is one of the most common way for end-users to interact with program synthesizers. However, program synthesis systems assume that examples consistent with the program are chosen at random, and do not exploit the fact that users choose examples pragmatically. Prior work modeled program synthesis as pragmatic communication, but required an inefficient enumeration of the entire program space. In this paper, we show that it is possible to build a program synthesizer that is both pragmatic and efficient by approximating the joint distribution of programs with a product of independent factors, and performing pragmatic inference on each factor separately. This factored distribution approximates the exact joint distribution well when the examples are given pragmatically, and is compatible with a basic neuro-symbolic program synthesis algorithm. Surprisingly, we find that the synthesizer assuming a factored approximation performs better than a synthesizer assuming an exact joint distribution when evaluated on natural human inputs. This suggests that humans may be assuming a factored distribution while communicating programs.

📄 PDF Abstract BibTeX arXiv:2204.02495

Code (0)

등록된 구현이 없습니다.

Tasks

Program Synthesis

Similar Papers 제목 키워드 기반

Program Synthesis with Pragmatic Communication

2020-07-09 · NeurIPS 2020 12 · Yewen Pu, Kevin Ellis, Marta Kryven, Josh Tenenbaum 외

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 radical…

Inductive BiasProgram Synthesis

Amortizing Pragmatic Program Synthesis with Rankings

2023-09-01 · Yewen Pu, Saujas Vaduguru, Priyan Vaithilingam, Elena Glassman 외

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 suc…

Program Synthesis

Amortizing Pragmatic Program Synthesis with Rankings

2024-06-01 · Yewen Pu, Saujas Vaduguru, Priyan Vaithilingam, Elena Glassman 외

The usage of Rational Speech Acts (RSA) framework has been successful in building \emph{pragmatic} program synthesizers that return programs which, in addition to being logically consistent with user-generated examples, …

Program Synthesis

Generating Pragmatic Examples to Train Neural Program Synthesizers

2023-11-09 · Saujas Vaduguru, Daniel Fried, Yewen Pu

Programming-by-example is the task of synthesizing a program that is consistent with a set of user-provided input-output examples. As examples are often an under-specification of one's intent, a good synthesizer must cho…

counterfactualCounterfactual ReasoningProgram Synthesis

Towards Neural-Guided Program Synthesis for Linear Temporal Logic Specifications

2019-12-31 · Alberto Camacho, Sheila A. McIlraith

Synthesizing a program that realizes a logical specification is a classical problem in computer science. We examine a particular type of program synthesis, where the objective is to synthesize a strategy that reacts to a…

Program Synthesis