基于BERT模型的投资者情绪指数建模及与价格关系分析

2020-08-31 14:58:44林杰江晨曦
上海管理科学 2020年4期

林杰 江晨曦

摘 要: 基于BERT模型,应用21家期货公司行情预测分析文本数据,构建了期货市场投资者情绪指数;在此基础上,运用格兰杰因果检验分析了期货市场价格与市场情绪指数的相互影响作用。研究结果表明,BERT模型相较基于经典分类算法模型在各评价指标上均有约10%的提升。同时,投资者情绪指数与期货收盘价之间存在相互影响,期货收盘价对投资者情绪的影响程度更大,影响持续时间更短。

关键词: 投资者情绪指数;BERT模型;期货市场;文本情感分类

中图分类号: F 830.9   文献标志码: A

Abstract: Based on the BERT model, the text data of 21 futures companies market prediction and analysis was used to construct an investors sentiment index for the futures market. On this basis, Granger causality test was used to analyze the interaction between the futures market price and the market sentiment index. The research results show that the BERT model has improved about 10% in various evaluation indicators compared with the model based on the classic classification algorithm. At the same time, there is a mutual influence between the investors sentiment index and the futures closing price. The futures closing price has a greater degree of influence on investors sentiment and has a shorter duration.

Key words: investors sentiment index; BERT model; futures market; sentiment classification of text

研究发现,在方法上,利用文本数据构建投资者情绪指数时,多数学者使用的是向量空间模型结合分类算法来进行情感分类。该方法的缺陷在于运用该方法产生的特征向量无法表达语义,仅仅是文本的数字编号,这对情感分类的准确性将产生较大影响。随着深度学习的迅速发展,许多新的语言模型脱颖而出,目前运用这些语言模型进行投资者情绪度量的研究仍处于起步阶段,且由于中文语料和英文语料之间存在差别,探究如何准确且高效地度量投资者情绪具有一定的理论意义。

与此同时,在应用领域中,国内外的投资者情绪研究主要集中在股票市场,鲜有对期货市场投资者情绪的关注。期货市场与股票市场在交易规则和交易体量上的差别,导致在文本数据中期货市场用语和股票市场用语也不尽相同。同时,投资者在面对股票市场和期货市场时的情绪也存在较大差异。……

登录APP查看全文