Research Article

Research on Movie Box Office Prediction Model Based on Machine Learning

Mohan Yan*
Central South University, Changsha, China, 410000

* Corresponding author: [email protected]

Abstract

With the unprecedented success of "Ne Zha 2" in 2025, China's animation film industry has achieved a historical breakthrough admist the global cinema market’s exponential growth. As box office prediction emerges as an essential tool for investment optimization and creative development, this study establishes a machine learning-based prediction framework analyzing core determinants of commercial performance. Utilizing the Kaggle movie dataset with USD-standardized financial metrics, this paper integrates multivariate features such as budget, genre, director, and audience ratings. Through comparative analysis of ridge regression, random forest, and XGBoost models enhanced by nested cross-validation and Bayesian hyperparameter optimization, the refined random forest model demonstrated superior predictive capability (RMSE = 8.6×10⁶, R² = 0.89), effectively capturing non-linear interactions. Feature importance analysis indicates that the number of audience votes (vote_count) and budget account for over 60% of the influence on box office performance, while movie runtime has relatively limited impact. The framework’s practical applications span three strategic dimensions: from optimizing fund allocation, adjusting creative directions, to scheduling strategies. This research advances film analytics methodology by establishing an interpretable prediction paradigm, while proposing future extensions incorporating real-time social media sentiment analysis and cross-cultural adaptation models, holding significant theoretical and practical value.

Keywords: Box office prediction; Machine learning; Random Forest; Feature importance; Cross-validation
Published: May 15, 2025
DOI: 10.54254/2755-2721/2025.22850
Volume: ACE Vol.151
pp. 82-89
Download PDF

References

  1. Yin, H., & Sun, Y. (2025, March 18). Moving Forward through the Fog: A Memo on the Chinese Film Industry in 2024. FilmArt, 1-14. http://kns.cnki.net/kcms/detail/11.1528.J.20250126.1424.002.html.
  2. Li P. & Dong, Q. (2021). A Box Office Prediction Model Based on Web Search Data and Machine Learning. Operations Research and Management Science, 30(11), 168-175.
  3. Li, D. & Liu, Z.-P. (2022). Predicting Box-Office Markets with Machine Learning Methods. Entropy, 24, 711. https://doi.org/10.3390/e24050711
  4. Nambooril, K. (2024). Movie-datasets [Data set]. Retrieved from https://www.kaggle.com/datasets/karthiknamboori1/movie-datasets
  5. Jaiswal M S, Kang B, Lee J, et al. (2020). Mute: Inter-class ambiguity driven multi-hot target encoding for deep neural network design. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops. 754-755.
  6. Zhang, S., & Lee, J. (2025). The impact of data normalization on the accuracy of machine learning algorithms: A comparative analysis. Journal of Machine Learning Research, 26(3), 456-478.
  7. Zheng, Y., & Ding, J. (2025). Comedy returns and the "head effect": New industry landscapes in the 2024 spring festival film season. Journal of Chinese Film Studies.
  8. Zhang, J, & An, F. (2025). Research on Causal Relationship Identification of High-Dimensional Sequences Using Elastic Net Regularization. Journal of North China University of Science and Technology (Natural Science Edition), 47(01), 96-105.
  9. Imani, M., Beikmohammadi, A., Arabnia, H.R. (2025). Comprehensive Analysis of Random Forest and XGBoost Performance with SMOTE, ADASYN, and GNUS Under Varying Imbalance Levels. Technologies, 13, 88.
  10. Chen T, He T, Benesty M, et al.(2015). Xgboost: extreme gradient boosting. R Package Version 0.4-2, 1(4): 1-4.
  11. Ramakrishna, A., & Rao, N. V. P. (2023). Convex Least Angle Regression Based LASSO Feature Selection and Swish Activation Function Model for Startup Survival Rate. Cybernetics and Information Technologies, 23(4), 110-127.
  12. Ramezan, C. A., Warner, T. E., & Maxwell, A. (2019). Evaluation of sampling and cross-validation tuning strategies for regional-scale machine learning classification. Remote Sensing, 11(2), 185.
  13. Adde, N. A., Gottschalk, H., & Ebert, A. (2024). Hyperparameter Optimization for Driving Strategies Based on Reinforcement Learning. arXiv preprint, arXiv:2407.14262, 2024.