A Novel Framework for Agricultural Futures Price Prediction With BERT‐Based Topic Identification and Sentiment Analysis

ABSTRACT In China's financial and economic system, the agricultural futures market plays an important role in guiding the market to self regulate and providing efficient information transmission for regulators. The effective prediction of futures prices can assist in guiding agricultural production, monitoring operational risks arising from significant price fluctuations, and enhancing the predictability and pertinence of the country's macroeconomic regulation policies. This study investigates the main variety of grain futures—soybean futures, taking into account complex market and non‐market influencing factors. Using historical market data and related news headlines of soybean futures as source data and integrating topic identification and sentiment analysis techniques, a novel framework for predicting agricultural futures prices that integrates topic sentiment is constructed. This model uses BERTopic to extract topic information from agricultural news texts, then integrates FinBERT to construct topic‐based sentiment features, fuses them with structured market features, and constructs LSTM price prediction model with multi‐feature inputs. In order to better model the short‐term features and state transfer patterns of the time series, hidden Markov model (HMM) is further used to extract the hidden states, which are deeply fused with the LSTM model. The empirical results show that the model fusing topic and sentiment features significantly improves the forecasting accuracy in all lags, LSTM works best in short‐term forecasting, and the combination of HMM and LSTM exhibits significant performance advantages in medium‐ and long‐term forecasting. Compared with the baseline model that relies only on market features, topic sentiment features provide important incremental information for price forecasting, and the contribution of each topic sentiment feature calculated based on the PI metric is close to 50%. In addition, deep learning–based prediction model performs better than baseline machine learning models in dealing with extreme external shocks such as climate disasters, the COVID‐19 pandemic, and the Russia–Ukraine conflict.

Authors

Institutions

Publication Details

Journal
Journal of Forecasting
Published
2025-04-11
DOI
https://doi.org/10.1002/for.3278
Citations
5
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
10.53

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Novel Framework for Agricultural Futures Price Prediction With BERT‐Based Topic Identification and Sentiment Analysis

Yuxi Liu, Wensheng Wang
5 citations
Journal of Forecasting
Stock Market Forecasting Methods
10.53
article

A Novel Framework for Agricultural Futures Price Prediction With BERT‐Based Topic Identification and Sentiment Analysis

Yuxi Liu, Wensheng Wang
article en
5 citations

Abstract

ABSTRACT In China's financial and economic system, the agricultural futures market plays an important role in guiding the market to self regulate and providing efficient information transmission for regulators. The effective prediction of futures prices can assist in guiding agricultural production, monitoring operational risks arising from significant price fluctuations, and enhancing the predictability and pertinence of the country's macroeconomic regulation policies. This study investigates the main variety of grain futures—soybean futures, taking into account complex market and non‐market influencing factors. Using historical market data and related news headlines of soybean futures as source data and integrating topic identification and sentiment analysis techniques, a novel framework for predicting agricultural futures prices that integrates topic sentiment is constructed. This model uses BERTopic to extract topic information from agricultural news texts, then integrates FinBERT to construct topic‐based sentiment features, fuses them with structured market features, and constructs LSTM price prediction model with multi‐feature inputs. In order to better model the short‐term features and state transfer patterns of the time series, hidden Markov model (HMM) is further used to extract the hidden states, which are deeply fused with the LSTM model. The empirical results show that the model fusing topic and sentiment features significantly improves the forecasting accuracy in all lags, LSTM works best in short‐term forecasting, and the combination of HMM and LSTM exhibits significant performance advantages in medium‐ and long‐term forecasting. Compared with the baseline model that relies only on market features, topic sentiment features provide important incremental information for price forecasting, and the contribution of each topic sentiment feature calculated based on the PI metric is close to 50%. In addition, deep learning–based prediction model performs better than baseline machine learning models in dealing with extreme external shocks such as climate disasters, the COVID‐19 pandemic, and the Russia–Ukraine conflict.

Journal of ForecastingVol. 44(6)
Hangzhou Dianzi University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 2%
Stock Market Forecasting Methods
10.53
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.