Agent memory · May 2026Agent memory · 2026 年 5 月

More Memory, Worse Agents: Error Reproduction and Anti-PersistenceMore Memory, Worse Agents:Error Reproduction 与 Anti-Persistence

Anti-Persistence retains trajectories (execution records) and outcomes from past tasks, then generates guidance (task-specific instructions) as needed for the current task. The guidance is used only for that task and discarded when it ends. The model’s weights remain fixed throughout.Anti-Persistence 保留历史任务的 trajectory(执行轨迹)与结果,并根据当前任务按需生成 guidance(任务指导)。Guidance 仅用于当前任务,结束后即丢弃;模型权重始终保持固定。

TL;DRHigher success with fewer LLM calls更高成功率,更低调用成本

Anti-Persistence helps agents use past experience more effectively without updating model weights: it retains trajectories and outcomes over the long term, generates guidance as needed for the current task, and discards that guidance after use. Across nine settings spanning three models and three benchmarks, it achieves higher average held-out success with fewer LLM calls than the three memory baselines.Anti-Persistence 在不更新模型权重的前提下,让 agent 更有效地利用历史经验:长期保留 trajectory 与结果,针对当前任务按需生成 guidance,用后即丢弃。在三个模型、三个 benchmark 的九种配置中,相比三种 memory 对照方案,它以更少的 LLM 调用,取得更高的平均 held-out 成功率。

Higher success更高成功率
59.9%
Average held-out success平均 held-out 成功率
+6.4% over the strongest memory baseline
Trajectory memory: 53.5%
比最强 memory 对照高 6.4%
Trajectory memory:53.5%
Leads across settings多种配置领先
7 / 9
Settings with the highest mean success配置取得最高平均成功率
Compared with seven other methods
3 models × 3 benchmarks
与另外七种方法比较
3 个模型 × 3 个 benchmark
Fewer LLM calls更少 LLM 调用
9.3
Average LLM calls per held-out task每个 held-out 任务的平均调用次数
Below all three memory baselines
9.5–10.2 calls per task
低于三种 memory 对照方案
对照:每个任务 9.5–10.2 次

Averages weight all nine settings equally. +6.4% is the absolute success-rate difference (59.9% − 53.5%). Calls include guidance synthesis and task execution. See the full comparison →均值按九种配置等权计算。+6.4% 为成功率绝对差值(59.9% − 53.5%);调用数包含 guidance synthesis 与任务执行。查看完整对比 →

Choose how to use experience for each task按任务选择经验的使用方式

For each task, the system uses past feedback to choose how to draw on experience: consult previous execution records directly, extract useful action steps from successful runs, build an overall plan from successful runs, or derive corrective advice from failed runs. It also considers the extra LLM calls needed to generate guidance. That guidance is discarded after the task, while execution records and outcomes remain available for future tasks.系统根据当前任务与历史反馈,选择如何利用经验:直接参考过去的执行记录、从成功记录中提取操作步骤、从成功经验中归纳整体计划,或从失败记录中总结纠错建议。选择时还会考虑生成 guidance 所需的额外 LLM 调用。生成的 guidance 在任务结束后即丢弃,执行记录与结果则继续保留,供后续任务参考。

01Error reproduction: how mistakes enter memory againError Reproduction:错误如何再次进入 memory

Consider a hypothetical example: an agent finds a cup in a cabinet and records “check the cabinet first” as a required step for getting a cup. On the next task, the cup is already on the table, yet the agent checks the cabinet before picking it up. The task succeeds, and the unnecessary check becomes part of a successful execution record. If the system treats every step in that record as part of what made the task succeed, it may generate new guidance that again requires checking the cabinet first.假设 agent 曾在橱柜里找到杯子,便把“先检查橱柜”记成了拿杯子的固定步骤。下一次任务中,杯子已经在桌上,它仍先检查橱柜,再去拿杯子。任务虽然完成了,多余的检查步骤也留在了这次成功的执行记录里。如果系统把这些步骤都当作成功经验,新生成的 guidance 就可能再次要求“先检查橱柜”,让同一个错误借助新记录继续保留下来。

The paper distinguishes error propagation from error reproduction. Propagation occurs when an existing faulty record or rule is retrieved and reused. Reproduction occurs when a faulty rule shapes later execution and those trajectories are distilled into new faulty rules. Deleting the original rule alone cannot remove its influence from the trajectories already stored or from rules derived from them.论文将这一问题区分为 error propagation 与 error reproduction。前者是已有错误记录或规则被检索并复用;后者是错误规则影响后续执行,受影响的 trajectory 又被归纳为新的错误规则。仅删除原始规则,无法同时清除它对已有 trajectory 的影响,也无法删除由这些记录衍生的规则。

Persistent abstractions持久化 abstraction

  1. Infer a rule归纳规则May overgeneralize from limited experience可能把局部经验过度泛化
  2. Reuse it later跨任务复用The rule shapes new actions规则影响新的行动
  3. Keep the trajectory保留执行记录Its influence enters execution records影响被写入执行经验
  4. Synthesize again再次归纳The same error may reappear同类错误可能再次出现

Anti-PersistenceAnti-Persistence

  1. Keep execution records保留执行经验Store trajectories and outcomes存储 trajectory 与结果
  2. Retrieve for this task针对当前任务检索Choose a mode and relevant records选择模式与相关记录
  3. Use fresh guidance使用临时 guidanceSynthesize only when selected按所选模式进行 synthesis
  4. Discard the guidance用后丢弃 guidanceSave the new execution and outcome保存本次执行及其结果
Two ways experience can inform future tasks. The upper path illustrates possible error reproduction; it is not an inevitable outcome. The lower path removes direct storage of generated guidance, while trajectories can still carry its influence. Adapted from paper §§1 and 3.2.两种将经验用于后续任务的方式。上方展示可能形成的 error reproduction 路径,并非必然结果;下方移除了 guidance 的直接存储,但 trajectory 仍可能保留其影响。依据论文第 1 节与第 3.2 节整理。

This distinction matters when maintaining memory. Removing a questionable rule prevents its direct retrieval, but does not automatically revise executions produced under that rule. A maintenance policy can still help by examining those records or filtering later abstractions. The design question is therefore both what to retain and how long inferred guidance should remain reusable.这一区分也解释了 memory 维护的难点。删除可疑规则,可以阻止它被直接检索,却不会自动修正此前受其影响的执行记录。维护策略仍可通过检查这些记录或筛选后续 abstraction 发挥作用。因此,memory 设计既要回答保留什么,也要回答生成的 guidance 应当在多长时间内继续被复用。

02Separate persistent experience from temporary guidance区分长期经验与临时 guidance

To limit the direct reuse of rules, Anti-Persistence manages long-term records separately from guidance for the current task. The experience store retains task trajectories and outcomes. A separate outcome log records mode choices and their results, including a cost penalty for extra synthesis calls. Generated guidance is written to neither store and is discarded when the task ends.为限制规则的直接复用,Anti-Persistence 将长期保存的记录与面向当前任务的 guidance 分开管理。Experience store 保存任务 trajectory 和结果;独立的 outcome log 记录模式选择及其效果,并计入额外 synthesis 调用的成本惩罚。生成的 guidance 不写入这两类存储,任务结束后即被丢弃。

  1. Retrieve feedbackFind outcomes from similar earlier tasks.检索历史反馈获取相似任务的执行结果。
  2. Choose a modeDecide how to use past experience.选择使用模式决定如何利用历史经验。
  3. Execute the taskUse retrieved records or newly generated guidance.执行当前任务使用检索到的记录或新生成的 guidance。
  4. Update the execution recordsSave trajectories and outcomes; discard generated guidance.更新经验记录保存 trajectory 与结果,丢弃生成的 guidance。

Four modes for using memory四种 memory 使用模式

1

None · use trajectories directlyNone · 直接使用 trajectory

Retrieve past trajectories without an extra synthesis call. “None” means no synthesis, not no memory.直接检索历史 trajectory,不进行额外的 guidance synthesis。None 表示不执行 synthesis,而非不使用 memory。

2

Imitation · reuse an action patternImitation · 复用行动模式

Extract useful action patterns and the conditions under which they worked from successful runs.从成功的 trajectory 中提取可复用的行动模式及其适用条件。

3

Strategic · generate a high-level planStrategic · 生成高层计划

Use successful runs to identify higher-level subgoals and a plan for the new task.基于成功的 trajectory,确定当前任务的高层子目标与执行计划。

4

Corrective · generate corrective guidanceCorrective · 生成纠错 guidance

Analyze failed runs and, when available, compare them with a successful run to produce corrective guidance.分析失败的 trajectory,并在有可用成功样本时进行对照,生成纠错 guidance。

Choose how to use memory, then retrieve the records先选 memory 的使用方式,再取相关记录

The system first uses feedback from similar past tasks to choose how to use memory. It then retrieves relevant execution records, either to use directly or to generate guidance for the current task. Each new task outcome informs future choices, without updating the model’s weights.系统先参考相似任务的历史反馈,选择 memory 的使用方式;再检索对应的执行记录,直接用于当前任务,或从中生成 guidance。新的任务结果会为后续选择提供依据,整个过程无需更新模型权重。

03A full comparison across models, tasks, and memory designs不同模型、任务与 memory 设计的完整对比

The study evaluates three fixed backbones × three benchmarks, comparing Anti-Persistence with four agent baselines and three other memory configurations. Each method receives the same iteration-task stream. Only these episodes update memory; after each of ten rounds, the entire held-out set is evaluated with memory and controller state frozen. Held-out logs never enter later updates.实验覆盖三个固定 backbone × 三个 benchmark,将 Anti-Persistence 与四种 agent baseline、三种其他 memory 配置比较。各方法使用相同的迭代任务序列,只有这些 episode 可以更新 memory。每轮更新后,在冻结 memory 与 controller 状态的条件下评测完整 held-out 集,共进行十轮;held-out 日志不参与后续更新。

ALFWorld

Multi-step actions in household environments家庭场景中的多步操作

180 iteration tasks · 134 held-out tasks180 个迭代任务 · 134 个 held-out 任务

WebShop

Product search and selection under explicit constraints满足明确约束的商品搜索与选择

200 iteration tasks · 100 held-out tasks200 个迭代任务 · 100 个 held-out 任务

ScienceWorld

Interactive science tasks交互式科学任务

150 iteration tasks · 60 held-out tasks150 个迭代任务 · 60 个 held-out 任务

Each round samples 50 iteration tasks; the backbone weights remain fixed. Main results report mean ± standard deviation across three seeds. See Appendix D.1.每轮抽取 50 个迭代任务,backbone 权重始终固定。主实验报告三个随机种子的均值 ± 标准差。详见附录 D.1。

From overall averages to nine individual settings从总体均值展开到九种具体配置

Heatmap of eight methods across nine settings. Anti-Persistence has the highest mean in seven settings; Reflexion leads Gemma ALFWorld and Joint memory leads Gemma ScienceWorld.
Final held-out success across all eight methods. Each cell shows mean success (%); white outlines mark the highest mean in each setting. ALF, Web, and Sci denote the three benchmarks. Redrawn from Table 1.八种方法的最终 held-out 成功率。每格展示平均成功率(%),白色边框标出各配置中的最高均值。ALF、Web、Sci 分别对应三个 benchmark。数据来自表 1,已重绘。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Anti-Persistence reaches the highest mean in seven of nine settings. It outperforms trajectory memory and abstraction memory in all nine, and joint memory in eight. The gains are not confined to one backbone: on ScienceWorld, success rises from 20.0% to 30.6% for Llama and from 43.8% to 52.6% for Qwen when moving from trajectory memory to Anti-Persistence.Anti-Persistence 在九种配置中的七种取得最高平均成功率;相较 Trajectory memory 与 Abstraction memory,九种配置均有提升,相较 Joint memory 则在八种配置中更好。收益并不限于单个 backbone:在 ScienceWorld 上,从 Trajectory memory 切换到 Anti-Persistence 后,Llama 的成功率由 20.0% 升至 30.6%,Qwen 则由 43.8% 升至 52.6%。

Inspect all means and standard deviations展开查看完整均值与标准差

Llama-4-Scout

Method方法ALFWorldWebShopScienceWorld
ReAct29.3 ± 3.133.3 ± 1.29.4 ± 1.0
Reflexion46.7 ± 6.145.3 ± 4.222.8 ± 1.0
ExpeL7.2 ± 3.238.0 ± 5.35.0 ± 1.9
AutoRefine36.3 ± 3.237.3 ± 2.315.3 ± 1.7
Trajectory memory41.6 ± 1.745.3 ± 1.220.0 ± 1.7
Abstraction memory42.7 ± 1.237.3 ± 1.218.9 ± 1.0
Joint memory33.3 ± 2.335.3 ± 1.27.2 ± 1.9
Anti-Persistence54.7 ± 2.946.3 ± 1.830.6 ± 1.0

Qwen3-Coder-Next

Method方法ALFWorldWebShopScienceWorld
ReAct70.4 ± 1.836.0 ± 2.027.2 ± 2.6
Reflexion87.3 ± 3.147.3 ± 1.233.9 ± 3.5
ExpeL88.0 ± 2.047.3 ± 2.332.8 ± 4.8
AutoRefine83.7 ± 6.740.7 ± 2.327.8 ± 1.0
Trajectory memory84.4 ± 2.650.7 ± 1.243.8 ± 3.7
Abstraction memory84.7 ± 2.438.3 ± 3.534.0 ± 1.0
Joint memory81.9 ± 0.247.0 ± 1.736.3 ± 0.6
Anti-Persistence96.0 ± 1.454.0 ± 2.052.6 ± 1.5

Gemma-4-31B-it

Method方法ALFWorldWebShopScienceWorld
ReAct72.7 ± 1.243.3 ± 2.344.2 ± 1.2
Reflexion98.0 ± 0.850.0 ± 2.044.5 ± 2.6
ExpeL96.7 ± 2.338.6 ± 1.951.3 ± 1.2
AutoRefine88.0 ± 4.048.0 ± 4.043.3 ± 0.0
Trajectory memory96.0 ± 1.048.0 ± 0.251.7 ± 1.7
Abstraction memory92.7 ± 2.345.3 ± 4.246.7 ± 1.7
Joint memory95.3 ± 3.151.3 ± 1.256.3 ± 2.4
Anti-Persistence97.3 ± 1.253.3 ± 3.154.1 ± 6.3

Success (%), mean ± SD over three seeds. Source: paper Table 1.成功率(%),三个随机种子的均值 ± 标准差。来源:论文表 1。

Generating guidance need not increase total LLM calls生成 guidance,不一定增加总调用次数

Four memory designs: Anti-Persistence averages 59.9% success and 9.3 LLM calls, compared with trajectory memory at 53.5% and 9.5 calls.
Average success and LLM-call cost. Dots show equally weighted means across the nine settings. The displayed ranges are 45–65% for success and 9.0–10.5 calls. Calls include guidance synthesis and task execution.平均成功率与 LLM 调用成本。圆点表示九种配置的等权均值。成功率坐标范围为 45–65%,调用次数范围为 9.0–10.5 次;调用次数包含 guidance synthesis 与任务执行。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

On average, Anti-Persistence improves success by 6.4% over Trajectory memory while reducing LLM calls from 9.5 to 9.3.平均而言,Anti-Persistence 相比 Trajectory memory 的成功率提升 6.4%,调用次数则由 9.5 降至 9.3。

Reported gains use % for absolute differences between success rates, rather than relative percentage growth.文中增益以 % 表示成功率的绝对差值,而非相对增长率。

04How memory behaves over ten rounds十轮更新中,memory 的作用如何变化?

The iteration curves below compare the four memory configurations while keeping the backbone fixed. Switch models to inspect the same three benchmarks under different backbones.下方曲线在固定 backbone 的条件下比较四种 memory 配置;切换模型,可以查看相同三个 benchmark 在不同 backbone 上的变化。

TrajectoryAbstractionJointAnti-Persistence

Llama-4-Scout

Llama-4-Scout held-out success over ten memory-update iterations on ALFWorld, WebShop and ScienceWorld.
Llama-4-Scout · success over iterations 1–10. Cropped directly from paper Figure 2a. Each panel retains its original y-axis range.Llama-4-Scout · 第 1–10 轮成功率。直接摘取自论文图 2a,各面板保留原图的纵轴范围。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Qwen3-Coder-Next

Qwen3-Coder-Next held-out success over ten memory-update iterations on ALFWorld, WebShop and ScienceWorld.
Qwen3-Coder-Next · success over iterations 1–10. Cropped directly from paper Figure 2a. Each panel retains its original y-axis range.Qwen3-Coder-Next · 第 1–10 轮成功率。直接摘取自论文图 2a,各面板保留原图的纵轴范围。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Gemma-4-31B-it

Gemma-4-31B-it held-out success over ten memory-update iterations on ALFWorld, WebShop and ScienceWorld.
Gemma-4-31B-it · success over iterations 1–10. Cropped directly from paper Figure 9a. Each panel retains its original y-axis range.Gemma-4-31B-it · 第 1–10 轮成功率。直接摘取自论文图 9a,各面板保留原图的纵轴范围。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

What to look for如何阅读这些曲线

  • Llama: joint memory loses ground late in the run, especially on ScienceWorld.Llama:Joint memory 在后期出现回落,ScienceWorld 尤为明显。
  • Qwen: abstraction memory fluctuates substantially on WebShop. Anti-Persistence ends ahead across all three benchmarks, without leading at every intermediate round.Qwen:Abstraction memory 在 WebShop 上波动较大。Anti-Persistence 在三个 benchmark 的最终均值均更高,但并非每轮都领先。
  • Gemma: joint memory finishes best on ScienceWorld, while Anti-Persistence leads the other two benchmarks among the four memory designs.Gemma:Joint memory 在 ScienceWorld 上最终表现最好,Anti-Persistence 则在另外两个 benchmark 的四种 memory 设计中领先。

05Which design choices account for the gains?哪些设计选择带来了收益?

The paper examines three choices separately: whether to save generated guidance, how to choose a mode for using experience, and how many records to retrieve. Each experiment changes one of these choices and measures task success.论文将方法拆成三个选择分别考察:生成的 guidance 要不要保存、如何选择经验的使用模式,以及每次检索多少条记录。每组实验调整其中一个选择,再比较任务成功率。

1. Should guidance be discarded after use or saved?1. Guidance 用完后,应该丢弃还是保存?

Both variants retain trajectories and task outcomes, and both can generate guidance for the current task. The comparison concerns what happens afterward: Discard removes that guidance after use; Persist saves it for retrieval in later tasks.两个版本都保留 trajectory 与任务结果,也都可以为当前任务生成 guidance。区别在任务结束后:Discard 丢弃这份 guidance;Persist 将它保存下来,供后续任务检索。

Discarding guidance yields absolute success-rate gains of 28.0%, 12.3%, 3.3%, and 6.7% in the four retention comparisons.
Keep or discard generated guidance? Blue dots show Discard; orange dots show Persist. Further right means higher success. Error bars show ±1 SD over three seeds; the right column is the absolute difference, Discard minus Persist. Source: Table 2.生成的 guidance,用后丢弃还是保存?蓝点为 Discard,橙点为 Persist;越靠右,成功率越高。误差棒为三个随机种子的 ±1 标准差,右侧为 Discard 减去 Persist 的绝对差值。数据来自表 2。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Discard has higher mean success in all four settings. For example, Llama-4-Scout on ALFWorld reaches 54.7% with Discard, versus 26.7% with Persist. In these settings, keeping execution records while discarding generated guidance works better than retaining both.四种配置中,Discard 的平均成功率均更高。例如,在 Llama-4-Scout 的 ALFWorld 实验中,Discard 为 54.7%,Persist 为 26.7%。这说明,在这些配置下,保留执行记录、用后丢弃 guidance,比把生成的规则也长期保存下来更有效。

Inspect retention-ablation values查看保留策略消融的完整数值
Model / benchmark模型 / benchmark Discard guidanceDiscard guidance Persist guidancePersist guidance Change (%)变化(%)
Llama-4-Scout · ALFWorld54.7 ± 2.926.7 ± 6.1+28.0
Llama-4-Scout · WebShop46.3 ± 1.834.0 ± 4.0+12.3
Qwen3-Coder-Next · ALFWorld96.0 ± 1.492.7 ± 1.2+3.3
Qwen3-Coder-Next · WebShop54.0 ± 2.047.3 ± 3.1+6.7

Source: paper Table 2. Success rates are percentages, reported as mean ± standard deviation over three seeds. Change is the absolute difference: Discard minus Persist.来源:论文表 2。成功率以 % 标注,报告三个随机种子的均值 ± 标准差。变化为绝对差值:Discard 减去 Persist。

2. Should the agent use one fixed mode or choose per task?2. 使用固定模式,还是根据任务动态选择?

This experiment compares three policies: always use one synthesis mode (Imitation, Strategic, or Corrective), choose randomly, or use the adaptive Bandit to choose based on the current task and past feedback. The bar chart compares their success rates; the heatmap shows which modes the adaptive selector actually uses.这组实验比较三种方式:始终使用某一种模式(Imitation、Strategic 或 Corrective)、随机选择,以及由自适应 Bandit 根据当前任务和历史反馈选择。柱状图比较成功率;热图展示自适应 selector 实际使用了哪些模式。

Mode-selection ablation on Qwen: the adaptive bandit leads both benchmarks; the best fixed mode differs.
Which selection policy performs better? Green bars show the adaptive Bandit; other bars show fixed-mode or random selection. Means ± SD over three seeds on Qwen3-Coder-Next; y-axes are truncated. Original plot: Figure 6.哪种选择方式的成功率更高?绿色柱为自适应 Bandit,其余为固定模式或随机选择。均使用 Qwen3-Coder-Next,报告三个随机种子的均值 ± 标准差,纵轴采用截断范围。摘自图 6。 Open full-size ↗查看大图 ↗
Mode frequencies across nine settings. On WebShop Qwen chooses Imitation 53% of the time, while Llama chooses Strategic 45%; None is used in every setting on average.
Which modes does the selector use? Rows are models; columns are modes. Darker cells mean more frequent selection, not higher success. Percentages average rounds 1–10; rounding may keep rows from summing to 100%. Redrawn from Figure 8.Selector 实际选择了哪些模式?每行是一个模型,每列是一种模式;颜色越深,选择越频繁,并不表示成功率越高。数值为第 1–10 轮的平均占比,四舍五入后行合计可能不等于 100%。依据图 8重绘。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Adaptive selection has the highest mean success on both benchmarks. With Qwen3-Coder-Next, it reaches 96.0% on ALFWorld and 54.0% on WebShop. The best fixed mode changes across benchmarks: Strategic on ALFWorld, Imitation on WebShop. These comparisons support adapting mode choice to the task and feedback.自适应选择在两个 benchmark 上的平均成功率均最高。在 Qwen3-Coder-Next 上,ALFWorld 为 96.0%,WebShop 为 54.0%。最佳固定模式则随 benchmark 改变:ALFWorld 是 Strategic,WebShop 是 Imitation。这组对比支持根据任务与反馈调整模式。

Mode preferences vary across models. On WebShop, Qwen selects Imitation most often (53% on average), whereas Llama favors Strategic (45%). Every setting also includes some use of None, where the agent reuses trajectories directly without generating additional guidance.不同模型呈现出不同的模式偏好。在 WebShop 上,Qwen 最常选择 Imitation(平均占比 53%),Llama 则最常选择 Strategic(45%)。各配置中也有部分任务采用 None,直接复用 trajectory,无需额外生成 guidance。

3. Does retrieving more records always help?3. 每次检索的记录越多,效果就越好吗?

The system retrieves two kinds of records: detailed execution histories to help perform a task, and feedback on earlier mode choices to help select a mode. The plots vary how many records are retrieved for each purpose:系统会检索两类记录:一类提供任务的具体执行过程,另一类提供模式选择后的效果反馈。下图分别考察这两类记录的检索数量:

Retrieval sensitivity: B=5 and outcome neighborhood B-hat=10 achieve the highest means among tested values on both ALFWorld and WebShop.
Success as retrieval budgets change. Left: trajectory budget B. Right: outcome-log budget B^. Blue is ALFWorld; green is WebShop. Shading marks defaults, and both y-axes span 40–100%. Means only, using Qwen3-Coder-Next. Source: Appendix G.检索数量变化时,成功率如何变化?左图调整 trajectory 数量 B,右图调整 outcome-log 记录数量 B^。蓝线为 ALFWorld,绿线为 WebShop;浅色区域标出默认值,纵轴均为 40%–100%。使用 Qwen3-Coder-Next,仅展示均值。数据来自附录 G。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Among the tested values, B = 5 and B^ = 10 give the highest mean success on both benchmarks. For WebShop in the left panel, increasing B from 1 to 5 raises success from 46.0% to 54.0%; increasing it further to 10 lowers success to 48.7%. Retrieving more records does not keep improving performance.在所测取值中,B = 5、B^ = 10 在两个 benchmark 上的平均成功率均最高。以左图的 WebShop 为例,B 从 1 增加到 5 时,成功率从 46.0% 升至 54.0%;继续增加到 10,反而降至 48.7%。增加检索数量并没有持续带来收益。

06Should useful abstractions be kept long term?有用的 abstraction,是否应该长期保留?

Two auxiliary experiments compare how supplied skill content and selective retention affect task success.两组辅助实验分别比较 skill 内容与筛选保留策略对任务成功率的影响。

Auxiliary results: AppWorld success is 23.0%, 40.0%, and 20.0% for no, useful, and toxic skills. On WebShop, filtering skills with GPT-5.5 before storage raises abstraction memory from 38.7% to 46.0%; adding filtered skills as a frozen persistent layer lowers Anti-Persistence from 56.0% to 44.0%.
Two separate auxiliary experiments. Left: the same 30 AppWorld tasks with no supplied skills, useful skills, or toxic skills. Right, top: Abstraction memory with and without GPT-5.5 skill filtering before storage. Right, bottom: Anti-Persistence with and without an additional frozen memory layer of filtered skills. Bars show aggregate success rates. Redrawn from Figure 11.两组独立的辅助实验。左:同一组 30 个 AppWorld 任务,分别使用无 skill、有用 skill 与错误 skill。右上:Abstraction memory 是否在入库前用 GPT-5.5 筛选 skill。右下:Anti-Persistence 是否额外加入由筛选后的 skill 构成的固定 memory 层。柱形表示总体成功率。依据图 11重绘。 Open full-size ↗查看大图 ↗Scroll the chart sideways, or open it full-size.图表可左右滑动,也可点击查看大图。

Guidance can be useful. On AppWorld, useful skills improve aggregate success from 23.0% to 40.0%, while toxic skills give 20.0%.Guidance 本身可以有用。在 AppWorld 上,有用 skill 将总体成功率从 23.0% 提升至 40.0%,错误 skill 对应 20.0%。

Filtered skills have different effects in the two memory configurations. In Abstraction memory, GPT-5.5 screens each newly generated skill to decide whether it should be stored, raising success from 38.7% to 46.0%. In Anti-Persistence, the filtered skills are added as an extra persistent memory layer that remains fixed during evaluation; success falls from 56.0% to 44.0%.筛选后的 skill 在两种 memory 配置中带来了不同结果。在 Abstraction memory 中,每条新生成的 skill 先由 GPT-5.5 筛选,再决定是否存入 memory,成功率从 38.7% 升至 46.0%。在 Anti-Persistence 中,筛选后的 skill 被作为额外的持久化 memory 层加入,并在评测期间保持固定,成功率从 56.0% 降至 44.0%。

Takeaway结论

Useful guidance can improve task performance, while retaining filtered skills can still reduce it. These results support Anti-Persistence’s choice to generate guidance as needed and discard it after use.有用的 guidance 能提升任务表现,但筛选后长期保留仍可能降低效果。这些结果支持 Anti-Persistence 按需生成 guidance、用后丢弃的设计。

07Key takeaways要点总结

08Citation引用

@article{wang2026antipersistence,
  title   = {More Memory, Worse Agents: Error Reproduction
             and Anti-Persistence in LLM Agents},
  author  = {Wang, Ruhan and Panaganti, Kishan and Zhou, Dongruo},
  journal = {arXiv preprint arXiv:2610.27406},
  year    = {2026},
  url     = {https://arxiv.org/abs/2610.27406}
}