# A Deep Learning Approach to Anomaly Detection in High-Frequency Trading Data

arXiv: https://arxiv.org/abs/2504.00287 · HTML: https://mlsanity.com/paper/2504.00287/

## Key facts

- Cited by 3 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 20 references that are in the map.
- First posted on arXiv 31 Mar 2025.

## Builds on (most cited first, 8 of 8)

- [Transforming Multidimensional Time Series into Interpretable Event Sequences for Advanced Data Mining](https://mlsanity.com/paper/2409.14327/) (2024)
- [Self-Supervised Graph Neural Networks for Enhanced Feature Extraction in Heterogeneous Information Networks](https://mlsanity.com/paper/2410.17617/) (2024)
- [Anomaly Detection in Blockchain Networks: A Comprehensive Survey](https://mlsanity.com/paper/2112.06089/) (2021)
- [Leveraging Convolutional Neural Network-Transformer Synergy for Predictive Modeling in Risk-Based Applications](https://mlsanity.com/paper/2412.18222/) (2024)
- [A Deep Learning Framework Integrating CNN and BiLSTM for Financial Systemic Risk Analysis and Prediction](https://mlsanity.com/paper/2502.06847/) (2025)
- [A Structured Reasoning Framework for Unbalanced Data Classification Using Probabilistic Models](https://mlsanity.com/paper/2502.03386/) (2025)
- [Integrative Analysis of Financial Market Sentiment Using CNN and GRU for Risk Prediction and Alert Systems](https://mlsanity.com/paper/2412.10199/) (2024)
- [Machine learning based forecasting of significant daily returns in foreign exchange markets](https://mlsanity.com/paper/2009.10065/) (2020)

## Built on by (most cited first, 3 of 3)

- [Artificial Intelligence-Based Multiscale Temporal Modeling for Anomaly Detection in Cloud Services](https://mlsanity.com/paper/2508.14503/) (2025)
- [Integrating Feature Attention and Temporal Modeling for Collaborative Financial Risk Assessment](https://mlsanity.com/paper/2508.09399/) (2025)
- [Deep Learning-Based Financial Time Series Forecasting via Sliding Window and Variational Mode Decomposition](https://mlsanity.com/paper/2508.12565/) (2025)

## Abstract (arXiv)

This paper proposes an algorithm based on a staged sliding window Transformer architecture to detect abnormal behaviors in the microstructure of the foreign exchange market, focusing on high-frequency EUR/USD trading data. The method captures multi-scale temporal features through a staged sliding window, extracts global and local dependencies by combining the self-attention mechanism and weighted attention mechanism of the Transformer, and uses a classifier to identify abnormal events. Experimental results on a real high-frequency dataset containing order book depth, spread, and trading volume show that the proposed method significantly outperforms traditional machine learning (such as decision trees and random forests) and deep learning methods (such as MLP, CNN, RNN, LSTM) in terms of accuracy (0.93), F1-Score (0.91), and AUC-ROC (0.95). Ablation experiments verify the contribution of each component, and the visualization of order book depth and anomaly detection further reveals the effectiveness of the model under complex market dynamics. Despite the false positive problem, the model still provides important support for market supervision. In the future, noise processing can be optimized and extended to other markets to improve generalization and real-time performance.
