arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.13801cs.LGcs.CE
收藏

用于金融预测的Transformer编码器与多特征Time2Vec

Transformer Encoder and Multi-features Time2Vec for Financial Prediction

ELTE Eötvös Loránd University(ELTE爱因斯坦-洛朗大学);Department of Numerical Analysis, ELTE Eötvös Loránd University(数值分析系,ELTE爱因斯坦-洛朗大学)

Nguyen Kim Hai Bui, Nguyen Duy Chien, Péter Kovács, Gergő Bognár

AI总结:

本文针对金融预测任务,提出融合Time2Vec与Transformer编码器的新型神经网络架构,配套相关性特征选择方法,经实验验证其性能优于现有编码方法,可提升多股价预测准确率。

摘要:

金融预测是时间序列分析与信号处理领域一项复杂且具有挑战性的任务,需要同时对短期波动和长期时间依赖关系进行建模。Transformer凭借注意力机制在自然语言处理领域取得了显著成功,也对时间序列研究领域产生了影响。其捕捉短程与长程依赖关系的能力有助于理解金融市场、识别价格模式,推动了Transformer在股票预测中的成功应用。不过,此前的研究主要聚焦于单一特征和单只标的预测,限制了模型理解更广泛市场趋势的能力。现实中,在金融、科技等板块内,同行业公司的股价走势往往存在相关性。本文提出一种将Time2Vec与Transformer模型编码器相融合的新型神经网络架构,在对不同市场开展研究的基础上,提出了一种全新的相关性特征选择方法。通过对多个超参数进行全面微调,本文将所提方法的结果与基准模型开展对比分析,最终得出结论:该方法性能优于位置编码等其他当前最优编码方法,同时选择相关性特征能够提升多只股票价格的预测准确率。

英文摘要:

Financial prediction is a complex and challenging task of time series analysis and signal processing, expected to model both short-term fluctuations and long-term temporal dependencies. Transformers have remarkable success mostly in natural language processing using attention mechanism, which also influenced the time series community. The ability to capture both short and long-range dependencies helps to understand the financial market and to recognize price patterns, leading to successful applications of Transformers in stock prediction. Although, the previous research predominantly focuses on individual features and singular predictions, that limits the model's ability to understand broader market trends. In reality, within sectors such as finance and technology, companies belonging to the same industry often exhibit correlated stock price movements. In this paper, we develop a novel neural network architecture by integrating Time2Vec with the Encoder of the Transformer model. Based on the study of different markets, we propose a novel correlation feature selection method. Through a comprehensive fine-tuning of multiple hyperparameters, we conduct a comparative analysis of our results against benchmark models. We conclude that our method outperforms other state-of-the-art encoding methods such as positional encoding, and we also conclude that selecting correlation features enhance the accuracy of predicting multiple stock prices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑