New Techniques for Sequence Prediction: Spectral Filtering and Preconditioning

Elad Hazan (Professor · Princeton; Google DeepMind), Annie Marsden

International Conference on Machine Learning 2026 · Tutorial

Overview

This talk explores foundational and theoretical methods for sequence prediction, specifically motivated by the architectures underlying modern large language models (LLMs). While transformers have dominated sequence generation, their quadratic computational bottleneck in the attention head mechanism has driven renewed interest in state space models (SSMs) and linear recurrent neural networks. Presenters Elad Hazan and Annie Marsden introduce two mathematical frameworks—spectral filtering and universal sequence preconditioning—that provide provable, efficient learning algorithms for high-dimensional, long-context dynamical systems without relying on hidden-dimension-dependent system identification.

Watch on SlidesLive

Visual summary for New Techniques for Sequence Prediction: Spectral Filtering and Preconditioning by Elad Hazan, Annie Marsden
Visual summary for New Techniques for Sequence Prediction: Spectral Filtering and Preconditioning by Elad Hazan, Annie Marsden

Key moments

  1. 0:00 Introduction to sequence prediction and spectral filtering
  2. 12:00 Mathematical formalism of linear dynamical systems
  3. 20:00 Spectral filtering algorithm and theoretical guarantees
  4. 42:00 Extension to non-linear dynamics and the Luenberger observer
  5. 60:00 Introduction to universal sequence preconditioning
  6. 72:00 Comparative analysis of learning algorithms and dynamical systems
  7. 80:00 Chebyshev polynomials and universal preconditioning proofs
  8. 96:00 Second-order methods and handling complex eigenvalues

New Techniques for Sequence Prediction: Spectral Filtering and Preconditioning

Speakers: Elad Hazan (Professor, Princeton; Google DeepMind); Annie Marsden

Conference: ICML

YouTube: https://slideslive.com/39083471

Overview

This talk explores foundational and theoretical methods for sequence prediction, specifically motivated by the architectures underlying modern large language models (LLMs). While transformers have dominated sequence generation, their quadratic computational bottleneck in the attention head mechanism has driven renewed interest in state space models (SSMs) and linear recurrent neural networks. Presenters Elad Hazan and Annie Marsden introduce two mathematical frameworks—spectral filtering and universal sequence preconditioning—that provide provable, efficient learning algorithms for high-dimensional, long-context dynamical systems without relying on hidden-dimension-dependent system identification.

The tutorial is structured around two core theoretical contributions. First, Elad Hazan presents spectral filtering, an online learning method that uses specially constructed spectral filters to capture linear and non-linear dynamics over infinite memory horizons. Second, Annie Marsden introduces universal sequence preconditioning, a generalization of classical differencing that uses Chebyshev and Faber polynomials combined with second-order online learning algorithms to stabilize prediction for systems with complex eigenvalues. Together, these techniques offer a bridge between classical control theory and modern neural sequence modeling.

Background

▶ Watch: Introduction to sequence prediction and spectral filtering (0:00)

The dominant paradigm for training LLMs relies on Claude Shannon’s 1950s cross-entropy objective for next-token prediction. However, learning an LLM is fundamentally an exercise in learning a dynamical system rather than fitting a static hypothesis. Traditional recurrent neural networks (RNNs) like LSTMs offered linear-time computation per iteration ($O(1)$) compared to the quadratic ($O(T^2)$) time complexity of transformers, but they suffered from exploding and vanishing gradients, making them notoriously difficult to train. Recent advances in SSMs have sought to bridge this gap by drawing directly from control theory.

In classical systems and control, learning a dynamical system typically involves system identification—recovering transition matrices (such as matrix $A$, $B$, and $C$) directly from data. However, system identification scales poorly with the hidden dimension (e.g., the massive number of neurons in a neural network) and fails when systems are marginally stable (having eigenvalues equal to 1, implying infinite memory). Alternatively, convex Markov relaxation limits the historical context window, which breaks down in applications like LLMs where long-range dependencies must be preserved. This tension motivates the search for efficient, provable algorithms that avoid hidden-dimension dependence while handling marginally stable and complex-eigenvalue dynamics.

Key Findings

▶ Watch: Spectral filtering algorithm and theoretical guarantees (20:00)

The central discoveries and theoretical guarantees presented in the talk establish new performance bounds for sequence prediction in linear and non-linear dynamical systems:

  • Exponential Spectral Decay: The Hankel/Hilbert matrices governing linear dynamical systems exhibit eigenvalues that decay exponentially fast (approximately $e^{-K}$, proven by Beckermann and Townsend), demonstrating that sequence predictors can live in a low-dimensional manifold.
  • Sublinear Regret via Spectral Filtering: By filtering past inputs through spectral basis functions, an online learner achieves a sublinear regret bound scaling as $\mathcal{O}(\sqrt{T})$ (or $O(1)$ with advanced techniques) for noiseless linear dynamical systems with real eigenvalues, independent of the hidden dimension $L$.
  • Universal Preconditioning: Preconditioning sequence targets using the $N$-th degree monic Chebyshev polynomial (or Faber polynomials for complex domains) compresses the effective history needed for prediction, reducing time-horizon dependencies to logarithmic scales ($\log T$).
  • Power of Second-Order Methods: First-order optimization methods (like online gradient descent) struggle with the large norms introduced by polynomial preconditioning coefficients. Employing second-order online learning algorithms—specifically the Vovk-Azoury-Warmuth (VAW) algorithm—achieves a logarithmic regret dependency on the domain radius, neutralizing the explosion of coefficient norms.
  • Complex Eigenvalue Handling: While basic Chebyshev preconditioning restricts eigenvalues to the real interval $[-1, 1]$, extending the framework to Faber polynomials allows learning across nearly the entire complex disk, restricted only by a small negative-real wedge parameter $\delta$.

Technical Deep Dive

▶ Watch: Introduction to universal sequence preconditioning (60:00)

The technical formulation models token generation as a dynamical system where a high-dimensional state $X_t$ evolves via a transition operator and projects onto observations $Y_t$.

Spectral Filtering

For linear dynamical systems where $X_{t+1} = A X_t + B U_T$ and $Y_t = C X_t$, the output unfolds into a recursive polynomial series of past inputs multiplied by powers of matrix $A$. Instead of recovering $A$ explicitly, spectral filtering transforms past inputs using a spectral basis derived from the eigenvectors of the Hilbert matrix. The prediction is computed as a linear combination of $K$-filtered inputs:

$$\hat{Y}_t = \sum_{i=1}^{K} w_i \cdot (\text{Filtered}_i(U))$$

The weights $w_i$ are updated iteratively via online convex optimization. For non-linear systems, the analysis leverages the Luenberger observer (a rank-one system transformation via pole placement to reshape the spectrum $A - LC$) and the Koopman operator (which lifts non-linear dynamics into a linear space via discretization) to guarantee vanishing loss without explicit non-linear network fitting.

Universal Sequence Preconditioning

Universal sequence preconditioning operates by transforming the target sequence via a moving average convolution (akin to a short filter). The master observation equation relates the target $Y_t$ to a compressed history of length $N$ plus a residual term growing with time horizon $T$:

$$Y_t + C_1 Y_{t-1} + \dots + C_N Y_{t-N} = \text{compressed inputs} + \epsilon_T(A, \text{Poly})$$

By setting the coefficients $C_i$ to match the $N$-th degree Chebyshev or Faber polynomials evaluated on matrix $A$, the time-dependent residual $\epsilon_T$ vanishes exponentially ($T \cdot 2^{-N}$).

To overcome the exponentially large norms of these polynomial coefficients, the authors deploy the second-order VAW algorithm. This shifts the regret bound from a linear dependence on the domain radius to a logarithmic one, ensuring robust learning even as polynomial degrees increase.

Experimental Setup & Results

▶ Watch: Comparative analysis of learning algorithms and dynamical systems (72:00)

While much of the presentation focuses on theoretical guarantees, the speakers reference empirical validations across synthetic datasets, physical systems, and large-scale language models:

  • Synthetic Data & Oil Temperature Datasets: Experiments on synthetic linear dynamical systems and real-world oil temperature time-series demonstrate that Chebyshev preconditioning significantly outperforms baseline regression models, particularly in early sequence steps (low $T$).
  • Robustness to Polynomial Degree: Synthetic benchmarks confirm that first-order optimization methods degrade when polynomial preconditioning degrees exceed $N=15$ due to coefficient explosion, whereas second-order methods maintain stable, decreasing error curves.
  • Non-Linear Physical Systems: Evaluations on the Lorenz system validate the applicability of the Luenberger-Koopman reduction pipeline for non-linear physical dynamics.
  • Large Language Models: Hybrid neural architectures incorporating spectral filter units (spectral transform units) stacked with attention mechanisms achieve competitive performance with standard transformers at scale, specifically tested on models up to 26 billion parameters.

Practical Implications

▶ Watch: Second-order methods and handling complex eigenvalues (96:00)

These theoretical findings offer actionable insights for infrastructure teams, model builders, and systems engineers working on sequence modeling:

  • Scaling Beyond Quadratic Attention: Practitioners bottlenecked by transformer attention lengths can leverage SSM-hybrid architectures that replace or augment attention with spectral or preconditioned recurrent units, achieving $O(1)$ inference scaling.
  • Hyperparameter Sensitivity in Preconditioning: Model builders experimenting with sequence preconditioning must balance the polynomial degree $N$. While higher degrees eliminate horizon-dependent error faster, they introduce massive coefficient norms that require second-order optimizers (like VAW) or specialized regularizations to prevent destabilization.
  • Handling Long-Context Memory: The guarantee of dimension-free, infinite-memory learning for marginally stable systems suggests that models can retain early-context information indefinitely without explicit quadratic memory buffers.

Key Takeaways

  • Dynamical Systems View: LLM next-token prediction is best modeled as learning a high-dimensional dynamical system rather than a static hypothesis.
  • Spectral Filtering: By filtering past inputs through eigenvectors of Hilbert-Hankel matrices, linear and non-linear systems can be learned efficiently via convex optimization without hidden-dimension dependence.
  • Beyond Differencing: Universal sequence preconditioning generalizes 1970s ARMA differencing using Chebyshev and Faber polynomials, shrinking complex sequence prediction tasks.
  • The Role of Second-Order Optimization: Second-order online learning algorithms (such as the Vovk-Azoury-Warmuth algorithm) are essential for preconditioned sequence learning because they handle the exponentially large coefficient norms without linear regret penalties.
  • Transformer Hybridization: Spectral transform units can be successfully integrated into massive neural architectures (up to 26B parameters), matching transformer performance while maintaining structural efficiency.

About the Speaker(s)

  • Elad Hazan (Professor, Princeton; Google DeepMind): Elad Hazan is a professor at Princeton and leads a small team at Google DeepMind that focuses on neural architectures. He is presenting on spectral filtering techniques for sequence prediction.

Co-authors: Annie Marsden.

Reviews

→ Top-rated talks at International Conference on Machine Learning 2026

All talks from International Conference on Machine Learning 2026