[Paper Review] QADQN: Quantum Attention Deep Q-Network for Financial Market Prediction
This paper proposes QADQN, a quantum-classical hybrid reinforcement learning framework that integrates a variational quantum circuit with a deep Q-network using quantum attention mechanisms to enhance financial market prediction. It achieves superior risk-adjusted returns, with Sortino ratios of 1.28 and 1.19 in non-overlapping and overlapping test periods, respectively, outperforming Buy & Hold and DDPG baselines on S&P 500 data with transaction costs.
Financial market prediction and optimal trading strategy development remain challenging due to market complexity and volatility. Our research in quantum finance and reinforcement learning for decision-making demonstrates the approach of quantum-classical hybrid algorithms to tackling real-world financial challenges. In this respect, we corroborate the concept with rigorous backtesting and validate the framework's performance under realistic market conditions, by including fixed transaction cost per trade. This paper introduces a Quantum Attention Deep Q-Network (QADQN) approach to address these challenges through quantum-enhanced reinforcement learning. Our QADQN architecture uses a variational quantum circuit inside a traditional deep Q-learning framework to take advantage of possible quantum advantages in decision-making. We gauge the QADQN agent's performance on historical data from major market indices, including the S&P 500. We evaluate the agent's learning process by examining its reward accumulation and the effectiveness of its experience replay mechanism. Our empirical results demonstrate the QADQN's superior performance, achieving better risk-adjusted returns with Sortino ratios of 1.28 and 1.19 for non-overlapping and overlapping test periods respectively, indicating effective downside risk management.
Motivation & Objective
- To address the limitations of classical deep reinforcement learning in financial trading due to high-dimensional, noisy, and non-stationary market data.
- To leverage quantum computing advantages through a variational quantum circuit integrated into a deep Q-learning framework for enhanced decision-making.
- To improve attention mechanisms in financial sequence modeling by replacing classical attention with a multi-head quantum attention layer.
- To validate the framework under realistic market conditions, including fixed transaction costs and partial observability via a POMDP setting.
- To demonstrate superior risk-adjusted performance compared to established benchmarks like Buy & Hold and DDPG.
Proposed method
- Integrates a variational quantum circuit (VQC) within a deep Q-network to enable quantum-enhanced feature representation and decision-making.
- Replaces classical multi-head attention with a quantum attention mechanism to improve focus on relevant market features and reduce computational overhead.
- Employs a POMDP framework to model the partially observable nature of financial markets, enhancing robustness under uncertainty.
- Uses imitative learning by pre-populating the replay buffer with actions from the Dual Thrust strategy to balance exploration and exploitation during training.
- Applies both standard and prioritized experience replay to stabilize learning and improve sample efficiency.
- Employs backtesting with a 0.2% commission rate and evaluates performance using Sharpe, Sortino, and maximum drawdown metrics.

Experimental results
Research questions
- RQ1Can a quantum-enhanced deep Q-network with quantum attention improve financial market prediction and trading performance compared to classical baselines?
- RQ2How does the integration of a variational quantum circuit into a deep Q-learning framework affect learning stability and convergence in financial time series?
- RQ3To what extent does quantum attention outperform classical attention in capturing relevant temporal and market features in high-dimensional financial data?
- RQ4How does the QADQN framework perform under realistic market conditions, including transaction costs and partial observability?
- RQ5Can the combination of imitative learning and quantum attention lead to better exploration-exploitation balance in financial trading agents?
Key findings
- The QADQN framework achieved a total return of 71.26% in the non-overlapping test period, significantly outperforming the Buy & Hold strategy (44.22%) and DDPG (15.94%).
- The model demonstrated strong risk-adjusted performance with a Sortino ratio of 1.28 in the non-overlapping period, indicating effective downside risk management.
- The Sharpe ratio of 0.77 in the non-overlapping period and 0.82 in the overlapping period reflects consistent risk-adjusted returns across market conditions.
- Maximum drawdown was consistently 19.24% across both test periods, indicating robust loss control during market downturns.
- The QADQN model outperformed both the Buy & Hold and DDPG baselines in all key metrics, including return, Sharpe, and Sortino ratios.
- Visual analysis confirmed that the agent learned to buy at lower price levels and sell at higher ones, indicating effective trend exploitation.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.