about
Compositional Generalization via Neural-Symbolic Stack Machines (arxiv.org)
2 points by brzozowski on Aug 18, 2020 | hide | past | pdf | discuss on HN

In plain words: A neural network writes step-by-step instructions that a stack-based symbolic machine then runs, letting it reuse rules in new combinations without being shown the steps during training. It hit 100% accuracy on compositional tasks from navigation commands to grammar parsing.

Abstract

Despite achieving tremendous success, existing deep learning models have exposed limitations in compositional generalization, the capability to learn compositional rules and apply them to unseen cases in a systematic manner. To tackle this issue, we propose the Neural-Symbolic Stack Machine (NeSS). It contains a neural network to generate traces, which are then executed by a symbolic stack machine enhanced with sequence manipulation operations. NeSS combines the expressive power of neural sequence models with the recursion supported by the symbolic stack machine. Without training supervision on execution traces, NeSS achieves 100% generalization performance in four domains: the SCAN benchmark of language-driven navigation tasks, the task of few-shot learning of compositional instructions, the compositional machine translation benchmark, and context-free grammar parsing tasks.

Xinyun Chen, Chen Liang, Adams Wei Yu, Dawn Song, Denny Zhou
arXiv:2008.06662 · cs.LG, cs.AI, stat.ML · submitted Aug 15, 2020 · updated Oct 22, 2020
abstract · pdf · html · Published in NeurIPS 2020

add comment on HN