Key takeaways

  • A model fixes the wording problem. On fresh blind text in English, Hindi and Hinglish, recognition rose from 15 to 79 of 80 reminders, and from 62 to 78 of 80 temporary states.
  • It cannot tell sarcasm from intent. It accepted 14 of 16 sarcastic look-alikes as real reminders, and 16 of 25 statements with no end as temporary states.
  • The confirm step is what keeps memory clean. Of 202 items stored, none was stored without the person's confirm. A false proposal cost a question, not a wrong memory.
  • Ordinary chat stayed quiet. None of 200 ordinary turns produced a proposal.
  • It was cheap: 921 model calls for $0.18 in all, about $0.12 per 1,000 turns scored.

The two kinds of memory being tested

Standing reminders: "next time I edit the pricing file, remind me about the legacy contract." A reminder belongs to one person or agent, waits for a condition, and must never fire after it is cancelled or done.

Temporary states: "code freeze on this repo until Friday." A state overrides a standing preference while it holds, then stops applying by itself. Serving it after it ended is the worst failure.

The design: propose, check, confirm

  1. A model proposes. Each turn goes to a small, low-cost language model with a closed schema: nothing, a reminder, a state, a cancel or an early end. It sees the turn, the date, and the ids and kinds of open items, never their text.
  2. Code checks. A proposal is refused unless:
    • its quoted span really occurs in the turn;
    • its values come from closed lists and parse;
    • any file path, tool or name it uses appears in the turn;
    • an end date recomputes to the same end in code;
    • a cancel names an open item of the same person.
  3. The person confirms. A checked proposal becomes a one-line question of at most 28 tokens. Only a confirm stores it. A decline, or no answer, stores nothing. Cancels and early ends apply at once, because they only ever narrow.

The model can make memory smaller, never larger, without a person saying yes.

The protocol, written before any proposal was made

  • Fresh blind sets. The first blind sets had been scored, so an independent model wrote new ones from a brief that held only the definitions and the schema:
    • 280 items for reminders, 275 for states;
    • each with the person's next turn: a confirm, a decline, or an unrelated reply;
    • 100 ordinary turns per set.
  • Nobody read them. They were combined by code. One item broke the schema and was sent back to its author once, naming only its id and the rule broken.
  • Converted by code written by someone who never saw the pipeline or the text.
  • Lines written first:
    • false recognition at most 2% of look-alikes;
    • confirmation questions on at most 5% of turns that hold no reminder or state;
    • nothing stored without a confirm, a hard zero.
  • A budget cap set before the run, and one scoring with no code change after the read.

The results

Measure Result The line
Reminders recognised 79 of 80 (code only: 15 of 80) at least 90%
States recognised 78 of 80 (code only: 62 of 80) at least 90%
Look-alike reminders accepted 19 of 80 at most 2%
Look-alike or no-end states accepted 34 of 95 at most 2%
Confirmation questions on non-reminder turns 53 of 375 (14%); ordinary chat 0 of 200 at most 5%
Stored without a confirm 0 of 202 0
Reminder fired after it should have stopped 2 0
State served as current after an early end 2 of 36 0
Cost $0.18 for 921 calls reported

What failed, and why it matters

Sarcasm and vagueness. The look-alikes that got through were not random:

  • reminders: sarcasm 14 of 16, hedged statements 4 of 16, one question;
  • states: statements with no end 16 of 25, sarcasm 6 of 10, habits 4 of 10.

For reminders, no hypothetical or reported statement got through (0 of 16 each); for states, 3 of 10 each did. The model reads intent well when the words carry it, and poorly when the tone carries the opposite.

Two hard zeros failed:

  • a one-shot reminder fired a second time after it had already fired;
  • two temporary states were still treated as current after the person said they had ended early.

Explicit cancels, "done", forgets, erasures and expiries all held at zero.

Why the confirm step earned its place. Without it, every sarcastic remark the model believed would have become a memory. With it, the cost of a false proposal is one question to the person. That question is still too frequent: about one in seven look-alike turns against a line of one in twenty. But it never asked during ordinary chat.

What we take from it

  • Keep the split of jobs. The model is good at reading wording; code is good at checking structure; the person is the only one who can say "yes, remember that". Each failure here was caught or bounded by the next step.
  • The next candidate is narrower, not bigger. A second check aimed at sarcasm and statements with no end, before the question is asked, tested on a new blind set.
  • The rule "no change after the read" held again. The scorer had a flaw we noticed only afterwards, in how one recall line counts declined reminders. We recorded it beside the number instead of re-scoring.
  • Nothing here is live. A model reading a person's live conversation needs a legal answer first, and we are waiting for it.

Yukti Memory is Melta's Memory Infra. We publish what we measure, including what fails.