Ask, Answer, and Detect: Role-Playing LLMs for Personality Detection with Question-Conditioned Mixture-of-Experts

Yifan Lyu, Liang Zhang

TL;DR

Predicting someone’s personality directly from their messy social media posts is a massive semantic leap—like trying to guess a diagnosis without running any lab tests. Inspired by how psychologists actually measure personality, this paper introduces ROME, a framework where an LLM "role-plays" as the user to fill out a standardized 60-question personality test offline during training. A compact, specialized model then learns to predict those exact questionnaire answers from raw posts, turning a black-box classification task into an interpretable, step-by-step psychological reasoning chain—with zero LLM overhead at test time.

What Problem Does This Paper Address?

Whether for mental health assessment or personalized recommendations, inferring personality traits—like the four binary dimensions of the Myers–Briggs Type Indicator (MBTI)—from digital footprints is a major goal in NLP.

Historically, nearly every model has relied on the same rigid blueprint: posts → user vector → labels. You take a pile of noisy social media posts, squash them through a text encoder into a single mathematical representation, and ask a classifier to guess abstract psychological traits. Even recent approaches that use Large Language Models (LLMs) to paraphrase or enrich embeddings stick to this direct mapping.

Comparison of traditional personality detection paradigms versus ROME's questionnaire-grounded approach.

The catch? Ground-truth personality labels are scarce, expensive to collect, and coarse-grained. Asking a neural network to leap directly from casual tweets about coffee and cats to abstract constructs like Introversion or Judging with minimal supervision leaves the semantic mapping severely under-specified. Humans don't guess their own personalities out of thin air; we take structured self-assessment questionnaires that break big traits down into concrete, everyday behaviors.

Methods

To bridge raw text and abstract psychology, the authors replace the direct mapping paradigm with ROME (ROle-play enhanced question-conditioned Mixture-of-Experts), structured around three stages: Ask, Answer, and Detect.

Figure 2: The overall pipeline of ROME.
  1. Ask (Offline LLM Role-Play): During training only, an LLM agent is given a user's posts and their true MBTI label, and is prompted to role-play as that user answering 60 standardized MBTI questionnaire items on a 7-point Likert scale (-3 to +3). To smooth out LLM randomness, the authors sample responses $T$ times and average them. Crucially, this happens completely offline—no LLMs are called during inference.
  2. Answer (Question-Conditioned MoE): Next, a smaller supervised model (using a standard text encoder like BERT) learns to predict those 60 answers using only the user's posts and the question text. Because different questions probe wildly different linguistic cues (e.g., social habits vs. logical decision-making), a single encoder gets tangled. ROME introduces a Question-Conditioned Mixture-of-Experts (MoE). A lightweight router looks at who is being assessed (user post embeddings), what is asked (question embeddings), and which MBTI dimension it targets, dynamically routing the task to specialized MLP "experts."
  3. Detect (Calibrated Fusion): Not all simulated answers are equally trustworthy or useful. ROME weights each predicted answer by its reliability (inversely related to how much the LLM's role-played answers varied across samples) and importance (how strongly the item separates opposing personality classes in the training set). Construct-specific masks ensure questions only influence their relevant MBTI dimension. Finally, a gating network fuses this clean "answer vector" with the raw post embeddings for multi-task personality prediction.

Datasets

The authors evaluate ROME on two standard, real-world social media benchmarks characterized by heavy class imbalance:

  • KAGGLE: Collected from PersonalityCafe, an online forum where users share posts alongside their MBTI types.
  • PANDORA: A Reddit-based dataset pairing user comment histories with personality labels. (Note: The authors also briefly note supplementary experiments on the Essays dataset for Big Five traits in the appendix).

Key Insights and Ideas

  • Distilling LLM role-play beats online LLM reasoning: Using an LLM offline to generate dense, question-level training signals outperforms heavy, expensive inference-time LLM frameworks (like multi-turn prompting or chain-of-thought) while deploying as a fast, compact BERT-based model.
  • Both posts and labels are vital for role-play: In ablations, asking the LLM to role-play using only the user's MBTI label (ignoring their posts) caused performance to plummet from 91.73 to 68.42 Macro-F1. Grounding the simulation in the user's actual writing style is what creates rich supervision.
  • Routers need to know the question: Routing experts based solely on user text isn't enough; conditioning the MoE router on the question and psychological construct gives a clear boost by untangling heterogeneous signals.
  • Extreme data efficiency: Because 60 questions provide 60x denser supervision per user than a single label, ROME trained on just 40% of the data beats the best state-of-the-art baseline trained on 100% of the data.

Key Results

Evaluated via Macro-F1 across the four MBTI dimensions:

  • State-of-the-Art Gains: ROME (with a BERT-base encoder) achieves 91.73% average Macro-F1 on Kaggle and 82.70% on Pandora. This beats the strongest LLM-assisted baseline (EmoPerso) by relative improvements of 13.60% and 19.72%, respectively.
  • Punching Above Its Weight: Despite using BERT-base, ROME outperforms ETM (77.79% on Kaggle), which relies on embeddings from Llama-3-8B—a model roughly 70x larger. (Swapping BERT for LLaMA in ROME pushes Kaggle Macro-F1 even higher to 93.61%).
  • Outperforming Inference-Time LLMs: On Kaggle, ROME-4o (91.73%) and even ROME-3.5 (88.21%) surpass online LLM reasoning pipelines like EERPD-3.5 (87.12%), HIPPD-4o (78.79%), and few-shot GPT-4o (80.02%), with drastically lower latency and cost at deployment.

Limitations and Future Work

While the main text does not feature a dedicated "Limitations" section, the authors explicitly address an inherent constraint within their methodology: LLM role-play supervision is stochastic and noisy. Simulated answers vary in reliability across items, and pretraining the Answer module is strictly required—skipping pretraining causes Macro-F1 to drop from 91.73% to 69.21% because the unstabilized question-prediction space struggles to guide end-to-end learning. Explicit directions for future work are not discussed in the main body of the paper.

Summary updated

BibTeX
@inproceedings{lyu2026ask,
  author = {Yifan Lyu and Liang Zhang},
  title = {{Ask, Answer, and Detect: Role-Playing LLMs for Personality Detection with Question-Conditioned Mixture-of-Experts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hFHitNXO1g},
}
Figure