Neural Sequence-to-grid Module for Learning Symbolic Rules
Not on the map. Why?
Abstract (arXiv)
Logical reasoning tasks over symbols, such as learning arithmetic operations and computer program evaluations, have become challenges to deep learning. In particular, even state-of-the-art neural networks fail to achieve textitout-of-distribution (OOD) generalization of symbolic reasoning tasks, whereas humans can easily extend learned symbolic rules. To resolve this difficulty, we propose a neural sequence-to-grid (seq2grid) module, an input preprocessor that automatically segments and aligns an input sequence into a grid. As our module outputs a grid via a novel differentiable mapping, any neural network structure taking a grid input, such as ResNet or TextCNN, can be jointly trained with our module in an end-to-end fashion. Extensive experiments show that neural networks having our module as an input preprocessor achieve OOD generalization on various arithmetic and algorithmic problems including number sequence prediction problems, algebraic word problems, and computer program evaluation problems while other state-of-the-art sequence transduction models cannot. Moreover, we verify that our module enhances TextCNN to solve the bAbI QA tasks without external memory.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 26 of its 36 references that are in the map. First posted on arXiv 13 Jan 2021.
Builds on
26 of 36 references.
References · 26
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2014Neural Turing Machinescited by 630
- 2018Universal Transformerscited by 613
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
- 2015Towards AI-Complete Question Answering: A Set of Prerequisite Toy Taskscited by 309
- 2019Measuring Compositional Generalization: A Comprehensive Method on Realistic Datacited by 280
14 more
- 2019Deep Learning for Symbolic Mathematicscited by 266
- 2015Neural GPUs Learn Algorithmscited by 118
- 2014Learning to Executecited by 105
- 2015Neural Programmer-Interpreterscited by 96
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2018Neural Arithmetic Logic Unitscited by 69
- 2018Relational recurrent neural networkscited by 65
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2019Metalearned Neural Memorycited by 44
- 2017Making Neural Programming Architectures Generalize via Recursioncited by 35
- 2016Scaling Memory-Augmented Neural Networks with Sparse Reads and Writescited by 28
- 2015Grid Long Short-Term Memorycited by 19
- 2018Number Sequence Prediction Problems for Evaluating Computational Powers of Neural Networkscited by 6
- 2018Attending to Mathematical Language with Transformerscited by 3
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 3.
5 papers.
- 2021A comparison of LSTM and GRU networks for learning symbolic sequencescited by 24
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning modelscited by 18
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representationcited by 7
- 2023Learning to Compute Gr"obner Basescited by 7
- 2023Neural Attention Memorycited by 1
- 2023Learning to Compute Gr"obner Bases21 Nov 2023
- 2023Can neural networks do arithmetic? A survey on the elementary numerical skills of state-of-the-art deep learning models14 Mar 2023
- 2023Neural Attention Memory18 Feb 2023
- 2022Transformers discover an elementary calculation system exploiting local attention and grid-like problem representation6 Jul 2022
- 2021A comparison of LSTM and GRU networks for learning symbolic sequences5 Jul 2021