研究显示语义密度无法预测 LLM 智能体记忆崩溃
Semantic Density Does Not Predict Agent-Memory Collapse
AI 导读
一项覆盖 13 种记忆方法、805 个快照的研究发现,均值余弦相似度等语义密度统计量无法在 LLM 智能体的 held-out 准确率下降前发出可靠预警,ρ 的中位提前量为零。训练的分类器迁移到 PropWorld 最多 5,000 个任务时,误报率达 56.9%,且仅检出 18% 的失败点。唯一失败源于无上限全库提示超出模型输入容量,而 token 增长可直接预测该情况。
正文 · 原文
Abstract:Persistent textual memory can improve LLM agents, but repeated updates can erode task performance. We ask whether memory-store statistics warn before held-out accuracy declines. We registered mean pairwise cosine similarity ($\rho$) and 13 additional geometry, retrieval, and graph statistics on 805 snapshots from 13 memory methods across ALFWorld, AppWorld, ScienceWorld, WebShop, and two ARC-AGI settings. These methods store trajectories, rules, workflows, strategies, or linked records, using selective retrieval or whole-store prompting. No such statistic reliably predicted early signs of task accuracy decline, and $\rho$ had zero median lead. With the checkpoint after peak accuracy as a secondary decline point, measures of highly similar pairs and nearest-neighbor crowding changed earlier but did not consistently outperform stored-item count. We trained classifiers on this corpus and applied them unchanged to PropWorld runs of up to 5,000 crafting tasks. They falsely flagged 56.9% of checkpoints from size-limited stores with stable accuracy and detected only 18% of checkpoints after task success fell to zero. Thus, global semantic density did not provide a reliable warning, while local crowding did not transfer consistently across memory designs. In these long-horizon runs, size-limited stores remained stable, while the sole failure arose when unbounded whole-store prompting exceeded model input capacity, which token growth predicted directly.
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI); Computation and Language (cs.CL) |
| Cite as: | arXiv:2611.33184 [cs.LG] |
| (or arXiv:2611.33184v1 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2611.33184 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yash Choudhary [view email]
[v1]
Wed, 28 Oct 2026 09:00:24 UTC (41 KB)
来源:arXiv cs.AI · arxiv.org