内核管理共享内存实现系统级个性化
Kernel-Managed Shared Memory for System-Wide Personalization
新系统让AI助手共享用户记忆,GPT-4o等模型个人化分数提升2-4分,响应速度提高15-61%。
研究人员提出内核管理共享内存系统,在AIOS平台上实现并评估。该系统在GPT-4o、Llama-3.1:8B和Qwen-2.5:7B三个模型上进行测试,共1800次试验。相比未管理的外部内存后端,内核管理检索和注入在5分制量表上提升2.4-4.0分个人化分数。与标准检索增强注入相比,所有三个模型均获得显著提升。与完整上下文连接相比,内核管理注入在两个模型上性能相当,在第三个模型上略有差距,但端到端延迟降低15-61%。
Kernel-Managed Shared Memory for System-Wide Personalization
AI systems become more useful when they can adapt to the people using them, but in multi-agent systems, useful context learned by one agent often remains unavailable to others. We present kernel-managed shared memory, a system-level abstraction in which specialized agents write structured, tagged memories while the agent-system kernel, not individual agents, governs retrieval, privacy enforcement, and prompt injection. We implement and evaluate this design on AIOS and compare it against three alternatives across three assistant models (GPT-4o, Llama-3.1:8B, Qwen-2.5:7B) and 1,800 total trials. Against an unmanaged external memory backend (Mem0) using identical underlying storage, kernel-managed retrieval and injection improve personalization scores by 2.4-4.0 points on a 5-point scale (e.g., 1.05 to 4.69 profile usage on GPT-4o), with every comparison significant at p < 10^-18. Against standard retrieval-augmented injection, gains are similarly large and consistent across all three models. Against full, unfiltered context concatenation, a soft ceiling on available context rather than on response quality, kernel-managed injection statistically matches performance on two of three models and shows a small, model-specific deficit on the third, while using substantially shorter prompts: end-to-end latency is 15-61% lower across all three models, with corresponding reductions in per-call token usage and inference cost. These results indicate that centralizing memory management in the agent-system kernel, rather than leaving retrieval and privacy enforcement to individual agents, delivers most of the personalization benefit of unconstrained context at a fraction of its cost.