Research Article

Research on Advertising Prediction Based on Stacking Ensemble Algorithms

Sirui Fang*
School of Computer Science and Engineering, North Minzu University, Ningxia, China

* Corresponding author: [email protected]

Abstract

The purpose of advertising prediction is to analyze user behavior and features to forecast the effectiveness of ad placements, thereby achieving a higher return on investment. This paper employs a stacking-based ensemble learning method, integrating multiple machine learning algorithms to enhance predictive capabilities. To support this method, this article selected a dataset related to advertising click through rate (CTR). The paper constructs two models: Gradient Boosting Decision Tree (GBDT) and eXtreme Gradient Boosting (XGBoost). Then the paper utilizes Bayesian optimization to tune the model parameters to achieve optimal parameter combinations. The paper uses these two individual models as base learners in a stacking ensemble model, with a random forest model serving as the meta-learner for training. This paper evaluates the predictive performance of the models using two metrics: log loss value, and AUC value. After experimental evaluation, the AUC value of the Stack fusion model reached 0.9999, which is about 0.42%, 1.29%, and 10.99% higher than XGBoost (0.9956), Random Forest (0.9871), and GBDT (0.8904), respectively. In terms of logloss value, the Stack fusion model has a loss of 0.0101, significantly lower than XGBoost's 0.0595, a decrease of about 83.01%. Compared to the random forest's 0.1896 and GBDT's 0.1884, it decreased by approximately 94.67% and 94.64%, respectively. This result indicates that the ensemble model proposed in this paper demonstrates a significant improvement in click-through rate prediction when contrasted with individual models.

Keywords: Click through rate; GBDT; XGBoost
Published: January 15, 2025
DOI: 10.54254/2753-8818/2025.20166
Volume: TNS Vol.86
pp. 88-94
Download PDF

References

  1. Xiao, X., Li, X., & Liu, T. (2022). Research on improved CTR prediction model. Journal of Yangtze University (Natural Science Edition), 1-7.
  2. Lu, W., Xu, J., & Li, Y. (2022). Improved classification algorithm for stacking integration and its applications. Computer Applications and Software, 39(2), 281-286.
  3. Zhang, W., Du, T., & Wang, J. (2016). Deep learning over multi-field categorical data. In European Conference on Information Retrieval (pp. 45-57). Springer, Cham.
  4. Wang, X. (2018). CTR estimation based on RF, XGBoost, and FFM integration (Master’s thesis). Zhejiang University.
  5. Zheng, Z. (2023). Research and application of advertising clicks based on GBDT and attention mechanism (Master’s thesis). Nanchang University.
  6. Deng, L., & Liu, P. (2019). GMM-FMS-based advertising click-through rate prediction research. Computer Engineering, 45(05), 122-126.
  7. Li, B. (2024). Research and application of personalized recommendation model based on deep learning (Master’s thesis). Linyi University.
  8. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. ACM.