WiCER: Wiki-memory Compile, Evaluate, Refine Iterative Knowledge Compilation for LLM Wiki Systems
Juan M. Huerta Affiliation: Zinnia Tech Solutions Affiliation: 600 Steamboat Road Affiliation: Greenwich, CT 06830, USA Email:
Abstract
The LLM Wiki pattern—to compile and provide domain knowledge into a persistent artifact and serve it to LLMs via KV cache inference—promises context access at sub-second latency with zero retrieval failure. Realizing this requires solving the compilation gap: LLM-compilation distilling raw documents into a wiki without catastrophically discarding critical facts. We characterize this gap across 17 RepLiQA domains (6,800 questions): we observe that full-context KV cache inference outperforms RAG on curated knowledge (4.38 vs. 4.08/5, $7.3\times$ faster TTFT) but degrades below RAG at scale due to attention dilution, and blind compilation fails entirely (2.14–2.32 vs. 3.46, 53–60% catastrophic failure rate). To address the compilation gap, we propose WiCER (Wiki-memory Compile, Evaluate, Refine), an iterative algorithm inspired by counterexample-guided abstraction refinement (CEGAR) that closes this gap. WiCER evaluates compiled wikis against diagnostic probes, identifies dropped facts, and forces their preservation in subsequent compilations. One to two iterations recover 80% of lost quality (mean 3.24 vs. 3.47 for raw full-context across the 15 topics with baselines), reducing catas
原文 arXiv:2605.07068;中英对照 + 大白话阅读 https://aha.fim.ai/paper/2605.07068v1