arXiv · 2603.20456
Neural Hidden Markov Model with Adaptive Granularity Attention for High-Frequency Order Flow Modeling
Abstract
We propose a Neural Hidden Markov Model (HMM) with Adaptive Granularity Attention (AGA) for high-frequency order flow modeling. The model addresses the challenge of capturing multi-scale temporal dynamics in financial markets, where fine-grained microstructure signals and coarse-grained liquidity trends coexist. The proposed framework integrates parallel multi-resolution encoders, including a dilated convolutional network for tick-level patterns and a wavelet-LSTM module for low-frequency dynamics. A gating mechanism conditioned on local volatility and transaction intensity adaptively fuses multi-scale representations, while a multi-head attention layer further enhances temporal dependency modeling. Within this architecture, a Neural HMM with conditional normalizing flow emissions is employed to jointly model latent market regimes and complex observation distributions. Empirical results on high-frequency limit order book data demonstrate that the proposed model outperforms fixed-resolution baselines in predicting short-term price movements and liquidity shocks. The adaptive granularity mechanism enables the model to dynamically adjust its focus across time scales, providing improved performance particularly during volatile market conditions.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tianzuo Hu. 2026-03-20. Neural Hidden Markov Model with Adaptive Granularity Attention for High-Frequency Order Flow Modeling. https://arxiv.org/abs/2603.20456
Cite the original work for its findings. Save a collection to share your selection of sources.