Skip to main content
QUICK REVIEW

[Paper Review] Lie Access Neural Turing Machine

Greg Yang|arXiv (Cornell University)|Feb 28, 2016
Neural Networks and ApplicationsComputer Science27 references14 citations
TL;DR

This paper introduces the Lie Access Neural Turing Machine (LANTM), a novel external memory mechanism that generalizes traditional Turing machine operations by enabling memory access via Lie group actions on a continuous Euclidean key space ℝⁿ, allowing both random access and smooth, structured navigation. The LANTM with an InvNorm weight scheme significantly outperformed LSTM baselines, generalizing nearly perfectly to 17–32 digit addition tasks despite using two orders of magnitude fewer parameters.

ABSTRACT

Following the recent trend in explicit neural memory structures, we present a new design of an external memory, wherein memories are stored in an Euclidean key space $\mathbb R^n$. An LSTM controller performs read and write via specialized read and write heads. It can move a head by either providing a new address in the key space (aka random access) or moving from its previous position via a Lie group action (aka Lie access). In this way, the "L" and "R" instructions of a traditional Turing Machine are generalized to arbitrary elements of a fixed Lie group action. For this reason, we name this new model the Lie Access Neural Turing Machine, or LANTM. We tested two different configurations of LANTM against an LSTM baseline in several basic experiments. We found the right configuration of LANTM to outperform the baseline in all of our experiments. In particular, we trained LANTM on addition of $k$-digit numbers for $2 \le k \le 16$, but it was able to generalize almost perfectly to $17 \le k \le 32$, all with the number of parameters 2 orders of magnitude below the LSTM baseline.

Motivation & Objective

  • To address the limitations of standard RNNs in maintaining long-term memory by introducing a new external memory mechanism with continuous, structured access.
  • To generalize traditional Turing machine 'L' and 'R' operations to arbitrary Lie group actions on a continuous key space ℝⁿ, enabling smooth, differentiable memory navigation.
  • To evaluate whether Lie access memory improves generalization and sample efficiency in sequence modeling and algorithmic tasks compared to standard LSTM and NTM architectures.
  • To explore the theoretical and practical implications of using Riemannian manifolds like the Poincaré disk as alternative key spaces to prevent gradient instability.

Proposed method

  • The LANTM uses an LSTM controller to manage memory operations in a continuous key space ℝⁿ, where memory addresses are vectors rather than discrete integers.
  • Memory access is performed via two modes: random access (specifying a new key vector) and Lie access (applying a Lie group action to the previous key to generate a new one).
  • The Lie group action enables smooth, differentiable movement across the key space, generalizing sequential access beyond simple left/right shifts.
  • Two implementations are evaluated: one using SoftMax for weight normalization and another using InvNorm, which stabilizes gradient flow during training.
  • The model integrates external memory through a read-write subroutine that retrieves and updates memory based on attention-like mechanisms over key vectors.
  • The system is trained end-to-end via backpropagation through time, with memory states and controller parameters jointly optimized.

Experimental results

Research questions

  • RQ1Can Lie group actions on a continuous key space ℝⁿ enable more effective and generalizable memory access than discrete or random access in neural Turing machines?
  • RQ2Does the LANTM architecture outperform standard LSTMs in learning long-range dependencies and algorithmic tasks such as addition of k-digit numbers?
  • RQ3How does the choice of weight normalization (SoftMax vs. InvNorm) affect training stability and generalization in the LANTM framework?
  • RQ4Can the LANTM generalize to input lengths far beyond its training distribution, particularly in structured tasks like addition and sequence reversal?
  • RQ5To what extent can Lie access memory be extended to non-Euclidean manifolds such as the Poincaré disk to improve stability and generalization?

Key findings

  • The LANTM with the InvNorm weight scheme outperformed the LSTM baseline in all tested tasks, including addition, sequence reversal, and language modeling.
  • In the k-digit addition task, the LANTM generalized nearly perfectly to inputs of length 17–32, even though it was trained only on 2–16 digit numbers.
  • The LANTM achieved this generalization using only 1% of the parameters required by the LSTM baseline, demonstrating superior sample efficiency.
  • The SoftMax-based LANTM failed to outperform the LSTM baseline in reverse, bigramFlip, addition, and language modeling tasks, indicating instability in training.
  • The LANTM showed particular strength in structured, long-range tasks, suggesting Lie access is well-suited for problems with underlying geometric or sequential structure.
  • In less structured environments like language modeling, the LANTM did not utilize memory as effectively, indicating a need for improved memory adaptation strategies in continuous, noisy settings.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.