面向多角色人工智能学习伴侣的分层记忆检索与反幻觉方法
A Layered Memory Retrieval and Anti-Hallucination Method for Multi-Persona AI Learning Companions
摘要: 针对多角色学习伴侣场景下记忆共享缺乏隐私边界、检索排序单一、注入记忆易诱发幻觉的问题,提出一种分层记忆检索与反幻觉方法:设计learning/casual/emotional三级可见性模型,实现学习记忆跨角色共享、情绪记忆隐私隔离;提出融合相似度、重要度、时间衰减与模式加权的检索排序,结合低分阈值实现无关查询拒绝;构建记忆注入的反幻觉约束。在408考研场景合成评测集上,方法Recall@5达0.91、正确拒绝全部无关查询(6/6),跨角色私密记忆泄漏由29~44降至0;加入grounding规则后误引率由40.0%降至13.3%。
Abstract: To address privacy-boundary, ranking, and memory-injection hallucination issues in multi-persona AI learning companions, this paper proposes a layered memory retrieval and anti-hallucination method. A three-level visibility model (learning/casual/emotional) enables cross-persona sharing of learning memories, conditional sharing of casual memories by importance, and privacy isolation of emotional memories. A ranking strategy integrating similarity, importance, time decay, and mode weighting, combined with a low-score threshold, rejects irrelevant queries; anti-hallucination grounding rules suppress injection hallucination. On a synthetic 408 postgraduate benchmark, the method achieves Recall@5 of 0.91, rejects all irrelevant queries (6/6), and reduces cross-persona private leakage from 29~44 to 0. Ablation verifies each module; the grounding rule cuts the memory misquote rate from 40.0% to 13.3%.
参考文献
|
[1]
|
Liu, D., Wu, Z., Song, D. and Huang, H. (2025) A Persona-Aware LLM-Enhanced Framework for Multi-Session Personalized Dialogue Generation. Findings of the Association for Computational Linguistics: ACL 2025, Vienna, July 2025, 103-123. https://doi.org/10.18653/v1/2025.findings-acl.5
|
|
[2]
|
Alonso, N., Figliolia, T., Ndirango, A., et al. (2024) Toward Conversational Agents with Context and Time Sensitive Long-Term Memory. https://arxiv.org/abs/2406.00057
|
|
[3]
|
Xia, M., Zhang, X., Dixit, S., et al. (2026) Memora: A Harmonic Memory Representation Balancing Abstraction and Specificity. https://arxiv.org/abs/2602.03315
|
|
[4]
|
Wang, Q., Fu, Y., Cao, Y., Wang, S., Tian, Z. and Ding, L. (2025) Recursively Summarizing Enables Long-Term Dialogue Memory in Large Language Models. Neurocomputing, 639, Article 130193. https://doi.org/10.1016/j.neucom.2025.130193
|
|
[5]
|
吴璇, 付涛. 检索增强生成技术研究综述[J]. 计算机工程与应用, 2025, 61(20): 19-35.
|
|
[6]
|
Wang, G., Nie, C., Wang, Z., Zhai, Y., Zhou, J., Haitao, S., et al. (2026) Dual-Perspective Cognitive Architecture for Long-Term Dialogue Memory. Neurocomputing, 700, Article 134419. https://doi.org/10.1016/j.neucom.2026.134419
|
|
[7]
|
张莉, 那蓉萃, 张晓辉. 基于自适应问题分解的检索增强生成方法[J]. 中文信息学报, 2026, 40(2): 21-29+40.
|
|
[8]
|
杨可颖, 冉洁茹, 刘瑞林, 等. 教育大模型在国产算力平台上的部署与实践——基于智谱清言大模型的个性化学习支持系统构建[J]. 计算机教育, 2025(12): 127-133.
|