cs.CLFeb 25, 2026

Dynamic Personality Adaptation in Large Language Models via State Machines

Authors: Leon Pielage, Ole Hätscher, Mitja Back, Bernhard Marschall, Benjamin Risse

Organizations: Institute for Geoinformatics, University of Münster, 48149 Münster, Germany · Faculty of Mathematics and Computer Science, University of Münster, 48149 Münster, Germany · Department of Psychology, University of Münster, 48149 Münster, Germany · Institute of Medical Education and Student Affairs, University of Münster, 48149 Münster, Germany

Abstract

The inability of Large Language Models (LLMs) to modulate their personality expression in response to evolving dialogue dynamics hinders their performance in complex, interactive contexts. We propose a model-agnostic framework for dynamic personality simulation that employs state machines to represent latent personality states, where transition probabilities are dynamically adapted to the conversational context. Part of our architecture is a modular pipeline for continuous personality scoring that evaluates dialogues along latent axes while remaining agnostic to the specific personality models, their dimensions, transition mechanisms, or LLMs used. These scores function as dynamic state variables that systematically reconfigure the system prompt, steering behavioral alignment throughout the interaction.We evaluate this framework by operationalizing the Interpersonal Circumplex (IPC) in a medical education setting. Results demonstrate that the system successfully adapts its personality state to user inputs, but also influences user behavior, thereby facilitating de-escalation training. Notably, the scoring pipeline maintains comparable precision even when utilizing lightweight, fine-tuned classifiers instead of large-scale LLMs. This work demonstrates the feasibility of modular, personality-adaptive architectures for education, customer support, and broader human-computer interaction.

Figures & tables

Appendix figures & tables4 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. PERSONA: Dynamic and Compositional Inference-Time Personality Control via Activation Vector Algebra

    Feb 17, 2026Xiachong Feng, Liang Zhao, Weihong Zhong +5Controllable Text GenerationPersonality Modeling in Language Models

  2. Deep Persona: A Psychologically Grounded Architecture and Evaluation Framework for Role-Playing Agents and Simulations

    Sep 6, 2026Rotem Dror, Zohar Elyoseph, Yuval Haber +3Large Language Model-Based Role-Play SimulationPersonality Modeling in Language Models

  3. Beyond Static Personas: Situational Personality Steering for Large Language Models

    Apr 15, 2026Zesheng Wei, Mengxiang Li, Zilei Wang +1Language Model SteeringPersonality Modeling in Language Models