paper-with-me

홈 › Papers

Type-driven Neural Programming by Example

2020-08-28 · NeurIPS Workshop CAP 2020 12 · Kiara Grouwstra

In this thesis we look into programming by example (PBE), which is about finding a program mapping given inputs to given outputs. PBE has traditionally seen a split between formal versus neural approaches, where formal approaches typically involve deductive techniques such as SAT solvers and types, while the neural approaches involve training on sample input-outputs with their corresponding program, typically using sequence-based machine learning techniques such as LSTMs [41]. As a result of this split, programming types had yet to be used in neural program synthesis techniques. We propose a way to incorporate programming types into a neural program synthesis approach for PBE. We introduce the Typed Neuro-Symbolic Program Synthesis (TNSPS) method based on this idea, and test it in the functional programming context to empirically verify type information may help improve generalization in neural synthesizers on limited-size datasets. Our TNSPS model builds upon the existing Neuro-Symbolic Program Synthesis (NSPS), a tree-based neural synthesizer combining info from input-output examples plus the current program, by further exposing information on types of those input-output examples, of the grammar production rules, as well as of the hole that we wish to expand in the program. We further explain how we generated a dataset within our domain, which uses a limited subset of Haskell as the synthesis language. Finally we discuss several topics of interest that may help take these ideas further. For reproducibility, we release our code publicly.

📄 PDF Abstract BibTeX arXiv:2008.12613

Code (0)

등록된 구현이 없습니다.

Tasks

Program SynthesisVocal Bursts Type Prediction

Methods 이 논문이 사용한 방법론

INFO This study presents the analysis and principle of an innovative optimizer named weIghted meaN oF vectOrs (INFO) to optimize different problems. INFO is a modified weight mean…

Similar Papers 제목 키워드 기반

Hailstorm : A Statically-Typed, Purely Functional Language for IoT Applications

2021-05-27 · Abhiroop Sarkar, Mary Sheeran

With the growing ubiquity of Internet of Things(IoT), more complex logic is being programmed on resource-constrained IoT devices, almost exclusively using the C programming language. While C provides low-level control ov…

Management

Human-AI Co-Creation of Worked Examples for Programming Classes

2024-02-26 · Mohammad Hassany, Peter Brusilovsky, Jiaze Ke, Kamil Akhuseyinoglu 외

Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning conten…

Authoring Worked Examples for Java Programming with Human-AI Collaboration

2023-12-04 · Mohammad Hassany, Peter Brusilovsky, Jiaze Ke, Kamil Akhuseyinoglu 외

Worked examples (solutions to typical programming problems presented as a source code in a certain language and are used to explain the topics from a programming class) are among the most popular types of learning conten…

Data-driven Sequential Monte Carlo in Probabilistic Programming

2015-12-14 · Yura N. Perov, Tuan Anh Le, Frank Wood

Most of Markov Chain Monte Carlo (MCMC) and sequential Monte Carlo (SMC) algorithms in existing probabilistic programming systems suboptimally use only model priors as proposal distributions. In this work, we describe an…

Probabilistic Programming

Differentiable Functional Program Interpreters

2016-11-07 · John K. Feser, Marc Brockschmidt, Alexander L. Gaunt, Daniel Tarlow

Programming by Example (PBE) is the task of inducing computer programs from input-output examples. It can be seen as a type of machine learning where the hypothesis space is the set of legal programs in some programming …

Program Synthesis