联合多尺度分层注意力的股价走势预测模型OA
Stock Price Trend Prediction Model Integrating Multi-Scale Hierarchical Attention
针对传统股票预测模型难以有效捕捉多尺度时序特征的问题,提出一种联合多尺度分层注意力的股价走势预测模型.模型基于现代金融理论,采用专家知识驱动的特征选择方法筛选关键指标特征.通过多尺度卷积神经网络(CNN)提取局部形态特征,结合双向长短期记忆网络(BiLSTM)捕捉时序依赖关系,并创新性地融合分层注意力与跨时间尺度注意力机制,实现不同时间窗口信息的自适应整合.实验采用滑动窗口动态对齐算法,以过去45个时间点作为输入序列,预测未来3日的价格涨跌,使用5只不同行业龙头股进行模型有效性验证.实验结果表明,相对于11种基线模型,所提模型在总体准确率、F1得分和Matthews相关系数等指标均达到最优效果,且在不同股票上表现稳定,证实了该模型在龙头股股价走势预测任务中具有良好的准确性、稳定性和适应性.
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.
陆金辉;赵剑冬
广东技术师范大学 电子与信息学院,广州 510665广东技术师范大学 电子与信息学院,广州 510665
信息技术与安全科学
金融时序分析深度学习双向长短期记忆网络注意力机制股价走势预测
financial time series analysisdeep learningbidirectional long short-term memory network(BiLSTM)atten-tion mechanismstock price trend prediction
《计算机工程与应用》 2026 (18)
139-152,14
广东省科技项目(KTP20240543).
评论