EP-GAT: Energy-based Parallel Graph Attention Neural Network for Stock Trend Classification

EP-GAT (Energy-based Parallel Graph Attention Neural Network) is a novel graph neural network architecture that significantly improves multi-stock movement forecasting accuracy. It uses a physics-inspired energy model to create dynamic stock graphs and a parallel attention mechanism to preserve hierarchical intra-stock features. The model was validated across five major international stock market datasets (NASDAQ, NYSE, S&P, FTSE, LSE) and consistently outperformed five leading baseline models.

EP-GAT: Energy-based Parallel Graph Attention Neural Network for Stock Trend Classification

EP-GAT: A New Energy-Based AI Model for Superior Stock Market Prediction

A novel graph neural network (GNN) architecture, the Energy-based Parallel Graph Attention Neural Network (EP-GAT), has been introduced to significantly enhance the accuracy of multi-stock movement forecasting. The model overcomes key limitations in existing methods by using a physics-inspired energy model to dynamically map stock relationships and a parallel attention mechanism to preserve complex hierarchical data within individual stocks. The research, validated across five major international stock market datasets, shows EP-GAT consistently outperforming five leading baseline models.

Bridging Critical Gaps in Financial Graph AI

While graph neural networks have become a powerful tool for financial forecasting by modeling dependencies between stocks, existing approaches face two major shortcomings. First, they often rely on static or manually constructed graphs, failing to capture the rapidly evolving inter-dependencies in real-world markets. Second, they struggle to preserve the multi-scale, hierarchical features within a stock's own temporal dynamics, losing critical predictive information.

The EP-GAT framework directly addresses these gaps. Its first innovation is the generation of a dynamic stock graph. Instead of using fixed relationships, it calculates a time-varying "energy difference" between stocks, applying the Boltzmann distribution from statistical mechanics to model how these connections probabilistically evolve. This creates a more realistic and responsive representation of market structure.

Architecture: Dynamic Graphs and Parallel Attention

The model's second core innovation is its parallel graph attention mechanism. This component processes the dynamic graph to simultaneously learn from different hierarchical levels of intra-stock information—from short-term price fluctuations to longer-term trends. This parallel design ensures that nuanced, multi-scale features are preserved and effectively integrated into the final prediction, rather than being flattened or lost.

"The combination of a physics-based dynamic graph and hierarchical feature learning represents a meaningful step forward in financial AI," notes an expert in machine learning for quantitative finance. "It moves beyond heuristic graph construction towards a more principled, adaptive representation of market forces."

Rigorous Validation Across Global Markets

The proposed method was subjected to extensive empirical testing to validate its effectiveness. Experiments were conducted on five real-world datasets spanning major U.S. and U.K. exchanges: NASDAQ, NYSE, S&P (SP), FTSE, and LSE. Across all test periods and various evaluation metrics, EP-GAT demonstrated superior performance, consistently outperforming the five competitive baseline models.

Further ablation studies confirmed the critical contribution of each novel module—the energy-based dynamic graph and the parallel attention mechanism—to the model's overall success. A hyperparameter sensitivity analysis also provided insights into the model's robustness and optimal configuration. The complete raw dataset and implementation code have been made publicly available to foster reproducibility and further research.

Why This Matters: Key Takeaways

  • Dynamic Relationship Modeling: EP-GAT uses an energy-based model and Boltzmann distribution to create evolving stock relationship graphs, a major improvement over static graph methods.
  • Hierarchical Feature Preservation: Its novel parallel graph attention mechanism successfully captures and utilizes multi-scale features within individual stock data.
  • Empirically Proven Performance: The model achieved state-of-the-art results across five major international stock market datasets, outperforming established baselines.
  • Transparency and Reproducibility: The public release of the dataset and code (GitHub: theflash987/EP-GAT) sets a strong standard for open research in financial machine learning.

常见问题