Strong Generalization and Efficiency in Neural Programs
원문 초록
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.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
Searching Latent Program Spaces
LLM-SR: Scientific Equation Discovery via Programming with Large Language Models
KB-Plugin: A Plug-and-play Framework for Large Language Models to Induce Programs over Low-resourced Knowledge Bases
Learning Differentiable Logic Programs for Abstract Visual Reasoning
Using Natural Language and Program Abstractions to Instill Human Inductive Biases in Machines
ArcaneQA: Dynamic Program Induction and Contextualized Encoding for Knowledge Base Question Answering
토론
이 논문과 연결된 포럼 글이 아직 없습니다.