What AI Cannot Remember

AI systems cannot identify the same concept twice. That is the root problem.

Databases · AI Infrastructure · Neurosymbolic AI · Computer Science
The Hash and the Concept
The next generation of AI systems may not search for knowledge. They may identify it.
2026

When you ask a language model a factual question, something goes wrong before the answer even forms. The model has no reliable way to know which version of a concept it is reasoning about. A city, a theorem, a legal precedent — each exists in the model's memory not as a single stable thing but as a smear of statistical associations scattered across billions of numerical coordinates. The same concept appears dozens of times in slightly different forms, with no mechanism that says: these are the same thing.

Researchers call this the knowledge identity problem, and it sits at the root of a failure mode that has proven stubbornly resistant to engineering fixes. A 2024 analysis of leading AI-powered legal research tools found that even when those systems retrieved real documents from real databases before generating an answer, they still invented citations, facts and entities that appeared nowhere in the source material between 17 and 33 percent of the time. The retrieval step was supposed to ground the model. It did not, because retrieval by similarity is not the same thing as retrieval by identity. Finding something that looks like the right answer is a fundamentally different operation from finding the right answer.

Every major approach to making AI systems more reliable depends on a system knowing not just that two pieces of knowledge are nearby but that they are or are not the same thing. Without that, a model reasoning over multiple facts cannot tell whether it is joining evidence from the same source or hallucinating a collision between two unrelated ones. It turns out a principled structure that could give knowledge a stable, verifiable, location-independent identity already exists. It has been running reliably in software engineering for decades, and its name is content-addressed storage.

01 The knowledge identity problem
Vector proximity finds what looks right. Content addressing finds what is right. The same concept fragmented across embedding space versus a single stable hash-derived identity — same data, entirely different guarantees.
The knowledge identity problem Vector embedding space Douglas Adams literary context D. Adams citation context Adams, Douglas bibliographic context Author of H2G2 descriptive context ≈ ≈ ≈ result Retrieval drift + hallucination same entity, inconsistent identity Content-addressed space D. Adams Adams, Douglas H2G2 author SHA-256 hash identity derived from content Q42 — one stable identity Douglas Adams, canonical reference Verified, exact retrieval no drift, no collision Stable, composable identity exact match, tamper-evident Vector proximity finds what looks right. Content addressing finds what is right.
Vector drift (same entity, many addresses)
Content-addressed identity (one hash, one truth)
I. What Git knew that AI has forgotten

Content-addressed storage is built on a deceptively simple idea. Instead of naming a piece of data by where it lives, you name it by what it is. You compute a cryptographic hash of the data's contents, a short fixed-length string that is mathematically unique to those exact bytes, and that hash becomes the data's permanent address. Change even a single character and you get a completely different identity. The address is not assigned; it is derived.

Git, the version-control system that underlies nearly all professional software development, works entirely this way. Every file, every directory listing, every snapshot of a codebase is stored as an object identified by the SHA hash of its contents. Those objects are linked into a structure called a Merkle DAG, a directed acyclic graph in which each node contains the hashes of everything it points to. The result is tamper-evident by construction: altering any piece of the history changes its hash, cascading upward until the inconsistency is detectable at the root. Nothing can be quietly changed, because a change always announces itself.

What follows from this design is exactly what AI knowledge systems currently lack: identity that is immutable, location-independent, and structurally composable. Build systems like Nix applied this to software dependencies and eliminated the version-collision failures engineers called dependency hell, where the same package name could silently resolve to different code in different environments. Language models suffer the same disease at the level of knowledge. The argument forming at the frontier of AI infrastructure is that the cure is the same.

02 From Git's Merkle DAG to content-addressed knowledge
Git's object store is tamper-evident because every node is named by the hash of what it contains. The same structure, applied to knowledge, produces a graph where each concept is identified by its facts — not its location in a database or a model's parameter space.
From Git's Merkle DAG to content-addressed knowledge Root commit hash = SHA(tree + parent + msg) points to Tree (directory) hash = SHA(list of blob hashes) Blob: file A hash = SHA(file contents) Blob: file B hash = SHA(file contents) Blob: file C hash = SHA(file contents) Change any blob → its hash changes → parent tree hash changes → root hash changes Tampering is structurally impossible to hide the same structure, applied to knowledge Knowledge graph root hash = SHA(all sub-graph hashes) Concept: Douglas Adams hash = SHA(facts about Q42) Concept: The Hitchhiker hash = SHA(facts about Q3141) Concept: Trillian hash = SHA(facts about Q190399) Each concept is identified by what it contains, not where it lives.
Git object store (Merkle DAG)
Knowledge graph analogy (content-addressed concepts)
II. How neurosymbolic systems already reason by identity

The systems that have produced the most reliable AI reasoning in recent years share a structural property that rarely gets named directly: they do not retrieve knowledge by proximity. They reason over knowledge by identity. The most striking example is AlphaGeometry, the geometry-solving system from Google DeepMind, which in 2024 solved 25 of 30 International Mathematical Olympiad geometry problems at a level matching the average human gold medalist, a benchmark that had resisted decades of AI effort.

AlphaGeometry pairs a language model with a symbolic engine that maintains a deduction closure: the complete set of facts provably derivable from the problem's premises, computed by applying exact logical rules until nothing new can be added. Every fact in that closure is a discrete, exact symbolic object. There is no proximity search, no approximate match. When the engine checks whether a geometric relationship holds, it checks against an identity, not a similarity score. The language model proposes intuitive leaps; the verification happens entirely in the exact layer.

What AlphaGeometry demonstrates is that exact identity is a load-bearing requirement for reliable reasoning. A theorem either follows from the premises or it does not, and checking that requires knowing exactly which premises you are working with. The question the field is now asking is whether the same requirement applies to less formal domains, and if so, what infrastructure would give knowledge in those domains the same stable identity that geometric axioms have here.

Engineer's working notes on content-addressed knowledge graphs

An engineer's working notes on content-addressed knowledge graphs, sketched and revised in a research lab. The architecture proposed here would give AI systems the stable, verifiable identity their reasoning currently lacks. Daice Labs editorial archive.

III. Library learning and the archaeology of reuse

DreamCoder, a program-synthesis system from MIT, offers a different angle on the same principle. After solving a batch of problems, it runs a compression step that searches across all solutions for sub-programs that appear repeatedly, promotes the most reusable ones into named abstractions, and adds them to a shared library. Future problems are solved using that growing library.

The compression step is the key. DreamCoder identifies reusable components not by what they are called but by what they compute. Two programs that perform the same operation, regardless of how they were written, resolve to the same library entry. That is content addressing applied to behavior rather than bytes: identity derived from functional meaning rather than syntactic form. The resulting libraries were smaller, more general, and produced systems that generalized better because they were not memorizing surface forms.

The implication for AI knowledge infrastructure is direct. A content-addressed knowledge library would work the same way: concepts identified by what they mean, not by how they were phrased in a particular source. The same entity referenced in a medical study, a Wikipedia article and a patent filing would hash to a single entry, eliminating the drift that happens today when a retrieval system treats three descriptions of the same thing as three independent facts.

03 Neurosymbolic systems and the convergence on identity
AlphaGeometry, DreamCoder, and Scallop each independently discovered that reliable reasoning requires exact identity — not similarity. All three converge on the same destination: a content-addressed knowledge graph where every fact is stable, verifiable, and traceable to its source.
Neurosymbolic systems and the convergence on identity-based reasoning AlphaGeometry Google DeepMind LLM intuition proposes auxiliary points Deduction engine DDAR: exact symbolic facts Identity property facts verified by exact match 25/30 IMO problems solved at gold-medal level DreamCoder MIT Solve problem batch neural + symbolic together Stitch compression finds reusable sub-programs Program library named by what it computes identity by content: same behavior = same entry Scallop Carnegie Mellon Neural perception probabilistic neural outputs Datalog rules grounded symbolic inference Provenance tags traces lineage to source lineage of every conclusion is verifiable converges converges converges Content-addressed knowledge graph stable identity · verifiable retrieval · composable reasoning tamper-evident · location-independent Each system already depends on exact identity for its most reliable operations. Content addressing formalizes what they each discovered independently.
AlphaGeometry — exact deduction closure
DreamCoder — identity by what a program computes
Scallop — provenance-tracked symbolic inference
IV. What a content-addressed knowledge graph would actually change

The practical argument comes down to what retrieval-augmented generation cannot do. RAG systems retrieve the nearest vectors to a query and pass them to a language model as context. Nearness in vector space correlates with semantic similarity, which is useful, but it is not identity. A multi-hop question — one that requires joining facts from different sources — depends on the system knowing that two retrieved fragments refer to the same entity. Vector search provides no mechanism for that check.

Wikidata already points at the fix. It assigns a persistent identifier, called a QID, to every entity in its database, so that a given person, place or concept has a single canonical reference regardless of how it is named in any document. The W3C's RDF Dataset Canonicalization standard, finalized in 2024, takes this further by hashing an entire knowledge graph into a single content-derived identifier, so that two graphs share a hash if and only if they contain the same information. That is the Merkle root applied to knowledge.

A system built on these primitives would verify fetched data against its hash before any reasoning began, making silent substitution detectable. Sub-graphs identified by hash could be assembled into reasoning structures the way a build system assembles dependencies, with the same guarantee that a named component always means the same artifact. The infrastructure to do this is not hypothetical. The hashing standards exist, production systems are already anchoring knowledge graphs by Merkle root, and the neurosymbolic architectures that would consume this infrastructure have proven they reason more reliably when knowledge has an exact identity. What the field is waiting for is not an invention. It is a decision about which kind of memory AI systems should be built on.

Key references: AlphaGeometry: Trinh, T. et al., "Solving olympiad geometry without human demonstrations," Nature 625, January 2024. AlphaGeometry 2 Technical Report, Google DeepMind, 2025. DreamCoder: Ellis, K. et al., "DreamCoder: Bootstrapping Inductive Program Synthesis with Wake-Sleep Library Learning," PLDI 2021. Stitch: Bowers, M. et al., "Top-Down Synthesis for Library Learning," POPL 2023. Scallop: Li, Z. et al., "Scallop: A Language for Neurosymbolic Programming," PLDI 2023. W3C RDF Dataset Canonicalization (RDFC-1.0), W3C Recommendation, 2024. Wikidata statistics, Wikimedia Foundation, 2025. Legal AI hallucination study: Stanford RegLab and Yale Law School, Journal of Empirical Legal Studies, 2024. OriginTrail Decentralized Knowledge Graph: Brantner, B. et al., 2022. Content Provenance and Authenticity (C2PA) specification, C2PA Technical Working Group, 2021.