Research Papers 论文研究 4h ago Updated 1h ago 更新于 1小时前 48

Memory Reward Inflation in Self-Improving LLM Agents 自我改进LLM智能体中的记忆奖励膨胀

Self-improving LLM agents that store episodes in external memory and score them without weight updates suffer from a failure mode called the *Echo Gap*, where incorrect episodes receive inflated rewards due to LLM-based self-assessment The *Error-Independence Assumption* (EIA) is formally proven as a necessary condition for correcting reward inflation: a usable signal must both track truth and decorrelate its error from the memory bias Reward inflation compounds not only under score-based retrie 自我改进LLM代理面临"回声差距"(Echo Gap)问题:错误episode获得 inflated rewards,导致代理优先重用其最自信的错误 提出误差独立性假设(EIA)作为纠正膨胀的必要条件:信号必须追踪真相且与记忆偏差去相关 LUCID去膨胀算法在BIRD text-to-SQL基准测试上达到56.9%执行准确率,超越Memento式自评分代理(54.0%)和无记忆代理(52.4%) 膨胀问题不仅出现在按存储分数检索时,也出现在纯相似度检索场景(即部署代理实际使用的模式)

62
Hot 热度
76
Quality 质量
68
Impact 影响力

Analysis 深度分析

TL;DR

  • Self-improving LLM agents that store episodes in external memory and score them without weight updates suffer from a failure mode called the Echo Gap, where incorrect episodes receive inflated rewards due to LLM-based self-assessment
  • The Error-Independence Assumption (EIA) is formally proven as a necessary condition for correcting reward inflation: a usable signal must both track truth and decorrelate its error from the memory bias
  • Reward inflation compounds not only under score-based retrieval but also under plain similarity retrieval, the regime actually used in deployed agents
  • The proposed answer-free de-inflation algorithm LUCID achieves 56.9% execution accuracy on BIRD text-to-SQL, outperforming both a Memento-style self-graded agent (54.0%) and a memory-less agent of identical architecture (52.4%)

Why It Matters

This research identifies a fundamental reliability flaw in the rapidly growing class of memory-based self-improving LLM agents, which are increasingly deployed without ground-truth labels for reward verification. The Echo Gap demonstrates that self-grading loops can systematically amplify errors rather than correct them, which has direct implications for anyone building agents that learn from experience. The formalization of EIA provides a principled framework for designing better verifiers, and LUCID offers a practical de-inflation method with measurable gains.

Technical Details

  • Echo Gap: When ground-truth labels are unavailable, stored rewards are LLM assessments that correlate with the original self-grading bias, causing incorrect episodes to be preferentially reused — errors compound through memory rather than averaging out
  • Error-Independence Assumption (EIA): Formally proven as a necessary condition for correcting inflation; the recoverable payoff is a closed-form function of two quantities: truth-tracking ability and error decorrelation from memory bias
  • LUCID algorithm: An answer-free de-inflation method that corrects reward inflation without requiring ground-truth labels during deployment
  • Benchmarks: Evaluated on BIRD text-to-SQL benchmark, comparing LUCID against Memento-style self-graded agents and memory-less baselines of identical architecture
  • Retrieval regimes: Inflation was shown to compound under both score-based ranking and plain similarity retrieval, covering the full spectrum of deployed agent behavior

Industry Insight

  • Memory-based self-improving agents are a popular architecture pattern, but practitioners should be aware that self-grading loops can systematically reinforce errors rather than improve performance — independent verification signals are essential
  • The EIA framework provides a concrete design principle: any verifier used in self-improving loops must not only be accurate but also produce errors that are statistically independent from the memory bias it is trying to correct
  • LUCID's answer-free approach demonstrates that meaningful improvements are possible without ground-truth labels, making it applicable to real-world deployment scenarios where labeled data is scarce or unavailable

TL;DR

  • 自我改进LLM代理面临"回声差距"(Echo Gap)问题:错误episode获得 inflated rewards,导致代理优先重用其最自信的错误
  • 提出误差独立性假设(EIA)作为纠正膨胀的必要条件:信号必须追踪真相且与记忆偏差去相关
  • LUCID去膨胀算法在BIRD text-to-SQL基准测试上达到56.9%执行准确率,超越Memento式自评分代理(54.0%)和无记忆代理(52.4%)
  • 膨胀问题不仅出现在按存储分数检索时,也出现在纯相似度检索场景(即部署代理实际使用的模式)

为什么值得看

本文揭示了自我改进LLM代理系统中一个关键但被忽视的失败模式——记忆奖励膨胀,为构建可靠的无权重更新学习系统提供了理论保障和实用算法。对从事Agent系统、记忆增强LLM和自改进AI的研究者具有重要参考价值。

技术解析

  • 问题定义:自我改进LLM代理将每个episode存储在外部记忆中并评分,部署时缺乏ground-truth标签,存储的奖励仅为LLM评估,导致错误episode被过度评分
  • 理论贡献:形式化证明误差独立性假设(EIA)是纠正膨胀的必要条件,可恢复收益是"追踪真相程度"和"与记忆偏差去相关程度"的闭式函数
  • 算法方案:提出LUCID去膨胀算法,无需答案即可纠正记忆中的奖励膨胀
  • 实验结果:在BIRD text-to-SQL基准测试上,LUCID达到56.9%执行准确率,相比Memento式自评分代理提升2.9个百分点(跨种子均值),相比无记忆同架构代理提升4.5个百分点
  • 泛化性验证:证明膨胀在按存储分数检索和纯相似度检索两种模式下均会累积

行业启示

  • 自我改进Agent系统必须解决记忆中的奖励校准问题,否则错误会累积而非平均化,导致性能持续退化
  • 无真实标签场景下的验证器设计需同时满足"准确性"和"误差独立性"两个维度,单一维度的优化不足以纠正系统性偏差
  • LUCID等去膨胀算法为部署级记忆增强Agent提供了可落地的可靠性保障方案

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Agent Agent Research 科学研究 Alignment 对齐 Evaluation 评测