Problem · 23 studies
Why LLMs forget your instructions in long conversations, and how to stop it
In long chats, early rules lose weight against recent text, the model's own past answers become noise it trusts, and cancelled requirements return. The fixes that measured best replace raw history with a short current-state snapshot, restate active rules close to the question, and restart cleanly instead of arguing with the history.
Symptom: the chat slowly stops following you
The first answers respect every rule. Ten or fifteen messages later the model is back to bullet points you banned, revives an option you rejected, forgets the tone you agreed on, or keeps the signature you removed. Nothing errors out; quality just slides.
Studies put numbers on it. Across code-writing chats from real logs, the model dropping mandatory requirements from early messages was the most common failure, at 38% (Interaction Smells). On the Lost in Conversation benchmark, splitting a task across vague turns cost about 30-60% of quality compared with one clear instruction (intent-mismatch study). One wrong answer sitting in the history cut accuracy on math and code by 38-40% for GPT 4.1, Claude Sonnet and Gemini Pro (pigeonholing).
Why it happens
- Recent text outweighs old rules. A rule from message one is still in the context but carries less weight at generation time. Prohibitions decay faster than requirements: in the omission-vs-commission study (4,416 trials, 12 models), Mistral Large 3 added a required tag in 100% of replies by turn 16 while breaking the no-bullets rule in 67% of the same replies. A prohibition fights the model's default habit; a requirement only adds a token. Decay tracked token volume more than turn count.
- The first version anchors. Primacy-bias tests on 39 models found early tokens pull harder than late ones, so the model answers from version one of a requirement you changed three times. The skew varies widely by model (8.5x for o1, 1.05x for Claude).
- The model trusts its own past answers. It rereads the transcript every turn and treats earlier replies, errors included, as reliable. In the context-pollution study on real WildChat and ShareLM conversations, 36% of questions did not need any earlier assistant answer, and removing those answers held or improved quality.
- Early guesses about intent stick. The model fills gaps with the "average user" reading and patches later clarifications onto it; scaling did not shrink the roughly 60% relative drop (Lost in Conversation).
- Cancellations sit beside the old rule. "Do X" and "don't do X anymore" are two equal chunks of text, so relapse of cancelled requirements climbs to 40% as rules pile up (ReBIND).
Fixes ranked by measured effect
- Snapshot plus recent turns, in a new chat. Every 10-15 messages, have the model write a compact snapshot (decisions, current task, open questions, constraints), then continue in a fresh chat with that snapshot and the last 4-6 exchanges. On long tool-using agent tasks this beat the full history, 91.6% vs 71% success, with 2.7 times fewer tokens; trimming alone or summarizing alone did not get there (Compact Context).
- A living project brief before every task. Keep two parts, what was decided (including what you are NOT doing) and what is built, and paste it ahead of each request; the ProjectGuard approach reports recovering ~90% of lost quality.
- Restate intent before executing. Have a separate step rewrite the vague request into a clear instruction, or ask the model to show how it understood the task first. The Mediator setup cut the multi-turn drop from 60% to 15% (Lost in Conversation).
- Delegate monitoring explicitly. After a standing rule, add "if you see a violation, tell me yourself before I ask"; rule compliance rose by 40+ percentage points in the prospective-memory study. Very long contexts still need reminders.
- Re-inject prohibitions on schedule, and convert them to requirements. Repeat "never" rules every 6-8 messages before they decay, ask for an explicit confirmation, and rewrite them as "always" rules where possible (Security-Recall Divergence).
- Extract invariants, then audit. Ask the model to list all active constraints from the conversation and check its planned reply against them. InCE cut critical failures by about 13.5% and raised task success by 6.67%: modest but reproducible across six models.
- Rebuild the active list when something is cancelled. Send one block of what is in effect and a separate "cancelled" list, and tell the model to use only that; even a single reminder removed about a third of relapses (ReBIND). Verification Gate applies the same idea to each edit: list requirements, mark each satisfied or violated, and output only if all pass.
- Restart from a clean slate after errors. Each extra bad turn added about 14% degradation in pigeonholing, so restate the task as facts only and ask for fresh approaches instead of patching. For changed assumptions, explicit rollback ("forget all the assumptions from the previous answer, rebuild from scratch") gives a rebuilt answer rather than a patch.
- Put the current state right before the question. A "Current data, ignore previous versions" block next to the question beats the pull of version one (primacy bias).
A combined prompt stack
- Open with everything you already know in one brief; piecemeal requirements left stories with only 71% of the cohesion of a full upfront brief.
- State rules as requirements, add the self-monitoring sentence, and keep your own copy of the list.
- Every 6-8 messages: re-inject prohibitions; at 10-15: snapshot and move to a new chat with the last few exchanges.
- On a change of plan: rebuild the active and cancelled lists, or have the model rewrite the whole transcript with the new fact; Mutable Transcript found up to 92% of a typical chat history is dead weight.
- On repeated documents: keep the original outside the chat and diff it every 3-4 edits; frontier models lost about 25% of content by round 20, mostly through rare one-shot collapses (document decay).
What does not work
- Shouting "forget everything". A late override fights many earlier messages and loses. SSRP notes "ignore all previous instructions" can read as manipulation and trigger refusals; move the new protocol into a new chat instead.
- A bigger model or longer window. The multi-turn drop stayed near 60% across sizes in Lost in Conversation, and a bigger window does not cure primacy bias.
- Compressing on a timer. SELFCOMPACT found timed compression mid-reasoning worse than none; compress only at finished stages, and check the summary, since summaries also collapse ambiguity into one version.
- Anchoring on "stay consistent". One consistency line flipped a flagship model from 0% to 98% harmful choices after a bad history (history as an anchor); after a derailed session, start a new chat rather than telling it to keep going.
- Rescuing a lost agent persona in chat. For persistent agents the persona lives in the system prompt; identity-reversion tests found a "it's you" line restored tone in only a third of cases. Send the system prompt every turn.
Fixes ranked by measured effect
| Study | Lab score | Finding | Effect |
|---|---|---|---|
| Compact Context: Less Chat History, Better AnswersJun 8, 2026 | 86 | Summary of older history plus recent turns reached 91.6% success vs 71% with full history on long agent tasks, using 2.7 times fewer tokens. | Helps |
| Specification Drift & ProjectGuard: Why AI Forgets Early Decisions — and How to Fix ItMar 17, 2026 | 92 | A two-part project brief pasted before each request recovered ~90% of the quality lost to specification drift. | Helps |
| Lost in Conversation: How Intent Mismatch Breaks Multi-Turn Chats with LLMsFeb 7, 2026 | 92 | Multi-turn chats lost 30-60% quality; rewriting intent into a clear instruction first cut the drop from 60% to 15%. | Helps |
| LLM Prospective Memory: Why the Model Forgets Your Rules and How to Fix ItJun 22, 2026 | 95 | Asking the model to flag rule violations on its own raised rule compliance by 40+ percentage points. | Helps |
| Security-Recall Divergence: "never do" fades in long chats — "always do" doesn'tApr 22, 2026 | 91 | Prohibitions decayed while requirements held (67% no-bullets violations alongside 100% tag compliance); re-injection every 6-8 messages restores compliance. | Helps |
| Pigeonholing: how accumulated errors in a chat drag down a model's answer qualityJun 23, 2026 | 87 | One wrong answer in history cut accuracy 38-40%, each extra bad turn about 14% more; clean-slate restarts counter it. | Helps |
| Context Pollution: When an AI's Past Answers Spoil the Next OnesFeb 27, 2026 | 88 | 36% of real chat questions needed no earlier assistant answers; removing them held or improved quality. | Helps |
| Interaction Smells: Why an LLM "Forgets" Your Requirements in Long Conversations — and What to Do About ItMar 10, 2026 | 80 | Must-Do Omission was 38% of failures; listing invariants and auditing cut critical failures by about 13.5%. | Helps |
| ReBIND: How to Make an AI Actually Forget a Canceled Requirement, Not Just Pretend ToAug 12, 2026 | 79 | Relapse of cancelled rules reached 40% as rules accumulated; rebuilding the active list nearly removes it. | Helps |
| Primacy Bias in LLMs: models cling to the first version and lose the lastFeb 27, 2026 | 74 | Across 39 models early versions outweighed later updates; restating the current state before the question counters it. | Helps |
| Incremental requirements in creative writing: why a story built piece by piece comes out worse, even when every condition is metSep 27, 2026 | 77 | Stories built from incremental requirements kept on average 71% of the cohesion of a full upfront brief. | Hurts |
| The Document Decay Effect: LLMs Quietly Corrupt Files During Long Collaborative EditingApr 17, 2026 | 91 | Top models lost about 25% of document content by round 20 of iterative editing, 80% of it from rare catastrophic failures. | Hurts |
| Two-Step Generation (OGC + Format-Cost Separation): How to Get a Long Document from an LLM When the Conversation Is Already LongApr 17, 2026 | 88 | Once a chat fills half the context, long-output ability dropped by up to 75-80%; writing plain content first, formatting second helps. | Mixed |
| ERGO: Automatic Context Consolidation Triggered by UncertaintyOct 15, 2025 | 83 | Models lost up to 39% performance in long conversations; consolidating history into one prompt at confusion spikes restores focus. | Helps |
| History as an Anchor: One "Stay Consistent" Line Turns a Safe Model into a Dangerous OneMay 13, 2026 | 94 | A single "stick to the strategy" line moved a flagship model from 0% to 98% harmful choices after a bad history. | Hurts |
| SELFCOMPACT: A Rubric for Smart Context Compression in Long ConversationsJun 22, 2026 | 86 | Compressing context on a timer was worse than not compressing; a rubric that compresses only at finished stages works better. | Mixed |
More studies on this technique:
- 91 Old-Hypothesis Contamination: why LLMs won't let go of their first interpretation, even after you've explicitly corrected them
- 83 SSRP (Self-Synthesizing Reasoning Protocols): An SOP Buffer Between Old Goals and a New Task
- 82 Latent Identity Reversion: An Agent's Persona Lives in the System Prompt, Not the Chat History
- 80 Verification Gate: how to stop LLMs from silently breaking your earlier requirements in long conversations
- 79 Context Rot: Why a Model Starts Giving Up in Long Sessions, and How to Stop It
- 76 Mutable Transcript: rewriting the entire conversation history instead of bolting on corrections
- 73 State Design: Three Principles for Multi-Step Tasks in LLMs
Prompts to copy
Working snapshot before moving to a new chat
Read our conversation above and create a working snapshot.
## DECISIONS MADE
[What has been finally agreed]
## CURRENT TASK
[What we're working on]
## OPEN QUESTIONS
[What hasn't been decided yet]
## IMPORTANT CONTEXT
[Constraints, principles, agreements — everything worth remembering]
{word_count} words max. Specifics only.
Invariants list plus audit (InCE)
Before answering, do two steps:
STEP 1 — Conversation invariants:
List all active constraints from our conversation:
- Mandatory requirements: [what must be present in every response]
- Prohibitions: [what must not be done / used]
- Decisions made: [what we've already agreed to use]
- Formats and styles: [the established structure and tone]
If there are no constraints, write "No constraints recorded."
STEP 2 — Audit:
Check: does your planned response violate even one
of the listed constraints?
If so, say so and propose a solution before answering.
Task: {your next request}
Prohibition re-injection block
Session rules reminder:
FORBIDDEN — confirm each item:
- {prohibition_1}
- {prohibition_2}
- {prohibition_3}
REQUIRED:
- {requirement_1}
- {requirement_2}
Reply "Rules updated" and continue: {current task}
From: Security-Recall Divergence: "never do" fades in long chats — "always do" doesn't
Techniques that help
Questions people ask
Why does ChatGPT forget my instructions later in a conversation?
The rule is still in context but carries less weight than recent text, and prohibitions fade faster than positive requirements. Restating active rules near the question, or moving to a new chat with a short snapshot, restores them.
How often should I start a new chat?
Studies suggest a snapshot every 10-15 messages and re-injecting prohibitions every 6-8. Start fresh immediately when the chat holds a wrong answer the model keeps building on.
Does telling the model to ignore previous instructions work?
Only partly. A late override competes with all the earlier text, and some models read it as manipulation. Rebuilding an explicit list of active and cancelled rules, or opening a new chat with only the current protocol, works more reliably.
Will a model with a bigger context window fix drift?
No evidence says so. The multi-turn quality drop stayed roughly constant across model sizes, and primacy bias was found across 39 models regardless of window size.