SE-stacking: Improving user purchase behavior prediction by information fusion and ensemble learning

Jing Xu, Jie Wang, Ye Tian, Jiangpeng Yan, Xiu Li, Xin GaoPLoS 2020 · DOI · OpenAlex

Abstract

Online shopping behavior has the characteristics of rich granularity dimension and data sparsity and presents a challenging task in e-commerce. Previous studies on user behavior prediction did not seriously discuss feature selection and ensemble design, which are important to improving the performance of machine learning algorithms. In this paper, we proposed an SE-stacking model based on information fusion and ensemble learning for user purchase behavior prediction. After successfully using the ensemble feature selection method to screen purchase-related factors, we used the stacking algorithm for user purchase behavior prediction. In our efforts to avoid the deviation of the prediction results, we optimized the model by selecting ten different types of models as base learners and modifying the relevant parameters specifically for them. Experiments conducted on a publicly available dataset show that the SE-stacking model can achieve a 98.40% F1 score, approximately 0.09% higher than the optimal base models. The SE-stacking model not only has a good application in the prediction of user purchase behavior but also has practical value when combined with the actual e-commerce scene. At the same time, this model has important significance in academic research and the development of this field.

Introduction

In the competitive landscape of e-commerce, accurately predicting user purchase behavior is a critical objective. However, online shopping data presents significant challenges: it is often sparse, as most users do not complete purchases, and it possesses high granularity, involving a vast array of user actions, timestamps, and historical data.

Existing research often overlooks two pivotal components: robust feature selection and diverse ensemble design. Many models suffer from "noise" in the data or inherent biases from relying on a single type of algorithm. To address these gaps, this study introduces SE-stacking, a framework that integrates a novel ensemble feature selection method with a heterogeneous stacking architecture.

Methodology: The SE-stacking Framework

The proposed SE-stacking model operates in two primary stages: feature selection and predictive stacking.

1. Sort Aggregation Ensemble Feature Selection (SA-EFS)

To ensure the most relevant features are utilized, the researchers developed the SA-EFS method. Instead of relying on a single metric, this approach fuses insights from three distinct methods: Maximum Information Coefficient (MIC), LightGBM, and XGBoost.

The SA-EFS process for robust feature selection.

By ranking 82 engineered features across these three perspectives and applying a sort aggregation rule, the model identifies the top 15 features. This multi-perspective approach ensures that the selected features are robust and minimize redundancy.

2. The Stacking Ensemble Architecture

The core of the prediction engine is a stacking ensemble that leverages "information fusion."

The overall SE-stacking framework, illustrating the flow from data preprocessing to the final fusion model.
  • Base Learners: The model employs 10 diverse "base" learners, including tree-based models (XGBoost, Catboost, LightGBM, RandomForest, AdaBoost, ExtraTrees), linear models (Logistic Regression, LinearSVC), a neighbor-based model (kNN), and a probabilistic model (Gaussian Bayesian). This diversity allows the ensemble to cancel out individual model biases.
  • Meta-Learner: A final Logistic Regression model acts as the meta-learner, fusing the predictions from the 10 base models into a single, high-precision output.

Data and Feature Engineering

The study utilized the HI GUIDES tourism service dataset, comprising approximately 1.37 million records from over 50,000 users. The data includes user profiles, browsing history, and order details.

A key contribution of this work is the transformation of raw timestamps into 82 structural features. Specifically, the authors found that "first-order differences"—the time elapsed between sequential steps in the purchase funnel (e.g., time between form filling and payment)—were highly predictive of final purchase behavior.

Results and Key Insights

The SE-stacking model demonstrated superior performance across several metrics:

  • Accuracy and Precision: The model achieved an F1 score of 98.40%, outperforming the best individual base model (CatBoost) by 0.09%. While the margin appears small, such improvements are significant in high-volume commercial environments.
  • Computational Efficiency: Despite its complexity, the fusion model is remarkably efficient. The meta-learner's training time was only 2.97 seconds, as it processes a low-dimensional input (the 10 predictions) rather than the original high-dimensional dataset.
  • Feature Robustness: Correlation analysis confirmed that the 15 features selected by SA-EFS had low mutual correlation, validating the effectiveness of the ensemble selection method in capturing unique behavioral indicators.

Conclusion and Future Directions

The SE-stacking model provides a robust solution for purchase prediction by combining diverse algorithmic perspectives. While highly effective, the authors note that future work should explore category-specific behaviors and address the "cold start" problem for new users without historical data. Nonetheless, the integration of SA-EFS and heterogeneous stacking represents a significant advancement in applying ensemble learning to complex e-commerce datasets.

Summary updated

Abstract

Online shopping behavior has the characteristics of rich granularity dimension and data sparsity and presents a challenging task in e-commerce. Previous studies on user behavior prediction did not seriously discuss feature selection and ensemble design, which are important to improving the performance of machine learning algorithms. In this paper, we proposed an SE-stacking model based on information fusion and ensemble learning for user purchase behavior prediction. After successfully using the ensemble feature selection method to screen purchase-related factors, we used the stacking algorithm for user purchase behavior prediction. In our efforts to avoid the deviation of the prediction results, we optimized the model by selecting ten different types of models as base learners and modifying the relevant parameters specifically for them. Experiments conducted on a publicly available dataset show that the SE-stacking model can achieve a 98.40% F1 score, approximately 0.09% higher than the optimal base models. The SE-stacking model not only has a good application in the prediction of user purchase behavior but also has practical value when combined with the actual e-commerce scene. At the same time, this model has important significance in academic research and the development of this field.
BibTeX
@inproceedings{xu2020se,
  author = {Jing Xu and Jie Wang and Ye Tian and Jiangpeng Yan and Xiu Li and Xin Gao},
  title = {{SE-stacking: Improving user purchase behavior prediction by information fusion and ensemble learning}},
  booktitle = {PLoS},
  year = {2020},
  doi = {10.1371/journal.pone.0242629},
}
Figure