paper-with-me

Papers

Strong Generalization and Efficiency in Neural Programs

2020-07-07 · Yujia Li, Felix Gimeno, Pushmeet Kohli, Oriol Vinyals

We study the problem of learning efficient algorithms that strongly generalize in the framework of neural program induction. By carefully designing the input / output interfaces of the neural model and through imitation, we are able to learn models that produce correct results for arbitrary input sizes, achieving strong generalization. Moreover, by using reinforcement learning, we optimize for program efficiency metrics, and discover new algorithms that surpass the teacher used in imitation. With this, our approach can learn to outperform custom-written solutions for a variety of problems, as we tested it on sorting, searching in ordered lists and the NP-complete 0/1 knapsack problem, which sets a notable milestone in the field of Neural Program Induction. As highlights, our learned model can perform sorting perfectly on any input data size we tested on, with $O(n log n)$ complexity, whilst outperforming hand-coded algorithms, including quick sort, in number of operations even for list sizes far beyond those seen during training.

📄 PDF Abstract BibTeX arXiv:2007.03629

Code (1)

hardbyte/sorting-gym

Tasks

Program induction

Similar Papers 제목 키워드 기반

Value-Agnostic Conversational Semantic Parsing

2021-08-01 · ACL 2021 5 · Emmanouil Antonios Platanios, Adam Pauls, Subhro Roy, Yuchen Zhang 외

Conversational semantic parsers map user utterances to executable programs given dialogue histories composed of previous utterances, programs, and system responses. Existing parsers typically condition on rich representa…

Computational EfficiencySemantic Parsing

Evaluating the Generalization Capabilities of Large Language Models on Code Reasoning

2025-04-07 · Rem Yang, Julian Dai, Nikos Vasilakis, Martin Rinard

We assess how the code reasoning abilities of large language models (LLMs) generalize to different kinds of programs. We present techniques for obtaining in- and out-of-distribution programs with different characteristic…

Leveraging Language to Learn Program Abstractions and Search Heuristics

2021-06-18 · Catherine Wong, Kevin Ellis, Joshua B. Tenenbaum, Jacob Andreas

Inductive program synthesis, or inferring programs from examples of desired behavior, offers a general paradigm for building interpretable, robust, and generalizable machine learning systems. Effective program synthesis …

Program Synthesis

E-MAPP: Efficient Multi-Agent Reinforcement Learning with Parallel Program Guidance

2022-12-05 · Can Chang, Ni Mu, Jiajun Wu, Ling Pan 외

A critical challenge in multi-agent reinforcement learning(MARL) is for multiple agents to efficiently accomplish complex, long-horizon tasks. The agents often have difficulties in cooperating on common goals, dividing c…

Multi-agent Reinforcement Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)+1

Unfounded Sets and Well-Founded Semantics of Answer Set Programs with Aggregates

2014-01-18 · Mario Alviano, Francesco Calimeri, Wolfgang Faber, Nicola Leone 외

Logic programs with aggregates (LPA) are one of the major linguistic extensions to Logic Programming (LP). In this work, we propose a generalization of the notions of unfounded set and well-founded semantics for programs…