Wouldn't you just know it. Adam Sandler runs into Drew Barrymore in a diner and they hit it off and when he says goodbye at the end of the most typical of romcom first dates, he's pretty much in love. He rushes to the diner the next day but she completely blanks him as if nothing ever happened. That's when he finds out that her memories are erased every night and she only retains memories of things up to the day of her brain injury. Because all of this happens in the land of love conquering all, in the final scene Drew Barrymore wakes up in bed on a yacht with a video tape next to her with a note that says "Play me". The camera cuts away and we next see her walking out on deck to meet Adam Sandler and their child with a smile on her face. Thus ends 50 First Dates.
If I were OpenAI or Cursor or any of the other myriad of AI labs trying to solve the memory problem, I would promise Adam Sandler vast fortunes (and even throw in a few kingdoms) to reveal the secret of how he managed to compress all of the shared memories of his interactions with Drew Barrymore which included the birth of a child into a 10-minute VHS tape. What that tape achieved is nothing short of a miracle. Not only did it give Drew Barrymore all the information she needed about where she was and why but also it evoked a emotional response of happiness rather than horror or dread and despair.
Unfortunately for the world and fortunately for the coffers of Cursor and OpenAI, there's no secret to procure. The condition Drew Barrymore suffers from and the solution Adam Sandler deploys are both what I believe is called a plot device (or possibly a plot hole) and neither exist in real life. What that fictional video tape achieved and what the AI companies are trying to achieve is impossible. In terms of this Substack, what happened is that the fictional home movie editor, managed to choose a series of propositions (moving pictures are sorts of propositions) that replicated the schemas that Drew Barrymore would have relied on to interpret the world around her. The schemas accumulated over the course of several years of experiences. Those schemas would not be the same as the propositions that would summarise the main facts of the case:
You had an accident which gave you a rare condition that means you forget everything that happened to you after you were 24.
You are now 30, you are married and have a child.
The person you are married to is me and this is who I am.
We are on a holiday on a yacht in Hawaii.
When you come on board, you will see me and your child. This is what we look like and these are our names.
These propositions would give Drew all the "information" about what happened in 5 sentences and a few footnotes. But this is not what would have been the "contents" of her mind had her brain not erased everything overnight. And it is definitely not what would be inside the mind of Adam Sandler (and eventually, when it grows up a bit more, the child). Imagine what the video would have to be like the morning of the day their child comes home from college, or when that child is getting married and eventually has their own child. And, of course, what would the scene look like if Adam Sandler overslept and Drew Barrymore woke up next to him in bed? What sort of propositions would fit that situation?
The answer is that there are not enough propositions in the world that could capture everything that Drew Barrymore needs to know. Because, as Michael Polanyi said: “There are things we know that we can’t tell.” Not only is not possible to list all the things you need to know, it is not possible to form the sort of mental images quickly enough from those propositions to live the rest of the day in the same way if you had several years or even several days worth of experiences. There will always be other things you need to "know" that give full sense to the sentences and pictures you see in front of you.
We could try to cheat and show Drew Barrymore the whole movie of 50 First Dates up until the final scene but that would expand the 5 sentences above into 2 hours. Conceivably, the video could be shortened by a lot but that would lose a lot of the breathing space we need as viewers to get used the whole set up.
Luckily, the exact condition that Drew Barrymore has is entirely fictional. Anterograde amnesia exists but it is rare and never happens exactly like this. In fact, while people lose the ability to form new propositional memories, they do learn some schemas (such as those required for skill).
But we all know someone who had this exact condition! It's called ChatGPT! ChatGPT loses all of its memory of all your interactions when you start a new chat.[1]
So, when we ask ChatGPT a question, we all have the Adam Sandler problem. What is the set of propositions that accurately capture the schemas we have in our mind in a way ChatGPT will turn into a useful response. That turns out to be a relatively simple task when we are asking for a simple task such as writing a letter or composing a report. After all, we all have experience with instructing others to do similar things.
We've all done things like describing our symptoms to a doctor, giving a stranger directions to the station, asking someone to pick up something from our house, etc. And we know that none of those are easy and they are prone to failure but they are doable. We do them all the time. So, we have that kind of experience when we ask ChatGPT to do something similar. And Adam Sandler had that kind of experience on his first encounter with Drew Barrymore in the diner.
But all of the examples above are one offs. They are not like working with a coworker on a project or getting ready for a holiday with your family or building up the wealth of experience that leads to you to believe you're ready to marry that gal. Imagine the much more difficult task of inducting someone new into the midst of your project or your family holiday plans or explaining to your family why you're ready to marry way too young and do that with a clearly unsuitable person, to boot.
What those situations need is time. Time to acquire all the tacit knowledge that cannot be simply listed in a few simple sentences. "You'll learn to love them once you get to know them." is the phrase that springs to mind.
What does it take for a new person to truly become a part of a project team? They have some sort of an induction session with one or more team members, they may read project documentation and some past project reports or messages that were exchanged between team members. But even with all of that, they will still need to keep asking questions from time to time - such as where those files are kept, why is that person asking for a report, what should be avoided in meeting that client, etc. But over time, all of those things will be integrated into their usable knowledge and they will feel a part of the team - as if they were there from the beginning. Except, occasionally, even months in, something will pop up and everybody will say "ah, you weren't here then."
What does the knowledge inside that person's head look like? If we were to ask them, they will give us a list of propositions but that's just what they can say. They have so much more tacit knowledge that simply exists in their head as general schemas that help them make sense of the flood of information coming at them. When they leave the team and are asked to write down everything they know for their successor, they will leave a lot of important things out and the next person will have to start over.
No matter what the information in their head looks like, it is not a list of propositions. It is something that is integrated into their neural connections (whatever those are) - in other words, they leave the project with a different brain than they had when they joined it.
This is very different from the way Drew Barrymore starts her day or the way ChatGPT starts its every response to you. Drew Barrymore and ChatGPT have fixed brains. All the schemas and propositions inside them (whatever they look like) are fixed forever more and no matter how much you interact with them, their neural connections will not change. Yours will. Theirs won't. The cognitive relationship you have with ChatGPT is exactly the same as the cognitive relationship Adam Sandler has with Drew Barrymore. Your brain changes, ChatGPT's neural weights do not.
The writers of the script to 50 First Dates had an easy way to deal with the problem. Ignore it. The best way to "happily ever after" is through a through hole in the plot. [2] The makers of ChatGPT can't do that, though. If they want to live up to the promise their users feel was made to them in the course of a chat with the chatbot, they have to solve the memory problem in a way that feels like scene in the movie 50 First Dates rather than what it would actually feel like if that sort of thing happened to you. Smiles and happiness instead of distress and confusion.
So, their task is to ask ChatGPT itself to write some notes for itself to use later. And they train the language model underneath to look at those notes at just the right moment. The memory in this case is not the sort of memory you might have in your brain, it's the sort of memory you may have in short notes in your diary. It's a sort of operations manual.
But unlike a person with an operations manual to hand, ChatGPT will never get better at completing the task in the ways specified in the operations manual. It will always have to look at it as if it had never seen it before. Because it hasn't. Just like Drew Barrymore will have to look at the tape of her life up until that point every time she wakes up. Presumably, Drew will have made some other notes for herself to use throughout the day and ChatGPT can do the same. So, it's not just the one tape but a tape and lots of post-it notes and scribbled reminders all over the place.
It's easy to look at what these memories look like inside ChatGPT. We just have to go in the settings and see the list:
Dominik prefers his responses to be short.
Dominik has taken a cycling trip to the Netherlands.
Dominik cycles to work regularly.
Those are all valuable facts about me that ChatGPT can rely on to generate its response to me. But they are not memories. They are propositions about the contents of memories. What is in my head is nothing alike, what's in my head is tacit knowledge in the form of schemas that are always present.
The difference between what's in ChatGPT's memory and what we would like there to be, is the difference between what a spouse knows about their significant others versus what they may have read on their dating profile. It's the difference between the knowledge a kindergarten teacher has after reading a note from a parent of a new child about the kid's likes and dislikes on the first day and the knowledge they have about that same child after a week or a month of interacting with them. After a very short time, they never have to look at the note again and if they do, it is in the context of the actual experiences.
It's always the first day of school for ChatGPT.
And in many ways, ChatGPT's memory is the more trivial problem for Large Language Models to solve. The human interacting with ChatGPT is always there and they can simply 'correct the bot' when it turns out that ChatGPT clearly "does not know them at all."[3]
Imagine you're using an LLM to make a contribution to a large Open Source code repository that has accumulated over many years across a number of issues and contributions. The code and the issues far exceed the 1 million token context window available to the model. So, instead it has to compress all of that into a set of notes. Those notes will overlap with what a maintainer of that repository would write down if they were asked to make a list. But they will not overlap with what's in the head of the maintainer when they are actually deciding what code to write to fix a bug or what code to accept when submitted by another contributor.
This is a hard problem. And it's a problem that was exposed recently in a METR study and that many people writing complex software with the assistance of LLMs are experiencing every day. It is not a problem that can be fully solved but it is a problem that can be worked around. Many new techniques have emerged on how to "take better notes" or rather how to instruct the LLM to "take better notes" such as AGENTS.md or DSPy, etc. Only time will tell how far these will scale.
But another, much less discussed, problem with the sort of schematic memory we're talking about is in Deep Research. ChatGPT or Gemini are really good at researching a subject where there is relatively stable knowledge that is accessible to search through a set of sources of comparable quality. The Deep Research feature will make a plan at what to look for, evaluate pros and cons, and present a detailed report. But it will fail when one also needs to carefully evaluate the quality of the sources and make subtle choices of priority.
A human researching a subject in the same amount of time would probably not do much better but a human immersed in the subject for a period of weeks or months would develop a set of schemas to help them interpret whether a source is relevant, where it fits in the development of the topic, how it relates to other sources, etc. This knowledge will not be fully compressible to a set of notes a model can make for itself for the future.
My goto test question for any Deep Research product is to ask what are the best Large Language Models I can run on my Macbook Pro M3 Max with 36GB of RAM today. The responses are invariably a jumble of models that are months or even years out of date. That is because the up-to-date information is across dozens of recent announcements and discussions on platforms like X or Reddit or in podcast interviews. To get closer to the right answer, the model would have to develop a bigger picture of the field. Instead, it relies on its pre-trained knowledge, general search and material evaluation heuristics, and the results of its searches. This is more than enough in areas where the field is well established and stable or where the world of knowledge is sufficiently small that even a very shallow search will capture enough information to get a useful summary - such as recent news.
Large Language Models doing research are further hampered by not having the luxury of a quick glance at a date of a post or the username on post that somebody like Drew Barrymore would have. Instead of doing what she would do - which is hoover up all the information and let it stew for a while, they have to get all their insights from some sort of propositional heuristics which gathers all the notes necessary to give the best possible answer given the available evidence. Simple thing like knowing that something is a quote or that the author of a post on Substack may have to be tracked down to the about page, those are all things that a model needs several steps to figure out. Lest you imagine I'm just making things seem more awkward than they are, all of those are examples where I've seen Deep Research products fail.
In this case, ChatGPT's Deep Research also has a memory problem. And it's not that different from the problem the "memory" feature has. It has a problem of making new memories in ways that would meet the expectations of a human interacting with the model.
In the biz, this has become to known as the problem of "context engineering". Language models do not have memories. They have knowledge and they have context. Very much like Drew Barrymore when she wakes up in the video Adam Sandler made for her the previous night. But Drew Barrymore and the language model have already diverged significantly by the time they both go to bed. Drew has had a day's worth of experience - and depending on the kind of experience she had is either dreading or looking forward to the nights sleep that will wipe all the memories of the day away. A language model, will have had as many first dates as there had been chats by the time the day is done. And all that connects the chats together is notes. Notes in a series of bullet points and sentences. A database of statements but not a memory. Because memories live in ever changing connections between neurons, not in files and folders.
We often wish we had a memory more like a database (and many people believe we do - just not very good one). But before we retrieve a fact from a database, we already need to have some form of memory of it and when we see it, we need to recognise it. A memory that is just a database does nothing, it needs a memory that is more like a set of general neural connections that takes advantage of the artefacts stored in the database.
Drew Barrymore does not wish she had a memory like a database. She wishes she had a memory like a human, flexible and fallible - but above all one that integrates rather than stores information. Users of ChatGPT also wish it had a memory more like a human but more flexible and less fallible. Within the context of a single chat or a simple Deep Research session, this is already a reality. But as the tasks get longer and the chats accumulate, we're seeing the limits of the propositional memory. Only time will show whether they are absolute or just a temporary limitation that we can work around with clever context engineering.
Strictly speaking, as a large language model, it loses all memory of its past interactions with every token it generates and has to look at all the history again before it generates the next one. But that's a story for another time. For now, let's imagine, ChatGPT actually does have a memory of your interactions within a single chat. Because that's what it feels like and it's good enough for now.︎
Note: If you're bilingual in Czech and English like me, you will have probably noticed that the word 'plot' in Czech means 'fence'. If that doesn't give you a tiny little shot of joy, I don't want to know you. ︎
I'm only talking about the current memory feature in ChatGPT here. But the reference to previous chats functions exactly the same way, only the notes are taken live.︎
