Meta-transformer: leveraging metaheuristic algorithms for agricultural commodity price forecasting

Predicting agricultural commodity prices is inherently complex due to factors such as perishability, seasonality, and market volatility. To address these challenges, this study proposes a novel framework that combines Transformer models with Metaheuristic Algorithms (MHAs), including the Grey Wolf Optimizer (GWO), Whale Optimization Algorithm (WOA), and Particle Swarm Optimization (PSO) to enhance agricultural price forecasting accuracy. While Transformer architectures are known for their powerful time series modeling capabilities, their performance is highly sensitive to hyperparameter selection, especially in contexts with limited or noisy data. The novelty of this research lies in the automated and adaptive tuning of these hyperparameters using MHAs, enabling improved generalization, faster convergence, and enhanced predictive accuracy. By integrating MHAs, known for their fast convergence and global search efficiency, the proposed models, Transformer-PSO, Transformer-GWO, and Transformer-WOA offer enhanced training efficiency and improved forecasting accuracy. This hybrid modeling approach is applied to predict weekly prices of potatoes in key Northern Indian markets. Results demonstrate that the Transformer-GWO and Transformer-WOA models outperform conventional models such as GARCH by 70–90% across standard evaluation metrics like Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE). By bridging state-of-the-art deep learning architectures with robust optimization strategies, this study contributes a scalable and interpretable solution for agricultural price forecasting. The findings have significant implications for policymakers, market regulators, and farmers by supporting timely interventions, improving market transparency, and enabling data-driven decision-making.

Authors

Institutions

Publication Details

Journal
Journal Of Big Data
Published
2025-05-31
DOI
https://doi.org/10.1186/s40537-025-01196-5
Citations
11
Primary Topic
Evolutionary Algorithms and Applications
Type
article
Field-Weighted Citation Impact
27.29
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Meta-transformer: leveraging metaheuristic algorithms for agricultural commodity price forecasting

G. Avinash, G. H. Harish Nayak, K. N. Singh, Mrinmoy Ray et al.
11 citations
Journal Of Big Data
Evolutionary Algorithms and Applications
27.29
article

Meta-transformer: leveraging metaheuristic algorithms for agricultural commodity price forecasting

G. Avinash, G. H. Harish Nayak, K. N. Singh, Mrinmoy Ray, Rajeev Ranjan Kumar, Md. Wasi Alam, B. Samuel Naik, B S Varshini
article en
11 citations

Abstract

Predicting agricultural commodity prices is inherently complex due to factors such as perishability, seasonality, and market volatility. To address these challenges, this study proposes a novel framework that combines Transformer models with Metaheuristic Algorithms (MHAs), including the Grey Wolf Optimizer (GWO), Whale Optimization Algorithm (WOA), and Particle Swarm Optimization (PSO) to enhance agricultural price forecasting accuracy. While Transformer architectures are known for their powerful time series modeling capabilities, their performance is highly sensitive to hyperparameter selection, especially in contexts with limited or noisy data. The novelty of this research lies in the automated and adaptive tuning of these hyperparameters using MHAs, enabling improved generalization, faster convergence, and enhanced predictive accuracy. By integrating MHAs, known for their fast convergence and global search efficiency, the proposed models, Transformer-PSO, Transformer-GWO, and Transformer-WOA offer enhanced training efficiency and improved forecasting accuracy. This hybrid modeling approach is applied to predict weekly prices of potatoes in key Northern Indian markets. Results demonstrate that the Transformer-GWO and Transformer-WOA models outperform conventional models such as GARCH by 70–90% across standard evaluation metrics like Root Mean Squared Error (RMSE) and Mean Absolute Error (MAE). By bridging state-of-the-art deep learning architectures with robust optimization strategies, this study contributes a scalable and interpretable solution for agricultural price forecasting. The findings have significant implications for policymakers, market regulators, and farmers by supporting timely interventions, improving market transparency, and enabling data-driven decision-making.

Journal Of Big DataVol. 12(1)
Indian Agricultural Statistics Research Institute (IN), University of Agricultural Sciences, Dharwad (IN), National Institute of Occupational Health (IN), Indian Agricultural Research Institute (IN), Banaras Hindu University (IN)
Zero hunger
Openalex Percentile: Top 1%
Evolutionary Algorithms and Applications
27.29
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.