InquiryLoom

最新观点

一条观点一句话:先看标题,想细看再点进去看适用条件和原文依据。

写一个观点
  1. 优化记忆可以提升目标任务表现,同时减少对先前已优化编码任务的性能回退

    在 Yu 等人的 AHE 编码测试框架从 Terminal-Bench 2.1 迁移到 Terminal-Bench 4 的实验中,所有迁移条件的源留出分数均从相同的 90.22 开始。完整自我改进记忆(SIM)保留了此前的编辑理由和评估结果,在 225 次源 rollout 中仅损失三次成功,而仅保留根因记忆损失四次,仅迁移测试框架损失六次。其目标分数还提升了 6.67 分,而仅保留根因记忆仅提升 0.61 分。这表明,在保留先前优化证据的情况下,适应新任务未必需要牺牲同样多的既往性能。

    译自英文 · 看原文
    Optimization memory can improve target-task performance while reducing regression on previously optimized coding tasks
    In Yu et al.’s AHE coding harness transfer from Terminal-Bench 2.1 to Terminal-Bench 4, all transfer conditions begin with the same source held-out score of 90.22. Full Self-Improvement Memory (SIM), preserving earlier edit rationale and evaluation results, loses only three successful source rollouts out of 225, compared with four for root-cause-only memory and six for harness-only transfer. Its target score also gains 6.67 points, versus 0.61 with root-cause-only memory. This demonstrates a case where adapting to new tasks need not trade off as much previous performance when prior optimization evidence is retained.
    A single source-retention trace, not a general guarantee against forgetting; all three transfer conditions still lose some source successes.

    翻译:deepseek-flash

  2. 在固定轮次的适应预算下,优化记忆能更早达到更强的编码智能体运行框架

    Yu 等人比较了两种编码框架种子 AHE 和 Terminus-2 从 Terminal-Bench 2.1 到 Terminal-Bench 4 的适应过程。完整自我改进记忆(SIM)为优化器提供更早的诊断和实测结果,在两个种子的第 1–10 轮中均为最佳或并列最佳。对于 AHE,它在第 5 轮超过了最强对照组 20.61 的最终留出分数;对于 Terminus-2,则在第 2 轮超过。这表明记忆可以减少达到给定性能阈值所需的优化轮数。

    译自英文 · 看原文
    Optimization memory can reach a stronger coding-agent harness earlier in a fixed-round adaptation budget
    Yu et al. compare adaptation of two coding harness seeds, AHE and Terminus-2, from Terminal-Bench 2.1 to Terminal-Bench 4. Full Self-Improvement Memory (SIM), which supplies the optimizer with earlier diagnoses and measured outcomes, is best or tied across rounds 1–10 for both seeds. It exceeds the strongest control’s final held-out score of 20.61 by round 5 for AHE and round 2 for Terminus-2. This suggests that memory can reduce the number of optimization rounds needed to reach a given performance threshold.
    These are two optimization traces, not an independently replicated time-to-threshold study; fewer rounds do not establish lower token cost or elapsed time because memory adds context.

    翻译:deepseek-flash

  3. 优化记忆在十个独立初始化的配对实验中有九个改善了编码智能体测试框架的适配

    Yu 等人在 Terminal-Bench 2.1 上进化出十个独立的 Terminus-2 测试框架,随后在匹配的目标模型、任务、初始测试框架和优化预算条件下,将每一个继续在 Terminal-Bench 4 上运行两次。使用自我改进记忆(SIM)的那次运行——该记忆保留先前的诊断、编辑和结果并追加新的内容——在十对中胜出九对;有记忆时的平均最终得分为 21.70,无记忆时为 19.33。配对提升为 2.36 分(95% CI 1.05–3.68;p = 0.003),支持在这一编码设置中存在可重复的收益,而非由某一次幸运的初始化所驱动。

    译自英文 · 看原文
    Optimization memory improves coding-agent harness adaptation in nine of ten independently initialized paired experiments
    Yu et al. evolve ten independent Terminus-2 harnesses on Terminal-Bench 2.1, then continue each on Terminal-Bench 4 twice under matched target model, tasks, starting harness and optimization budgets. The run using Self-Improvement Memory (SIM), which retains previous diagnoses, edits and outcomes and appends new ones, wins nine of ten pairs; mean final scores are 21.70 with memory and 19.33 without it. The paired improvement is 2.36 points (95% CI 1.05–3.68; p = 0.003), supporting a repeatable benefit in this coding setup rather than a result driven by one lucky initialization.
    One pair favors no memory by 0.61 points. Independent repeated runs are confined to this coding transition; the result does not establish cross-domain statistical reliability.

    翻译:deepseek-flash

  4. 使用来自多个模型的反馈进行优化的共享 agent harness,可以达到单独优化的各 harness 的平均性能

    Yu 等人使用一个通用 harness(模型外围的软件)在 Grok、Claude Opus 和 Gemini 上测试文本分类。一种使用来自全部三个模型的反馈的统一合成方法取得了 75.24 的平均留出分数,相比之下,分别针对每个模型优化的独立 harness 为 75.20,共享的未优化种子为 73.28。顺序持续优化达到 74.20,而针对单个模型单独优化后再共享的 harness 平均得分为 66.84–72.24。该实验表明,使用来自其目标模型的反馈来优化共享 harness,可以作为维护独立实现的一种可行替代方案。

    译自英文 · 看原文
    A shared agent harness optimized using feedback from multiple models can match the average performance of individually optimized harnesses
    Yu et al. test text classification across Grok, Claude Opus and Gemini using a common harness (the software around the model). A unified synthesis approach using feedback from all three models obtains an average held-out score of 75.24, compared with 75.20 for separate per-model optimized harnesses and 73.28 for the shared unoptimized seed. Sequential continual optimization reaches 74.20, while harnesses individually optimized for one model and then shared score 66.84–72.24 on average. The experiment suggests that optimizing a shared harness with feedback from its intended models can be a viable alternative to maintaining separate implementations.
    A descriptive text-classification comparison across three models; a 0.04-point difference does not establish statistical equivalence or superiority, and costs were not compared here.

    翻译:deepseek-flash

问题与结论

全部问题

怎么提高召回精度

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

  1. 跨模型世代持续继承优化后的智能体运行框架,并不总能胜过重新进行优化

    Yu 等人将演化得到的运行框架与自我改进记忆(Self-Improvement Memory,SIM,一种记录既往运行框架诊断与编辑的机制)沿代传承,在 Terminal-Bench 2.1 上跨代应用于一系列 Gemini 模型。相对于在每一代上独立优化原始种子,继承式优化在 Gemini 3.5 Flash 上得分为 76.8,对比 73.3;在 Gemini 3.8 Flash 上为 90.5,对比 88.9;但在 Gemini 4 Argon 上为 94.8,对比 95.6。因此,一连串过往改进可以帮助新模型,但仍应将其与重新优化得到的基线进行比较,而不是假定其更优。

    译自英文 · 看原文
    Continually inheriting an optimized agent harness across model generations does not always beat fresh optimization
    Yu et al. carry an evolved harness and Self-Improvement Memory (SIM), a record of prior harness diagnoses and edits, through successive Gemini models on Terminal-Bench 2.1. Relative to optimizing the original seed independently at each generation, inherited optimization scores 76.8 versus 73.3 on Gemini 3.5 Flash and 90.5 versus 88.9 on Gemini 3.8 Flash, but 94.8 versus 95.6 on Gemini 4 Argon. Thus a chain of past improvements can help new models but should still be compared against a freshly optimized baseline rather than assumed to be superior.
    A single tested model-generation sequence and benchmark; the comparison changes both inherited harness and memory, so the cause of the final regression is not isolated.

    翻译:deepseek-flash

  2. 在四个测试领域中,迁移优化历史可提升 agent harness 在不同模型家族间的适配效果

    Yu 等人将使用 Claude Opus 5.5 优化的 harness(控制 agent 执行的软件)迁移到 Gemini 3.8 Flash,同时保持基准和划分固定不变。继续采用自我改进记忆(SIM),其中保存先前的诊断、编辑和实测结果,使四个领域的最终留出分数比仅迁移代码高出 3.60–11.33 分。在工作区中,两者均从 68.41 开始;仅代码迁移最终达到 73.42,而完整记忆达到 84.75。因此,即使继承的 harness 在新模型上初始表现不佳,优化历史也可能有用。

    译自英文 · 看原文
    Transferring optimization history improves agent harness adaptation across model families in four tested domains
    Yu et al. transfer harnesses (the software controlling agent execution) optimized with Claude Opus 5.5 to Gemini 3.8 Flash while holding benchmarks and splits fixed. Continuing with Self-Improvement Memory (SIM), which carries previous diagnoses, edits and measured outcomes, yields final held-out scores 3.60–11.33 points above code-only transfer in four domains. In workspace, both start at 68.41; the code-only run finishes at 73.42 and full memory at 84.75. Optimization history can therefore be useful even when the inherited harness initially performs poorly with the new model.
    One run per domain and condition for this specific model-family transition; this does not guarantee similar gains for other model pairs.

    翻译:deepseek-flash

  3. 仅靠根因诊断,在没有尝试过哪些修复及其结果的历史记录的情况下,无法可靠地改善智能体 harness 的自适应能力

    Yu 等人比较了数据集变化后继续优化智能体 harness 的三种方式:仅迁移代码、代码加反复出现故障的诊断,或代码加自我改进记忆(SIM),后者还会记录修改内容、理由、预测和观察到的结果以及来源。在六次迁移中,仅含诊断的记忆比仅含代码的记忆差 1.82 分到好 2.40 分不等;完整 SIM 在每种设置下都比仅含诊断的记忆高出 0.20–6.06 分。其含义是,记住哪里出了错,不如记住尝试过什么以及实际发生了什么可靠。

    译自英文 · 看原文
    Root-cause diagnoses alone do not reliably improve agent harness adaptation without the history of attempted fixes and their outcomes
    Yu et al. compare three ways to continue optimizing an agent harness after a dataset change: transfer code alone, code plus diagnoses of recurring failures, or code plus Self-Improvement Memory (SIM), which also records modifications, rationale, predicted and observed outcomes, and provenance. Across six transitions, diagnosis-only memory ranges from 1.82 points worse to 2.40 points better than code alone; full SIM beats diagnosis-only memory by 0.20–6.06 points in every setting. The implication is that remembering what went wrong is less reliable than remembering what was tried and what actually happened.
    The starting harness, target model and optimization budgets match; the six comparisons are individual runs, not independent repeated trials for each domain.

    翻译:deepseek-flash

  4. 智能体框架优化可以复用过去的改进经验,而无需更新任务求解模型的权重

    智能体框架是控制语言模型如何接收上下文、调用工具并完成任务的软件。Yu 等人将自我改进记忆(SIM)置于外层优化循环中:提议者和选择器会参考先前框架改动的理由与实测结果,而执行任务的模型保持冻结。优化器可以通过修改框架而非训练任务求解模型,在任务或模型变化之间复用经验。在匹配的跨数据集实验中,相较于仅迁移演化后的框架,完整记忆使最终留出分数提升了 2.43–4.35 分。

    译自英文 · 看原文
    Agent harness optimization can reuse past improvement experience without updating the task-solving model’s weights
    An agent harness is the software controlling how a language model receives context, calls tools and completes tasks. Yu et al. place Self-Improvement Memory (SIM) in the outer optimization loop: the proposer and selector consult the rationale and measured results of earlier harness changes, while the model executing tasks remains frozen. The optimizer can reuse experience across tasks or model changes by revising the harness rather than training the task-solving model. In the matched cross-dataset experiments, full memory improves final held-out scores by 2.43–4.35 points over transferring only the evolved harness.
    This is software-level improvement, not model-weight learning or evidence of superiority over task-level memory; those memory placements were not directly compared.

    翻译:deepseek-flash

  5. 记住先前执行框架变更的理由和结果,有助于在调整其实现方式的同时保留有用的需求

    完成门控是一种执行框架检查,用于防止智能体过早宣布任务完成。在 Yu 等人的编码迁移实验中,两个优化器继承同一门控;拥有自我改进记忆(SIM)的那个优化器能看到门控的引入原因及其先前结果,在保留完成验证的同时增加适合新任务的检查。没有 SIM 时,优化器会收紧门控,不得不两次修复完成死锁,并把继承来的门控错误归因于自己的第一轮。将某一反复出现的问题下的修改、理由、预测结果与实际结果以及评估背景一并存储,有助于区分持久性需求与过时的实现。

    译自英文 · 看原文
    Remembering the rationale and outcomes of earlier harness changes helps preserve useful requirements while adapting their implementation
    A completion gate is a harness check that prevents an agent from declaring a task finished prematurely. In Yu et al.’s coding transfer experiment, both optimizers inherit the same gate; the one with Self-Improvement Memory (SIM) sees why it was introduced and its prior outcomes, retaining completion verification while adding checks appropriate to the new tasks. Without SIM, the optimizer tightens the gate, has to repair completion deadlocks twice, and misattributes the inherited gate to its own first round. Storing edits, rationale, predicted versus measured outcomes and evaluation context under a recurring problem can help distinguish a persistent requirement from an obsolete implementation.
    This is a qualitative case study (Figure 11b and Appendix F.3), not an isolated causal test of every memory field; SIM records selected attempts, not every rejected candidate.

    翻译:deepseek-flash

  6. 在六种测试设置中,将 harness 改进历史随代码一并迁移,可以提升对新数据集的适应能力

    迁移一个经过优化的 agent harness(模型外围的软件)会保留其代码,但不一定会保留代码背后的证据。Yu 等人比较了以下几种情况:从同一个演化后的 harness 继续优化但不使用自我改进记忆(SIM)、仅使用根本原因、以及使用包含诊断、编辑、预测和实测结果的完整记录。在涵盖编码、分类、工作区和工程的六次数据集切换中,完整 SIM 在 0–100 的留出评分尺度上比仅迁移 harness 高出 2.43–4.35 分。这表明,在让 agent 适应新的任务分布时,将优化经验连同实现一起迁移是有益的。

    译自英文 · 看原文
    Transferring harness improvement history alongside code improves adaptation to new datasets in six tested settings
    Transferring an optimized agent harness (the software around a model) preserves its code but not necessarily the evidence behind the code. Yu et al. compare continued optimization from the same evolved harness with no Self-Improvement Memory (SIM), root causes alone, or the complete record of diagnoses, edits, predictions and measured outcomes. Across six dataset transitions covering coding, classification, workspace and engineering, full SIM finishes above harness-only transfer by 2.43–4.35 points on a 0–100 held-out score scale. This supports transferring optimization experience along with the implementation when adapting an agent to a new task distribution.
    The policy model is fixed to Gemini 3.8 Flash; target tasks, starting harness and candidate/round budgets match across transfer conditions. Each main setting is one optimization run; independent repetitions are separately reported for coding.

    翻译:deepseek-flash

  7. 一个在原始环境中提升性能的 agent harness,在数据集或模型变更后,表现可能不如种子 harness。

    进化后的 harness 包含针对特定环境调优的提示词、工具和执行控制。在 Yu 等人的跨数据集实验中,源优化在全部六个设置中使留出源分数提升 2.75–6.41 分,但有一个分类 harness 在新数据集上从 72.92 起步,而未优化的种子为 75.72。当一个使用 Claude Opus 5.5 进化的 harness 被迁移到同一基准和划分上的 Gemini 3.8 Flash 时,它在全部四个领域中都低于 Gemini 的种子(低 0.60–5.48 分),而仅 harness 的继续优化在其中三个领域仍低于全新优化。因此,源环境的提升不足以证明 harness 会使新环境受益;应针对目标种子重新评估它。

    译自英文 · 看原文
    An agent harness that improves performance in its original environment can underperform the seed harness after a dataset or model change
    An evolved harness contains prompts, tools and execution controls tuned against a particular environment. In Yu et al.’s cross-dataset experiments, source optimization raises held-out source scores by 2.75–6.41 points in all six settings, yet one classification harness starts its new dataset at 72.92 versus the unoptimized seed’s 75.72. When a harness evolved with Claude Opus 5.5 is transferred to Gemini 3.8 Flash on the same benchmark and split, it starts below Gemini’s seed in all four domains (0.60–5.48 points lower), and harness-only continuation still finishes below fresh optimization in three. Thus source improvement is not sufficient evidence that a harness will benefit a new environment; re-evaluate it against a target seed.
    The observed regressions concern compatible harness interfaces and specific tested transitions; they do not imply that all transferred harnesses regress.

    翻译:deepseek-flash

  8. 全历史智能体框架优化尚未确立对长历史或继承记忆单独收益的可扩展性

    Yu 等人的自我改进记忆(SIM)存储先前的诊断和选定的框架编辑,两个优化智能体每轮都读取完整记录,既不检索也不截断。他们的比较同时改变了整个记忆流程:继承的源经验和新的目标阶段更新都被启用,因此测得的优势无法单独归因于其中任何一方。该论文支持的是所测试的完整记忆流程,而不是得出无限记忆可扩展或仅凭继承记忆就能解释这些增益的结论。

    译自英文 · 看原文
    Full-history agent harness optimization has not established scalability to long histories or the separate benefit of inherited memory
    Yu et al.’s Self-Improvement Memory (SIM) stores earlier diagnoses and selected harness edits, and both optimization agents read the entire record each round without retrieval or truncation. Their comparison changes the full memory procedure together: inherited source experience and new target-stage updates are both enabled, so the measured advantage cannot be attributed separately to either. The paper supports the tested full-memory procedure, not a conclusion that unlimited memory is scalable or that inherited memory alone accounts for the gains.
    This is a study-design limitation, not evidence that scaling fails. Independent repetitions focus on coding; other domains have one run per condition, and compatible harness interfaces and fixed search procedures are assumed.

    翻译:deepseek-flash

  9. 框架优化记忆不同于任务执行记忆

    该记忆由框架优化器使用,而非主要作为执行代理的任务历史。改进发生在编排层,而无需更新模型权重。

    译自英文 · 看原文
    Harness optimization memory is distinct from task execution memory
    The memory is consumed by the harness optimizer rather than serving primarily as the executing agent's task history. Improvements occur in the orchestration layer rather than requiring model weight updates.
    Provisional interpretation; original text and experimental details have not been independently verified in this session.

    翻译:deepseek-flash

  10. 根因记录围绕可复用的问题来组织 harness 优化经验

    按底层问题而非仅按时间顺序来组织尝试,使优化器能够比较不同的干预措施及其结果。记录评估环境有助于将可迁移的发现与环境特定的结果区分开来。

    译自英文 · 看原文
    Root-cause records organize harness optimization experience around reusable problems
    Organizing attempts by underlying problem rather than only by chronological iteration allows an optimizer to compare alternative interventions and their outcomes. Recording the evaluation environment helps distinguish transferable findings from environment-specific results.
    Provisional interpretation; original text and experimental details have not been independently verified in this session.

    翻译:deepseek-flash

  11. 持久优化记忆在变化中的智能体评估环境之间迁移经验

    测试框架检查点保留当前实现,但不保留早先改动背后的推理。自我改进记忆为后续阶段保留优化经验,使优化器在模型或任务变化时能够重用先前的证据。

    译自英文 · 看原文
    Persistent optimization memory transfers experience across changing agent evaluation environments
    A harness checkpoint preserves the current implementation but not the reasoning behind earlier changes. Self-improvement memory retains optimization experience for subsequent stages, allowing the optimizer to reuse prior evidence when models or tasks change.
    Provisional interpretation; original text and experimental details have not been independently verified in this session.

    翻译:deepseek-flash

  12. 过于激进的语义记忆合并即使条目看起来相似,也可能抹除有用的区分

    表5显示,在使用 GPT-4.1-mini 的 LoCoMo 上,不合并的得分为 0.902。HDBSCAN 最小簇大小为 5 时,记忆库压缩了 21.7%,得分为 0.896;大小为 10 时,压缩了 16.3%,得分为 0.892;大小为 2 时,压缩了 30.9%,但得分降至 0.876。应将语义相似性视为候选合并的信号,而非等价性的证明;保留来源出处,并在合并后评估损失。

    译自英文 · 看原文
    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.
    Specific LoCoMo setup, clustering and model. Compression concerns memory-store size, not lifecycle cost. The archived URL is the abstract; numerical comparisons come from Table 5 of the full article, https://arxiv.org/abs/2610.39790. Versioning and evidence-preservation controls are proposed engineering practices, not separately tested interventions.

    翻译:deepseek-flash

    没有原文依据

  13. AI 智能体需要在即时写入记忆与定期离线审阅之间取得平衡,以保持知识实用且及时更新。

    智能体可以在执行任务时写入经验教训,也可以之后回到会话记录,在称为“dreaming”的离线过程中对其进行整合。即时写入使信息可供下一次会话使用,但会与当前任务争夺注意力。离线审阅可以比较过往经验、纠正过时的笔记并改进组织方式,但它需要算力,且结果可能无法立即就绪。一种合理的设计是保留可搜索的记录,并对重要、频繁使用或易变的知识进行比罕用稳定笔记更频繁的审阅。

    译自英文 · 看原文
    AI agents need to balance immediate memory writing with periodic offline review to keep knowledge useful and up to date.
    An agent can write a lesson while doing a task, or return to session records later and consolidate them in an offline process known as dreaming. Immediate writing makes the information available to the next session but competes with the current task for attention. Offline review can compare past experiences, correct outdated notes, and improve organization, but it requires compute and its results may not be ready immediately. A sensible design is to preserve searchable records and review important, frequently used or change-prone knowledge more often than rarely used stable notes.
    Anthropic identifies the best review frequency and freshness policy as open questions. Prioritizing by importance, access frequency or likelihood of change is an engineering suggestion rather than a proven optimum. Evaluate total cost, delay and errors against actual task outcomes.

    翻译:deepseek-flash

  14. 对 AI 生成的 wiki 进行二次审查,可以修复断链,并补上单个写作会话容易遗漏的缺失页面。

    撰写知识页面的 agent 只能看到部分材料,可能会链接到不存在的页面,或遗漏有用的关联。在 Anthropic 的法律文档 wiki 示例中,后来的一次离线审查发现九处链接指向不存在的页面,并将它们重定向到关于同一文档的现有页面。审查还创建了三个页面,其中包括一个索引页,使该 wiki 从 38 个条目增加到 41 个,链接从 225 条增加到 278 条。这体现了一种两阶段工作流程:先提取知识,再对整体集合进行审查,以解决缺失引用并改进导航。

    译自英文 · 看原文
    A second review of an AI-generated wiki can repair broken links and add missing pages that individual writing sessions overlook.
    An agent writing a knowledge page sees only part of the material, and may link to a page that does not exist or miss useful relationships. In Anthropic's legal-document wiki example, a later offline review found nine links to a nonexistent page and redirected them to an existing page about the same document. It also created three pages, including an index, increasing the wiki from 38 to 41 entries and from 225 to 278 links. This illustrates a two-stage workflow: extract knowledge first, then review the collection as a whole to resolve missing references and improve navigation.
    The example demonstrates link repair and additional organization, not a measured improvement in answer quality. Validate links against their intended targets, and test retrieval and factual accuracy independently; more links are not automatically better.

    翻译:deepseek-flash

  15. 当多个 AI 智能体共同构建知识库时,划分写入权限并保留精确证据可以防止重要事实丢失。

    多个智能体构建同一个 wiki 时,可能会互相覆盖彼此的编辑,或把对最终任务至关重要的细节概括掉。在 Anthropic 的 Harvey Legal Agent Benchmark 合同示例中,智能体最初将合同条款写入一张共享表格;最终生成的摘要仅覆盖了 57 项必需事实中的 41 项。在为每份合同分配独立页面并指定单一写入者,且要求保留确切的合同措辞之后,摘要覆盖了全部 57 项。对于依赖精确证据的任务,应在合并或概括之前划分写入职责并保留重要的源细节。

    译自英文 · 看原文
    When multiple AI agents build a knowledge base, separate write ownership and precise evidence can prevent important facts from being lost.
    Multiple agents building the same wiki may overwrite one another's edits or summarize away details that matter to the final task. In Anthropic's Harvey Legal Agent Benchmark contract example, agents initially wrote contract terms into a shared table; the resulting brief covered only 41 of 57 required facts. After assigning each contract its own page and a single writer, and requiring the exact contractual wording to be preserved, the brief covered all 57. For tasks that depend on precise evidence, partition writing responsibilities and preserve important source details before merging or summarizing them.
    The experiment changed both writing coordination and evidence-preservation instructions, so their individual effects cannot be separated. Exact quotation is especially useful for wording-sensitive tasks, but general summaries may still be appropriate for other purposes.

    翻译:deepseek-flash

  16. 当答案需要组合多份文档时,AI 智能体从预构建的 wiki 中获益,比单份文档就包含答案时更多。

    在针对文档集合回答问题时,AI 智能体既可以搜索原始文件,也可以使用已经整理好事实及其相互链接的 wiki。在 Anthropic 的 24 题合并文档评估中,对于需要综合或判断/算术的题目,借助 wiki 的回答满足了 87% 的评分标准,而直接搜索为 73%。在另一项法律任务中,大多数标准都可以从单份文档得到满足,wiki 并未带来明显优势。另一个 wiki 从 115 KB 的源文档集合增长到了 203 KB,说明缺乏有用抽象的组织方式只会增加杂乱。一种实用的做法是:精确查找时使用直接搜索,而对于反复出现的跨文档推理,则考虑使用经过整理的表示形式。

    译自英文 · 看原文
    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.
    These are particular evaluations of document-based tasks. A wiki is not automatically better for every multi-document question, and its value depends on evidence coverage, freshness, construction costs and the quality of search.

    翻译:deepseek-flash

  17. AI agent 应在每次会话开始时加载一个简短的记忆索引,仅在需要时才检索详细知识。

    拥有长期历史的 AI agent 无法把每一段过往经历都塞进每一次新对话中。Anthropic 描述了持久记忆的四个层次:可搜索的会话记录、关于有用经验的笔记、相互关联的知识(如 wiki),以及启动时加载的少量上下文。一个简短的启动索引告诉 agent 存在哪些知识以及在哪里可以找到它们,而详细笔记则保留下来供按需检索。Claude Code 通过仅加载其 MEMORY.md 索引的前 200 行或 25 KB 来体现这一方法。

    译自英文 · 看原文
    AI agents should load a short memory index at the start of each session and retrieve detailed knowledge only when needed.
    An AI agent with a long history cannot fit every past experience into each new conversation. Anthropic describes four layers of persistent memory: searchable session records, notes about useful experiences, linked knowledge such as wikis, and a small amount of context loaded at startup. A short startup index tells the agent what knowledge exists and where to find it, while detailed notes stay available for on-demand retrieval. Claude Code illustrates this approach by loading only the first 200 lines or 25 KB of its MEMORY.md index.
    Use automatic loading for stable, frequently needed guidance or pointers. Long or inaccurate startup instructions can consume context and repeat mistakes across sessions; even loaded instructions may be ignored. The Claude Code size limit is an implementation example, not a general optimum.

    翻译:deepseek-flash

  18. AI 智能体可以通过保存反馈、测试解释以及记录经过验证的规则供未来任务使用,从而跨会话学习。

    新会话通常缺少导致先前成功与失败的推理过程。在 Anthropic 的 CL-Bench 数据库练习中,Claude 在彼此独立的会话中回答问题,会收到正确答案,并且可以在会话之间保留文件。Opus 5 利用这些文件记录规则、信任这些规则的依据以及易犯的错误;其平均奖励从无记忆时的 0.564 升至有记忆时的 0.828。Sonnet 4.6 主要保存了未经测试的解释,提升幅度小得多,从 0.330 升至 0.364。因此,一个有用的学习循环是:记录反馈,形成并测试一种解释,然后存储经过验证的经验教训,而不是把猜测当作知识。

    译自英文 · 看原文
    AI agents can learn across sessions by saving feedback, testing explanations, and recording verified rules for future tasks.
    A new session usually lacks the reasoning that led to earlier successes and failures. In Anthropic's CL-Bench database exercise, Claude answered questions in separate sessions, received the correct answers, and could keep files between sessions. Opus 5 used those files to record rules, the basis for trusting them, and pitfalls; its average reward rose from 0.564 without memory to 0.828 with memory. Sonnet 4.6 mostly saved untested explanations and saw a much smaller improvement, from 0.330 to 0.364. A useful learning loop is therefore to record feedback, form and test an explanation, and store the validated lesson instead of treating a guess as knowledge.
    This is learning through external files, not retraining model weights. The reward scores come from one benchmark task with explicit feedback; comparisons between models cannot isolate the effect of any particular note format.

    翻译:deepseek-flash

  19. 将预构建的wiki与直接文档搜索相结合,可以提升AI代理对复杂知识库问题的回答能力。

    反复搜索大型文档集合,可能要求代理每次都重新发现相同的关系。Anthropic让代理基于约350,000个Stainless公司文件(420 million个token)构建并完善一个wiki,然后评估了对25个问题的回答。随着wiki构建从2个会话增加到128个会话,仅使用wiki的得分从满足评分标准的13%上升到48%;wiki加搜索的得分从54%上升到61%,而仅使用搜索为53%。据报告,将wiki与搜索结合还使每个问题的token用量减少了约20,000。wiki提供了已知事实的有组织地图,而搜索可以检索原始证据以及该地图中缺失的信息。

    译自英文 · 看原文
    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.
    The results cover one internal corpus and 25 questions. The score measures answer criteria met, not retrieval precision or recall. Building and maintaining the wiki took offline compute (approximately 2M–128M dreaming tokens in this experiment), so the per-question savings do not establish overall cost savings.

    翻译:deepseek-flash

  20. AI 智能体可以通过将自己的笔记与实际发生情况的记录进行比对,来纠正持久性记忆错误。

    即使智能体能够获取当前信息,错误的记忆也可能误导后续会话。在 Anthropic 的 Pokémon Red 示例中,Claude 错误地记录了某座宝可梦中心位于月见山之外,因此它认为该洞穴已经完成,并反复折返。一个名为 dreaming 的离线审查流程检查了此前的会话记录,纠正了该地标的位置,让 Claude 得以回到正确路线上;纠正后的运行在第 1,935 个动作处到达了下一座城市,而未纠正的运行和无记忆的运行在绘制的 3,000 个动作内都没有到达。这说明了为什么持久性记忆需要一种能够核查、修订声明并将其追溯至其证据的方式。

    译自英文 · 看原文
    An AI agent can correct persistent memory errors by comparing its notes with records of what actually happened.
    A mistaken memory can mislead later sessions even if the agent has access to current information. In Anthropic's Pokémon Red example, Claude incorrectly recorded that a Pokémon Center was beyond Mt. Moon, so it thought the cave had been completed and repeatedly backtracked. An offline review process called dreaming examined the earlier session record, corrected the landmark's location, and let Claude resume the right route; the corrected run reached the next city at action 1,935, while the uncorrected and no-memory runs did not reach it within the plotted 3,000 actions. This illustrates why persistent memory needs a way to check, revise and trace claims back to their evidence.
    This is an illustrative game trajectory rather than an aggregate estimate of improvement. Session records show past observations and actions but may also include false statements; for real-world claims, corroborate them with authoritative sources or current observations where possible.

    翻译:deepseek-flash

  21. AI 智能体应当记住可复用的策略和来之不易的经验教训,而不是反复保存那些可以直接查询到的信息。

    在变化的环境中工作的智能体,如果花时间维护那些本就可见的事实笔记(例如当前位置或余额),就会浪费时间。在 Anthropic 的 Pokémon Red 对比测试中,大约在第 10,000 步时,Sonnet 3.7 保存了 413 个文件(977,930 个字符),获得了一枚徽章;而 Fable 5 只保存了 10 个文件,其中包括一个顶层仪表盘(43,406 个字符),却获得了四枚徽章。Fable 5 保留的是路线规划、目标和游戏策略,而不是重复保存临时性的屏幕信息。其中有用的区分在于:哪些事实可以低成本地从环境中重新获取,哪些知识则必须依赖重复进行困难的推理或实验才能得到。

    译自英文 · 看原文
    AI agents should remember reusable strategies and hard-won lessons rather than repeatedly saving information they can look up.
    An agent working in a changing environment can waste time maintaining notes about facts that are already visible, such as its current position or balance. In Anthropic's Pokémon Red comparison at roughly 10,000 steps, Sonnet 3.7 saved 413 files (977,930 characters) and earned one badge, whereas Fable 5 saved 10 files including a top-level dashboard (43,406 characters) and earned four badges. Fable 5 kept route plans, goals and gameplay strategies rather than duplicating transient screen information. The useful distinction is between facts that can be retrieved cheaply from the environment and knowledge that would otherwise require repeating difficult reasoning or experiments.
    This comparison uses one run per model, not a controlled test of identical agents with different memory policies. The models differ in capability. Current state can still deserve a note when it is expensive to retrieve or important to resuming a task, and any learned rule may need verification.

    翻译:deepseek-flash

  22. 强大的 AI 智能体通常能自行决定要记住什么,而较弱的智能体可能需要明确的记忆使用指令。

    仅仅给智能体一个持久化的记忆文件夹是不够的,如果它从不读取自己的笔记,或者保存了错误的解释,那也无济于事。Anthropic 在带反馈的数据库问题上测试了 Claude 模型,发现 Opus 5 和 Opus 4.7 在一般性指导下能有效使用记忆;要求它们只保存失败案例,分别使其与记忆相关的性能提升减少了 0.234 和 0.150。对于 Sonnet 4.6,要求它查阅先前的笔记并检验自己的解释,使平均奖励从仅使用记忆时的 0.364 提高到 0.641,而不使用记忆时为 0.330。因此,记忆指令应根据智能体所展现出的能力进行调整,而不是对所有模型都套用同一套僵化的策略。

    译自英文 · 看原文
    Strong AI agents can often decide what to remember themselves, while weaker agents may need explicit memory-use instructions.
    Giving an agent a persistent memory folder is not enough if it never reads its notes or saves incorrect explanations. Anthropic tested Claude models on database questions with feedback and found that Opus 5 and Opus 4.7 used memory effectively with general guidance; requiring them to save only failures reduced their memory-related performance gains by 0.234 and 0.150 respectively. For Sonnet 4.6, telling it to consult earlier notes and test its explanations raised average reward from 0.364 with memory alone to 0.641, versus 0.330 without memory. Memory instructions should therefore be adjusted to the agent's demonstrated ability, not applied as one rigid policy to every model.
    Results are from the CL-Bench 1.0 database task. They do not imply that stronger agents should be exempt from evidence, privacy, or safety requirements, or that a particular instruction will generalize across workloads.

    翻译:deepseek-flash