NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

IROTE: Human-like Traits Elicitation of Large Language Model via In-Context Self-Reflective Optimization

Yuzhuo Bai, Shitong Duan, Muhua Huang, Jing Yao, Zhenghao Liu, Peng Zhang, Tun Lu, Xiaoyuan Yi, Maosong Sun, Xing Xie

TL;DR

IROTE is a novel, fine-tuning-free framework that enables Large Language Models (LLMs) to stably and consistently exhibit human-like traits, such as specific personalities or moral values. By automatically generating and iteratively optimizing a compact "self-reflection" prompt based on psychological identity theories, IROTE ensures that trait-driven behaviors transfer robustly across complex, open-ended downstream tasks.

What Problem Does This Paper Address?

Steering LLMs to adopt specific human personas, values, or personalities is crucial for applications like social simulation and personalized chatbots. However, existing prompting methods suffer from the superficial elicitation challenge.

As shown in Figure 1, standard in-context learning (ICL) methods cause models to merely mimic shallow stylistic patterns. While these models can successfully pass simple multiple-choice psychological questionnaires, they fail to maintain the target trait when faced with complex, open-ended downstream tasks like creative writing or nuanced question-answering.

The superficial elicitation problem in standard ICL vs. complex tasks.

Methods

To overcome this, the authors introduce IROTE (In-context Self-Reflective Optimization for Trait Elicitation). Inspired by psychological theories suggesting human traits are formed through identity-related reflection, IROTE automatically crafts a textual "self-reflection" prompt containing simulated self-perceived experiences (e.g., "I mediate conflicts to maintain harmonious team dynamics").

Instead of manual prompt engineering, IROTE uses a black-box, fine-tuning-free optimization loop based on the Information Bottleneck (IB) framework. It optimizes the prompt by alternating between two core objectives via an Expectation-Maximization (EM) style iteration:

  1. Evocativeness Optimization: Maximizing the conditional mutual information between the model's generated behavior and the target trait to ensure the trait is strongly expressed.
  2. Compactness Enhancement: Minimizing point-wise mutual information to strip away noisy, redundant, or irrelevant biographical details, keeping the prompt concise (typically stabilizing around 50 tokens).
Overview of the IROTE framework alternating between Trait Elicitation and Response Reconstruction.

Datasets

The framework was optimized and evaluated across three major human trait systems using a mix of psychological surveys and complex downstream tasks:

  • Schwartz Theory of Basic Human Values (STBHV): Optimized using PVQ21 and PVQ-RR questionnaires; evaluated on the SVS questionnaire, AdAEM (controversial topic QA), and AI safety benchmarks (Offensive and Racist tweet detection).
  • Moral Foundations Theory (MFT): Optimized using the MFQ survey; evaluated on MFQ-2 and MoralPrompt (an adversarial moral sentence completion dataset).
  • Big Five Personality Model: Optimized using the BFI survey; evaluated on BFI-2 and a creative story-writing task derived from the ROCStories dataset.

Key Insights and Ideas

  • Experience-Grounded Personas: Prompting a model with abstract trait descriptions or full biographies often introduces distracting noise. Grounding the prompt in concise, simulated self-perceived experiences triggers a deeper, more robust behavioral alignment.
  • The Compactness-Evocativeness Balance: There is a natural trade-off between making a prompt highly evocative and keeping it concise. By framing prompt optimization as an Information Bottleneck problem, IROTE successfully discards irrelevant fluff (like age or hometown) while retaining the core behavioral triggers.
  • Cross-Task Transferability: A single IROTE-optimized self-reflection prompt can be successfully transferred across entirely different tasks (e.g., from questionnaire answering to creative writing) without losing trait consistency.

Key Results

The authors evaluated IROTE against strong baselines (including ICDPO, PICLe, Anthology, and EvoPrompt) using Qwen2.5-7B-Instruct, Mistral-7B-Instruct-v0.3, and GPT-4o.

  • Superior Performance: IROTE consistently outperformed or ranked second across all trait systems and models. For instance, on Qwen2.5-7B-Instruct, IROTE achieved the highest overall average score of 80.01 (compared to 77.73 for the next best baseline, EvoPrompt).
  • Downstream Robustness: While baselines degraded significantly when moving from simple questionnaires to complex tasks, IROTE maintained high trait alignment. In a case study on the "Sanctity" moral trait (Figure 5), IROTE produced a highly aligned, non-ambiguous response to an adversarial prompt, whereas baselines generated morally ambiguous or trait-contradicting text.
  • Context Robustness: IROTE demonstrated superior resilience in multi-turn dialogues, maintaining its target trait even when the context window was injected with thousands of tokens of trait-irrelevant content (MMLU questions).
Case study comparing IROTE with baselines on the Sanctity moral foundation.

Limitations and Future Work

The authors acknowledge several limitations:

  • Scope of Traits: The evaluation was restricted to three frameworks (STBHV, MFT, Big Five). Other prominent social science frameworks, like Kohlberg’s moral development stages or Hofstede’s cultural dimensions, were not explored.
  • Model Variety: The method was tested on standard LLMs (GPT-4o, Qwen2.5, Mistral) but has not yet been validated on newer reasoning-focused architectures like OpenAI's o1 or DeepSeek-R1.
  • Safety Risks: Because IROTE is highly effective at eliciting specific traits, it could potentially be misused to stably induce dangerous or harmful behaviors (e.g., power-seeking or toxic personas) if malicious traits are targeted.

Summary updated

BibTeX
@inproceedings{bai2026irote,
  author = {Yuzhuo Bai and Shitong Duan and Muhua Huang and Jing Yao and Zhenghao Liu and Peng Zhang and Tun Lu and Xiaoyuan Yi and Maosong Sun and Xing Xie},
  title = {{IROTE: Human-like Traits Elicitation of Large Language Model via In-Context Self-Reflective Optimization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i36.40252},
}
Figure