Rainfall Prediction Using Attention-Based LSTM Architecture

This study addresses the challenge of accurately predicting rainfall in regions with complex climate dynamics, such as Malang Regency, East Java. It evaluates the performance of a Long Short-Term Memory (LSTM) model enhanced with the Bahdanau Attention Mechanism, comparing it with a Standard LSTM model in forecasting daily rainfall based on historical weather parameters including average temperature, relative humidity, sunshine duration, and wind speed. Using daily data from BMKG covering 2000 to 2023, both models underwent a structured machine learning process including data preprocessing, feature selection, model training, and evaluation. The Attention-Based LSTM consistently outperformed the Standard LSTM, particularly in handling rainfall anomalies, achieving an MSE of 0.00800 and RMSE of 0.08948, compared to 0.00817 and 0.09039 respectively for the Standard LSTM. These results demonstrate that integrating Bahdanau Attention improves the model’s focus on relevant temporal features, enhancing prediction accuracy and robustness. The architecture consisting of two LSTM cells combined with the attention mechanism effectively captures complex sequential patterns that the standard model tends to overlook. This research highlights the potential of attention mechanisms in time series weather prediction, contributing to more reliable early warning systems, adaptive agricultural strategies, and disaster risk reduction frameworks. Future work could explore hybrid models or incorporate additional weather features to further improve performance and generalization.

Authors

Publication Details

Journal
JURIKOM (Jurnal Riset Komputer)
Published
2025-06-30
DOI
https://doi.org/10.30865/jurikom.v12i3.8727
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Rainfall Prediction Using Attention-Based LSTM Architecture

Irwan Budi Santoso, Cahyo Crysdian, Ahmad Romadhani
JURIKOM (Jurnal Riset Komputer)
Hydrological Forecasting Using AI
article

Rainfall Prediction Using Attention-Based LSTM Architecture

Irwan Budi Santoso, Cahyo Crysdian, Ahmad Romadhani
article en

Abstract

This study addresses the challenge of accurately predicting rainfall in regions with complex climate dynamics, such as Malang Regency, East Java. It evaluates the performance of a Long Short-Term Memory (LSTM) model enhanced with the Bahdanau Attention Mechanism, comparing it with a Standard LSTM model in forecasting daily rainfall based on historical weather parameters including average temperature, relative humidity, sunshine duration, and wind speed. Using daily data from BMKG covering 2000 to 2023, both models underwent a structured machine learning process including data preprocessing, feature selection, model training, and evaluation. The Attention-Based LSTM consistently outperformed the Standard LSTM, particularly in handling rainfall anomalies, achieving an MSE of 0.00800 and RMSE of 0.08948, compared to 0.00817 and 0.09039 respectively for the Standard LSTM. These results demonstrate that integrating Bahdanau Attention improves the model’s focus on relevant temporal features, enhancing prediction accuracy and robustness. The architecture consisting of two LSTM cells combined with the attention mechanism effectively captures complex sequential patterns that the standard model tends to overlook. This research highlights the potential of attention mechanisms in time series weather prediction, contributing to more reliable early warning systems, adaptive agricultural strategies, and disaster risk reduction frameworks. Future work could explore hybrid models or incorporate additional weather features to further improve performance and generalization.

JURIKOM (Jurnal Riset Komputer)Vol. 12(3)
Openalex Percentile: Top 83%
Hydrological Forecasting Using AI
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.