Controlling Long-Horizon Behavior in Language Model Agents with Explicit State Dynamics
On the map: LLM agents and tool use → Social simulation and multi-agent debate
Abstract (arXiv)
Large language model (LLM) agents often exhibit abrupt shifts in tone and persona during extended interaction, reflecting the absence of explicit temporal structure governing agent-level state. While prior work emphasizes turn-local sentiment or static emotion classification, the role of explicit affective dynamics in shaping long-horizon agent behavior remains underexplored. This work investigates whether imposing dynamical structure on an external affective state can induce temporal coherence and controlled recovery in multi-turn dialogue. We introduce an agent-level affective subsystem that maintains a continuous Valence-Arousal-Dominance (VAD) state external to the language model and governed by first- and second-order update rules. Instantaneous affective signals are extracted using a fixed, memoryless estimator and integrated over time via exponential smoothing or momentum-based dynamics. The resulting affective state is injected back into generation without modifying model parameters. Using a fixed 25-turn dialogue protocol, we compare stateless, first-order, and second-order affective dynamics. Stateless agents fail to exhibit coherent trajectories or recovery, while state persistence enables delayed responses and reliable recovery. Second-order dynamics introduce affective inertia and hysteresis that increase with momentum, revealing a trade-off between stability and responsiveness.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Social simulation and multi-agent debate, one of 16 directions in LLM agents and tool use. Builds on 9 of its 19 references that are in the map. First posted on arXiv 22 Jan 2026.
Builds on
9 of 19 references.
References · 9
- 2024Hello Again! LLM-powered Personalized Agent for Long-term Dialoguecited by 123
- 2024HiAgent: Hierarchical Working Memory Management for Solving Long-Horizon Agent Tasks with Large Language Modelcited by 106
- 2023Prompted LLMs as Chatbot Modules for Long Open-domain Conversationcited by 61
- 2020Augmenting Transformers with KNN-Based Composite Memory for Dialoguecited by 53
- 2022Building a Role Specified Open-Domain Dialogue System Leveraging Large-Scale Language Modelscited by 26
- 2025AnnaAgent: Dynamic Evolution Agent System with Multi-Session Memory for Realistic Seeker Simulationcited by 21
- 2020Large Scale Multi-Actor Generative Dialog Modelingcited by 10
- 2023UniMC: A Unified Framework for Long-Term Memory Conversation via Relevance Representation Learningcited by 6
- 2024PersLLM: A Personified Training Approach for Large Language Modelscited by 6
Built on by
Citing papers per year: 2026: 3.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2025All Learning Has an Emotional Basis, So Does Task-Oriented Dialogue
- 2024Can Generative Agents Predict Emotion?
- 2025SAGE: Steering Dialog Generation with Future-Aware State-Action Augmentation
- 2026From Stateless to Situated: Building a Psychological World for LLM-Based Agents
- 2026Toward Natural and Companionable Virtual Agents via Cross-Temporal Emotional Modeling
- 2026Dual-Loop Self-Evolution via Verifiable Emotion Feedback for Multi-Turn Empathetic Dialogue
- 2026From Triggers to Emotions: A CPM-Grounded Appraisal Multi-Agent for Dynamic Emotional Evolution in Persona-Based Dialogue
- 2026Modeling Emotional Dynamics in Agent-to-Agent Interactions on Moltbook