arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.09807cs.CL
收藏

两层对话记忆中的压缩、衰减与强化:与检索增强生成的配对评估

Compaction, decay and reinforcement in a two-tier conversational memory: a paired evaluation against retrieval-augmented generation

University of Bradford(布拉德福德大学)

Osamudiamen Edogun, Joshua Obigwe, Irfan Mehmood

AI总结:

该研究对比了两层对话记忆的压缩方案与检索增强生成在LoCoMo数据集上的表现,发现压缩方案在多数类别中领先,仅在对抗集等场景下表现不佳。

摘要:

具备记忆能力的对话智能体必须决定保留什么内容。检索增强生成(Retrieval-Augmented Generation,RAG)会保留对话记录并对其进行搜索;另一种方案是将每一轮对话压缩为原子事实并对这些事实进行搜索。我们在LoCoMo数据集上对这两种方案进行了比较,两个分支在同一个窗口内回答全部1985个问题,使用相同的存储库、相同的生成器和评判器,且两个分支的预测结果在同一行中,这使得我们可以对512个存在分歧的问题进行McNemar精确检验。在可比工作报告的四个类别中,压缩方案的得分为71.4%,而基线方案为64.6%,领先6.8个百分点(p=5.5e-08),同时提示词标记数减少了34%。在所有五个类别(包括可比工作中基线方案表现下降的对抗集)中,领先幅度降至2.0个百分点且不再具有统计学显著性,因为基线方案在对抗集上领先14.6个百分点。这种性能损失具有一定的结构:当参考答案需要更多源文本措辞时,我们的领先幅度会下降,在参考答案包含1或2个单词时领先9.6个百分点,在参考答案超过8个单词时落后3.1个百分点,而标记重叠度也以相同方式变化,因此评判器并非导致该结果的原因。压缩方案保留事实所断言的内容并丢弃其表述方式,因此在答案为一个值时胜出,而在答案为特定表述时落败。我们还报告了四个带有功效计算的负面结果。

英文摘要:

A conversational agent that remembers has to decide what to keep. Retrieval-augmented generation keeps the transcript and searches it; the alternative is to compact each turn into atomic facts and search those. We compare the two on LoCoMo, with both arms answering all 1,985 questions in one window, against the same stores, with the same generator and judge, and both predictions on one row, which licenses McNemar's exact test on the 512 questions where they disagree. On the four categories comparable work reports, compaction scores 71.4 per cent against 64.6, a lead of 6.8 points (p = 5.5e-08) at 34 per cent fewer prompt tokens. On all five, including the adversarial set comparable work drops, the lead falls to 2.0 and stops being significant, because the baseline leads adversarial by 14.6. That loss has a structure. Our lead falls as the reference answer demands more source wording, 9.6 points ahead at one or two reference words and 3.1 behind past eight, with token overlap moving the same way, so the judge is not the cause. Compaction keeps what a fact asserts and discards how it was said, so it wins where the answer is a value and loses where it is a phrasing. We also report four negative results with their power calculations.

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

↑