计算机工程与应用2026,Vol.62Issue(18):139-152,14.DOI:10.3778/j.issn.1002-8331.2507-0207
联合多尺度分层注意力的股价走势预测模型
Stock Price Trend Prediction Model Integrating Multi-Scale Hierarchical Attention
摘要
Abstract
Traditional stock prediction models fail to effectively capture multi-scale temporal features in financial time series data.This paper proposes a stock price trend prediction model that integrates multi-scale hierarchical attention mechanisms.The model employs an expert knowledge-driven feature selection method based on modern financial theory to identify key indicator features.Multi-scale convolutional neural networks(CNN)extract local pattern features,while bidirectional long short-term memory networks(BiLSTM)capture temporal dependencies.The model innovatively fuses hierarchical attention and cross-temporal attention mechanisms to achieve adaptive integration of information across different time windows.The experiment uses a sliding window dynamic alignment algorithm,takes the past 45 time points as the input sequence,predicts price fluctuations in the next three days,and uses five leading stocks in different industries to verify the effectiveness of the model.Experimental results demonstrate that the proposed model achieves optimal performance across overall accuracy,F1-score,and Matthews Correlation Coefficient compared to 11 baseline models.The model exhibits stable performance across different stocks,confirming its superior accuracy,stability,and adaptability in predicting price trends of leading stocks.关键词
金融时序分析/深度学习/双向长短期记忆网络/注意力机制/股价走势预测Key words
financial time series analysis/deep learning/bidirectional long short-term memory network(BiLSTM)/atten-tion mechanism/stock price trend prediction分类
信息技术与安全科学引用本文复制引用
陆金辉,赵剑冬..联合多尺度分层注意力的股价走势预测模型[J].计算机工程与应用,2026,62(18):139-152,14.基金项目
广东省科技项目(KTP20240543). (KTP20240543)