Realtime customer churn rate prediction _ churn guard RT
Zenodo Description ChurnGuard RT is an end-to-end, real-time customer churn prediction, explainability, and retention decision-intelligence framework designed for subscription-driven telecommunications markets. Moving beyond static, offline batch classifiers and arbitrary decision thresholds ($\tau = 0.50$), this paper presents a zero-cost, open-source, four-tier streaming architecture that unifies low-latency inference, explainable AI, cost-sensitive profit optimization, statistical drift governance, and unsupervised customer segmentation. System Architecture & Methodology Decoupled Real-Time Pipeline: Integrates an external HTTP event producer, a stateless FastAPI inference microservice with OpenAPI/Swagger documentation, a concurrent SQLite Write-Ahead Logging (WAL) database, and a non-blocking, auto-refreshing Streamlit monitoring dashboard. Leakage-Free ML Benchmarking: Evaluates Logistic Regression, Random Forest, XGBoost, and LightGBM on the IBM Telco Customer Churn benchmark ($N = 7,043$; 26.54% baseline churn), enforcing strict training-only preprocessing and SMOTE resampling on the 80% stratified split while keeping the 20% holdout set ($n = 1,409$) untouched. Explainability & Retention Copilot: Pairs exact local TreeSHAP/LinearSHAP attributions with an interactive What-If Counterfactual Simulator and a multi-channel AI Retention Copilot (Email, WhatsApp/SMS, and Agent Call Scripts). Profit-Driven Thresholding: Formulates a customer-level Expected Retention Profit function incorporating individualized Customer Lifetime Value (CLV), discount duration, outreach cost, save-rate probability, and false-positive redemption leakage. Automated Drift Governance & Persona Segmentation: Monitors 11 covariates and prediction score distributions using Population Stability Index (PSI), Kolmogorov-Smirnov (KS), and Chi-Square tests, alongside K-Means ($k = 4$) clustering and 3D PCA projection. Key Empirical Results Calibration & Targeting: The champion XGBoost model achieves a holdout Brier score of 0.1436, a 2.83x Top-10% decile lift, and captures 50.3% of all churners within the Top-20% risk quantile. Financial Impact: Shifting the classification cutoff from $\tau = 0.50$ to the cost-sensitive optimum $\tau^* = 0.12$ increases expected net retention profit on the holdout cohort from $80,225 to $106,481—an incremental gain of +$26,256 (+32.73%). Drift Detection: Cleanly distinguishes stable holdout traffic (Score PSI = 0.0040) from simulated economic downturn shifts (Score PSI = 0.2840, 3 critically drifted features), automatically triggering retraining advisories. Segmentation & Latency: 3D PCA captures 81.9% of total variance across four distinct subscriber risk personas, while end-to-end live FastAPI + SQLite WAL ingestion operates at 37.6–121.0 ms (mean 72.69 ms) per event with zero concurrency locks.
Authors
- Satyam Kumar (ORCID: https://orcid.org/0009-0009-7747-4291)
Institutions
- Noida International University (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-26
- DOI
- https://doi.org/10.5281/zenodo.24555391
- Primary Topic
- Customer churn and segmentation
- Type
- preprint