LLMvsSmall Model? Large Language Model Based Text Augmentation Enhanced Personality Detection Model

Linmei Hu, Hongyu He, Duokang Wang, Ziwang Zhao, Yingxia Shao, Liqiang Nie · DOI

Introduction

Personality detection—the task of predicting psychological traits like those in the Myers-Briggs Type Indicator (MBTI) from social media text—presents a unique challenge in natural language processing. Unlike sentiment analysis or topic modeling, personality is reflected not just in what is said, but in the subtle linguistic patterns and emotional undertones of a user's collective history.

Existing approaches face two primary bottlenecks: the scarcity of high-quality labeled data (which requires intensive self-reporting) and the limitations of model architectures. While Large Language Models (LLMs) possess vast world knowledge, they often underperform in zero-shot personality classification. Conversely, smaller models like BERT are efficient but struggle to capture the psychological nuances of traits when treated as simple binary categories. To bridge this gap, researchers have introduced the Text Augmentation Enhanced (TAE) framework, which positions the LLM as a sophisticated "tutor" for smaller, specialized models.

The TAE Framework: Distilling Psychological Nuance

The TAE model moves away from direct classification by LLMs, instead using them to enrich the training signal for a smaller encoder. The architecture consists of three innovative components designed to capture the multi-dimensional nature of personality.

1. Knowledgeable Post Augmentation

Rather than asking an LLM to guess a user's type, the framework prompts it to perform a deep-dive analysis of individual posts across three dimensions:

  • Semantic: The core content and topics discussed.
  • Sentiment: The underlying emotional state and reactions.
  • Linguistic: The stylistic choices, structure, and formal vs. informal nature of the text.

2. Contrastive Post Encoder

To internalize this LLM-generated knowledge, the model employs a contrastive learning objective. A small BERT-based encoder is trained to ensure that the mathematical representation (embedding) of an original post aligns closely with the embeddings of its semantic, sentiment, and linguistic augmentations. This process effectively "distills" the LLM's analytical capabilities into a model that is much faster and cheaper to run.

3. Label Information Enrichment

Standard models treat MBTI labels as "one-hot" vectors (e.g., 100% Introvert or 100% Extrovert). TAE uses LLMs to generate detailed descriptions of each trait and calculates the similarity between a user’s posts and these descriptions. This creates "soft labels," allowing the model to recognize users who may fall in the middle of a spectrum, thereby reducing the impact of noise in self-reported data.

The TAE framework architecture, illustrating how LLM-generated semantic, sentiment, and linguistic augmentations are used to train a contrastive encoder and generate soft labels.

Experimental Results

The TAE model was evaluated against two major benchmarks: the Kaggle (MBTI) dataset (8,675 users) and the Pandora Reddit dataset (9,067 users).

As shown in the performance comparison, the TAE model achieved new state-of-the-art (SOTA) results across both datasets. Notably, it significantly outperformed direct zero-shot and few-shot prompting of ChatGPT, confirming that specialized small models, when properly "taught" by an LLM, can exceed the performance of the LLM itself in complex psychological tasks.

Performance comparison of TAE against baseline models and ChatGPT across Kaggle and Pandora datasets, showing TAE achieving SOTA Macro-F1 scores.

Key Insights and Discussion

  • Linguistics as a Primary Signal: Ablation studies within the paper revealed that linguistic augmentation—analyzing how someone writes—is a more potent predictor of personality than the actual topics (semantics) they discuss.
  • LLMs as Feature Engineers: The study demonstrates that LLMs are currently more effective as intermediate feature extractors and "tutors" than as end-to-end classifiers for personality detection.
  • Efficiency at Inference: Because the LLM is only utilized during the training phase to generate augmentations and soft labels, the final TAE model can be deployed for real-time inference without the high latency or cost associated with LLM APIs.

Conclusion and Future Directions

The TAE framework represents a significant step forward in personality detection by combining the deep analytical power of LLMs with the efficiency of smaller encoders. While the current study focuses on the MBTI taxonomy, the authors suggest that future iterations could expand to the "Big Five" personality traits or incorporate structured psychological knowledge graphs to further refine the model's understanding of human behavior.

Summary updated

BibTeX
@inproceedings{hu2024llmvssmall,
  author = {Linmei Hu and Hongyu He and Duokang Wang and Ziwang Zhao and Yingxia Shao and Liqiang Nie},
  title = {{LLMvsSmall Model? Large Language Model Based Text Augmentation Enhanced Personality Detection Model}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i16.29782},
}
Figure