The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Real-Time Data-Driven Decision Support in Retail: A Hybrid GraphSAGE+XGBoost Model for Predicting Reorder Behavior and Unraveling Consumer Communities

Author 1: Balayet Hossain Author 2: Md Deluar Hossen Author 3: Md Nuruzzaman Pranto Author 4: Belal Hossain Author 5: Sabrina Shamim Moushi Author 6: Nusrat Ameri Author 7: Khandakar Rabbi Ahmed
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 2 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170203

Abstract

The rising demand for real-time, data-driven decision support in retail platforms has underscored the need for intelligent systems capable of modeling both behavioral sequences and product relationships. This study introduces a hybrid architecture for real-time decision support in retailing by coupling graph-based learning with conventional machine learning methods. Based on Instacart 2017 data, it constructs a heterogeneous user-product graph and utilizes GraphSAGE to obtain relational embeddings. This combination of embeddings and domain-specific features is then fed into an XGBoost classifier to predict reorder behavior. Empirical findings show that the proposed GraphSAGE+XGBoost model outperforms conventional baselines, including the sole XGBoost, Multilayer Perceptron (MLP), and Long Short-Term Memory (LSTM) models. In particular, the hybrid model outperformed all baselines across all metrics, achieving a precision of 0.82, a recall of 0.78, an F1-score of 0.76, and a mean Average Precision (mAP) of 0.75. Furthermore, within the co-purchase network, product-level community identification identified significant clusters (such as breakfast staples, health-conscious products, and impulsive snacking) that provided insights into customer demographics and marketing potential. The experimental analysis comparing the proposed GraphSAGE+XGBoost with baseline models, including LSTM, XGBoost, and MLP, demonstrates that the proposed hybrid model outperforms in terms of modeling accuracy, Precision, and generalizability. The system is optimized for real-time inference and can operate in a dynamic commercial landscape, unraveling complex co-purchase behavior and hidden consumer communities.

Keywords

How to Cite this Article

Balayet Hossain, Md Deluar Hossen, Md Nuruzzaman Pranto, Belal Hossain, Sabrina Shamim Moushi, Nusrat Ameri and Khandakar Rabbi Ahmed. "Real-Time Data-Driven Decision Support in Retail: A Hybrid GraphSAGE+XGBoost Model for Predicting Reorder Behavior and Unraveling Consumer Communities". International Journal of Advanced Computer Science and Applications (IJACSA), Vol. 17, No. 2, 2026. https://doi.org/10.14569/IJACSA.2026.0170203

BibTeX

@article{Hossain2026,
  title     = {Real-Time Data-Driven Decision Support in Retail: A Hybrid GraphSAGE+XGBoost Model for Predicting Reorder Behavior and Unraveling Consumer Communities},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {2},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Balayet Hossain and Md Deluar Hossen and Md Nuruzzaman Pranto and Belal Hossain and Sabrina Shamim Moushi and Nusrat Ameri and Khandakar Rabbi Ahmed},
  doi       = {10.14569/IJACSA.2026.0170203},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170203}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.