Bidirectional recurrent-attention integrator network — A hybrid attention mechanism for accurate real-time continuous blood glucose monitoring in diabetes

Continuous blood glucose monitoring plays a pivotal role in diabetes management, demanding precise and real-time predictive capabilities. This study introduces Bidirectional Recurrent-Attention Integrator Network (BR-AIN), a hybrid attention-based framework that leverages multi-head attention and hierarchical encoding mechanisms to enhance the accuracy and stability of glucose level predictions. The proposed model, BR-AIN, is evaluated on a multi-patient dataset using key performance metrics like Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) across multiple forecast horizons (15, 30, 45, and 60 min). A comparative analysis against benchmark models, including BiLSTM, plain LSTM, and standalone N-BEATS, demonstrates that the hybrid attention approach consistently achieves lower prediction errors and improved robustness, particularly in longer forecasting horizons. Visual analyses such as error heatmaps, boxplots of absolute error distributions, and rolling RMSE trends further support the model’s superior performance in capturing both short-term variability and long-term stability. We validated the clinical suitability of BR-AIN using Clarke Error Grid Analysis (CEGA) to categorize predictions into zones (A–E). The results show that BR-AIN produces clinically safe predictions, with more than 95% of forecasts falling within the clinically acceptable Zones A and B across all prediction horizons. The Wilcoxon signed-rank test on RMSE and MAPE at the 30-minute prediction horizon confirmed that BR-AIN achieves statistically significantly lower RMSE and MAPE than the baseline models, LSTM, BiLSTM, and N-BEATS. These findings highlight the potential of hybrid attention mechanisms as a dependable and expandable instrument for continuous real-time glucose monitoring in the treatment of diabetes. • Introduces BR-AIN, a hybrid recurrent-attention model for glucose monitoring. • Demonstrates superior accuracy across multiple forecast horizons. • Outperforms BiLSTM, LSTM, and N-BEATS baselines in robustness. • Supports diabetes management with real-time predictive stability.

Authors

Institutions

Publication Details

Journal
Scientific African
Published
2026-03-14
DOI
https://doi.org/10.1016/j.sciaf.2026.e03308
Primary Topic
Diabetes Management and Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Bidirectional recurrent-attention integrator network — A hybrid attention mechanism for accurate real-time continuous blood glucose monitoring in diabetes

Archana Mathur, Alexander Ngenzi, Nyirimana Jean Marie Vianney, Dheeraj Reddy Mudireddy
Scientific African
Diabetes Management and Research
article

Bidirectional recurrent-attention integrator network — A hybrid attention mechanism for accurate real-time continuous blood glucose monitoring in diabetes

Archana Mathur, Alexander Ngenzi, Nyirimana Jean Marie Vianney, Dheeraj Reddy Mudireddy
article en

Abstract

Continuous blood glucose monitoring plays a pivotal role in diabetes management, demanding precise and real-time predictive capabilities. This study introduces Bidirectional Recurrent-Attention Integrator Network (BR-AIN), a hybrid attention-based framework that leverages multi-head attention and hierarchical encoding mechanisms to enhance the accuracy and stability of glucose level predictions. The proposed model, BR-AIN, is evaluated on a multi-patient dataset using key performance metrics like Root Mean Square Error (RMSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) across multiple forecast horizons (15, 30, 45, and 60 min). A comparative analysis against benchmark models, including BiLSTM, plain LSTM, and standalone N-BEATS, demonstrates that the hybrid attention approach consistently achieves lower prediction errors and improved robustness, particularly in longer forecasting horizons. Visual analyses such as error heatmaps, boxplots of absolute error distributions, and rolling RMSE trends further support the model’s superior performance in capturing both short-term variability and long-term stability. We validated the clinical suitability of BR-AIN using Clarke Error Grid Analysis (CEGA) to categorize predictions into zones (A–E). The results show that BR-AIN produces clinically safe predictions, with more than 95% of forecasts falling within the clinically acceptable Zones A and B across all prediction horizons. The Wilcoxon signed-rank test on RMSE and MAPE at the 30-minute prediction horizon confirmed that BR-AIN achieves statistically significantly lower RMSE and MAPE than the baseline models, LSTM, BiLSTM, and N-BEATS. These findings highlight the potential of hybrid attention mechanisms as a dependable and expandable instrument for continuous real-time glucose monitoring in the treatment of diabetes. • Introduces BR-AIN, a hybrid recurrent-attention model for glucose monitoring. • Demonstrates superior accuracy across multiple forecast horizons. • Outperforms BiLSTM, LSTM, and N-BEATS baselines in robustness. • Supports diabetes management with real-time predictive stability.

Scientific AfricanVol. 32
Nitte University (IN), University of Kigali (RW), University of Rwanda (RW), Rwanda Biomedical Center (RW), Texas A&M University (US)
Zero hunger
Openalex Percentile: Top 23%
Diabetes Management and Research
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.