Self-attention encodes where a past token lies, but not how its uncertainty grows with time: evidence accumulates without bound as the context grows, and nothing indicates which tokens are safe to discard. We introduce Dynamical Kernel Attention (DKA), which derives attention from robust estimation of a latent state governed by a stochastic differential equation. Under this model, each head draws bounded evidence from any context. This lets each head abstain when relevant evidence is weak, and gives each head a memory window outside which discarding tokens changes its output by a provably bounded amount. On language modeling, DKA outperforms RoPE within the training length and ALiBi far beyond it, and matches sliding-window attention with a substantially smaller key-value cache.
We introduce Robust Filter Attention (RFA), a formulation of self-attention as a robust state estimator. Each token is treated as a noisy observation of a latent trajectory governed by a linear stochastic differential equation (SDE), and attention weights are determined by consistency under this model rather than static feature similarity. Under isotropic noise and decay assumptions, RFA matches the computational complexity of standard attention. On language modeling benchmarks, RFA matches or improves on RoPE's perplexity within the training window while remaining stable under zero-shot extrapolation to longer contexts, where RoPE degrades sharply. The framework also provides a dynamical interpretation of standard positional mechanisms, connecting rotational embeddings and recency biases to transport and uncertainty propagation induced by dynamics.