Dynamic Personality Adaptation in Large Language Models via State Machines

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pielage, Leon, Hätscher, Ole, Back, Mitja, Marschall, Bernhard, Risse, Benjamin
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914350768324608
author Pielage, Leon
Hätscher, Ole
Back, Mitja
Marschall, Bernhard
Risse, Benjamin
author_facet Pielage, Leon
Hätscher, Ole
Back, Mitja
Marschall, Bernhard
Risse, Benjamin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2602_22157
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Dynamic Personality Adaptation in Large Language Models via State Machines
Pielage, Leon
Hätscher, Ole
Back, Mitja
Marschall, Bernhard
Risse, Benjamin
Computation and Language
Human-Computer Interaction
Machine Learning
I.2.7; J.4; K.3.0
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.
title Dynamic Personality Adaptation in Large Language Models via State Machines
topic Computation and Language
Human-Computer Interaction
Machine Learning
I.2.7; J.4; K.3.0
url https://arxiv.org/abs/2602.22157