Abstract
Personality detection from social media posts is a challenging task due to data scarcity and the complexity of psychological traits. While Large Language Models (LLMs) excel in general NLP tasks, they often underperform in direct personality classification. This paper introduces the Text Augmentation Enhanced (TAE) model, which leverages LLMs to generate multi-faceted linguistic analyses and label explanations to "teach" a smaller, specialized BERT-based model. By incorporating semantic, sentiment, and linguistic augmentations alongside soft labels derived from trait descriptions, the TAE model achieves state-of-the-art performance on benchmark datasets like Kaggle and Pandora, outperforming both standalone LLMs and previous specialized models.
Introduction
Identifying personality traits from digital footprints is crucial for personalized services and psychological research. However, the field faces significant hurdles: the scarcity of labeled data (often requiring extensive self-report questionnaires) and the oversimplification of personality as binary labels. Traditional models often fail to capture the nuanced "how" of communication, focusing instead on the "what." While LLMs possess vast knowledge, their direct application to personality detection is often suboptimal, frequently missing subtle linguistic and emotional cues.
Methodology
The proposed TAE model adopts a "teacher-student" framework to distill high-level LLM knowledge into a smaller, more efficient encoder. The process consists of three main stages:
- Knowledgeable Post Augmentation: Instead of direct classification, an LLM analyzes posts through three specific lenses: Semantic (content meaning), Sentiment (emotional tone), and Linguistic (style and structure).
- Contrastive Learning: A BERT-based encoder is trained using contrastive loss to align original social media posts with their corresponding LLM-generated augmentations in a shared mathematical space. This forces the small model to capture the psycho-linguistic features identified by the LLM.
- Label Information Enrichment: To move beyond simple binary labels, the researchers used the LLM to generate detailed descriptions of personality traits. They then calculated the similarity between a user’s posts and these descriptions to create "soft labels," helping the model handle users who do not lean strongly toward one extreme of a trait.
Experiments and Results
The model was evaluated on two gold-standard benchmarks: the Kaggle (PersonalityCafe) dataset and the Pandora (Reddit) dataset. Both utilize the Myers-Briggs Type Indicator (MBTI) taxonomy.
TAE consistently outperformed all baselines, including specialized graph-based models and standalone LLMs. On the Kaggle dataset, TAE achieved a 72.07% Macro-F1 score, a significant improvement over the previous state-of-the-art (71.35%) and direct classification by GPT-3.5 (66.89%).
Ablation studies highlighted the importance of each augmentation component. Notably, the removal of linguistic augmentation resulted in the largest performance drop among the three augmentation types, confirming that writing style is a critical indicator of personality.
Discussion and Conclusion
The TAE model demonstrates that LLMs are most effective in personality detection when used as analytical feature extractors rather than final judges. By distilling high-level psychological insights into smaller models, researchers can achieve superior accuracy and computational efficiency. The study also highlights that how we write is often more telling than what we write about. Future work may explore applying this framework to the "Big Five" personality traits and integrating structured knowledge graphs to further refine the model's understanding of human psychology.
Summary updated