NeurIPS 2026Coming to NeurIPS in Sydney?Explore papers, orals & directions

Maelstrom Networks

Matthew Evanusa, Cornelia Fermüller, Yiannis AloimonosarXiv 2024 · DOI

Abstract

Current artificial intelligence paradigms often struggle to balance computational efficiency with the temporal continuity required for embodied agency. Transformers excel at pattern recognition but lack online processing capabilities, while Recurrent Neural Networks (RNNs) rely on biologically implausible training methods. We propose Maelstrom Networks, a modular architecture that decouples temporal memory from active learning. By utilizing an unlearned, recurrent "maelstrom" to maintain state and feed-forward networks for pattern mapping, this framework enables efficient online processing and provides a blueprint for agents with a persistent sense of "self."

Introduction

Modern AI is dominated by two primary architectures: Transformers and RNNs. While Transformers achieve state-of-the-art performance in pattern recognition, they treat data as static blocks, leading to high computational costs for long sequences and a lack of true "online" processing. Conversely, RNNs process data over time but require Backpropagation Through Time (BPTT), which is memory-intensive, prone to vanishing gradients, and biologically unrealistic.

The fundamental issue lies in the neglect of the agent as a state. In natural environments, data is not a collection of independent and identically distributed (I.I.D.) points; rather, it exists in "causal strands" where the past informs the future. Current models often lack a persistent "working memory," preventing them from functioning as embodied agents with a continuous identity.

Figure 1: Contrast between I.I.D. data points (left) and causal strands organized into sequence memory (right).

The Maelstrom Architecture

Maelstrom Networks introduce a paradigm shift inspired by control theory, reservoir computing, and early neuroscientific models. The architecture is composed of three distinct modules:

  1. Input Network: A standard feed-forward network responsible for mapping sensory inputs into control actions.
  2. The Maelstrom: A recurrently connected, "unhooked" state space. This component is intentionally unlearned. It functions as a chaotic reservoir that preserves temporal patterns through internal echoes. Because it is unlearned, gradients do not flow through it, bypassing the need for BPTT.
  3. Output Network: A feed-forward network that observes the Maelstrom's state to generate predictions or motor commands.
Figure 4: Comparison of temporal architectures, highlighting the Reservoir/Echo State model which informs the Maelstrom approach.

By separating memory (the Maelstrom) from mapping (the input/output networks), the system leverages deep learning's pattern recognition strengths without sacrificing temporal tracking.

Key Insights

Temporal Inductive Bias

AI requires a bias toward "Sequence Memory"—the recognition that data is causally organized in time. The Maelstrom provides this by echoing real-world temporal patterns within its recurrent loops.

The "Self" as a Loop

The persistent state generated by these recurrent loops, coupled with feedback to the input controller, creates a "meta-loop." This structure mimics the biological sense of a continuous "self," allowing the agent to maintain a stable identity across time.

Decoupling Learning from Memory

In this paradigm, the memory structure itself is not trained. Instead, the networks that interact with the memory are optimized. This modularity prevents "catastrophic forgetting," as new learning does not disrupt the fundamental recurrent structure of the agent's state.

Neuromorphic Synergy

The absence of gradient updates in the recurrent component makes Maelstrom Networks ideal for neuromorphic hardware. Chips like Intel’s Loihi excel at simulating neuron activations but struggle with the overhead of backpropagation, making this architecture a natural fit for next-generation, energy-efficient AI.

Conclusion and Future Directions

Maelstrom Networks offer a path toward more biologically plausible and computationally efficient AI agents. While the compact latent state of the Maelstrom may involve some information loss compared to the full-history access of Transformers, its benefits for real-time inference and embodiment are significant. Future research will focus on optimizing Maelstrom complexity, exploring unsupervised guidance of the unlearned memory via Self-Organizing Maps (SOMs), and implementing the framework on neuromorphic hardware for robotic applications.

Summary updated

Abstract

Artificial Neural Networks has struggled to devise a way to incorporate working memory into neural networks. While the ``long term'' memory can be seen as the learned weights, the working memory consists likely more of dynamical activity, that is missing from feed-forward models. Current state of the art models such as transformers tend to ``solve'' this by ignoring working memory entirely and simply process the sequence as an entire piece of data; however this means the network cannot process the sequence in an online fashion, and leads to an immense explosion in memory requirements. Here, inspired by a combination of controls, reservoir computing, deep learning, and recurrent neural networks, we offer an alternative paradigm that combines the strength of recurrent networks, with the pattern matching capability of feed-forward neural networks, which we call the \textit{Maelstrom Networks} paradigm. This paradigm leaves the recurrent component - the \textit{Maelstrom} - unlearned, and offloads the learning to a powerful feed-forward network. This allows the network to leverage the strength of feed-forward training without unrolling the network, and allows for the memory to be implemented in new neuromorphic hardware. It endows a neural network with a sequential memory that takes advantage of the inductive bias that data is organized causally in the temporal domain, and imbues the network with a state that represents the agent's ``self'', moving through the environment. This could also lead the way to continual learning, with the network modularized and ``'protected'' from overwrites that come with new data. In addition to aiding in solving these performance problems that plague current non-temporal deep networks, this also could finally lead towards endowing artificial networks with a sense of ``self''.
BibTeX
@misc{evanusa2024maelstrom,
  author = {Matthew Evanusa and Cornelia Fermüller and Yiannis Aloimonos},
  title = {{Maelstrom Networks}},
  year = {2024},
  eprint = {2408.16632},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.16632},
}
Figure