mlsanityData to 7 Oct 2026

Can Transformers Learn Optimal Filtering for Unknown Systems?

arXiv 2308.08536 ↗First posted 16 Aug 2023eess.SY cs.AI cs.LGcited by 15

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
  5. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  6. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
  7. 2022In-context Reinforcement Learning with Algorithm Distillationcited by 186
  8. 2013Online Learning for Time Series Predictioncited by 33
  9. 2020Online Learning of the Kalman Filter with Logarithmic Regretcited by 21
  10. 2018On-Line Learning of Linear Dynamical Systems: Exponential Forgetting in Kalman Filterscited by 16
  11. 2019Sample Complexity of Kalman Filtering for Unknown Systemscited by 11
  12. 2020Reduced-Order Nonlinear Observers via Contraction Analysis and Convex Optimizationcited by 5
1 more
  1. 2014Kernel Least Mean Square with Adaptive Kernel Sizecited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 2; 2024: 4; 2025: 3; 2026: 6.

15 papers.

Sort:

By area: