Apple 提出面向 Agentic LLM 系统的共享选择性持久记忆架构

Apple Machine Learning Research(RSS)·2026-09-16 08:00·16小时前
AI 导读

Apple 提出共享选择性持久记忆架构,只保留任务规格、数据 schema、工具配置和输出约束四类可复用上下文,丢弃会话专属推理轨迹。在三类企业部署场景中任务完成率达 96%,高于无记忆的 79% 和全量历史记忆的 71%;零 token 数据刷新机制免去重复调用模型,任务耗时降低 14×,摘要驱动生成使单次调用 token 成本较原始数据注入降低 97×。

Apple Machine Learning Research(RSS)
43AI 编辑部评分,满分 100

Apple 提出面向 Agentic LLM 系统的共享选择性持久记忆架构

2026-09-16 08:00· 16小时前
AI 导读

Apple 提出共享选择性持久记忆架构,只保留任务规格、数据 schema、工具配置和输出约束四类可复用上下文,丢弃会话专属推理轨迹。在三类企业部署场景中任务完成率达 96%,高于无记忆的 79% 和全量历史记忆的 71%;零 token 数据刷新机制免去重复调用模型,任务耗时降低 14×,摘要驱动生成使单次调用 token 成本较原始数据注入降低 97×。

Agentic LLM systems that generate code through multi-turn tool use face a fundamental context problem: each session starts from zero, discarding the configuration choices, domain constraints, data schemas, and tool-use patterns that made previous sessions productive. Naively persisting entire conversation histories is both token-inefficient and counterproductive—irrelevant context degrades generation quality. We introduce shared selective persistent memory, a memory architecture for agentic systems that identifies and retains four categories of reusable context—task specifications, data schemas, tool configurations, and output constraints—while discarding session-specific reasoning traces.

Crucially, this memory is shared: workspaces encapsulating selective memory can be transferred across users with role-based access control, enabling collaborative reuse of accumulated context without redundant specification. We implement this architecture in a deployed collaborative workspace platform where LLM agents produce, edit, and maintain git-versioned artifacts—including interactive dashboards, structured reports, and data-driven documents—from heterogeneous data sources accessed via multiple connector types (CSV upload, SQL, REST APIs, and MCP servers).

Git-backed versioning with draft isolation enables users to explore modifications risk-free and restore to any prior state without re-invoking the model. A complementary zero-token data refresh mechanism decouples generated programs from runtime data, enabling artifact reuse without re-invocation. Across three enterprise deployment scenarios, shared selective persistent memory achieves 96% task completion (vs. 79% without memory and 71% with full history). A complementary zero-token data refresh mechanism eliminates LLM re-invocation entirely for recurring data updates (14×task time reduction), while summary-driven generation reduces per-invocation token cost by 97×versus raw data injection.

A replication on four public datasets confirms generalizability, with zero-token refresh succeeding in 12/12 trials. Notably, naive full-history persistence actively degrades task completion by biasing the agent with stale reasoning traces, while selective memory outperforms both extremes.

来源:Apple Machine Learning Research(RSS)· machinelearning.apple.com