Research Article

Movie genre prediction based on the bidirectional encoder representations from transformer

Lu Li1, Jin Lin2, Tongyu Li2,*
1. Tongji University
2. The University of Sheffield

* Corresponding author: [email protected]

Abstract

The rapid expansion of digital media has underscored the growing significance of predicting genres to target audiences effectively and to enhance filmmakers' understanding of viewer preferences. In this study, we introduced a novel method for forecasting movie genres, leveraging the power of the Bidirectional Encoder Representations from Transformer (BERT) deep learning model. The research team employed a dataset sourced from Douban's website, which featured 5,000 movies, complete with cover images, titles, and genre information. This undertaking tackled several key challenges, including the extraction of features from textual data, the categorization of movie genres, and the incorporation of cultural nuances. BERT's bidirectional representation, especially its variant tailored for Chinese language tasks, 'bert-base-chinese', was employed to extract textual features. Meanwhile, the visual features from movie covers were processed using the Wide ResNet-50-2 architecture. The combined features underwent classification, and the resulting model achieved an accuracy of 34.67%, a recall rate of 74.5%, and an F1 score of 0.4755. The study validates the potential of the BERT model in predicting movie genres and offers significant insights for future research in multimedia content classification.

Keywords: Machine Learning; Deep Learning; Natural Language Processing
Published: March 15, 2024
DOI: 10.54254/2755-2721/47/20241383
Volume: ACE Vol.47
pp. 232-237
Download PDF

References

  1. Makita E and Lenskiy A 2016 CoRR abs/1604.08608 (Preprint 1604.08608) URL http://arxiv.org/abs/1604.08608
  2. Zhang Z Gu Y Plummer B A Miao X Liu J and Wang H 2022 Effectively leveraging Multi-modal Features for Movie Genre Classification (arXiv Preprint 2203.13281)
  3. Kundalia K Patel Y and Shah M 2019 Augmented Human Research 5 11 ISSN 2365-4325 URL https://doi.org/10.1007/s41133-019-0029-y
  4. Suzuki K 2017 Overview of deep learning in medical imaging. Radiological physics and technology 10(3) 257-273
  5. Qiu Y et al 2022 Pose-guided matching based on deep learning for assessing quality of action on rehabilitation training Biomedical Signal Processing and Control 72 103323
  6. Huang J Chai J and Cho S 2020 Deep learning in finance and banking: A literature review and classification Frontiers of Business Research in China 14(1) 1-24
  7. Bert-base-chinese 2021 https://huggingface.co/bert-base-chinese
  8. Devlin J Chang M W Lee K and Toutanova K 2019 BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding (arXiv Preprint 1810.04805)
  9. Huang Y Cheng Y Chen D Lee H Ngiam J Le Q V and Chen Z 2018 CoRR abs/1811.06965 (Preprint 1811.06965) URL http://arxiv.org/abs/1811.06965
  10. Kim C Lee H Jeong M Baek W Yoon B Kim I Lim S and Kim S 2020 (arXiv Preprint 2004.09910)