Delve · Field guide
Why ChatGPT Forgets What You Said Earlier
Four mechanisms explain lost details: a finite token budget, a rebuilt transcript, uneven attention, and a selective memory layer.
Delve Editorial · AI in Daily Life · 9 min
#context-window #lost-in-the-middle #memory-systems #prompt-engineering #truncation
The short answer
ChatGPT forgets because it has no persistent memory of a conversation: each reply is generated from a finite prompt that the app rebuilds from your visible transcript, and anything that falls outside that budget is simply not there to read.
Two further layers make it worse. Even inside the budget, attention is uneven, so a detail buried mid-context influences the answer less than one at the start or end. And the memory feature is a product layer that injects selected facts into future prompts — a curated note, not a transcript archive.
- Unit of memory Tokens in a single prompt
- Across chats Only via memory or instructions
- When budget fills Oldest turns dropped or summarized
01 · The mechanism
The conversation is a token budget, not a permanent record
Every model call is text in, text out. Your message is split into tokens — subword chunks — and packed into one prompt alongside a hidden system preamble, any active memories or custom instructions, attached files, and the transcript of prior turns. That combined prompt must fit a fixed context window. When it doesn't, something gives, and the model is not consulted about what.
The usual outcomes are three. Truncation drops the oldest turns outright. Summarization replaces raw text with a compressed recap. Eviction strips attachments or tool output first, because they are the bulkiest items. Whatever is removed is not cached somewhere the model can peek at — from its perspective it never existed.
This is why a constraint you stated at turn 3 can vanish after you paste a long document at turn 30: the paste and the recall draw on the same account. The same logic applies to detail you never wrote down. If you explained the goal verbally in a voice message and the transcript was trimmed, the goal is gone.
On many chat surfaces the ceiling is shared with the reply itself, so a request for a long, exhaustive answer leaves less room for the history that answer is supposed to respect.
The model didn't forget your constraint. The constraint was never in the room.
Window sizes and truncation policies differ by model, plan, and product surface, and change between releases. Treat any specific number you read as provisional.
02 · The packaging
Each turn is rebuilt from the visible transcript
People picture a model sitting in a room, listening. It isn't. Each turn is a stateless request: the application assembles a fresh message array — system instructions, memory block, prior user and assistant messages, your new input — and sends the whole package. The model has no side channel to earlier turns. Anything not in the package is unreachable, however clearly you remember saying it.
Two consequences follow. First, a new chat is a genuinely blank slate. Nothing carries over unless the product injects it: saved memories, custom instructions, or chat-history references. OpenAI's help documentation describes memory as information that may be added to new conversations, which is a statement about prompt assembly, not about a persistent model brain .
Second, editing the transcript rewrites the model's reality. Delete or modify an earlier message and later replies condition on the edited version. The model cannot flag the discrepancy because it never saw the original.
There is a subtler lossiness: the assistant's own prior replies travel in the package too. A confident wrong answer at turn 5 becomes evidence the model reasons from at turn 15, so errors compound rather than self-correct. Long threads drift not only by losing facts but by accumulating the model's own mistakes as context.
A new chat is not amnesia. It is an empty prompt.
03 · The attention
Even inside the window, attention is uneven
Fitting text inside the window is necessary but not sufficient. Attention is a weighted lookup, and those weights are not democratic.
Liu and colleagues tested multi-document question answering and key-value retrieval, moving the same relevant passage to different positions. Accuracy was highest when the passage sat at the beginning or the end of the input and degraded sharply when it sat in the middle — the "lost in the middle" pattern — and it held even for models explicitly built for long contexts . Follow-up work traces part of the effect to positional information leaking into hidden states and shows that rescaling a single channel recovers a measurable slice of performance, evidence that the bias is architectural rather than incidental .
Three mechanisms drive it. Position: early tokens get anchoring attention, recent tokens get recency, the middle gets neither. Dilution: every irrelevant turn spends probability mass that the relevant line needed, so ten exchanges about lunch make the one sentence about your deadline easier to skip. Reasoning depth: some long-context failures are not retrieval failures at all. The model locates the fact and still mishandles it unless prompted to work through steps .
The boundary condition matters: these are benchmark findings on specific models and tasks, not a law about every ChatGPT version. Reasoning-heavy models reduce the effect. The direction still holds — a bigger window buys capacity, not uniform reliability.
Reported gains from large context windows are usually retrieval benchmarks; they say less about whether a model will follow a mid-conversation instruction under distractor load.
04 · The product layer
Memory is a product layer, not the model's brain
ChatGPT's memory feature is routinely mistaken for the model remembering. Mechanically it is a curated set of facts injected into future prompts. OpenAI documents two distinct layers: saved memories, details you asked it to keep such as a dietary preference, and chat-history references, relevant details pulled from past conversations . Both are added to the context the model reads when answering .
That architecture explains the quirks. Memory is selective — the help center says it is for broad preferences and details, and warns against relying on it for exact templates or bulk verbatim text . The memory summary shows highlights, not everything stored . It is editable: you can delete individual memories, clear them all, or switch the feature off . It is not deleted by proxy: turning memory off does not erase what was already saved, and deleting a chat does not remove memories derived from it — you must do both . Disabling saved-memory references also disables chat-history references .
It is also imperfect. OpenAI notes that earlier memory systems accumulated stale entries users had to correct by hand, sometimes contradicting each other — "training for a marathon" sitting beside "I sprained my ankle" — and that a revised system refreshes memories automatically to reduce that drift .
Memory is a note passed to the model, not a brain that remembers.
05 · The workflow
Design around forgetting: pin, restate, summarize, verify
Treat forgetting as a design constraint rather than a malfunction.
Front-load a constraint block. Put durable facts — role, format, deadline, audience, hard exclusions — in a short block at the top of the thread and keep it to a few lines. Everything after it competes for attention with it, so make it cheap to re-read.
Restate at decision points. Before a consequential output, repeat the two or three constraints that matter most. This is not redundant reassurance: it moves them from the middle of a long context toward the end, where attention is strongest .
Summarize before switching tasks. Ask for a compact recap of decisions and open items, then start a fresh thread seeded with that recap. A summary you wrote beats an automatic truncation you never saw.
Route durable facts into memory, then audit them. Ask "what do you remember about me?" periodically and delete stale entries, since saved memories persist until removed and can conflict with each other . Reserve memory for stable preferences, not for exact templates or reference text .
The strongest caveat: behavior varies by model version, plan, and surface, and no technique guarantees recall. Because the evaluation literature centers on retrieval benchmarks rather than ChatGPT's production pipeline, the size of any effect in your own session is uncertain — measure it by asking the model to restate its constraints before it acts.
If a system prompt is very long — a huge custom instruction block, a heavy project brief — it consumes budget that history could have used. Trim standing instructions before blaming the model for forgetting.
Where a detail can live, and when each layer fails
Four layers can carry context into a reply, each with a different lifetime and failure mode.
| Layer | What it holds | Lifetime | Typical failure |
|---|---|---|---|
| Context window | Raw turns of the current thread | One request | Budget fills; old turns dropped or summarized |
| Chat-history reference | Details drawn from past conversations | Refreshed over time | Detail judged irrelevant or goes stale |
| Saved memory | Facts you asked it to keep | Until you delete them | Conflicting entries; not an archive |
| Custom instructions | Standing rules and persona | Until you edit them | Long blocks compete for the same budget |
Common misconceptions
- ChatGPT remembers the whole chat and is just not paying attention. Often the text is not present at all. Once earlier turns fall outside the assembled prompt they are unavailable, not merely ignored. Uneven attention is a second, separate failure that applies to what remains.
- Opening a new chat keeps what the model already learned about you. A new thread is a new prompt. Only saved memories, custom instructions, or chat-history references carry over, and those are curated selections rather than a transcript.
- Deleting a conversation deletes what ChatGPT took from it. Deleting a chat does not remove memories derived from it; those need clearing separately. The reverse also holds: switching memory off does not erase what was already saved.
Make forgetting predictable in your own chats
Four habits that convert an unreliable memory into a managed one.
Write a pinned constraint block
Open the thread with four to six lines: goal, audience, format, hard exclusions, deadline. Keep it short enough that restating it costs nothing.
Re-anchor before each deliverable
Immediately before asking for the final draft or decision, paste the constraint block again. This moves the key constraints to the end of the context, where attention is strongest.
Close long tasks with a handoff summary
Ask for a bulleted recap of decisions, open questions, and constraints, then start a fresh thread seeded with it. Keep the recap yourself so it cannot be silently truncated.
Audit memory quarterly
Ask what is remembered about you, delete stale or contradictory entries, and keep exact templates or reference text in a document you paste instead.
What would change my mind: Evidence that ChatGPT's production pipeline preserves full earlier turns through long threads and that instruction-following accuracy stays flat as irrelevant context grows — for example, a published evaluation showing no position effect on mid-context constraints in current models.
Recall check
You paste a 40-page contract into a thread where you had stated a deadline at turn 2. The reply ignores the deadline. What is the most likely explanation?
- Attention bias alone — the model read it but ranked it low
- ChatGPT deleted the message from your saved chat history
- The memory feature overwrote it with newer facts
- The deadline dropped out of the assembled prompt or was crowded out of the budget
The paste and the earlier turn compete for the same finite prompt. Eviction of older turns, or dilution of attention within a long context, will both produce this symptom — and they are different problems with different fixes.
Which statement about ChatGPT's saved memory is accurate?
- It archives every transcript verbatim
- It lives inside the model's weights
- It injects selected facts into future prompts and can be edited or deleted
- It is deleted automatically when you delete the source chat
Saved memories are curated facts added to the context of later requests. They persist until you remove them, and deleting the original chat does not remove them — you have to clear both separately.
A benchmark keeps the same relevant passage but moves it from the start to the middle of a long input. What typically happens?
- Accuracy is unchanged once the passage fits the window
- Accuracy usually drops, because models use the beginning and end of long inputs more reliably
- Accuracy rises, because middle content is treated as instruction
- The model truncates the passage before reading it
The lost-in-the-middle result: performance is highest when the relevant text sits at the start or end of the context and degrades in the middle, even for models marketed as long-context.
Open questions
- Does ChatGPT's production pipeline truncate long threads, summarize them, or both — and at what threshold? The answer decides whether an early constraint is lost outright or compressed into something you could recover by asking for a recap.
- Do explicit reasoning modes erase the lost-in-the-middle effect in shipped models? Benchmark work suggests extra reasoning steps help retrieve hard cases, but it is unclear whether that transfers to an ordinary chat turn about your deadline.
Sources
- 메모리 FAQ | OpenAI Help Center - 메모리 FAQ — OpenAI Help Center
- “Tham chiếu bộ nhớ đã lưu” hoạt động như thế nào? | OpenAI Help Center - “Tham chiếu bộ nhớ đã lưu” hoạt động như thế nào? — OpenAI Help Center
- คำถามที่พบบ่อยเกี่ยวกับความจำ | OpenAI Help Center — openai.com
- Yijiong Yu — ACL Anthology
- Lost in the Middle: How Language Models Use Long Contexts — ACL Anthology