A Study on E-Commerce User Churn Prediction Based on the WOA-XGBoost Model

在电商竞争日益激烈的当今时代,用户流失问题对企业发展影响重大,防止客户流失是任何企业都需要重点解决的一个问题,因此预测流失用户一直是学术界研究的热点。本文基于抖音电商用户相关信息数据集,分别构建了决策树、随机森林、XGBoost模型对用户是否流失进行预测,测试集上的预测结果表明XGBoost模型在AUC值、召回率、F1指标效果最优。随后,鉴于XGBoost模型的性能易受参数影响,为进一步提升其预测精度,引入鲸鱼优化算法(WOA)对XGBoost的关键参数,如学习率、最大树深度、子采样率等进行全局寻优。在优化过程中,采用五折交叉验证法确保模型的泛化能力,避免过拟合现象。实验结果显示,经WOA优化后的XGBoost模型,相比原模型,在AUC指标上提升了1.20%,准确率提升1.05%,F1值增长了0.97%,在电商用户流失预测任务中展现出更强的预测能力和更高的可靠性,为电商平台精准识别流失用户、制定有效挽留策略提供了更优的技术方案。In the current era of increasingly fierce e-commerce competition, the problem of user churn has a significant impact on the development of enterprises. Preventing customer churn is a key issue that any enterprise needs to address. Therefore, predicting churn users has always been a hot topic in academic research. This paper uses the data set of TikTok e-commerce user-related information to construct decision tree, random forest, and XGBoost models respectively to predict whether users will churn. The prediction results on the test set show that the XGBoost model has the best performance in terms of AUC value, recall rate, and F1-measure. Subsequently, considering that the performance of the XGBoost model is vulnerable to parameter influences, in order to further improve its prediction accuracy, the Whale Optimization Algorithm (WOA) is introduced to globally optimize the key parameters of XGBoost, such as learning rate, maximum tree depth, subsample rate, etc. During the optimization process, the five-fold cross-validation method is adopted to ensure the generalization ability of the model and avoid overfitting. The experimental results show that, compared with the original model, the XGBoost model optimized by WOA has an increase of 1.20% in the AUC index, a 1.05% increase in accuracy, and a 0.97% enhancement in F1-value. It demonstrates stronger predictive ability and higher reliability in the task of e-commerce user churn prediction, providing a better technical solution for e-commerce platforms to accurately identify churn users and formulate effective retention strategies.

Authors

Publication Details

Journal
E-Commerce Letters
Published
2025-01-01
DOI
https://doi.org/10.12677/ecl.2025.1472384
Primary Topic
Customer churn and segmentation
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Study on E-Commerce User Churn Prediction Based on the WOA-XGBoost Model

忞 左
E-Commerce Letters
Customer churn and segmentation
article

A Study on E-Commerce User Churn Prediction Based on the WOA-XGBoost Model

忞 左
article en

Abstract

在电商竞争日益激烈的当今时代,用户流失问题对企业发展影响重大,防止客户流失是任何企业都需要重点解决的一个问题,因此预测流失用户一直是学术界研究的热点。本文基于抖音电商用户相关信息数据集,分别构建了决策树、随机森林、XGBoost模型对用户是否流失进行预测,测试集上的预测结果表明XGBoost模型在AUC值、召回率、F1指标效果最优。随后,鉴于XGBoost模型的性能易受参数影响,为进一步提升其预测精度,引入鲸鱼优化算法(WOA)对XGBoost的关键参数,如学习率、最大树深度、子采样率等进行全局寻优。在优化过程中,采用五折交叉验证法确保模型的泛化能力,避免过拟合现象。实验结果显示,经WOA优化后的XGBoost模型,相比原模型,在AUC指标上提升了1.20%,准确率提升1.05%,F1值增长了0.97%,在电商用户流失预测任务中展现出更强的预测能力和更高的可靠性,为电商平台精准识别流失用户、制定有效挽留策略提供了更优的技术方案。In the current era of increasingly fierce e-commerce competition, the problem of user churn has a significant impact on the development of enterprises. Preventing customer churn is a key issue that any enterprise needs to address. Therefore, predicting churn users has always been a hot topic in academic research. This paper uses the data set of TikTok e-commerce user-related information to construct decision tree, random forest, and XGBoost models respectively to predict whether users will churn. The prediction results on the test set show that the XGBoost model has the best performance in terms of AUC value, recall rate, and F1-measure. Subsequently, considering that the performance of the XGBoost model is vulnerable to parameter influences, in order to further improve its prediction accuracy, the Whale Optimization Algorithm (WOA) is introduced to globally optimize the key parameters of XGBoost, such as learning rate, maximum tree depth, subsample rate, etc. During the optimization process, the five-fold cross-validation method is adopted to ensure the generalization ability of the model and avoid overfitting. The experimental results show that, compared with the original model, the XGBoost model optimized by WOA has an increase of 1.20% in the AUC index, a 1.05% increase in accuracy, and a 0.97% enhancement in F1-value. It demonstrates stronger predictive ability and higher reliability in the task of e-commerce user churn prediction, providing a better technical solution for e-commerce platforms to accurately identify churn users and formulate effective retention strategies.

E-Commerce LettersVol. 14(07)
Openalex Percentile: Top 77%
Customer churn and segmentation
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.

A Study on E-Commerce User Churn Prediction Based on the WOA-XGBoost Model — 忞 左 · E-Commerce Letters (2025) | TGRS Research Map | TGRS