InquiryLoom

Question

How to improve recall precision

Copy link

Press Ctrl+C (⌘C on a Mac) to copy the text below; on a phone, long-press and choose Copy.

Share posterSuggest a change

AI grouped the related ideas into answers, best-supported first. Open an idea to see its evidence.

#5Carl Zhu

Combining Wiki with original-text search

On 25 questions over roughly 350,000 internal documents, as the offline curation scale of the Wiki increased, its rubric satisfaction rate when used alone rose from 13% to 48%; the best score for Wiki plus search was 61%, higher than search-only at 53%, and it was reported to save about 20,000 tokens per question. Wiki is better suited to cross-document synthesis; simple single-document localization may not benefit. What is measured here is the question-answering rubric satisfaction rate, not retrieval Recall@k or Precision@k; offline construction costs must be accounted for separately.

Translated from 中文 · Show original

Wiki 与原文搜索结合

在约 35 万份内部文件的 25 道题上,Wiki 随离线整理规模增加,单独使用时评分标准满足率由 13% 增至 48%;Wiki 加搜索的最佳成绩为 61%,高于仅搜索的 53%,并报告每题约节省 2 万 token。Wiki 更适合跨文档综合,简单单文档定位未必有收益。这里测的是问答评分标准满足率,不是检索 Recall@k 或 Precision@k;离线构建成本需另计。

Translated by deepseek-flash

Combining a prebuilt wiki with direct document search can improve AI agents' answers to complex knowledge-base questions.

Repeatedly searching a large document collection can require an agent to rediscover the same relationships each time. Anthropic had agents build and refine a wiki over about 350,000 Stainless company files (420 million tokens), then evaluated answers to 25 questions. As wiki construction increased from 2 to 128 sessions, the wiki-only score rose from 13% to 48% of graded criteria met; the wiki-plus-search score rose from 54% to 61%, compared with 53% for search alone. Combining the wiki with search reportedly also reduced per-question token use by about 20,000. The wiki supplies an organized map of known facts, while search can retrieve original evidence and information missing from that map.

Anthropic

2 quotesv3

AI agents benefit more from a prebuilt wiki when answers require combining documents than when one document contains the answer.

When answering a question over a document collection, an AI agent can search original files or use a wiki that has already organized facts and links between them. In Anthropic's 24-question merger-document evaluation, wiki-assisted answers satisfied 87% of graded criteria on items requiring synthesis or judgment/arithmetic, compared with 73% for direct search. In a separate legal task where most criteria could be satisfied from one document, the wiki provided no clear advantage. Another wiki grew to 203 KB from a 115 KB source collection, illustrating that organization without useful abstraction can add clutter. A practical approach is to use direct search for precise lookups and consider curated representations for recurring cross-document reasoning.

Anthropic

1 quotev2

#8Carl Zhu

Jointly retrieve events and relations to avoid over-merging

Microsoft Research combines temporal event memory with structured relational memory, improving multi-hop and temporal reasoning in its dialogue evaluations. Offline semantic clustering helps compress knowledge, but over-merging loses distinguishing facts. Preserve raw evidence, versions, and applicable conditions, and use semantic similarity as a criterion for merge candidates rather than for fact equivalence; validate recall and accuracy before and after merging on real question sets.

Translated from 中文 · Show original

联合检索事件与关系,避免过度合并

微软研究将带时间的事件记忆与结构化关系记忆结合,在其对话评测中改善多跳和时间推理。离线语义聚类有助于压缩知识,但过度合并会损失区分性事实。保留原始证据、版本和适用条件,以语义相似度作为合并候选而非事实等价的判据;在真实问题集验证合并前后的召回和准确率。

Translated by deepseek-flash

Over-aggressive semantic memory consolidation can erase useful distinctions even when entries appear similar

Table 5 reports that on LoCoMo with GPT-4.1-mini the no-consolidation score was 0.902. HDBSCAN minimum cluster size 5 compressed the memory store by 21.7% at score 0.896; size 10 compressed by 16.3% at 0.892; size 2 compressed by 30.9% but fell to 0.876. Treat semantic similarity as a candidate-merge signal rather than proof of equivalence; preserve source provenance and evaluate loss after consolidation.

No source evidence

#1InquiryLoom organizer (AI-assisted, deepseek-flash)

Context curation

Treat context as a limited resource, and at inference time keep and maintain only the optimal set of tokens rather than putting everything into the context. Because the longer the context, the weaker the model's ability to recall information from it, with diminishing returns. It suits multi-turn agents and scenarios that need to control tokens, and the key is active filtering.

Translated from 中文 · Show original

上下文策展

把上下文视为有限资源,在推理时只保留并维护最优的 token 集合,而不是把所有内容都放入上下文。因为上下文越长,模型从上下文中召回信息的能力越弱,收益会递减。它适合多轮智能体和需要控制 token 的场景,关键是主动筛选。

Translated by deepseek-flash

#2InquiryLoom organizer (AI-assisted, deepseek-flash)

Runtime on-demand retrieval

Instead of preloading all data, keep only lightweight identifiers such as file paths, storage queries, and web links, and use tools to load the needed content at runtime. This suits scenarios with large or frequently changing data, but runtime exploration is slower and depends on well-designed tools and heuristics, and it can also be combined with partial pre-retrieval.

Translated from 中文 · Show original

运行时按需检索

不预先加载全部数据,只保留文件路径、存储查询、网页链接等轻量标识,运行时再用工具加载所需内容。这样适合数据量大或经常变化的场景,但运行时探索更慢,依赖设计良好的工具与启发式规则,也可与部分预先检索结合。

Translated by deepseek-flash

#3InquiryLoom organizer (AI-assisted, deepseek-flash)

Compressing the context window

When the context is nearly full, have the model summarize and compress the message history, retaining key decisions, unresolved defects, and implementation details, discarding redundant tool output, and then restarting from the summary to support long tasks. Over-compression loses nuanced context, so prompts need to be adjusted for complex trajectories.

Translated from 中文 · Show original

压缩上下文窗口

当上下文接近填满时,让模型总结并压缩消息历史,保留关键决策、未解决的缺陷和实现细节,丢弃冗余工具输出,再从摘要重新开始,以支撑长任务。压缩过度会丢失细微上下文,因此需要针对复杂轨迹调整提示。

Translated by deepseek-flash

#4InquiryLoom organizer (AI-assisted, deepseek-flash)

Subagent-isolated exploration

The lead agent handles high-level planning, while specialized subagents handle focused tasks in clean context windows; each can use a large number of tokens, but returns only a condensed summary to the lead agent. This pattern shows clear improvements over single-agent systems on complex research tasks and suits parallel exploration; whether to use compression, notes, or a multi-agent architecture depends on the task characteristics.

Translated from 中文 · Show original

子代理隔离探索

主导代理负责高层计划,专门子代理在干净的上下文窗口中处理聚焦任务,各自可使用大量 token,但只向主导代理返回精简摘要。该模式在复杂研究任务上比单代理系统有明显提升,适合并行探索;采用压缩、笔记还是多代理架构,取决于任务特征。

Translated by deepseek-flash

#6Carl Zhu

Fact-augmented indexing, temporal constraints, and staged evaluation

In LongMemEval, under specific settings, after adding facts to the raw-text retrieval key, single-turn granularity Recall@5 increased from 0.582 to 0.644 and Recall@10 from 0.692 to 0.784; time-aware indexing and query expansion improved the recall of temporal questions at single-turn and session granularity by an average of 11.3% and 6.8%, respectively. Indexing, retrieval, and reading should be evaluated separately, covering temporal reasoning, knowledge updates, cross-session reasoning, and abstention when there is no evidence. Strong models can extract time ranges more accurately, while weak models may make results worse.

Translated from 中文 · Show original

事实增强索引、时间约束与分阶段评测

LongMemEval 在特定设置下,将事实加入原文检索键后,单轮粒度 Recall@5 由 0.582 提升至 0.644、Recall@10 由 0.692 提升至 0.784;时间感知索引与查询扩展使单轮、会话粒度的时间题召回分别平均改善 11.3% 和 6.8%。应分别评估索引、检索与阅读,覆盖时间推理、知识更新、跨会话推理及无证据拒答。强模型能更准确提取时间范围,弱模型可能使效果变差。

Translated by deepseek-flash

#7Carl Zhu

Use layered diagnosis to locate recall bottlenecks

EvalMem breaks faults into three stages that can occur simultaneously: storage encoding, retrieval, and generation; in its LoCoMo experiments, the defect rates for retrieval, encoding, and generation were 22.1%, 7.7%, and 6.5%, respectively. First confirm whether the raw evidence and the target facts exist, then check the hits and rankings of real retrieval results, and finally test the generation model by directly providing standard evidence. The experiment with an auxiliary Wiki improves question-answering accuracy, which is not the same as retrieval recall; the corpus, questions, model, and budget should be fixed for separate evaluation.

Translated from 中文 · Show original

用分层诊断定位召回瓶颈

EvalMem 将故障拆成存储编码、检索和生成三个可同时发生的环节;其 LoCoMo 实验中检索、编码、生成缺陷率分别为 22.1%、7.7%、6.5%。先确认原始证据和目标事实是否存在,再检查真实检索结果的命中与排名,最后直接提供标准证据测试生成模型。辅助 Wiki 的实验改善的是问答准确率,并不等于检索召回率;应固定语料、问题、模型和预算分别评测。

Translated by deepseek-flash