LSTM AND GRU IN RICE PREDICTION FOR FOOD SECURITY IN INDONESIA

Hunger in Indonesia remains a serious challenge, especially in the face of food price instability, particularly rice as the main staple food. In order to achieve SDG 2 “Zero Hunger” by 2030, policies that support price stability and more effective food distribution are needed. This study aims to assess the predictive power of Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models for Indonesian rice prices. The dataset, consisting of 1,424 observations from early 2021 to late 2024, was collected from official sources and preprocessed using normalization techniques. The data was then divided into training, validation, and testing sets. Each model was trained and evaluated using Root Mean Square Error (RMSE) and Mean Absolute Percentage Error (MAPE) metrics. LSTM, a type of Recurrent Neural Network (RNN), uses three gates and cell memory to identify long-term patterns in time series data. GRU, with a simpler structure involving only two gates, is more efficient in modeling temporal relationships. The results show that the LSTM model achieved MAPE 3.49%, while the GRU model outperformed it with MAPE 1.08%. Overall, the GRU model demonstrated higher accuracy in forecasting rice prices.

Authors

Institutions

Publication Details

Journal
BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN
Published
2025-11-24
DOI
https://doi.org/10.30598/barekengvol20iss1pp0055-0068
Primary Topic
Agricultural Development and Management
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

LSTM AND GRU IN RICE PREDICTION FOR FOOD SECURITY IN INDONESIA

Triyani Hendrawati, Anindya Apriliyanti Pravitasari, Kennedy Marthendra, Brian Riski Jayama Simanjuntak
BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPAN
Agricultural Development and Management
article

LSTM AND GRU IN RICE PREDICTION FOR FOOD SECURITY IN INDONESIA

Triyani Hendrawati, Anindya Apriliyanti Pravitasari, Kennedy Marthendra, Brian Riski Jayama Simanjuntak
article en

Abstract

Hunger in Indonesia remains a serious challenge, especially in the face of food price instability, particularly rice as the main staple food. In order to achieve SDG 2 “Zero Hunger” by 2030, policies that support price stability and more effective food distribution are needed. This study aims to assess the predictive power of Long Short-Term Memory (LSTM) and Gated Recurrent Unit (GRU) models for Indonesian rice prices. The dataset, consisting of 1,424 observations from early 2021 to late 2024, was collected from official sources and preprocessed using normalization techniques. The data was then divided into training, validation, and testing sets. Each model was trained and evaluated using Root Mean Square Error (RMSE) and Mean Absolute Percentage Error (MAPE) metrics. LSTM, a type of Recurrent Neural Network (RNN), uses three gates and cell memory to identify long-term patterns in time series data. GRU, with a simpler structure involving only two gates, is more efficient in modeling temporal relationships. The results show that the LSTM model achieved MAPE 3.49%, while the GRU model outperformed it with MAPE 1.08%. Overall, the GRU model demonstrated higher accuracy in forecasting rice prices.

BAREKENG JURNAL ILMU MATEMATIKA DAN TERAPANVol. 20(1)
Padjadjaran University (ID)
Universitas Padjadjaran
Openalex Percentile: Top 48%
Agricultural Development and Management
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.