State-Space Constraints Can Improve the Generalisation of the Differentiable Neural Computer to Input Sequences With Unseen Length
Not on the map. Why?
Abstract (arXiv)
Memory-augmented neural networks (MANNs) can perform algorithmic tasks such as sorting. However, they often fail to generalise to input sequence lengths not encountered during training. We introduce two approaches that constrain the state space of the MANN's controller network: state compression and state regularisation. We empirically demonstrated that both approaches can improve generalisation to input sequences of out-of-distribution lengths for a specific type of MANN: the differentiable neural computer (DNC). The constrained DNC could process input sequences that were up to 2.3 times longer than those processed by an unconstrained baseline controller network. Notably, the applied constraints enabled the extension of the DNC's memory matrix without the need for retraining and thus allowed the processing of input sequences that were 10.4 times longer. However, the improvements were not consistent across all tested algorithmic tasks. Interestingly, solutions that performed better often had a highly structured state space, characterised by state trajectories exhibiting increased curvature and loop-like patterns. Our experimental work demonstrates that state-space constraints can enable the training of a DNC using shorter input sequences, thereby saving computational resources and facilitating training when acquiring long sequences is costly.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 31 of its 57 references that are in the map. First posted on arXiv 18 Oct 2021.
Builds on
31 of 57 references.
References · 31
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
- 2015Pointer Networkscited by 895
- 2014Neural Turing Machinescited by 644
- 2020How Neural Networks Extrapolate: From Feedforward to Graph Neural Networkscited by 222
- 2019Recurrent Independent Mechanismscited by 219
- 2019What Can Neural Networks Reason About?cited by 159
- 2015Neural GPUs Learn Algorithmscited by 121
- 2019Neural Execution of Graph Algorithmscited by 121
- 2014Learning to Executecited by 106
- 2015Neural Programmer-Interpreterscited by 101
19 more
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2018Relational recurrent neural networkscited by 65
- 2021The Neural Data Router: Adaptive Control Flow in Transformers Improves Systematic Generalizationcited by 62
- 2020Neural Execution Engines: Learning to Execute Subroutinescited by 36
- 2017Making Neural Programming Architectures Generalize via Recursioncited by 35
- 2015Neural Random-Access Machinescited by 34
- 2019Memory-Augmented Recurrent Neural Networks Can Learn Generalized Dyck Languagescited by 31
- 2016Scaling Memory-Augmented Neural Networks with Sparse Reads and Writescited by 28
- 2020Neural Arithmetic Unitscited by 28
- 2019Neural Stored-program Memorycited by 14
- 2019Improving Differentiable Neural Computers Through Memory Masking, De-allocation, and Link Distribution Sharpness Controlcited by 9
- 2019Multigrid Neural Memorycited by 7
- 2020Neurocoder: Learning General-Purpose Computation Using Stored Neural Programscited by 6
- 2018A Taxonomy for Neural Memory Networkscited by 5
- 2018Implementing Neural Turing Machinescited by 4
- 2018Robust and Scalable Differentiable Neural Computer for Question Answeringcited by 3
- 2020Reservoir Memory Machines as Neural Computerscited by 3
- 2016Lie-Access Neural Turing Machinescited by 2
- 2018Partially Non-Recurrent Controllers for Memory-Augmented Neural Networkscited by 1
Built on by
Citing papers per year: 2024: 1.
1 paper.
- 2024DNCs Require More Planning Stepscited by 0
- 2024DNCs Require More Planning Steps4 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2025Memory Determines Learning Direction: A Theory of Gradient-Based Optimization in State Space Models
- 2023State-space Models with Layer-wise Nonlinearity are Universal Approximators with Exponential Decaying Memory
- 2024Mathematical Formalism for Memory Compression in Selective State Space Models
- 2025Understanding and Improving Length Generalization in Recurrent Models
- 2022Learning neural state-space models: do we need a state estimator?
- 2024State Space Models as Foundation Models: A Control Theoretic Overview
- 2026Length-Independent State Tracking Under a Parallel Scan
- 2025Advancing Intelligent Sequence Modeling: Evolution, Trade-offs, and Applications of State-Space Architectures from S4 to Mamba