NeurIPS 2026QuestionsPapersAreasAboutMarkdown

C3: Long-Horizon Character Consistency via Causal-Continuous State Dynamics and Memory Rewriting

Minghao Chen

NeurIPS page · OpenReview · Open on the map

Category: LLM Reasoning, Memory & RAG › Agent Memory Management · Type: new method · Keywords: character consistency, long-horizon gameplay, continuous state dynamics, memory rewriting, LLM NPC

Areas: Memory › Agent Memory Systems › Agent Memory; AI Agents › Agent Capabilities › Agent Memory Benchmarks

Summary

C3 introduces a continuous state space with hysteresis-aware dynamics and a state-conditioned memory rewriting mechanism to maintain character consistency over long-horizon gameplay, achieving a 10.5% absolute SAR improvement over baselines.

Explained to a 5-year-old

In games, characters sometimes act differently each time you play, which can be confusing. The new idea uses a smooth way to change how a character feels, so it doesn't jump around. It also helps the character remember what happened before and think about it again in a new way. This makes the character stay the same over a long game, which is nicer for players. As a result, the game needs less talking and runs more smoothly.

Explained to a 5-year-old, longer

In video games, the characters that help you play are called non-player characters, or NPCs. Sometimes these NPCs say things that don't match what they said before, which feels weird. The problem is that when a game goes on for a long time, keeping a character consistent is hard. The researchers noticed that simple rule-based systems for character emotions often switch too quickly. They also saw that remembering everything a character has said can make the current conversation less clear. To fix this, they created a system where a character’s feelings change smoothly, like a slow swing. This smooth change avoids sudden jumps that make the story feel broken. They also added a way for the character to look back at past conversations and reinterpret them based on how the relationship has grown. This helps the character stay true to itself while also staying relevant to the current situation. Because the feelings change gradually, the character doesn’t feel like it’s a different person each time. The memory part lets the character bring up old jokes or important details when they are needed again. All of this makes the game more enjoyable because the character feels consistent and the game uses fewer words.

For a technical reader

The paper addresses the challenge of keeping a game character’s behavior consistent over long play sessions. Traditional approaches use discrete state machines that switch abruptly when thresholds are crossed, causing jarring narrative jumps. The proposed solution models character emotions as a continuous variable with hysteresis, which smooths transitions and reduces volatility. Additionally, a memory-rewriting module re-examines past dialogue in light of the current relationship, preserving context without diluting instructions. Experiments on a 100-turn simulation show a 10.5% improvement in consistency scores and roughly a 60% reduction in token usage for extended sessions.

Problem

Keeping a character’s behavior consistent across long interactive sessions is challenging, especially when discrete state machines cause abrupt switches and lose context over time.

Method

The approach uses a continuous state space with hysteresis-aware dynamics to smooth emotional transitions and incorporates a state-conditioned memory rewriting mechanism that re-interprets past events in light of the current relationship, preserving context over long interactions.

Results

The approach achieves a 10.5% absolute SAR improvement over a smoothed-ASM baseline (p < 0.0001, Cohen’s d ≈ 3.97) and reduces long-session token consumption by about 60%.

Contributions

It introduces a continuous, hysteresis-aware state dynamics model and a state-conditioned memory rewriting mechanism that together address abrupt transitions and context loss in long-horizon character behavior.

Practical relevance

The method reduces token usage for long interactive sessions, making LLM-based NPCs more efficient for deployment.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction