mlsanityData to 7 Oct 2026

Optimizing Transformer Neural Network for Real-Time Outlier Detection on FPGAs

arXiv 2607.22786 ↗First posted 24 Jul 2026cs.LG cs.AI cs.ARcited by 0

Not on the map. Why?

Abstract (arXiv)

In this work, we explore how the inference time of a Transformer Neural Network can be efficiently optimized with applications to real-time anomaly detection in financial time series. The financial time series are price series such as asset prices. Unfortunately, the data is often with errors or outliers that make the downstream data processing tasks useless, unstable or even harmful. Moreover, the amount of financial time-series data has been significantly increasing. Hence, there is a need for better data-cleaning methods in terms of accuracy and in terms of processing speed. Transformers as a neural network architecture have achieved superior performances in many tasks such as Natural Language Processing and Computer Vision. Time series modelling and especially anomaly detection tasks can benefit from the features of transformers architecture in multiple ways, including the capacity to capture long-range dependencies and interactions. Increasingly powerful hardware, such as field-programmable gate arrays (FPGAs), have seen increasing usage in recent years due to their reconfigurability and high performance. They can be efficiently utilized to speed up the computations of the Transformer architecture. We explore different Transformer architectures for time series modelling and how they can be efficiently implemented on an FPGA board (PYNQ-Z2). In particular, we examine the application of Transformers to detect anomalies in time series and we show how they can be efficiently implemented on an FPGA board to minimize latency. The code is available at https://github.com/thxi/icl_thesis

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 37 references that are in the map. First posted on arXiv 24 Jul 2026.

Builds on

15 of 37 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2016Layer Normalizationcited by 5,579
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  7. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,400
  8. 2015Cyclical Learning Rates for Training Neural Networkscited by 627
  9. 2022TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Datacited by 211
  10. 2021Position Information in Transformers: An Overviewcited by 103
  11. 2017Benchmark Dataset for Mid-Price Forecasting of Limit Order Book Data with Machine Learning Methodscited by 49
  12. 2023AnomalyBERT: Self-Supervised Transformer for Time Series Anomaly Detection using Data Degradation Schemecited by 25
3 more
  1. 2022Constructing Large-Scale Real-World Benchmark Datasets for AIOpscited by 19
  2. 2022Anomaly Detection on Financial Time Series by Principal Component Analysis and Neural Networkscited by 6
  3. 2020Generating Artificial Outliers in the Absence of Genuine Ones -- a Surveycited by 4

Built on by

Not cited yet.