A Deep Learning Framework Integrating CNN and BiLSTM for Financial Systemic Risk Analysis and Prediction

Yu Cheng, Zhen Xu, Yuan Chen, Yuhan Wang, Zhenghao Lin, Jinsong LiuarXiv 2025 · DOI

Abstract

Financial systemic risk prediction is a critical challenge due to the high dimensionality and complex temporal dependencies of market data. This paper proposes a hybrid deep learning framework that integrates Convolutional Neural Networks (CNN) for local feature extraction and Bidirectional Long Short-Term Memory (BiLSTM) networks for capturing long-term temporal context. Evaluated on Yahoo Finance data, the model achieves an F1-score of 0.88, demonstrating superior performance over standalone architectures such as Transformers and Temporal Convolutional Networks (TCN).

Introduction

Financial systemic risk—the potential for a cascading collapse within an entire financial system—is notoriously difficult to predict. Traditional statistical methods often struggle with the "three horsemen" of financial data: high dimensionality, non-linear relationships, and complex time-series dependencies. While deep learning has shown promise, single-architecture models have specific blind spots. CNNs excel at spatial pattern recognition but lack temporal depth, whereas standard RNNs may overlook simultaneous cross-indicator correlations. This research addresses these gaps through a synergistic hybrid approach.

Methodology

The proposed architecture employs a multi-stage pipeline designed to maximize feature representation:

  1. Local Feature Extraction (CNN): 1D convolutional layers extract local multidimensional patterns from raw financial indicators, identifying key "shapes" within the features at specific time steps.
  2. Temporal Modeling (BiLSTM): The refined features are processed through a bidirectional LSTM, capturing dependencies from both past trends and "future" context within a given observation window.
  3. Attention Mechanism: An attention layer weighs the importance of different time steps, ensuring the model prioritizes critical signals of market instability.
  4. Classification: A final fully connected layer with a Sigmoid activation function outputs the probability of a systemic risk event.
The proposed hybrid CNN-BiLSTM architecture for financial risk prediction.

Data and Features

The study utilizes real-world financial data sourced from Yahoo Finance, covering stocks, bonds, foreign exchange, and futures. The dataset includes daily closing prices, trading volumes, volatility, and interest rate levels. The data spans multiple economic cycles to ensure the model can distinguish routine market noise from genuine systemic threats. The data underwent rigorous cleaning and was split using a time-window division method.

Results and Analysis

The hybrid model significantly outperformed baseline models, including Transformers and TCNs. The synergy between spatial and temporal feature extraction allows the BiLSTM to operate on high-quality refined representations provided by the CNN. Interestingly, the hybrid model outperformed the Transformer, suggesting that for high-frequency financial data, local detail modeling via CNNs may be more effective than global attention mechanisms.

Model Accuracy (ACC) Recall F1-score
BILSTM+CNN (Ours) 0.89 0.87 0.88
Transformer 0.86 0.85 0.85
TCN 0.85 0.83 0.84
BiLSTM 0.84 0.82 0.83
CNN 0.81 0.79 0.80

Limitations and Future Work

Despite strong performance, the model exhibits signs of overfitting in later training stages, as evidenced by the divergence in loss curves. Additionally, the computational overhead of the hybrid structure poses challenges for real-time high-frequency environments.

Loss curves for training and validation sets over 200 epochs, showing a noticeable gap in later stages.

Future research will explore reinforcement learning for regime adaptation and the integration of multimodal data, such as news sentiment or social media trends, to provide a more holistic view of market risk.

Summary updated

BibTeX
@misc{cheng2025deep,
  author = {Yu Cheng and Zhen Xu and Yuan Chen and Yuhan Wang and Zhenghao Lin and Jinsong Liu},
  title = {{A Deep Learning Framework Integrating CNN and BiLSTM for Financial Systemic Risk Analysis and Prediction}},
  year = {2025},
  eprint = {2502.06847},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.06847},
}
Figure