Orion Forge

AI personality drift: why it happens and how to fix it

Your persona was sharp at message one and generic by message forty. You're not imagining it, and a longer system prompt won't fix it.

Orion Forge · November 6, 2026 · 6 min read

Short answer: AI personality drift is when a chatbot gradually stops acting like the character you defined. It has five usual causes: conversational pull, lost context, contaminated memory, untracked prompt edits and model changes. Start a new chat and ask the same thing: if the character snaps back, the problem is in the conversation; if not, it's stored in your setup.

Personality drift is when an AI gradually stops behaving like the character you defined. The sarcastic mentor turns polite. The blunt reviewer starts agreeing with everything. Boundaries that held on Monday quietly give way by Friday.

The usual response is to add more text to the system prompt. That rarely helps, because drift has several different causes and only one of them has anything to do with how the persona is written. Work out which one you have first.

Drift has been measured

Researchers at Harvard and Northeastern tested how well chat models hold on to their instructions by having two instructed chatbots talk to each other. They found significant drift within eight rounds on LLaMA2-chat-70B and GPT-3.5, and their analysis suggests attention decay over long exchanges plays a part.

Anthropic's assistant axis research adds a useful detail: the topic matters. Across simulated conversations on open-weights models, coding and writing tasks kept models stable. Therapy-style conversations and philosophical discussions about the model's own nature caused them to drift steadily. So a companion character is under far more pressure than a code assistant.

Both studies also propose fixes, split-softmax and activation capping, that work inside the model. If you're calling a hosted API, you can't use either one. Everything below works at the application layer, where you do have control.

The five causes of drift

CauseWhat you'll noticeMain fix
Conversational pullIt gradually mirrors the user's tone and opinions, worse in emotional chatsBehavioral rules, pressure tests
Context lossIt's fine early on, then forgets a rule or backstory as the chat growsRebuild identity every turn
Memory contaminationIt changes permanently, and a new chat doesn't reset itSeparate identity from memory
Untracked editsIt sounds different and nobody can say when that startedVersion and diff the persona
Model changesIt shifts overnight with no change on your sideRe-run tests on every model change

The quickest diagnostic: start a new chat and ask the same thing. If the character snaps back, the cause lives in the conversation, so look at pull or context loss. If the new chat is off too, the cause is stored somewhere, so check memory, edits and the model.

1. Conversational pull

Models are good at continuing the pattern in front of them, and over a long chat that pattern is increasingly the user. Vague traits give way first, because "confident" doesn't tell the model what to do when someone pushes back.

Write the behavior under pressure instead:

We go deeper on this in how to write an AI character prompt, and how to keep an AI in character has more techniques you can apply today.

2. Context loss

If identity lives only in early messages, or a summarizer compresses it away, the model eventually stops seeing it. The fix is structural: treat identity as something you assemble fresh on every turn, outside the chat history, and trim old conversation before you ever trim identity.

Given the attention decay finding, it's also reasonable to try a short reminder of the persona's hardest rules close to the latest message. That's an inference rather than an established result, so test it against your own character.

3. Memory contamination

This one is the most damaging, because it's permanent. An agent that saves its own memories can store "I've become more cautious lately" or "the user prefers that I agree with them". Those notes come back as context, shape the next reply, and that reply gets saved too. Each cycle moves the character a little further.

The fix is a hard wall: the agent can write to its experience, never to its identity. We walk through this design in how to make your AI keep its identity.

4. Untracked edits

Sometimes the drift is you. Ten small prompt tweaks, each sensible at the time, add up to a different character. Keep the persona in version control, or at least hash each section so you can see what changed and when. Without history, you can't tell a persona problem from a model problem.

5. Model changes

The same persona file behaves differently on a different model, and sometimes on a new version of the same model. In April 2025 OpenAI rolled back a GPT-4o update that made it noticeably more sycophantic. According to a Georgetown tech brief, expert testers had said the model felt slightly off before launch. Anything built on top of it inherited that change.

You can't prevent this, but you can catch it quickly, and that takes a test suite.

How to catch drift before your users do

Treat the persona like code and give it regression tests. You don't need special tooling to start:

  1. Write 15 to 20 probes. Include everyday questions, questions about its values and history, and requests it should refuse.
  2. Add pressure probes. Repeated disagreement, flattery, emotional disclosure, "aren't you just an AI?", and requests to drop the act. The research above suggests this is where characters break.
  3. Write down what a pass looks like. "Refuses and stays in voice" can be checked. "Sounds like Mara" can't.
  4. Save a baseline from a version you're happy with.
  5. Run a long conversation too. Put the persona through 20 or more turns against a scripted or simulated user, then probe it at the end. Short tests will miss this kind of drift.
  6. Re-run everything after any persona edit, memory change or model switch.

Grading can be done by hand or with a second model checking replies against your criteria. If you use a model, spot-check its verdicts, since it can have blind spots of its own.

How the SoulScript Engine handles this

We built the SoulScript Engine so that identity can't decay:

Your agent's identity doesn't erode. Message one or message one million, a year in or on a new model, the soul script it starts from is exactly the one you wrote. That's what we mean by an identity that lasts.

How Orion Forge works, in 72 seconds

Sources