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 · OpenReview

Abstract

Trained on various human-authored corpora, Large Language Models (LLMs) have demonstrated a certain capability of reflecting specific human-like traits (e.g., personality or values) by prompting, benefiting applications like personalized LLMs and social simulations. However, existing methods suffer from the superficial elicitation problem: LLMs can only be steered to mimic shallow and unstable stylistic patterns, failing to embody the desired traits precisely and consistently across diverse tasks like humans. To address this challenge, we propose IROTE, a novel in-context method for stable and transferable trait elicitation. Drawing on psychological theories suggesting that traits are formed through identity-related reflection, our method automatically generates and optimizes a textual self-reflection within prompts, which comprises self-perceived experience, to stimulate LLMs' trait-driven behavior. The optimization is performed by iteratively maximizing an information-theoretic objective that enhances the connections between LLMs' behavior and the target trait, while reducing noisy redundancy in reflection without any fine-tuning, leading to evocative and compact trait reflection. Extensive experiments across three human trait systems manifest that one single IROTE-generated self-reflection can induce LLMs' stable impersonation of the target trait across diverse downstream tasks beyond simple questionnaire answering, consistently outperforming existing strong baselines.

The Challenge of Superficial Elicitation

While LLMs can be prompted to act according to specific personas, they often suffer from superficial elicitation. They are proficient at "faking it" on simple multiple-choice personality tests, but as soon as they face complex downstream tasks—such as creative writing or debating—the persona often evaporates.

LLMs often fail to maintain traits in open-ended tasks compared to simple questionnaires.

Existing methods, such as providing a narrative "backstory" (e.g., the Anthology method), often result in prompts that are either too noisy, leading to inconsistent behavior, or too shallow, failing to trigger the model's internal associations with the desired trait. For a trait to be stable, the model needs more than just a description; it requires a structured "self-perceived experience" that bridges the gap between abstract traits and concrete behavior.

The IROTE Framework

The researchers propose IROTE (In-context Self-Reflective Optimization for Trait Elicitation), inspired by psychological theories suggesting that human identity is formed through active self-reflection.

The iterative optimization loop of IROTE, refining reflections for compactness and evocativeness.

The core of IROTE is an iterative optimization process that treats trait elicitation as an Information Bottleneck (IB) problem. It seeks to generate a textual self-reflection ($e$) that satisfies two competing goals:

  1. Evocativeness: Maximizing the connection between the target trait and the model's actual behavior across diverse tasks.
  2. Compactness: Minimizing noisy redundancy and unnecessary details to keep the prompt efficient and focused.

The optimization follows an Expectation-Maximization (EM) style loop. In the E-Step, the model generates various behaviors based on current candidate reflections. In the M-Step, the system refines and selects the best reflections that are both "compact" and "evocative" (strongly correlated with the target trait as measured by an evaluator LLM). Crucially, this is a fine-tuning-free approach that produces a single, optimized "self-reflection" block applicable to any task prompt.

Experimental Setup and Datasets

IROTE was evaluated across three major human trait systems:

  • Schwartz Theory of Basic Human Values (STBHV): 10 broad motivational values (e.g., Security, Benevolence).
  • Moral Foundations Theory (MFT): 5 moral dimensions (e.g., Care, Sanctity).
  • Big Five Personality Model: Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism.

Evaluation tasks spanned standard questionnaires (PVQ21, BFI-2) and complex downstream tasks like AdAEM (controversial QA), MoralPrompt (adversarial sentence completion), and ROCStories (creative story writing).

Key Insights

  • Traits as Internal Associations: LLMs already "know" how to behave according to various traits due to their massive training data. The goal of elicitation is to activate the right internal associations rather than teach new ones.
  • The "Backstory" Trap: Long, narrative backstories often include irrelevant biographical noise (age, hometown) that distracts the model. IROTE finds that removing this "fluff" leads to higher quality behavioral essence.
  • Cross-Model Transferability: A reflection optimized using a powerful model like GPT-4o can be effectively "plugged into" smaller open-source models like Mistral-7B or Qwen-2.5, significantly improving their trait consistency.

Results and Performance

IROTE consistently outperformed strong baselines across multiple models. On the Qwen2.5-7B-Instruct model, IROTE achieved an average score of 80.01, compared to the "Raw" model's 60.49.

Furthermore, IROTE demonstrated high context robustness. In tests where irrelevant context (e.g., MMLU questions) was injected into the dialogue, IROTE maintained its persona significantly better than other methods. Qualitatively, IROTE-generated reflections led to more vivid and trait-consistent imagery in creative tasks, avoiding the flat or contradictory responses common in baseline methods.

Limitations and Future Work

While successful, the study focused primarily on Western psychological frameworks. Future work should explore how well this generalizes to more diverse or culturally specific value systems. Additionally, the method relies on an "evaluator LLM" to score trait expression; biases in the evaluator could lead to sub-optimal reflections. The authors suggest applying IROTE to more complex social simulations and exploring broader cognitive or behavioral traits.

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