Comparative Performance Analysis of Big Five Personality Prediction on X Platform Using BERT and XLNet Models

The rise of social media platforms has provided vast textual data that can be utilized for personality prediction using natural language processing (NLP) techniques. This study presents a comparative analysis of performance and computational efficiency between two transformer-based models, BERT and XLNet, in predicting the Big Five personality traits from Indonesian tweets collected from Twitter (now known as X). The dataset, consisting of 9,708 tweets labeled by psychologists, underwent preprocessing and was evaluated using multi-label classification. Various configurations were tested, including different optimizers, learning rates, batch sizes, epochs, and dropout rates. The results show that BERT outperforms XLNet in terms of overall F1-score (43.362% vs. 42.822%) and inference time (215.72 ms vs. 7714.83 ms), demonstrating its higher efficiency and stability. Despite XLNet showing slightly better results on certain traits such as Extraversion and Openness, its performance was more sensitive to hyperparameters and limited by longer computational times. This research highlights BERT’s suitability for real-time Indonesian text classification tasks and suggests further exploration on XLNet’s potential using larger datasets and optimized configurations.

Authors

Institutions

Publication Details

Published
2025-07-30
DOI
https://doi.org/10.1109/icoict66265.2025.11193100
Primary Topic
Personality Traits and Psychology
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Comparative Performance Analysis of Big Five Personality Prediction on X Platform Using BERT and XLNet Models

Izzatul Ummah, Sri Widowati, Novia Natasya
Personality Traits and Psychology
article

Comparative Performance Analysis of Big Five Personality Prediction on X Platform Using BERT and XLNet Models

Izzatul Ummah, Sri Widowati, Novia Natasya
article en

Abstract

The rise of social media platforms has provided vast textual data that can be utilized for personality prediction using natural language processing (NLP) techniques. This study presents a comparative analysis of performance and computational efficiency between two transformer-based models, BERT and XLNet, in predicting the Big Five personality traits from Indonesian tweets collected from Twitter (now known as X). The dataset, consisting of 9,708 tweets labeled by psychologists, underwent preprocessing and was evaluated using multi-label classification. Various configurations were tested, including different optimizers, learning rates, batch sizes, epochs, and dropout rates. The results show that BERT outperforms XLNet in terms of overall F1-score (43.362% vs. 42.822%) and inference time (215.72 ms vs. 7714.83 ms), demonstrating its higher efficiency and stability. Despite XLNet showing slightly better results on certain traits such as Extraversion and Openness, its performance was more sensitive to hyperparameters and limited by longer computational times. This research highlights BERT’s suitability for real-time Indonesian text classification tasks and suggests further exploration on XLNet’s potential using larger datasets and optimized configurations.

Telkom University (ID)
Openalex Percentile: Top 59%
Personality Traits and Psychology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Comparative Performance Analysis of Big Five Personality Prediction on X Platform Using BERT and XLNet Models — Izzatul Ummah, Sri Widowati, et al. · (2025) | TGRS Research Map | TGRS