TL;DR
This paper introduces Neural Language Interpreter (NLI), a neural architecture that learns a discrete, symbolic-like programming language end-to-end, enabling compositional generalization and test-time adaptation for complex program synthesis tasks.
Contribution
The paper presents NLI, a novel neural model that learns and interprets a discrete language with differentiable execution, combining symbolic compositionality with gradient-based training and adaptation.
Findings
NLI outperforms existing methods on tasks requiring compositional generalization.
NLI enables efficient test-time program refinement via gradient descent.
The model successfully learns a primitive vocabulary and interprets variable-length sequences.
Abstract
A central challenge in program induction has long been the trade-off between symbolic and neural approaches. Symbolic methods offer compositional generalisation and data efficiency, yet their scalability is constrained by formalisms such as domain-specific languages (DSLs), which are labour-intensive to create and may not transfer to new domains. In contrast, neural networks flexibly learn from data but tend to generalise poorly in compositional and out-of-distribution settings. We bridge this divide with an instance of a Latent Adaptation Network architecture named Neural Language Interpreter (NLI), which learns its own discrete, symbolic-like programming language end-to-end. NLI autonomously discovers a vocabulary of primitive operations and uses a novel differentiable neural executor to interpret variable-length sequences of these primitives. This allows NLI to represent programs…
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
