Neural Program Synthesis with Query
Di Huang, Rui Zhang, Xing Hu, Xishan Zhang, Pengwei Jin, Nan Li,, Zidong Du, Qi Guo, Yunji Chen

TL;DR
This paper introduces a query-based neural program synthesis framework that automatically generates informative input-output examples to improve program learning, outperforming traditional methods relying on well-designed examples.
Contribution
It proposes a novel query neural network framework utilizing mutual information and a functional space to generate effective input-output examples for program synthesis.
Findings
The framework effectively generates informative examples that improve synthesis performance.
It outperforms methods using manually designed input-output examples.
Demonstrates strong generalization on Karel and list processing tasks.
Abstract
Aiming to find a program satisfying the user intent given input-output examples, program synthesis has attracted increasing interest in the area of machine learning. Despite the promising performance of existing methods, most of their success comes from the privileged information of well-designed input-output examples. However, providing such input-output examples is unrealistic because it requires the users to have the ability to describe the underlying program with a few input-output examples under the training distribution. In this work, we propose a query-based framework that trains a query neural network to generate informative input-output examples automatically and interactively from a large query space. The quality of the query depends on the amount of the mutual information between the query and the corresponding program, which can guide the optimization of the query framework.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsMachine Learning and Data Classification · Advanced Neural Network Applications · Adversarial Robustness in Machine Learning
