paper-with-me

Papers

Program Synthesis with Pragmatic Communication

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

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.

📄 PDF Abstract BibTeX arXiv:2007.05060

Code (0)

등록된 구현이 없습니다.

Tasks

Inductive BiasProgram Synthesis

Similar 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 e…

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

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

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

Modeling Cross-Cultural Pragmatic Inference with Codenames Duet

2023-06-04 · Omar Shaikh, Caleb Ziems, William Held, Aryan J. Pariani 외

Pragmatic reference enables efficient interpersonal communication. Prior work uses simple reference games to test models of pragmatic reasoning, often with unidentified speakers and listeners. In practice, however, speak…