Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

From Classification to Ranking: Enhancing LLM Reasoning Capabilities for MBTI Personality Detection

About

Personality detection aims to measure an individual's corresponding personality traits through their social media posts. The advancements in Large Language Models (LLMs) offer novel perspectives for personality detection tasks. Existing approaches enhance personality trait analysis by leveraging LLMs to extract semantic information from textual posts as prompts, followed by training classifiers for categorization. However, accurately classifying personality traits remains challenging due to the inherent complexity of human personality and subtle inter-trait distinctions. Moreover, prompt-based methods often exhibit excessive dependency on expert-crafted knowledge without autonomous pattern-learning capacity. To address these limitations, we view personality detection as a ranking task rather than a classification and propose a corresponding reinforcement learning training paradigm. First, we employ supervised fine-tuning (SFT) to establish personality trait ranking capabilities while enforcing standardized output formats, creating a robust initialization. Subsequently, we introduce Group Relative Policy Optimization (GRPO) with a specialized ranking-based reward function. Unlike verification tasks with definitive solutions, personality assessment involves subjective interpretations and blurred boundaries between trait categories. Our reward function explicitly addresses this challenge by training LLMs to learn optimal answer rankings. Comprehensive experiments have demonstrated that our method achieves state-of-the-art performance across multiple personality detection benchmarks.

Yuan Cao, Feixiang Liu, Xinyue Wang, Yihan Zhu, Hui Xu, Zheng Wang, Qiang Qiu• 2026

Related benchmarks

TaskDatasetResultRank
4-dimensional binary personality classificationPANDORA
Macro-F166.1
23
16-types multiclass personality classificationKaggle
F1 Score (%)41.34
10
16-types multiclass personality classificationPANDORA
F1 Score0.3508
10
4-dimensional binary personality classificationKaggle
Macro F180.57
10
Showing 4 of 4 rows

Other info

Follow for update