Why AI forgets what you tell it
The Lueur team · · 6 min read
You talked about your sister last week, and today the AI asks whether you have any siblings. It isn't carelessness: it's how most conversational AIs work. Here's why, and what makes a different approach possible.
An AI only reads what it's shown
A language model keeps nothing from one conversation to the next. For every reply, it rereads a text: its instructions, and part of the conversation. That text has a maximum size, called the context window. Anything that isn't in it doesn't exist for the model.
When the conversation gets long, the oldest messages drop out of the window. What you said three weeks ago simply isn't read any more.
Summaries: a fix that shrinks
A common workaround is to summarise the conversation, then have the model reread the summary. The problem is that a summary gets rewritten every time, and it gets shorter. Details go first: your cat's name, the date of your interview, the restaurant you went to.
Memory per topic
Another approach is to keep notes, topic by topic, like a notebook: one page for your job, one for your sister, one for your travel plans. Each page is made of dated facts, and it grows instead of being rewritten.
What matters most is what happens next: when you mention your sister, it's her page that comes back, not everything else. The AI only reads what concerns the conversation at hand, which leaves it room to actually remember.
A good memory isn't one that keeps everything, but one that finds the right thing at the right time.
What matters and what passes
Not everything deserves to be kept forever. Your job or your tastes stay; a busy week or a cold can fade if you stop mentioning it, and come back as soon as you do. That's how human memory works too.
Dates
A useful memory also keeps dates: an interview on Thursday, a trip on Saturday. When the day comes, the AI can ask how it went, which a plain conversation history can't do.
And what the AI says about itself
An AI with a character often improvises details about its own life. If those details aren't noted, it contradicts itself from one week to the next. A well-designed memory also keeps what it said about itself.
Find out more: our companions' memory, in detail.