Can Transformers Learn Optimal Filtering for Unknown Systems?
Not on the map. Why?
Abstract (arXiv)
Transformer models have shown great success in natural language processing; however, their potential remains mostly unexplored for dynamical systems. In this work, we investigate the optimal output estimation problem using transformers, which generate output predictions using all the past ones. Particularly, we train the transformer using various distinct systems and then evaluate the performance on unseen systems with unknown dynamics. Empirically, the trained transformer adapts exceedingly well to different unseen systems and even matches the optimal performance given by the Kalman filter for linear systems. In more complex settings with non-i.i.d. noise, time-varying dynamics, and nonlinear dynamics like a quadrotor system with unknown parameters, transformers also demonstrate promising results. To support our experimental findings, we provide statistical guarantees that quantify the amount of training data required for the transformer to achieve a desired excess risk. Finally, we point out some limitations by identifying two classes of problems that lead to degraded performance, highlighting the need for caution when using transformers for control and estimation.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Builds on 13 of its 32 references that are in the map. First posted on arXiv 16 Aug 2023.
Builds on
13 of 32 references.
References · 13
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
- 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
- 2013Online Learning for Time Series Predictioncited by 33
- 2020Online Learning of the Kalman Filter with Logarithmic Regretcited by 21
- 2018On-Line Learning of Linear Dynamical Systems: Exponential Forgetting in Kalman Filterscited by 16
- 2019Sample Complexity of Kalman Filtering for Unknown Systemscited by 11
- 2020Reduced-Order Nonlinear Observers via Contraction Analysis and Convex Optimizationcited by 5
1 more
- 2014Kernel Least Mean Square with Adaptive Kernel Sizecited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 4; 2025: 3; 2026: 6.
15 papers.
Sort:
By area:
- 2024Fine-grained Analysis of In-context Linear Estimation: Data, Architecture, and Beyondcited by 22
- 2023From system models to class models: An in-context learning paradigmcited by 13
- 2024Rethinking Transformers in Solving POMDPscited by 9
- 2023On the adaptation of in-context learners for system identificationcited by 5
- 2024The Duality of Generative AI and Reinforcement Learning in Robotics: A Reviewcited by 5
- 2024Enhanced Transformer architecture for in-context learning of dynamical systemscited by 4
- 2025Manifold meta-learning for reduced-complexity neural system identificationcited by 2
- 2025Decomposing Prediction Mechanisms for In-Context Recallcited by 0
- 2025Delay Independent Safe Control with Neural Networks: Positive Lur'e Certificates for Risk Aware Autonomycited by 0
- 2026Model-Free Neural Filtering: A Comparison with Classical Filters in Nonlinear Systemscited by 0
- 2026Target Parameterization in Diffusion Models for Nonlinear Spatiotemporal System Identificationcited by 0
- 2026ASIA: an Autonomous System Identification Agentcited by 0
- 2026Variational meta-learning inference for low dimensional neural system identification21 Jul 2026
- 2026Two-Layer Linear Auto-Regressive Models Estimate Latent States10 Jun 2026
- 2026Transformer-like Inference from Optimal Control15 May 2026
- 2026ASIA: an Autonomous System Identification Agent11 May 2026
- 2026Target Parameterization in Diffusion Models for Nonlinear Spatiotemporal System Identification19 Apr 2026
- 2026Model-Free Neural Filtering: A Comparison with Classical Filters in Nonlinear Systems29 Jan 2026
- 2025Delay Independent Safe Control with Neural Networks: Positive Lur'e Certificates for Risk Aware Autonomy8 Oct 2025
- 2025Decomposing Prediction Mechanisms for In-Context Recall2 Jul 2025
- 2025Manifold meta-learning for reduced-complexity neural system identification16 Apr 2025
- 2024The Duality of Generative AI and Reinforcement Learning in Robotics: A Review21 Oct 2024
- 2024Enhanced Transformer architecture for in-context learning of dynamical systems4 Oct 2024
- 2024Fine-grained Analysis of In-context Linear Estimation: Data, Architecture, and Beyond13 Jul 2024
3 more
- 2024Rethinking Transformers in Solving POMDPs27 May 2024
- 2023On the adaptation of in-context learners for system identification7 Dec 2023
- 2023From system models to class models: An in-context learning paradigm25 Aug 2023
- 2026ASIA: an Autonomous System Identification Agentcited by 0
- 2026ASIA: an Autonomous System Identification Agent11 May 2026
- 2024Fine-grained Analysis of In-context Linear Estimation: Data, Architecture, and Beyondcited by 22
- 2023From system models to class models: An in-context learning paradigmcited by 13
- 2024Rethinking Transformers in Solving POMDPscited by 9
- 2023On the adaptation of in-context learners for system identificationcited by 5
- 2024The Duality of Generative AI and Reinforcement Learning in Robotics: A Reviewcited by 5
- 2024Enhanced Transformer architecture for in-context learning of dynamical systemscited by 4
- 2025Manifold meta-learning for reduced-complexity neural system identificationcited by 2
- 2025Decomposing Prediction Mechanisms for In-Context Recallcited by 0
- 2025Delay Independent Safe Control with Neural Networks: Positive Lur'e Certificates for Risk Aware Autonomycited by 0
- 2026Model-Free Neural Filtering: A Comparison with Classical Filters in Nonlinear Systemscited by 0
- 2026Transformer-like Inference from Optimal Controlcited by 0
- 2026Two-Layer Linear Auto-Regressive Models Estimate Latent Statescited by 0
12 most cited of 13 All 13 (JSON)
- 2026Variational meta-learning inference for low dimensional neural system identification21 Jul 2026
- 2026Two-Layer Linear Auto-Regressive Models Estimate Latent States10 Jun 2026
- 2026Transformer-like Inference from Optimal Control15 May 2026
- 2026Model-Free Neural Filtering: A Comparison with Classical Filters in Nonlinear Systems29 Jan 2026
- 2025Delay Independent Safe Control with Neural Networks: Positive Lur'e Certificates for Risk Aware Autonomy8 Oct 2025
- 2025Decomposing Prediction Mechanisms for In-Context Recall2 Jul 2025
- 2025Manifold meta-learning for reduced-complexity neural system identification16 Apr 2025
- 2024The Duality of Generative AI and Reinforcement Learning in Robotics: A Review21 Oct 2024
- 2024Enhanced Transformer architecture for in-context learning of dynamical systems4 Oct 2024
- 2024Fine-grained Analysis of In-context Linear Estimation: Data, Architecture, and Beyond13 Jul 2024
- 2024Rethinking Transformers in Solving POMDPs27 May 2024
- 2023On the adaptation of in-context learners for system identification7 Dec 2023
12 newest of 13 All 13 (JSON)