How AI Chat Works
Create free accountLog in

· 5 min read

Why does AI forget things? What a character keeps and loses

Why does AI forget things you told it? How chat memory is kept in general: the recent thread, summaries, saved notes, and where a detail falls through.

You mentioned weeks ago that you can't stand coriander, and tonight she cheerfully suggests a recipe built around it. Why does AI forget things like that? Because the language model behind a character (the program that writes her replies) remembers nothing on its own. Each reply is written from whatever text an app puts in front of it for that turn, and a long chat holds far more than fits, so anything left out of that text does not exist for that reply.

AI chat memory works as bookkeeping. Before every reply an app decides which papers go back on the table, and each kind of paper leaves its own kind of gap. These are common designs in companion apps generally, not the plan of any one app.

A club that forgets between meetings

Picture a small book club whose members, for whatever reason, remember nothing from one meeting to the next. Paper keeps the club going. Pinned inside the door is a page saying what the club is and how it behaves, read aloud at the start of every meeting. The secretary takes down tonight's discussion word for word. There is also a folder of minutes from earlier meetings: short, written after the fact, and the only trace of anything said before tonight. Everything the club knows about its past is in that folder.

In a companion app, the page inside the door is the character's description, the word-for-word record is the recent conversation, and the minutes are a summary (a condensed account of older messages, written by software). The table they all sit on is the model's context window, that is, the amount of text it can take in at one time, and what lands on it each turn is the bundle followed in the walk-through of a single reply. A table has edges. When tonight's record grows long, older pages come off, and whatever comes off survives only as far as the minutes caught it.

The club differs from a model in one respect. Club members reading the minutes know they are reading a summary, so a thin entry makes them hesitate. A model has no such sense. Where the minutes are silent it does not pause, and it carries on as if the record were complete.

Why does AI forget things it was clearly told?

Mostly because of the table's edges. Your remark about coriander sat in the word-for-word record on the evening you made it. As the conversation grew, that page came off the table, and from then on the remark existed only if the minutes recorded it. Minutes are short by design, so they tend to keep events and drop details: that you moved flats will probably survive, that you dislike a herb may not.

There is a quieter loss, too. Summaries are sometimes written by a language model, which means a detail can come out slightly wrong. Once that happens, the wrong version is the club's history. Nobody remembers otherwise.

How does long term memory work in AI companions?

Where it exists, long-term memory in a companion app usually means a store of saved notes kept outside the model, from which the software fetches a few that seem related to what you wrote last. The club keeps one too. It is a box of old minutes under the table, and before each meeting someone pulls out the pages whose subject looks closest to tonight's.

Related is the weak word. The matching is often done by meaning rather than by exact wording, which helps when you describe the same thing two ways and fails when the link is one only you would make. Ask what to cook tonight and a note about coriander may or may not come up, because the connection between dinner and a herb you dislike is obvious to you and merely possible to the search. So a fact turns up on Tuesday and stays in the box on Wednesday.

Why can't AI remember everything, then?

It sounds like the obvious fix. Put the whole history on the table every time and nothing gets lost. The table's size is what stops it: a model reads a limited amount of text at once, so a bigger table moves the edge without removing it, and reading a longer stack is more work on every single reply.

A chat that runs long enough will outgrow any table. So a long relationship with a character becomes, in time, a relationship with its own minutes.

When she remembers something you never said

A gap does not stay empty. When a detail is missing, the model fills it with something likely, since producing likely-sounding text is the whole of its job. If the minutes record a weekend away, she may supply a beach you never mentioned. That comes from fluency rather than any wish to deceive, and it is the club failing in exactly the way described above: nobody at the table can tell that a page is missing.

Working with the gaps

Knowing why AI forgets things doesn't let you see the books, but it does let you help keep them. Say a lasting fact plainly once, in a sentence that would make sense read on its own; a line like that is more likely to survive being copied into minutes or a saved note than a hint scattered across an evening. Correct a wrong detail directly ("my sister is a nurse, not a teacher") rather than hinting. Expect long breaks to cost detail, too. Come back after a fortnight and the conversation rests more on the minutes than on the record.

In many apps the description a character starts from is reread on every turn, which makes it the steadiest memory she has, so a trait that matters belongs there rather than in a passing remark. No user can check that from outside. If you write your own character with the app's builder, which goes step by step, her style, appearance, personality and relationship to you are settled before the first message, and that is at least a place where a trait gets written down on purpose.

Back to the coriander

So the recipe wasn't carelessness. The reason AI forgets things like that is bookkeeping. The remark sat in the record on the evening you made it and then left the table; after that, either the minutes skipped it, or a saved note held it in words that tonight's search didn't connect with dinner. Which of those happened can't be seen from outside. One plain sentence, said again, puts it back on the table, and by now you know what decides how long it stays there.

Guides and essays

All articles