Frontiers in Big Data (Sep 2024)

Navigating pathways to automated personality prediction: a comparative study of small and medium language models

  • Fatima Habib,
  • Zeeshan Ali,
  • Akbar Azam,
  • Komal Kamran,
  • Fahad Mansoor Pasha

DOI
https://doi.org/10.3389/fdata.2024.1387325
Journal volume & issue
Vol. 7

Abstract

Read online

IntroductionRecent advancements in Natural Language Processing (NLP) and widely available social media data have made it possible to predict human personalities in various computational applications. In this context, pre-trained Large Language Models (LLMs) have gained recognition for their exceptional performance in NLP benchmarks. However, these models require substantial computational resources, escalating their carbon and water footprint. Consequently, a shift toward more computationally efficient smaller models is observed.MethodsThis study compares a small model ALBERT (11.8M parameters) with a larger model, RoBERTa (125M parameters) in predicting big five personality traits. It utilizes the PANDORA dataset comprising Reddit comments, processing them on a Tesla P100-PCIE-16GB GPU. The study customized both models to support multi-output regression and added two linear layers for fine-grained regression analysis.ResultsResults are evaluated on Mean Squared Error (MSE) and Root Mean Squared Error (RMSE), considering the computational resources consumed during training. While ALBERT consumed lower levels of system memory with lower heat emission, it took higher computation time compared to RoBERTa. The study produced comparable levels of MSE, RMSE, and training loss reduction.DiscussionThis highlights the influence of training data quality on the model's performance, outweighing the significance of model size. Theoretical and practical implications are also discussed.

Keywords