CNN-transformer hybrid deep learning model for agricultural commodities price forecasting
B. S. Varshini, Md Wasi Alam, G. H. Harish Nayak, G. Avinash, Vinayaka, Rajeev Ranjan Kumar, Mrinmoy Ray
Indian Agricultural Statistics Research Institute · University of Agricultural Sciences, Dharwad
Key points
From the paper's conclusion- Traditional statistical models and recurrent deep learning approaches often struggle to capture nonlinear dynamics, abrupt fluctuations, and long-range temporal dependencies in agricultural price series.
Abstract
Accurate forecasting of agricultural commodity prices is crucial for maintaining market stability, effective risk management, and informed decision-making, particularly in developing economies with high price volatility and heterogeneous market structures. Traditional statistical models and recurrent deep learning approaches often struggle to capture nonlinear dynamics, abrupt fluctuations, and long-range temporal dependencies in agricultural price series. To overcome these limitations, this study proposes a CNN-Transformer hybrid architecture that combines the local feature extraction of Convolutional Neural Networks (CNNs) with the global dependency modelling of Transformer self-attention mechanisms, specifically designed to address limitations of existing hybrid models such as sequential bottlenecks, vanishing gradients, and limited scalability. The framework is evaluated on weekly potato prices from four structurally diverse Indian markets-Azadpur, Ludhiana, Dehradun, and Farrukhabad, covering varying data lengths and volatility regimes. Systematic hyperparameter tuning and extensive experiments demonstrate that the CNN-Transformer consistently outperforms established benchmarks, including CNN, LSTM, Bi-LSTM, GRU, CNN-LSTM, and standalone Transformer models, across RMSE, MAE, and MAPE metrics.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A Comprehensive Review for Agricultural Product Prices Forecasting: Architectural Diversity and Open ChallengesExpert Systems · 2026
- A novel agricultural commodity price prediction model integrating deep learning and enhanced swarm intelligence algorithmPLoS ONE · 2025
- A temporal fusion transformer for multi-step forecasting of Indonesia’s strategic food commodity pricesResults in Engineering · 2026
- Hybrid forecasting of agricultural commodity prices: Integrating machine learning, time series, and stochastic simulation modelsBorsa Istanbul Review · 2025
- Scaling spatiotemporal transformers for regional food security: a tri-stream latent-dynamic approach to pre-harvest yield and price forecastingFrontiers in Earth Science · 2026
- Corn price forecasts in the shadow of the Russian-Ukrainian conflictAgricultural Economics (Zemědělská ekonomika) · 2026