A Multi-Task CNN-LSTM Model with Attention Mechanism for Climate Temperature Forecasting over Iraq

Accurate forecasting of climate temperature at the regional scale is crucial to agriculture planning, water resource management, and disaster preparedness. Still, due to the nonlinear and complicated temporal patterns in regions such as Iraq, conventional climate models fail to meet this imperative. This paper presents a novel deep learning model that not only predicts monthly average temperature values but also predicts the temperature trend, hence addressing the regional climate prediction problem holistically. The proposed model is designed as a multi-task deep learning framework integrating Convolutional Neural Networks, Long Short-Term Memory networks, and an attention mechanism to process historical monthly temperature data obtained from the Berkeley Earth dataset using a sliding window method. The model is learned a shared representation for both regression and classification, therefore optimized together. Classification accuracy of 94.81%, ROC AUC of 0.9839, and R² score 0.9773 for regression were obtained, thus proving the capability of model to efficiently capture local and long-range temporal dependencies and give importance to influential time steps. As such, the proposed CNN-LSTM-Attention model in multi-task learning configuration presents a promisingly accurate, interpretable, and computationally-effective temperature prediction and trend classification, applicable to regional climate modeling and decision support for climate-sensitive areas.

Authors

Publication Details

Journal
Al-Bahir Journal for Engineering and Pure Sciences
Published
2026-03-20
DOI
https://doi.org/10.55810/2313-0083.1130
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

A Multi-Task CNN-LSTM Model with Attention Mechanism for Climate Temperature Forecasting over Iraq

Lailan M. Haji, Omar M. Ahmed, Salim M. Mohammed, Omar M. Mustafa
Al-Bahir Journal for Engineering and Pure Sciences
Hydrological Forecasting Using AI
article

A Multi-Task CNN-LSTM Model with Attention Mechanism for Climate Temperature Forecasting over Iraq

Lailan M. Haji, Omar M. Ahmed, Salim M. Mohammed, Omar M. Mustafa
article en

Abstract

Accurate forecasting of climate temperature at the regional scale is crucial to agriculture planning, water resource management, and disaster preparedness. Still, due to the nonlinear and complicated temporal patterns in regions such as Iraq, conventional climate models fail to meet this imperative. This paper presents a novel deep learning model that not only predicts monthly average temperature values but also predicts the temperature trend, hence addressing the regional climate prediction problem holistically. The proposed model is designed as a multi-task deep learning framework integrating Convolutional Neural Networks, Long Short-Term Memory networks, and an attention mechanism to process historical monthly temperature data obtained from the Berkeley Earth dataset using a sliding window method. The model is learned a shared representation for both regression and classification, therefore optimized together. Classification accuracy of 94.81%, ROC AUC of 0.9839, and R² score 0.9773 for regression were obtained, thus proving the capability of model to efficiently capture local and long-range temporal dependencies and give importance to influential time steps. As such, the proposed CNN-LSTM-Attention model in multi-task learning configuration presents a promisingly accurate, interpretable, and computationally-effective temperature prediction and trend classification, applicable to regional climate modeling and decision support for climate-sensitive areas.

Al-Bahir Journal for Engineering and Pure SciencesVol. 8(2)
Climate action
Openalex Percentile: Top 13%
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.