AIAny

Relational recurrent neural networks

Embeds multi-head self-attention inside an LSTM-style memory, so stored memories can attend to one another instead of just sitting in separate slots — sharpening relational reasoning and topping WikiText-103, Project Gutenberg, and GigaWord.

Introduction

Most memory networks treat their slots like a filing cabinet: each one holds a fact, and recall means pulling the right drawer. This paper asks a sharper question — can those stored memories reason about each other? The answer it lands on is to take the same self-attention that powered the Transformer and run it inside the recurrent state, letting memory interact with memory at every timestep. That single move reframes memory from storage into a small relational workspace.

Key Findings
  • Memories that talk to each other. The Relational Memory Core (RMC) applies multi-head dot-product attention across its own memory slots, so the network can compose relationships between remembered entities rather than read them out independently — exactly where plain LSTMs stumble.
  • Diagnosed before it fixed. The authors first show standard memory architectures genuinely fail on relational tasks (like sorting by distance), making the case that this is a real deficit, not a contrived benchmark.
  • Broad, not narrow, gains. The same module improves RL (Mini Pacman), program evaluation, and language modeling — setting new records on WikiText-103, Project Gutenberg, and GigaWord, which is unusual reach for one architectural tweak.
How It Works

Instead of attending over an external input sequence the way a Transformer does, the RMC turns attention inward: the fixed set of memory vectors attends to itself and to new inputs, updating through a gated recurrent step. It is the bridge between recurrence and attention — recurrence keeps the compressed temporal state, attention supplies the relational compute.

Great Fit / When to Skip

Great fit if you want to understand how attention migrated from the Transformer into recurrent models, or you care about relational reasoning over sequences specifically. Look elsewhere if you are after a modern long-context recipe — by 2018's standards this was strong, but pure attention-based and state-space models have since absorbed most of these gains without needing a recurrent core.

Information

  • Websitear5iv.labs.arxiv.org
  • OrganizationsDeepMind, University College London
  • AuthorsAdam Santoro, Ryan Faulkner, David Raposo, Jack Rae, Mike Chrzanowski, Theophane Weber, Daan Wierstra, Oriol Vinyals, Razvan Pascanu, Timothy Lillicrap
  • Published date2018/06/05

More Items

Builds structured knowledge graphs for retrieval-augmented generation via a multi-step GraphRAG pipeline that separates extraction from consolidation. Key features include typed two-stage extraction, DBSCAN-backed deduplication, LLM summarization, Leiden community detection, and a compact 7B extractor model (Meno-Lite-0.1).

A looped-Transformer LLM series using Mixture-of-Experts (20B with 2B active; 6B with 0.6B active) that trades extra pretraining compute for repeated looping. Shows superior compute-efficiency versus matched-compute vanilla baselines and attains gold-medal performance on 2025 IMO and IPhO after a post-training pipeline.

Specialized LLM for clinical workflows trained via a human-gated self-evolution loop to improve patient consultation, multimodal clinical reasoning, interactive diagnosis, and EHR tool use. Iteratively refines targeted synthetic and curated data based on benchmark failures to raise specific capabilities without broad regressions.