跳到正文
arXiv (AI + Vision + Imaging)· Yichuan Chen, Xin Wang·· 1 天前AI 评分30

主动记忆召回中的规模代价:记忆库越大,相似度阈值越容易误报

The Price of Scale in Proactive Memory Recall

AI 导读

在 LongMemEval 回放中,按 N=8 时 5% 误报率调好的相似度阈值,到 N=2048 时误报率升至 84-100%。论文证明阈值门控的逐项误报率约为 -ln(1-alpha)/N,把命中率压在 ROC 最左侧;在误报率匹配时,部署的评分比原始余弦相似度多召回 14-26 个百分点。

正文 · 原文

arXiv:2610.34507v4 Announce Type: replace Abstract: An assistant that brings up memories unasked must decide at every turn whether anything in its store is worth an interruption. This decision is a multiple-testing problem whose difficulty grows with store size N. On replays of LongMemEval, a similarity threshold tuned to 5% false alarms at N=8 reaches 84-100% at N=2048 across embedding models and cue types; LoCoMo and LLM judges show it too. We prove that a gate which thresholds the best of N independent irrelevant scores at false-alarm rate alpha works at a per-item false-positive rate of about -ln(1-alpha)/N, which pins its hit rate to the far left of the ROC and makes it regularly varying in N under regular variation. If the relevant memory is equally likely to be any of the N, whatever a gate reads and however it decides, at false-alarm rate alpha it hits at most alpha+sqrt(alpha(1-alpha)chi^2/N), with chi^2 the divergence between a relevant and an irrelevant memory, and with equal-variance binormal scores the best-score gate is optimal. At matched false alarms the deployed score recalls 14-26 points more than raw cosine. A cue-swap conformal gate, which ranks the current cue among other cues on the store, has a finite-sample false-alarm guarantee under exchangeability. With the user's unfiltered history as background it keeps false alarms at 3-6% on LongMemEval at the hit rate of a label-tuned threshold; on LoCoMo it overshoots or turns conservative depending on the source of its reference cues. In a chronological replay with the user's earlier messages as references, it fires on 5-8% of questions on stores without their answer and on 6-8% of session-opening turns, against 57% for the deployed gate at N=2048. A cross-encoder pays the same price, and on a prospective-memory benchmark similarity gates recall at most 9% of constraints at controlled false alarms. Code and data: https://github.com/RiverChenStillCompiling/price-of-scale

来源:arXiv (AI + Vision + Imaging) · arxiv.org