高级检索+

基于VMD-TCAN的大蒜价格预测与预警研究

Research on Garlic Price Prediction and Early Warning Based on VMD-TCAN

  • 摘要: 大蒜作为中国重要农产品和出口商品之一,精准预警大蒜价格波动对于保障农民收益与产业稳定至关重要。针对大蒜价格时间序列具有非线性、非平稳及“尖峰厚尾”分布特征,导致传统预警方法对复杂时序特征捕捉不足、预警方法准确率不高的问题,通过研究构建价格警情指标、大蒜价格警限划分的方法,研究构建VMD-TCAN的大蒜价格预测与分级预警模型,实现对大蒜价格的精准预测与自动预警。首先通过变分模态分解(variational mode decomposition,VMD)对大蒜价格序列进行分解,采用粒子群算法(particle swarm optimization,PSO)动态确定VMD(variational mode decomposition,VMD)最优参数,提取出具有不同中心频率的本征模态函数(intrinsic mode functions,IMF),实现了对长期趋势、季节波动与短期冲击等多尺度特征的有效分离。然后将IMF分量、大蒜历史价格与种植面积、库存、汇率等6类影响因素输入到基于贝叶斯(bayesian optimization ,BYS)全局寻优的时序卷积注意力网络模型(temporal convolutional attention-based network,TCAN)中,利用自注意力机制动态加权关键时间步特征,强化对价格异常波动的捕捉能力进行价格的精准预测与价格波动的风险预警。同时,针对大蒜价格波动率的非正态分布特性,采用基于历史波动率分布的分位数法划定五级警限区间,将连续价格预测结果映射为离散风险等级,构建"预测—预警"一体化框架。实验选取金乡产区2005~2024年日价格数据,试验结果表明,VMD-TCAN模型的均方根误差(root mean square error,RMSE)、决定系数 R^2 分别为0.042元/500g和0.998,预测精度显著优于单一对比模型及其对应的VMD混合模型;在预警性能方面,准确率和F1分数相较于TCN(temporal Convolutional Network,TCN)提升了约4.86个百分点和4.97个百分点。模型的实际应用能够更为精准地把握大蒜市场的异常波动,可为农民和相关企业提供及时、准确的价格预测与预警信息,同时为政府主管部门宏观调控提供参考。

     

    Abstract: Garlic is one of China’s major agricultural products and export commodities. Accurate early warning of garlic price fluctuations is of great significance for safeguarding farmers’ income and maintaining industrial stability. Given that the garlic price time series exhibits nonlinear, non-stationary, and “sharp-peaked and heavy-tailed” distribution characteristics, traditional early warning methods often fail to effectively capture complex temporal features, resulting in limited warning accuracy. To address these issues, this study constructs a price alert indicator system and a scientific warning threshold division method, and proposes a VMD-TCAN-based garlic price forecasting and graded early warning model to achieve precise prediction and automatic warning.first, to mitigate the high noise and non-stationarity of the original price series, Variational Mode Decomposition (VMD) is introduced. Unlike Empirical Mode Decomposition (EMD), which suffers from mode mixing and end effects, VMD iteratively searches for the optimal solution of variational modes and adaptively decomposes the signal into intrinsic mode functions (IMFs) with specific sparsity and finite bandwidth. To overcome the subjectivity in VMD parameter selection, a Particle Swarm Optimization (PSO) algorithm is employed, using minimum fuzzy entropy as the fitness function to dynamically determine the optimal number of modes and penalty factor. The complex garlic price series is thereby decomposed into eight IMFs with distinct center frequencies, effectively separating multi-scale components such as long-term trends, seasonal fluctuations, and short-term random shocks.second, a multi-source information fusion TCAN prediction model is developed. Six key external influencing factors covering the production side (planting area, planting cost), circulation side (inventory, export volume), and market side (exchange rate, CPI) are selected. Together with the VMD-derived IMF components and daily garlic prices, these variables form a high-dimensional input tensor. Based on the TCAN architecture, dilated causal convolution is utilized to efficiently extract long-range historical dependency features through exponentially expanding receptive fields while preserving temporal causality. A self-attention mechanism is further introduced to globally perceive multi-source inputs, dynamically assigning correlation weights to focus on critical time steps that significantly influence price movements. This design substantially enhances the model’s capability to capture abnormal price volatility intensity and trend turning points under complex market dynamics.finally, an integrated “forecasting–early warning” framework is established. The Shapiro–Wilk test reveals that garlic price volatility follows a non-normal, sharp-peaked and heavy-tailed distribution, rendering the traditional 3\sigma rule inapplicable. Therefore, a quantile-based method grounded in the historical volatility distribution is adopted to scientifically define five warning levels: severe negative warning, mild negative warning, no warning, mild positive warning, and severe positive warning. Continuous numerical forecasts are thus mapped into discrete risk-level signals.using daily price data from the Jinxiang production area spanning 2005 to 2024, experimental results demonstrate that the proposed VMD-TCAN model achieves a root mean square error (RMSE) of 0.042 and a coefficient of determination (R2) of 0.998, significantly outperforming benchmark models and their corresponding VMD-based hybrid versions. In terms of early warning performance, the accuracy and F1-score improve by approximately 4.86% and 4.97%, respectively, compared with the TCN model. The proposed model enables more precise identification of abnormal fluctuations in the garlic market, providing timely and reliable price forecasts and warning information for farmers and related enterprises, and offering decision support for governmental macro-regulation.

     

/

返回文章
返回