Delay Embedding Theory of Neural Sequence Models
Mitchell Ostrow, Adam Eisen, Ila Fiete
TL;DR
This work investigates why neural sequence models can infer unobserved dynamics by framing models as delay embeddings grounded in dynamical systems theory. By training 1-layer decoder-transformers and Linear Recurrent Unit (LRU) state-space models on next-step prediction for a noisy, partially observed Lorenz attractor, the authors quantify embedding quality using decoding accuracy, neighborhood smoothness, and unfolding metrics. They find that SSMs possess a stronger inductive bias for delay embeddings and yield better attractor reconstruction with lower dynamics-prediction error, though they can be more sensitive to observational noise; transformers can still learn viable embeddings with sufficient data. Overall, the study bridges delay embedding theory and deep learning sequence models, revealing architecture-dependent trade-offs that inform time-series forecasting and low-data regime designs, and highlighting parameter-efficiency advantages of SSMs in certain settings.
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.
