Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Facts as First Class Objects: Knowledge Objects for Persistent LLM Memory

About

Large language models increasingly serve as persistent knowledge workers, with in-context memory - facts stored in the prompt - as the default strategy. We benchmark in-context memory against Knowledge Objects (KOs), discrete hash-addressed tuples with O(1) retrieval. Within the context window, Claude Sonnet 4.5 achieves 100% exact-match accuracy from 10 to 7,000 facts (97.5% of its 200K window). However, production deployment reveals three failure modes: capacity limits (prompts overflow at 8,000 facts), compaction loss (summarization destroys 60% of facts), and goal drift (cascading compaction erodes 54% of project constraints while the model continues with full confidence). KOs achieve 100% accuracy across all conditions at 252x lower cost. On multi-hop reasoning, KOs reach 78.9% versus 31.6% for in-context. Cross-model replication across four frontier models confirms compaction loss is architectural, not model-specific. We additionally show that embedding retrieval fails on adversarial facts (20% precision at 1) and that neural memory (Titans) stores facts but fails to retrieve them on demand. We introduce density-adaptive retrieval as a switching mechanism and release the benchmark suite.

Oliver Zahn, Simran Chana• 2026

Related benchmarks

TaskDatasetResultRank
RetrievalAdversarial Pharmacology Benchmark
P@1100
3
RetrievalBEIR SciFact
NDCG@100.645
3
Single-fact retrievalScaling N=500
Accuracy100
3
Single-fact retrievalScaling N=7,000
Accuracy100
3
Cross-domain synthesisCross-domain synthesis
Accuracy4.6
2
Multi-hop ReasoningMulti-hop 2-hop N=500
Accuracy79
2
Single-fact retrievalAdversarial P@1
Accuracy100
2
Single-fact retrievalFact compaction 37x
Accuracy100
2
Single-fact retrievalGoal drift 9x
Accuracy100
2
Single-fact retrievalGoal drift 17x
Accuracy100
2
Showing 10 of 12 rows

Other info

Follow for update