Search papers, labs, and topics across Lattice.
This paper introduces a model-agnostic framework for dynamic personality adaptation in LLMs using state machines to represent latent personality states, with transition probabilities adapted based on conversational context. The framework includes a modular pipeline for continuous personality scoring along latent axes, which dynamically reconfigures the system prompt to steer behavioral alignment. Evaluated in a medical education setting operationalizing the Interpersonal Circumplex (IPC), the system successfully adapts its personality and influences user behavior, demonstrating feasibility for applications like de-escalation training.
LLMs can dynamically adapt their personality in real-time during conversations using state machines, influencing user behavior and opening new avenues for applications like education and customer support.
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.