arXiv:2509.25250cs.AIcs.SE2025-09被引 3

为长期运行的低代码智能体设计混合记忆系统,解决记忆膨胀与上下文失真问题。

Memory Management and Contextual Consistency for Long-Running Low-Code Agents

  • 结合情景与语义记忆,引入智能衰减机制动态清理或合并记忆。
  • 实验显示任务完成率提升,上下文一致性增强,长期令牌成本降低。
  • 提供可视化界面,让非技术用户直接管理记忆内容,契合低代码理念。

AI原生的低代码/无代码(LCNC)平台使能够执行复杂长期业务流程的自主智能体成为可能。然而,一个根本性挑战依然存在:记忆管理。随着智能体长时间运行,会出现“记忆膨胀”和“上下文退化”问题,导致行为不一致、错误累积及计算成本上升。本文提出一种专为LCNC智能体设计的新型混合记忆系统。受认知科学启发,该架构融合情景与语义记忆组件,并引入主动式“智能衰减”机制,根据时效性、相关性和用户指定效用的综合评分,智能地修剪或合并记忆。关键创新在于用户中心的可视化界面,与LCNC范式对齐,允许非技术用户通过直观标记来决定哪些事实应保留或遗忘。在模拟的长期任务实验中,我们的系统显著优于传统方法(如滑动窗口和基础RAG),表现出更高的任务完成率、更强的上下文一致性以及更优的长期令牌成本效率。研究结果建立了构建可靠、透明、具备长期学习与适应能力智能体的新框架。

原文摘要 · Abstract (English)

The rise of AI-native Low-Code/No-Code (LCNC) platforms enables autonomous agents capable of executing complex, long-duration business processes. However, a fundamental challenge remains: memory management. As agents operate over extended periods, they face "memory inflation" and "contextual degradation" issues, leading to inconsistent behavior, error accumulation, and increased computational cost. This paper proposes a novel hybrid memory system designed specifically for LCNC agents. Inspired by cognitive science, our architecture combines episodic and semantic memory components with a proactive "Intelligent Decay" mechanism. This mechanism intelligently prunes or consolidates memories based on a composite score factoring in recency, relevance, and user-specified utility. A key innovation is a user-centric visualization interface, aligned with the LCNC paradigm, which allows non-technical users to manage the agent's memory directly, for instance, by visually tagging which facts should be retained or forgotten. Through simulated long-running task experiments, we demonstrate that our system significantly outperforms traditional approaches like sliding windows and basic RAG, yielding superior task completion rates, contextual consistency, and long-term token cost efficiency. Our findings establish a new framework for building reliable, transparent AI agents capable of effective long-term learning and adaptation.

智能体记忆管理低代码上下文一致性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。