arXivPreprintOpen accesscs.LG

Learning infinite context windows in recurrent architectures via spatial neural computing

Aleix Salvador-Pomarol, Arthur N. Montanari, Earl K. Miller, Adilson E. Motter, Jorge Cort\'es

Computational

Key points

From the paper's conclusion
  • The authors introduced a second-order recurrent model using spatially evolving fields governed by discretized partial differential equations to address the limitations of RNNs in capturing long-range dependencies.
  • The model outperforms other recurrent models on long-horizon benchmarks while using substantially fewer parameters, demonstrating an effectively unbounded receptive field with a fixed number of parameters.
  • The proposed architecture shows that spatial dynamics can effectively bridge the gap between efficient inference and long-term memory.

Abstract

Recurrent neural networks (RNNs) offer linear-time scaling with sequence length while requiring only constant memory, yet they struggle to capture long-range dependencies due to vanishing gradients and limited receptive fields. To address these limitations, we introduce a second-order recurrent model in which the standard neuron-to-neuron communication is replaced by a spatially evolving field governed by (discretized) partial differential equations. Drawing inspiration from the role of cortical waves in brain computation, this mechanism allows structured spatiotemporal patterns to serve as an implicit, high-capacity memory. We show that the resulting model is equivalent to a structured infinite-order RNN in which the current state depends explicitly on its entire history of past states, yielding an effectively unbounded receptive field with a fixed number of parameters. We further derive constructive conditions to ensure marginal stability, constraining the gradient spectrum on the unit circle and thereby eliminating vanishing and exploding gradients. Empirically, the proposed architecture outperforms other recurrent models on long-horizon benchmarks while using substantially fewer parameters, demonstrating that spatial dynamics can effectively bridge the gap between efficient inference and long-term memory.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • The authors introduced a second-order recurrent model using spatially evolving fields governed by discretized partial differential equations to address the limitations of RNNs in capturing long-range dependencies.
  • The model outperforms other recurrent models on long-horizon benchmarks while using substantially fewer parameters, demonstrating an effectively unbounded receptive field with a fixed number of parameters.
  • The proposed architecture shows that spatial dynamics can effectively bridge the gap between efficient inference and long-term memory.

Readers' thoughts

No reader thoughts yet.

Related papers