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

Conclusion

Improving retrieval quality requires separately evaluating knowledge encoding coverage, Recall@k, Precision@k, ranking, and final question-answering accuracy. Fact-augmented indexing, temporal constraints, on-demand retrieval, Wiki plus raw-text search, and joint event-and-relation retrieval all have specific experimental support, but their effectiveness depends on the task type and the model. First locate the fault by comparing standard evidence against real retrieval results, then choose an optimization; offline curation should preserve evidence, versions, and applicable boundaries to prevent over-merging from losing facts. All external experimental results need to be re-validated on the target corpus of this repository.

Translated from 中文 · Show original

怎么提高召回精度

提高检索质量需要分别评估知识编码覆盖、Recall@k、Precision@k、排序及最终问答正确率。事实增强索引、时间约束、按需检索、Wiki 加原文搜索及事件与关系联合检索均有特定实验依据,但效果依赖任务类型和模型。先通过标准证据与真实检索的对照定位故障,再选择优化;离线整理应保留证据、版本与适用边界,防止过度合并损失事实。所有外部实验结果都需在本仓库目标语料重新验证。

Translated by deepseek-flash

8 answers1 source

Answers8

  1. #5

    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.

  2. #8

    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.

  3. #1

    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.

  4. #2

    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.

  5. #3

    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.

  6. #4

    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.

  7. #6

    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.

  8. #7

    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.

Full answers and cited ideas