Why models get time wrong
A model reads “2025-03-14” as a string. To answer “how long ago?” it must know today’s date, subtract, and keep track of what changed in between. LoCoMo scores temporal questions as a separate category (Maharana et al., ACL 2024), and it is among the weakest for published memory systems. A memory store makes it worse when it keeps only the latest version of a fact: the past is simply gone.
Two times per fact
Databases solved half of this long ago with bi-temporal models: valid time (when a fact held in the world) and transaction time (when it was recorded). For agent memory, Zep and its open-source engine Graphiti apply the idea to a knowledge graph: when a new fact contradicts an old edge, the old edge’s validity is ended, not erased. Souvenance uses the same mechanism, natively in PostgreSQL. We did not invent it.
What lived time adds
Valid intervals say when. People remember relative to their life: “two summers ago”, “just before the move”, “in my first year at that job”. Souvenance computes, in code, for every memory it returns:
- the elapsed duration in plain words (“14 months ago”);
- its position relative to the person’s landmarks and life chapters;
- whether it is present, past or planned — and if past, what replaced it and why;
- for a plan, whether it was done, dropped, or has gone quiet.
The model receives that framing as text instead of doing the arithmetic.
Does it help? Not yet measured
That is an open question, and the subject of paper 002: a pre-registered ablation on LoCoMo comparing framing computed in code with raw timestamps, with a token-matched placebo, across model sizes. If stronger models stop needing the help, we will publish that.
Questions
What is bi-temporal memory?
A model that records two times for each fact: when it was true in the world (valid time) and when the system learned or recorded it (transaction time). It lets a system answer both what was true in March and what it believed in March. Zep and Graphiti use it for agent memory (arXiv 2501.13956).
What happens to a memory that stops being true?
In a bi-temporal design it is closed, not deleted: its validity interval ends at the date the new fact begins. The history stays queryable, and an error can be traced.
What is lived time in AI memory?
Expressing time the way a person experiences it: durations from now, order relative to other events, and landmarks of the person's own life such as a move or a new job. Souvenance computes these in code and gives them to the model as text.
Nicolas Noguera · Souvenance · published 2026-10-28 · how we write