arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.34507cs.CLcs.AIcs.IRstat.ML
收藏

主动记忆召回中的规模代价

The Price of Scale in Proactive Memory Recall

School of Art and Design, Zhejiang Sci-Tech University(浙江理工大学艺术与设计学院)

Yichuan Chen, Xin Wang

AI总结:

研究主动记忆召回中,记忆库规模增大时决策难度随之提升的问题,通过理论分析与实验验证,提出并验证了相关阈值调整方法与无标签的 conformal 门控机制,揭示了规模带来的代价及优化方案。

摘要:

一个无需被询问就能调出记忆的长期助手,必须在每一个节点判断其存储中是否有值得打断的内容。我们证明,这一判断是一个多重检验问题,其难度随存储规模的增大而提升$N$。在LongMemEval和LoCoMo的流重播中,针对$N=8$调整到5%误报率的相似度阈值,在$N=2048$下达到87-100%,适用于各类嵌入模型以及显性和隐性线索;大语言模型评判者显示出从更低基准开始的相同增长。我们证明,具有误报率$\alpha$的门控机制,其每一项的误报率约为$-\ln(1-\alpha)/N$,这将其命中率固定在单比较ROC曲线的最左侧,且在正则变化下,使其以$N$的幂次衰减,并带有明确常数。所得预测与每$N$神谕阈值的命中率相差在1个百分点以内。该分析解释了为何词汇和语义通道需要形如$\ln N$和$\sqrt{\ln N}$的增长阈值,以及为何每线索归一化在匹配误报率下大致使命中率翻倍。线索交换 conformal 门控机制无需标签,且在可交换性下具有有限样本误报保证;在LongMemEval上,其误报率保持在5%附近,达到标签调整阈值的命中率。三名标注者(Fleiss' $\kappa=0.63$)发现,约十分之九的误报是真正值得打断的内容。代码和数据:此https URL

英文摘要:

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

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑