Generative artificial intelligence personalization and consumer behavior analytics
Abstract
Batik micro, small and medium enterprises (MSMEs) sustain Indonesia's textile heritage and local livelihoods but struggle with customer retention due to conventional marketing and limited artificial intelligence (AI) adoption. The shift to digital commerce requires affordable, culturally relevant AI strategies. This study proposes an integrated framework combining recency, frequency, monetary (RFM) analytics, K-means clustering (K = 5), random forest churn prediction, and transformer-based generative AI for personalized promotions delivered via WhatsApp business API. Evaluated over 12 months with 20 batik MSMEs in Central Java (300 customers, 873 transactions), the framework employed temporal data splitting (9 months training, 3 months testing) and A/B testing against generic campaigns. Human evaluation assessed message relevance and cultural appropriateness, while all data were anonymized with informed consent. Results show improvements of +17% in retention prediction accuracy, +23% in click-through rate, and +21% in purchase frequency versus baselines (p < 0.05, Cohen's d = 0.68, power > 0.8). The system costs below USD 20 per MSME per month, offering a scalable, human-centered pathway to strengthen loyalty in emerging markets.
Keywords
Customer retention; Emerging markets; GenAI personalization; K-means clustering; Random forest; RFM analytics
Full Text:
PDFDOI: http://doi.org/10.11591/ijai.v15.i5.pp4919-4932
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Endang Tjahjaningsih, Elen Puspitasari, Felix Andreas Sutanto, Dewi Handayani Untari Ningsih, Dwi Budi Santoso

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
IAES International Journal of Artificial Intelligence (IJ-AI)
ISSN/e-ISSN 2089-4872/2252-8938
This journal is published by the Institute of Advanced Engineering and Science (IAES).