Text speaks louder: Insights into personality from natural language processing
In recent years, advancements in natural language processing (NLP) have enabled new approaches to personality assessment. This article presents an interdisciplinary investigation that leverages explainable AI techniques, particularly Integrated Gradients, to scrutinize NLP models' decision-making processes in personality assessment and verify their alignment with established personality theories. We compare the effectiveness of typological (MBTI) and dimensional (Big Five) models, utilizing the Essays and MBTI datasets. Our methodology applies log-odds ratio with Informative Dirichlet Prior (IDP) and fine-tuned transformer-based models (BERT and RoBERTa) to classify personality traits from textual data. Our results demonstrate moderate to high accuracy in personality prediction, with NLP models effectively identifying personality signals in text in line with previous studies. Our findings reveal theory-coherent patterns in language use associated with different personality traits, while highlighting important biases in the MBTI dataset that yielded less robust results. The study underscores the potential of NLP in enhancing personality psychology and emphasizes the need for further interdisciplinary research to fully realize the capabilities of these transparent technologies.
Authors
- Daniel Ortiz-Martínez (ORCID: https://orcid.org/0000-0001-5659-6702)
- David Saeteros (ORCID: https://orcid.org/0000-0003-3373-4628)
- David Gallardo‐Pujol (ORCID: https://orcid.org/0000-0003-0095-8879)
Institutions
- Institut Català de Ciències del Clima (ES)
- Universitat de Barcelona (ES)
- New England Complex Systems Institute (US)
Publication Details
- Journal
- PLoS ONE
- Published
- 2025-06-18
- DOI
- https://doi.org/10.1371/journal.pone.0323096
- Primary Topic
- Personality Traits and Psychology
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Generalitat de Catalunya
- Ministerio de Ciencia e Innovación