paper-with-me

홈 › Papers

Learning compositional programs with arguments and sampling

2021-09-01 · NeurIPS Workshop AIPLANS 2021 12 · Giovanni De Toni, Luca Erculiani, Andrea Passerini

One of the most challenging goals in designing intelligent systems is empowering them with the ability to synthesize programs from data. Namely, given specific requirements in the form of input/output pairs, the goal is to train a machine learning model to discover a program that satisfies those requirements. A recent class of methods exploits combinatorial search procedures and deep learning to learn compositional programs. However, they usually generate only toy programs using a domain-specific language that does not provide any high-level feature, such as function arguments, which reduces their applicability in real-world settings. We extend upon a state of the art model, AlphaNPI, by learning to generate functions that can accept arguments. This improvement will enable us to move closer to real computer programs. Moreover, we investigate employing an Approximate version of Monte Carlo Tree Search (A-MCTS) to speed up convergence. We showcase the potential of our approach by learning the Quicksort algorithm, showing how the ability to deal with arguments is crucial for learning and generalization.

📄 PDF Abstract BibTeX arXiv:2109.00619

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

From Frege to chatGPT: Compositionality in language, cognition, and deep neural networks

2024-05-24 · Jacob Russin, Sam Whitman McGrath, Danielle J. Williams, Lotem Elber-Dorozko

Compositionality has long been considered a key explanatory property underlying human intelligence: arbitrary concepts can be composed into novel complex combinations, permitting the acquisition of an open ended, potenti…

Philosophy

Improving Compositional Generalization in Semantic Parsing

2020-10-12 · Findings of the Association for Computational Linguistics 2020 · Inbar Oren, Jonathan Herzig, Nitish Gupta, Matt Gardner 외

Generalization of models to out-of-distribution (OOD) data has captured tremendous attention recently. Specifically, compositional generalization, i.e., whether a model generalizes to new structures built of components o…

DecoderSemantic Parsing

Recursive Neural Programs: Variational Learning of Image Grammars and Part-Whole Hierarchies

2022-06-16 · Ares Fisher, Rajesh P. N. Rao

Human vision involves parsing and representing objects and scenes using structured representations based on part-whole hierarchies. Computer vision and machine learning researchers have recently sought to emulate this ca…

Transfer Learning

NL2Scratch: An Executable Benchmark and Evaluation for Block-Based Programming

2026-06-20 · Heejin Do, Alexandre Ballenghien, Yang Wu, April Yi Wang arxiv

Block-based programming environments such as Scratch are widely used in early programming education, yet natural-language-to-code (NL2Code) research has focused primarily on text-based languages. Scratch programs are eve…

A Study of Compositional Generalization in Neural Models

2020-06-16 · Tim Klinger, Dhaval Adjodah, Vincent Marois, Josh Joseph 외

Compositional and relational learning is a hallmark of human intelligence, but one which presents challenges for neural models. One difficulty in the development of such models is the lack of benchmarks with clear compos…

image-classificationImage ClassificationRelational Reasoning