Proceedings of the
35th European Safety and Reliability Conference (ESREL2025) and
the 33rd Society for Risk Analysis Europe Conference (SRA-E 2025)
15 – 19 June 2025, Stavanger, Norway

Machine Learning-Driven Prediction of Consumers' Pre-purchase Safety Behaviors in Online Shopping Malls

Kenichi Miura1,a, Xiaodong Feng1,b and Kun Zhang2

1Department of Information Science and Control Engineering, Nagaoka University of Technology, Japan.

2Department of System Safety Engineering, Nagaoka University of Technology, Japan.

ABSTRACT

As online shopping malls play an increasingly crucial role in consumers' daily lives, large amounts of consumer and transactional data have become available. While current machine learning applications in e-commerce focus primarily on enhancing customer experience, increasing sales, and providing personalized recommendations, the analysis of consumer risk behaviors remains underexplored. This study addresses that gap by predicting consumers' pre-purchase safety behaviors to enable the development of personalized safety education programs, ultimately helping prevent unsafe or non-compliant product purchases. We utilize an online survey dataset, which includes consumer demographics, newly defined safety knowledge levels, and reported safety practices-such as checking reviews, monitoring public alerts, and verifying sellers. Five machine learning models were compared: Linear Regression, Random Forest, Neural Network, XGBoost, and SVM. Results from the model comparison indicate that SVM outperforms the other methods, achieving the lowest mean absolute error in numerical predictions and the highest accuracy and AUC in binary classifications of safety behaviors. These findings highlight the influential role of consumer safety knowledge and demographics in shaping pre-purchase risk decisions. Based on the SVM model's predictions, we propose personalized consumer safety education initiatives, such as pre-purchase pop-up or e-mails, that online mall operators can implement to promote safer purchasing decisions. The study demonstrates the feasibility and effectiveness of machine learning in identifying high-risk consumers, offering valuable insights for enhancing product safety awareness and fostering safer e-commerce environments.

Keywords: Online shopping malls, Consumer knowledge, Consumer education, Pre-purchase behaviors, Product safety, Machine learning, Risk mitigation, Predictive analytics, Personalized interventions, Cross-border E-commerce, Data privacy, Internet consumer behavior.



Download PDF