Research on Agricultural Product Price Fluctuation Prediction Based on Time Series Analysis

Authors

  • Chongxu Hu Jinan Innovation Zone Haichuan Secondary School, Jinan, China

DOI:

https://doi.org/10.54097/mg9tma74

Keywords:

Agricultural Product Price Forecasting; Spatiotemporal Fusion; Long Short-Term Memory (LSTM); Spatiotemporal Attention Mechanism; Graph Convolution; ST-LSTM.

Abstract

To address the limitation of traditional LSTM models in capturing the spatiotemporal correlation characteristics of agricultural product price fluctuations, this paper proposes an improved spatiotemporal fusion long short-term memory network (ST-LSTM). By adding a spatiotemporal attention mechanism and a cross-regional feature fusion module, this model achieves the joint extraction of "long-term temporal dependencies and spatial correlation features." The spatiotemporal attention module dynamically weights key spatiotemporal node information, while the cross-regional module uses graph convolution to model regional price transmission relationships. The improved LSTM core module introduces residual connections and leaky ReLU to mitigate gradient vanishing. Experiments based on daily data for six agricultural products (wheat, rice, etc.) from 2018 to 2023 show that the ST-LSTM algorithm achieves an average MAE of 0.12 yuan/kg, RMSE of 0.18 yuan/kg, and a MAPE of 3.2%, which are 33.3% lower than the MAPE of the traditional LSTM algorithm and 61.4% lower than that of the ARIMA algorithm. Ablation experiments show that without spatiotemporal attention or cross-regional fusion, the MAPE increases to 4.1% and 4.3%, respectively, an increase of over 28%. In predicting cucumber prices during the 2022 drought, the ST-LSTM algorithm achieved a MAPE of 4.5%, outperforming both the traditional LSTM algorithm (6.8%) and the ARIMA algorithm (10.2%). This demonstrates the algorithm's accuracy and robustness in both normal and abnormal scenarios, providing an effective solution for agricultural product price forecasting.

Downloads

Download data is not yet available.

References

[1] Yang, J., Qian, T., Zheng, X., Zhao, J. & Xu, Y. Characteristics and influencing factors of national and regional vegetable price trends. Journal of China Agricultural University, Vol. 26(2021) No. 2, p. 188-198.

[2] Sun, D., Chen, L. & Burenmende. Research on the volatility of pork prices in China under the African swine fever epidemic - based on ARCH family and BVAR model. Journal of Engineering Mathematics, Vol. 39(2022) No. 4, p. 545-558.

[3] Jin, Y., Jia, X., Lai, W., Zhou, H., Chen, N. & Li, T. Exploration and application of big data technology in pork price prediction and regulation. Journal of Agricultural Big Data, Vol. 5(2023) No. 1, p. 126-134.

[4] Song, C., Zhao, F. & Han, M. Does the agricultural insurance premium subsidy policy alleviate the market risk of agricultural products? Agricultural Modernization Research, Vol. 43(2025) No. 4, p. 598-605.

[5] Liu, Z. & Geng, S. Factor shortage, fiscal support for agriculture and the effect of agricultural economic fluctuation. Chinese Journal of Management Science, Vol. 32(2024) No. 8, p. 74-83.

[6] Wei, T., Xu, K. & Xu, L. Dataset for analyzing the horizontal transmission mechanism of agricultural product prices under changes in domestic financial markets (2017-2021). Journal of Agricultural Big Data, Vol. 5(2023) No. 3, p. 19-25.

[7] Yan, X. & Qi, C. Research on the long-term price formation and fluctuation of agricultural products based on different attributes. Agricultural Modernization Research, Vol. 36(2025) No. 5, p. 790-795.

[8] Hang, X. & Zhu, Z. Analysis on the impact of distributors’ market power on agricultural product price fluctuations in Tianjin. Tianjin Agricultural Science, Vol. 28(2022) No. 4, p. 40-45.

[9] Song, C., Xiao, X. & Li, C. Research on the impact of local policy-based agricultural insurance on the agricultural product market: A case study of the vegetable market in Wuhan. Journal of Agricultural Modernization, Vol. 42(2025) No. 1, p. 85-93.

[10] Zhou, J., Xu, Y. & Li, C. Mechanism and empirical evidence of the impact of food safety incidents on the price fluctuations of livestock and poultry products. Journal of Agricultural Modernization, Vol. 40(2025) No. 2, p. 282-289.

Downloads

Published

23-12-2025

How to Cite

Hu, C. (2025). Research on Agricultural Product Price Fluctuation Prediction Based on Time Series Analysis. Highlights in Science, Engineering and Technology, 159, 125-134. https://doi.org/10.54097/mg9tma74