超越边际影响:面向大语言模型智能体的交互感知记忆选择
Beyond Marginal Influence: Interaction-Aware Memory Selection for LLM Agents
AI总结:
本研究针对LLM智能体记忆选择的不足,提出交互感知的JointCore方法,引入JointCoreBench基准,在多模型多任务中实现记忆评估与查询次数减少,提升最小代价充分集恢复率。
摘要:
大语言模型(LLM)智能体的记忆选择通常基于记录相关性或个体影响的检索排序,这类排序无法识别冗余或联合必要证据下的充分子集。本研究探讨每决策记忆充分性:选择保留全记忆行为的小子集。为区分搜索误差与模型误差,我们引入JointCoreBench——包含9类交互族、6类工作流域、自然语言决策及精确充分集预言机的基准,以及JointCore——一种先测试模块再测试单条记录的相关性代价排序组删除基线。在6912个精确条件下,代价排序的JointCore在100%的案例中恢复最小代价充分集,将子集评估从30.00次降至11.13次(降幅62.9%),实现87.8%的活跃记忆节省。在4类12B-70B模型族及每模型432个任务中,其未加权均值为10.28次模型查询,而代价感知单例删除的对应值为16.00次;最小代价恢复率为50.6%,对比代价感知单例删除的43.1%。两种方法在确定性主接口下均保留全记忆行为。通过物理删除、UNKNOWN掩码、PENDING哨兵、反事实值及替代标签的测试,识别出接口依赖行为。JointCore是高效的基准基线,本研究未确立可部署的记忆压缩方案。
英文摘要:
LLM-agent memory selection often uses retrieval rankings based on record relevance or individual influence. Such rankings cannot identify sufficient subsets under redundant or jointly necessary evidence. We study per-decision memory sufficiency: selecting a small subset that preserves full-memory behavior. To separate search error from model error, we introduce JointCoreBench, a benchmark with nine interaction families, six workflow domains, natural-language decisions, and exact sufficient-set oracles, and JointCore, a relevance cost-ordered group-deletion baseline that tests blocks before individual records. On 6,912 exact conditions, cost-ordered JointCore recovers a minimum-cost sufficient set in 100.0% of cases, reduces subset evaluations from 30.00 to 11.13 (62.9%), and achieves 87.8% active-memory savings. Across four 12B-70B model families and 432 tasks per model, its unweighted mean is 10.28 versus 16.00 model queries and 50.6% versus 43.1% minimum-cost recovery relative to cost aware singleton deletion. Both methods preserve full-memory behavior under the deterministic primary interface. Tests with physical deletion, UNKNOWN masks, PENDING sentinels, counterfactual values, and alternative labels identify interface dependent behavior. JointCore is an efficient benchmark baseline; the study does not establish deployment-ready memory compression.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。