Delay Embedding Theory of Neural Sequence Models

Mitchell Ostrow, Adam Eisen, Ila Fiete
6/17/2024
cs.LGcs.NE

No confident code implementation found for this paper.

Abstract

To generate coherent responses, language models infer unobserved meaning from their input text sequence. One potential explanation for this capability arises from theories of delay embeddings in dynamical systems, which prove that unobserved variables can be recovered from the history of only a handful of observed variables. To test whether language models are effectively constructing delay embeddings, we measure the capacities of sequence models to reconstruct unobserved dynamics. We trained 1-layer transformer decoders and state-space sequence models on next-step prediction from noisy, partially-observed time series data. We found that each sequence layer can learn a viable embedding of the underlying system. However, state-space models have a stronger inductive bias than transformers-in particular, they more effectively reconstruct unobserved information at initialization, leading to more parameter-efficient models and lower error on dynamics tasks. Our work thus forges a novel connection between dynamical systems and deep learning sequence models via delay embedding theory.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ostrow2024delay,
  title  = {Delay Embedding Theory of Neural Sequence Models},
  author = {Mitchell Ostrow and Adam Eisen and Ila Fiete},
  year   = {2024},
  eprint = {2406.11993},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11993v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.11993.svg)](https://codeofpaper.com/paper/2406.11993)

Discussion