EASE-KV:诊断内存可用性与有效利用之间的差距
EASE-KV: Diagnosing the Gap Between Memory Availability and Effective Use
AI总结:
提出EASE-KV框架,发现KV内存需编码关系、分配影响及监督区分优劣,因果编码提升组合准确率25.0个百分点,诊断引导分配提升LongMemEval准确率7.2个百分点。
摘要:
可复用键值(KV)内存可避免重复预填充检索到的文本,但存储和注入的内存未必能成为可用证据。我们提出EASE-KV,这是一个在固定候选集和冻结语言模型下理解该差距的受控框架。EASE-KV划分了三个接口:编码过程中是否保留所需关系、保留的内存是否在分配过程中获得适当影响、结果监督是否能识别有用的分配。匹配实验显示,因果编码相比块对角编码将组合准确率提升了25.0个百分点,而测试的推理时桥接方法无法恢复丢失的上下文信息。在存储状态不变的情况下,诊断证据引导的分配将LongMemEval准确率从31.2%提升至38.4%,证明无需重新编码即可控制内存影响。然而,可控性不保证可学习性:二元正确性为53.0%的采样查询组提供了有信息的奖励对比,而在评估的塑形奖励设置下该比例为73.6%。这些发现表明,有效的KV内存仅靠检索和注入是不够的:必须编码所需关系,保留的内存必须获得适当影响,且监督必须区分优劣分配。
英文摘要:
Reusable key-value (KV) memory avoids repeatedly prefilling retrieved text, but stored and injected memories do not necessarily become usable evidence. We present EASE-KV, a controlled framework for understanding this gap under fixed candidates and a frozen language model. EASE-KV separates three interfaces: whether required relations are preserved during encoding, whether preserved memories receive appropriate influence during allocation, and whether outcome supervision can identify useful allocations. Matched experiments show that causal encoding improves compositional accuracy by 25.0 percentage points over block-diagonal encoding, while the tested inference-time bridging methods fail to recover the lost contextual information. With unchanged stored states, diagnostic evidence-guided allocation improves LongMemEval accuracy from 31.2% to 38.4%, demonstrating that memory influence can be controlled without re-encoding. However, controllability does not guarantee learnability: binary correctness provides informative reward contrast for 53.0% of sampled query groups, compared with 73.6% under the evaluated shaped-reward setting. These findings show that effective KV memory requires more than retrieval and injection: the required relations must be encoded, preserved memories must receive appropriate influence, and supervision must distinguish better allocations from worse ones.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。