Personalization and Long-Term Memory › Conflict Resolution: When Memories Disagree

Michael BrenndoerferDecember 1, 20263 min read
Language AI HandbookAll chapters
Part 45 of 67Knowledge, Memory, Editing, and Unlearning
Chapter 349Personalization and Long-Term Memory › Conflict Resolution: When Memories Disagree
Reading section 9 of 15 · Conflict Resolution: When Memories Disagree · 3 minSection 9 of 15 · 3 min

Section 9 of 15 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Resolve differences at the point of use as well as at write time. For example, the current turn may give a correction before the durable update reaches the store.

For a temporal correction in the same account, scope, and slot, this notebook accepts a newer verified value over an older value of equal precedence. The old record becomes superseded and points to the new id. Real applications may need to distinguish when a fact became true from when the system recorded it.

For a precedence conflict, start with the application's policy and authorization checks. Among instructions the user may give, an explicit current instruction can override a standing preference for this request. A verified standing instruction outranks a contradictory inferred value for that slot in the toy store. Verify consequential actions in the application after the model responds.

For current-turn disagreement, interpret the new input for this request and separately decide if it is an authorized profile correction. "I'm in Porto now" could be travel. "I moved to Porto; update my home city" establishes a clearer replacement.

The deletion-from-many-stores problem

To erase a value, identify every surface that can hold it or bring it back. Check the primary store, search indexes, caches, logs, analytics, and backups where relevant.

  • Primary store. Remove the selected versions of the account's slot.
  • Derived vector index. Remove entries for those ids and invalidate any cached search results that expose them.
  • Prompt and response caches. Invalidate affected entries and check if output caches contain the value.
  • Session transcripts. If a retained turn contains the value, apply the transcript policy to redact the value or remove the affected record.
  • Backups. Define when recoverable copies are removed and prevent old backups from restoring erased records to service. Cryptographic erase can work for encrypted copies if every copy of the target keys can be sanitized. Plaintext copies need a separate sanitization method. Apply a separate policy to backup or escrow copies of the data, credentials, and keys. See NIST SP 800-88 Rev. 2, §3.2.
  • Analytics and event streams. Omit personal values that analytics does not need. Track and remove any values copied downstream that are in scope for the erasure request.

Store a reference to the source turn in provenance when you do not need a second copy of the text. Keep the reference within the same account's access policy. An aggregate write count can be enough for monitoring when the value and slot are unnecessary.

Some audits need both effective time (when a value held) and system time (when the system recorded a version). With both histories you can ask what the system believed on a given date about an earlier date. The notebook only tracks basic record timestamps and a replacement link. Passing an earlier timestamp to a read checks expiry against that time. The method still uses current status and grants, so it cannot replay the earlier belief.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy