Home

Blog

LLM wiki vs. RAG: what the research says about a memory for discovery

What studies of LLM wikis, retrieval and agent memory tested, what we would build for customer research and what we have learned in practice.

Stefan Haas16 min read

What does the research say about building a memory for customer research, and what still has to be tested?

Illustration of Niklas Luhmann and his Zettelkasten

Niklas Luhmann kept his Zettelkasten by hand for decades. He wrote one thought per card, linked it to other cards and wrote down his interpretation when he filed it. An LLM wiki hands this filing to an agent.

I researched this article with the kind of system it describes. Claude Code regularly collects papers for our content research and connects them in an internal wiki, where I can follow links back to the sources. I put the same core papers into Gemini Notebook (formerly NotebookLM) to generate audio overviews, which I listen to while walking.

One of these podcasts told a convincing story about a pharmaceutical team working through a 200-page clinical study. When I looked for the example in the written research, I couldn't find it. I asked Claude to check the sources. The hosts had invented the scene.

I described our path from a simple RAG chatbot in 2023 to a user research agent in What should a user research agent do?, and the wiki pattern in Everyone can become a knowledge builder. The agent is meant to help product teams examine what they have learned from customers and make better product decisions. An LLM wiki gives that agent a structure for the knowledge it draws on.

With RAG (retrieval-augmented generation), the system searches stored material when a question arrives and gives relevant passages to a language model. A wiki can do some of the interpretation earlier. An agent reads new sources, writes connected pages and maintains them as more evidence arrives. Those pages can themselves be searched. We're experimenting with combining the approaches.

Andrej Karpathy's LLM-wiki proposal made this pattern widely visible. It includes customer conversations among the sources a team might work with. The papers below investigate parts of that design, mostly in other settings. For each, we describe what we would test on our own interview material.

Most of the studies are preprints, released before formal peer review. FS-Researcher passed ACL's main-conference review, one study appeared in a peer-reviewed journal and one is a paper for a NeurIPS workshop. Most quality assessments rely heavily on model judgments. We keep this article updated with new research and what we learn from our own experiments.

Keeping the quotation attached

Kyle Wild, Yusuke Takahashi and Asako Uraki of Endgame Labs and Musashino University tested a method for extracting statements from interviews. A language model read transcripts of broadcast interviews and proposed short statements, each expressing one point from the conversation in words that made sense on their own. The model also supplied an exact quotation to support each statement, along with the speaker and the quotation's location in the transcript.

A program then searched the original transcript for the quoted words. If it could not find them, the proposed statement was not saved. This catches cases where the model rewrites a passage and presents it as a quotation. The check verifies the quoted wording; it does not establish whether the model's statement follows from the quotation.

This material produced correct answers about 85 percent of the time, compared with 73 percent for the best simple search over transcript passages. In our view, the size of this gap depends on how strong that search is. A more elaborate search pipeline reached comparable quality but required substantially more reading at question time. Preparing the statements also costs work before anyone asks a question. The same model extracted the statements and graded the answers.

To test this on our own material, we could compare answers drawn from the extracted statements with answers drawn from the original transcripts, using the same interview study, questions and answering model. A researcher would then check the answers against the interviews for accuracy and missing evidence.

Our extraction rules require quotes to come from the interviewee and keep the transcript's wording. A moderator's question or explanation must not become a customer finding. We store the extracted statements with stable IDs and quotations linked to their transcripts.

How does the agent find its way around?

A wiki's organization can decide which evidence the agent ever sees. Soyeong Jeong and Sung Ju Hwang at KAIST, with Sujay Kumar Jauhar and Andrew Joohun Nam at Microsoft, built a map organized around entities called CorpusMap. Entities are identifiable things mentioned in documents. They used a model to propose and refine a shared set of entity types, with rules for recognizing the same thing across documents. Each entity page lists names, supported facts and links. The original documents remain available underneath.

In a company-document benchmark, this map helped the agent find 76 percent of the relevant documents instead of 62 percent. Organizing material into a tree of topics sometimes made search worse. In one example, the agent never opened the relevant branch and concluded that the document didn't exist. The map's efficiency also depended on keyword ranking that narrowed the candidate pages before the agent read them.

Atomic Research, developed by Tomer Sharon with Benjamin Gadbaw and, in parallel, by Daniel Pidcock, structures user research findings as small linked units together with their evidence. When I asked Claude how to structure it, I got quite different schemas across attempts. The concepts and relationships we choose for a schema shape the routes an agent can take through the evidence. Our wiki already uses theme, study and entity pages as entry points, with consistent names and links to findings and their supporting evidence.

We could test CorpusMap's keyword ranking on this existing structure: first rank the entity pages for a question, then select a short list of their linked evidence documents. We would compare this with our current navigation on the same questions. How much relevant evidence does the agent find, and how much text does it read?

Has the search found enough to answer?

Debopriyo Banerjee of Inception42 and colleagues at MBZUAI examined where evidence goes missing in RAG. They compared answers based on retrieved passages with answers based on whole documents supplied to the model. Both versions worked from the original source material, without an LLM wiki. Their questions required several facts or correct attribution to a particular source.

To compare two events, the model needs information about both. In the news test, the search returned ten passages per question. For 82 percent of questions, these passages contained at least one of the facts marked as supporting evidence. They contained the full set for only 19 percent. The search often found something relevant while leaving other evidence out.

In a separate test with research papers, they added each paper's title to every passage in the search index. That helped the search connect questions about a particular paper with passages from that paper.

For our wiki, this suggests checking the whole path from interviews to answers. A question comparing findings across markets needs evidence from each market. We could identify the expected evidence in the original interviews, then check whether it reaches the wiki pages, the material the agent reads and the final answer. Where along that path does expected evidence drop out: in extraction, in page selection or in the answer?

Evaluating the wiki's answers has been difficult in our own project. The fact IDs and source links described above already let us trace the cited evidence back to interviews and studies. We haven't yet measured whether all the expected evidence makes it through that path. The paper provides an evaluation method we could adapt to the wiki. In its news comparison, the whole-document version received the relevant articles in advance, so that result alone doesn't settle which architecture works better.

Separating preparation from answering

Chiwei Zhu, Benfeng Xu and colleagues at the University of Science and Technology of China and Metastone Technology built FS-Researcher around a shared folder. A researcher agent gathers sources and writes supported notes. A writer works from those notes without access to the web. Their paper, published at the ACL language research conference, evaluates the resulting reports on complex research assignments.

Other language models graded the reports, checking how thoroughly they covered the topic, the quality of the analysis and how clearly they were written. FS-Researcher scored higher than several other research systems. It also scored higher in comparisons where both systems used the same model to do the research.

In a smaller test with ten research tasks, the team gave the researcher more rounds to search, read and improve its notes before the writer began. The reports received higher scores, with smaller gains from the later rounds.

A single agent doing both research and writing scored lower. That agent also had fewer rounds to finish the work. The comparison therefore leaves open how much the separate roles helped.

We already separate wiki maintenance from answering questions. The agent answers in Slack and via MCP, a data interface that connects an answer system to our sources, and reads the knowledge without writing back. This article also uses a handover between research and writing.

We could compare a single agent that prepares the wiki and answers questions with two agents that divide these jobs between them. Both versions would use the same interview material, questions and model, with the same total token budget for preparing the wiki and answering. A user researcher would check the answers against the original interviews, looking for factual errors and claims that the cited passages do not support.

In an internal comparison, two model generations built the same wiki from the same material. The pages from the stronger model were easier to read. Our evaluation set is still too small to show a difference in answer quality.

What happens when an interpretation is no longer applicable?

Yan Zhou, Yue Ouyang and Kaiyang Zheng at Changsha University of Science and Technology, with Suncheng Xiang at Shanghai Jiao Tong University, studied agents whose stored rules become outdated. Their TEPA system gives memories a status. Search uses active entries; withdrawn ones remain in an archive and can become applicable again.

In a simulation where the rules were completely reversed, keeping every old memory was worse than having no memory. Much of the benefit came from withdrawing stale entries. These central experiments used predefined conflicts and software following fixed rules, rather than a language model interpreting messy evidence. Customer interviews rarely provide such clear signals.

A NeurIPS workshop paper by Oleeviya Babu Poikarayil and colleagues at Otto von Guericke University Magdeburg tested a similar conflict with a language model as the reader. On 74 conflict questions also used during prompt development, Qwen2.5-7B answered every question correctly with the newest statement and three unrelated ones in context. When the outdated version of the same fact replaced one of the unrelated statements, its accuracy fell to 44.6 percent. The larger Qwen3-14B fell to 87.8 percent. This test also used synthetic facts with clearly marked conflicts.

A contradictory interview is still a valid observation. A pivot can instead change where an earlier interpretation applies. Our proposed test would give individual assumptions a status and a link to what superseded them, then ask questions that tempt the agent to reuse the old assumption. An agent could update that status following a documented decision. The contradictory interview alone wouldn't trigger withdrawal.

I have encountered the maintenance problem in my personal knowledge system. Two agents reached opposing conclusions because a decision existed only in a call. We marked the superseded documents and added a decision log. Applying that approach to individual insights in the research wiki is still proposed work. TEPA suggests a mechanism to try; it hasn't tested our kind of decision history.

Following a withdrawn source through the wiki

Vishisht Choudhary at the Technical University of Munich asked an LLM to build a knowledge graph from medical research abstracts. This is a network of facts, relationships and summaries. He then withdrew some of its sources and examined what remained in the derived material.

Removing directly extracted facts left traces in summaries and inferred relationships. Giving an entire summary a list of sources was often too imprecise to establish which sentences still had support. Recording dependencies at sentence level worked better in the small tests. Rebuilding everything introduced unrelated changes too, making it difficult to tell whether withdrawal had worked as intended.

Bofan Xie and colleagues at Tsinghua University built BEMULA, a benchmark for deletion requests to agent memory, in which each test conversation has a control version without the request. No tested system fully handled more than 1.5 percent of the 135 deletion requests. In most systems the requested information stayed retrievable, and the authors note that keeping the same information in several forms adds to the problem. Other systems deleted more than was asked.

For a research wiki, the same question arises when an interview is excluded from a study. In a test copy of the wiki, we would follow that interview's observations into the findings and summaries that use them. We would then check which sentences the remaining interviews still support, revise or remove the others, and update any affected counts. A second copy, built without the interview from the start, would be the control. Comparing the two would show both kinds of error: traces of the interview that remain, and unrelated material that was removed along with it.

To make this work, each sentence needs a record of its supporting evidence. Two cited interviews may each support the same finding independently. A comparison between markets may need evidence from both. The fact IDs and source links described above are a starting point for reviewing summaries when an interview is excluded.

Choudhary's audit asks whether the model would still produce a claim from the surviving evidence. A model can repeat a plausible claim from its general knowledge. For our test, a user researcher would check whether the remaining interview passages support the affected sentences and whether the counts are correct.

When should a theme be split?

Nadia Jul Jeldtoft and Tariq Yousef at the University of Southern Denmark designed a workflow for auditable interview analysis. Their model gives passages from Danish family-history interviews short descriptive labels, then groups those labels into themes. It records the reasons for its choices, while software manages IDs, links and checks.

The model considers each new label against the themes it has already created. Labels that do not fit remain available for developing new themes. In this test, the model produced fewer, broader themes than the human analyst. The authors suggest that the existing themes influenced later assignments, but they did not independently assess the quality of the themes.

That interests me because a research wiki keeps receiving new interview material. As observations accumulate on a page, several distinct patterns can end up under the same broad heading. I think maintaining the wiki includes reviewing when those patterns need their own pages, with the original theme page linking to them.

We could compare two versions built from the same interviews: one that keeps adding material to existing themes and one that periodically reviews whether themes need to be split. Recording why evidence belongs together, and keeping observations that do not fit visible, would make these choices easier to review. A user researcher would check which version makes distinct patterns and their supporting evidence easier to find.

Our wiki already uses theme pages as entry points to findings and evidence. We use code to manage IDs, citations and count checks, while the model groups and interprets the material.

LLM wiki vs. RAG: a comparison

Theodore O. Cochran of AI for Altruism compared an agent reading a compiled wiki with a RAG system that retrieved passages once per question. Both worked with the same collection of scientific papers in his preregistered study.

The wiki scored better at connecting findings across papers when its answers were rated by language models. It also used about 21 times as many tokens, the units of text processed by a model, while answering. A further experiment split questions into smaller questions before retrieval and closed most of the gap in connecting findings at lower token use. The small study did not establish an overall winner. Its results depended on the retrieval setup, the scoring criteria and the evaluator.

For customer research, we would compare wiki, RAG and hybrid answers on the same interviews and questions, using the same answering model, and score questions that look up a single statement apart from questions that combine findings. A weak RAG arm would make any wiki look better, so ours would use reranking and several search rounds. We would assess connections between findings, support from sources and token use separately, and check automated scores against human judgments.

In an early comparison with Gemini Notebook, we found our first wiki implementation more precise in its statements. We're now experimenting with combining the wiki and retrieval to select useful material within the limited context of Langdock, the AI assistant platform a client team works in.

What teams learn from agent-memory research

For a team building a shared insights repository, I want to understand when a summary helps and when it leaves out evidence the team needs. Agent-memory studies examine how agents store and reuse earlier conversations or work. They use assistant conversations, course material and simulated tasks, with no customer interviews. We would test their findings on questions that help product teams compare customer needs across studies and decide what to investigate next.

Xuan He and colleagues compared memory systems with retrieval over raw assistant conversations. Many memory systems scored below retrieval with two search rounds. One improved when it also searched the raw conversations and ranked those results together with its stored memories. Zhengye Bao and colleagues likewise found retrieval with reranking over raw conversations ahead of the memory systems they compared in six of seven benchmark and model combinations. For our research wiki, I would keep retrieval over the original interviews as the baseline.

Aleksandr Volkov and colleagues at 8Hats Lab tested their company's compact, reviewed knowledge layer against retrieval over course texts. Retrieval did better on questions about single facts. For questions combining several modules, the compact layer led in one course and matched retrieval in the other. Routing by question type helped in a retrospective analysis; it still needs testing on new questions. In our repository comparison, I would score requests for a customer's exact words separately from questions about patterns across studies.

Ruhan Wang and colleagues studied agents that store rules derived from their own work. They describe error reproduction: a faulty rule influences later tasks, and their records can lead the agent to derive new rules with the same error. Agents that kept raw task records and generated temporary guidance when useful succeeded more often on unseen tasks than agents that retained derived rules. The comparison makes me want to check whether an interpretation on a theme page influences how an agent reads later interviews.

In a shared repository, that interpretation can then inform several teams' product decisions. I think teams need to be able to trace it to the interview passages and review which customers, studies and dates it applies to. We want to compare a theme page rebuilt from those passages with one extended study by study. A user researcher would check both against the interviews for missed patterns, unsupported claims and findings that only apply to an earlier product version.

What should a question change in the wiki?

Juan M. Huerta of Zinnia Tech Solutions proposes a feedback loop in WiCER. The system builds a wiki from source documents and answers test questions using it. For a failed answer, it returns to the source document and extracts the details needed to answer the question. It then rebuilds the wiki with instructions to preserve those details. In these experiments, answers to the test questions received higher model ratings after this refinement.

I would try this with questions from everyday product and research work. We could trace weak answers back to the original interviews and improve the relevant wiki pages. Do those changes also improve answers to a separate set of questions?

Shuide Wen and Beier Ku's Knowledge Compounding explores writing useful answers and search results back into a wiki. The paper tests a short sequence of questions; its longer-term cost estimates are projections.

For customer discovery, I think an LLM wiki should connect a team's open questions with the evidence the organisation has already gathered. Reviewing weak answers against the original research would help establish where the wiki needs improving and where further research is needed. Teams could use those gaps to plan which questions to investigate next and what evidence they need to develop better insights.

The experiment we're doing now

We're currently combining RAG with an LLM wiki. The wiki should help guide semantic search, which finds material by meaning, toward the context a question needs. Langdock receives that material through MCP. The available context is limited. We're testing whether a more selective handover can produce better answers than sending a broad collection of material through the interface.

We are looking for design partners

We think LLM wikis can help distributed product teams align around what they have learned, what is still uncertain and what to investigate next. How do your teams keep track of what they have learned and what is still open?

We would like to build and test these systems together with product teams that want to try them in their discovery work. If you're working on connecting research and product decisions across teams, we'd like to hear from you.

FAQ

Is an LLM wiki better than RAG for customer research?

The comparison depends on the question and the systems being tested. Theodore Cochran's small study found no overall winner. For customer research, we would compare wiki, RAG and hybrid answers on the same material, checking connections between findings, support from sources and token use separately, with human checks of automated scores.

How should an LLM wiki for customer research be structured?

A research wiki can connect studies, features, markets and experiments through pages with claims linked to their sources. In Soyeong Jeong and colleagues' CorpusMap study, entity pages helped agents find evidence across documents. For customer research, that design still needs testing against the team's own questions.

What happens to a research wiki's insights after a pivot?

A pivot can change which findings apply to the team's current decision. The original finding still needs its source and context. Yan Zhou and colleagues' TEPA study suggests keeping validity as an explicit status. Our proposed transfer is that a recorded decision can trigger a status change; a contradicting interview remains a valid finding.

How do you retract a source from an LLM wiki?

A source can support individual facts and later summaries. Vishisht Choudhary's study found that removing directly extracted facts left traces in derived material. A wiki therefore needs source links for each sentence and a procedure for checking affected claims against the remaining evidence. We have not tested a complete withdrawal.

LLM WikiRAGUser ResearchDiscoveryKnowledge Management