# Text speaks louder: Insights into personality from natural language processing

**Authors:** David Saeteros, David Gallardo-Pujol, Daniel Ortiz-Martínez, Vijaya Prakash Rajanala, Vijaya Prakash Rajanala, Vijaya Prakash Rajanala

PMC · DOI: 10.1371/journal.pone.0323096 · PLOS One · 2025-06-18

## TL;DR

This paper explores how natural language processing can assess personality traits from text, comparing different models and finding that NLP can align with psychological theories.

## Contribution

The study introduces explainable AI techniques to validate NLP models' alignment with established personality theories.

## Key findings

- NLP models achieved moderate to high accuracy in predicting personality traits from text.
- Language patterns associated with personality traits were found to be consistent with psychological theories.
- The MBTI dataset showed biases that led to less robust results compared to dimensional models.

## Abstract

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.

## Full-text entities

- **Diseases:** personality traits (MESH:D010554)

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12176201/full.md

## Figures

7 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12176201/full.md

## References

94 references — full list in the complete paper: https://tomesphere.com/paper/PMC12176201/full.md

---
Source: https://tomesphere.com/paper/PMC12176201