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

用于长周期科学代理的事件-语义记忆架构

Episodic-Semantic Memory Architecture for Long-Horizon Scientific Agents

Serbian Institute for Artificial Intelligence Research and Development(塞尔维亚人工智能研究与发展研究所);Bayer A.G.(勃林格殷曼有限公司)

Nikola Milosevic

AI总结:

本文提出了一种双过程记忆架构,用于解决科学代理在长周期任务中面临的情境窗口饱和问题,通过分离即时事件需求和长期知识整合,提升了在大规模科学工作流中的表现和可扩展性。

摘要:

随着大型语言模型(LLMs)发展为持久的科学合作者,情境窗口饱和已成为关键瓶颈。涉及迭代数据分析和假设修正的科学工作流迅速耗尽即使扩展的情境,而单一方法面临二次成本扩展和认知退化。我们评估了一种双过程记忆架构,将即时事件需求(恒定10条消息窗口)与长期整合知识(以每条消息约3个标记增长)分离。不同于先前的社会代理记忆系统,我们的领域特定整合解决了矛盾的参数演变、跨实验阶段的多跳推理以及精确的技术事实保留。通过覆盖15,000条消息的大型评估,跨模型验证六个LLM家族(OpenAI、Anthropic、Google)共计1,440个查询,我们得出三个关键发现。首先,尽管全情境模型在10,000条消息时因情境溢出失败,我们的系统在使用62%更少的标记(45,434 vs 120,000+限制)的情况下,保持70-85%的准确性,延迟仅1-2秒。其次,跨模型验证揭示了架构层面的权衡,与特定LLM无关:双过程在数值/时间查询(65-90%准确率)方面表现优异,而RAG在历史检索(60-85%)方面更优,表明互补的部署策略。第三,我们识别出“仿真到现实”的差距,合成测试保持恒定的记忆,但现实工作流表现出线性增长(约每条消息3个标记),其中整合质量成为主要的可扩展性瓶颈。该架构成功管理了包含14,000多个科学事实(125k标记)的资料,证明了领域特定的记忆整合能够持续运行超过全情境限制。

英文摘要:

As Large Language Models (LLMs) evolve into persistent scientific collaborators, context window saturation has emerged as a critical bottleneck. Scientific workflows involving iterative data analysis and hypothesis refinement rapidly saturate even extended contexts with dense technical content, while monolithic approaches suffer from quadratic cost scaling and cognitive degradation. We evaluate a Dual Process Memory Architecture that decouples immediate episodic needs (constant 10-message window) from long-term consolidated knowledge (growing at approximately 3 tokens/message). Unlike prior social agent memory systems, our domain-specific consolidation addresses contradictory parameter evolution, multi-hop reasoning across experimental phases, and precise technical fact retention. Through large-scale evaluation spanning 15,000 messages with cross-model validation across six LLMs from three families (OpenAI, Anthropic, Google), totaling 1,440 queries, we establish three key findings. First, while full-context models fail at 10,000 messages due to context overflow, our system maintains 70-85% accuracy with 1-2 second latency using 62% fewer tokens (45,434 vs 120,000+ limit). Second, cross-model validation reveals architecture-level trade-offs independent of specific LLMs: Dual Process excels at numeric/temporal queries (65-90% accuracy) while RAG excels at historical retrieval (60-85%), suggesting complementary deployment strategies. Third, we identify a "Sim-to-Real" gap where synthetic tests maintain constant memory but realistic workflows exhibit linear growth (about 3 tokens/message), with consolidation quality emerging as the primary scalability bottleneck. The architecture successfully manages profiles with 14,000+ scientific facts (125k tokens), demonstrating that domain-specific memory consolidation enables sustained operation beyond full-context limits.

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

↑