Submitted:
12 February 2025
Posted:
13 February 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Ginger Price Prediction Framework Based on STL-LSTM-ATT-KAN Modeling
2.1. Analysis of Impact Factors
2.2. Theoretical Approach and Model Construction
2.2.1. STL Time Series Decomposition Techniques
2.2.2. LSTM-ATT-KAN Model Construction
2.3.3. Multi-Population Adaptive Particle Swarm Optimization Algorithm Optimization
3. Experimental Design and Analysis of Results
3.1. Experimental Setup
3.1.1. Experimental Environment
3.1.2. Data Sources
3.1.3. Data Processing
3.2. Forecast Evaluation Indicators
3.3. Forecast Results and Analysis
3.3.1. Parameterization
3.3.2. Experimental Results
3.3.3. Comparative Experimental Results
3.3.4. Results of Ablation Experiments

| Evaluation Metrics | STL-LSTM-ATT-KAN | STL-LSTM | LSTM |
|---|---|---|---|
| MAE | 0.111 | 1.017 | 0.643 |
| MSE | 0.021 | 5.584 | 0.782 |
| RMSE | 0.146 | 2.363 | 0.884 |
| R² | 0.998 | 0.987 | 0.928 |
4. Conclusions
Funding
References
- Liu, F.; Wang, R.; Li, C. The application of ARIMA model in the prediction of agricultural commodity prices. Computer Engineering and Application, 2009, 45, 238–239. [Google Scholar]
- Ding, W.; He, Y.; Liu, C. China's corn price fluctuation trend and short-term forecast. Price Theory and Practice, 2014, (04):83-84. [CrossRef]
- Ravishankar, P.; Rakesh, S.; Ranjit, P.K. Price Forecasting of Mango in Varanasi Market of Uttar Pradesh. :218-224.
- Wang, B.; Song, Y.; Zong, Y. Cucumber price trend analysis and market forecast based on ARIMA model. Statistics and Management, 2019, (10):87-90.
- Agriculture - Potato Research; Findings from Ankara University Update Knowledge of Potato Research (Potato Price Forecasting With Holt-winters and Arima Methods: a Case Study). Agriculture Week, 2020, 55-.
- Gestel, V.T.; Suykens KA, J.; Baestaens, D.; et al. Financial time series prediction using least squares support vector machines within the evidence framework. IEEE Trans. Neural Networks, 2001, 12, 809–821. [Google Scholar] [CrossRef] [PubMed]
- Das, M.; Ghosh, S.K. A probabilistic approach for weather forecast using spatio-temporal inter-relationships among climate variables [C]//2014 9th International Conference on Industrial and Information Systems (ICIIS). IEEE, 2014: 1-6.
- Duan, Q.; Zhang, L.; Wei, F.; et al. Forecasting model and validation of aquatic product price based on time series GA-SVR. Journal of Agricultural Engineering, 2017, 33, 308–314. [Google Scholar]
- Wang, P.; Zhang, H.; Qin, Z.; et al. A novel hybrid-Garch model based on ARIMA and SVM for PM2. 5 concentrations forecasting. Atmospheric Pollution Research, 2017, 8, 850–860. [Google Scholar] [CrossRef]
- Polyiam, K.; Boonrawd, P. A hybrid forecasting model of cassava price based on artificial neural network with support vector machine technique[C]. IEEE, 2017:123-127. [CrossRef]
- Zhao, B.; Huo, Q.; Lu, Y. Research on the characteristics of ginger price fluctuation and its law -an analysis based on ARCH class model. Price Theory and Practice, 2022, (05): 130-133.
- Teng, J.; Liu, P.; Zhang, Y.; Xu, S.; Xu, G.; Han, W. A study on ginger price prediction based on Prophet. Chinese Journal of Agricultural Chemistry, 2020, 41, 211–216. [Google Scholar]
- Wang, Y. Research on the combination prediction model of ginger price based on multiple influencing factors [D]. Shandong Agricultural University, 2023.
- Lv, X. Research on Price Forecasting of Small Agricultural Products Based on the Influence of Network Public Opinion[D]. Northeast Agricultural University, 2023.
- Raj, C.; Nath, H.G.; Raj, N.B.; et al. An analysis of the ginger value chain in palpa, Nepal. Cogent Food Agriculture 2023, 9. [Google Scholar]
- Manjubala, M. Weekly price prediction of garlic and ginger using complex exponential smoothing. 2023.
- Li, H.; Jia, Y.; Zhang, Y. Research On Pricing Strategies Based on Time Series Analysis Model and Greedy Algorithm Model. Highlights in Business, Economics and Management 2024, 25, 127–133. [Google Scholar] [CrossRef]
- Fu, L.; Zhang, H. Analysis of Price Influencing Factors of Small-Scale Agricultural Products Based on Network Perspective. 2023.
- Anamisa Devie Rosa; et al. Long Short-Term Memory Method Based on Normalization Data For Forecasting Analysis of Madura Ginger Selling Price[C], 2023.
- Lin, S.; Runger, C.G. GCRNN: Group-Constrained Convolutional Recurrent Neural Network. IEEE Trans. Neural Netw. Learning Syst. 2018, 29, 4709–4718. [Google Scholar] [CrossRef] [PubMed]
- Hu, L.; Li, J.; Nie, L.; et al. What Happens Next? Future Subevent Prediction Using Contextual Hierarchical LSTM[C]. 2017. [CrossRef]
- Zhang, Y.; Yang, X.; Ivy, J.; et al. ATTAIN: Attention-based Time-Aware LSTM Networks for Disease Progression Modeling[C]//Twenty-Eighth International Joint Conference on Artificial Intelligence {IJCAI-19. 2019. [CrossRef]
- Liu, Z.; Wang, Y.; Vaidya, S.; et al. Kan: Kolmogorov-arnold networks. arXiv 2024, arXiv:2404.19756, preprint. [Google Scholar]
- Zhi, L.; Zuo, Y. Collaborative Path Planning of Multiple AUVs Based on Adaptive MultiPopulation PSO. (2).











| Level 1 impact factors | Specific influencing factors |
|---|---|
| Agricultural price factors | Average daily price of garlic |
| Average daily price of onions | |
| Agricultural production factors | Average daily temperature in the main ginger producing areas |
| Area under cultivation (10,000 acres) | |
| Harvested area (annual) | |
| Production (tons) | |
| production volume index | |
| Economic indicator factors | Consumer Price Index (CPI) for Fresh Vegetables |
| Broad money supply M2 | |
| Exchange rate (USD/CNY) | |
| Disposable income of the population | |
| International market factors | export amount |
| export volume | |
| International crude oil prices | |
| Market Opinion Factors | Ginger Opinion |
| model parameter | parameter value |
|---|---|
| kan_units | 22 |
| lstm_units | 50 |
| learning_rate | 0.004 |
| batch_size | 36.451 |
| Evaluation Metrics | STL-LSTM-ATT-KAN | RF | SVM | ARIMA | XGBoost | CNN | RNN | LSTM | GRU |
|---|---|---|---|---|---|---|---|---|---|
| MAE | 0.111 | 0.113 | 0.224 | 4.692 | 0.123 | 0.398 | 0.295 | 0.643 | 0.707 |
| MSE | 0.021 | 0.032 | 0.143 | 27.864 | 0.0409 | 0.268 | 0.1737 | 0.782 | 1.195 |
| RMSE | 0.146 | 0.181 | 0.378 | 5.278 | 0.202 | 0.518 | 0.416 | 0.884 | 1.093 |
| R² | 0.998 | 0.996 | 0.986 | -1.549 | 0.996 | 0.975 | 0.984 | 0.928 | 0.890 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).