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

神经分页:为图灵完备智能体学习上下文管理策略

Neural Paging: Learning Context Management Policies for Turing-Complete Agents

Liang Chen, Qi Liu

AI总结:

本文提出神经分页架构,通过解耦符号推理与信息资源管理,提升图灵完备智能体的上下文处理效率和鲁棒性。

摘要:

证明大型语言模型(LLMs)通过外部读写内存增强构成计算通用系统的方法,已经为通用智能体奠定了理论基础。然而,现有实现面临关键瓶颈:有限且昂贵的上下文窗口,其功能并非无限内存,而是稀缺的语义缓存。在本文中,我们引入了神经分页,一种分层架构,将符号推理与信息资源管理解耦。我们提出了上下文分页问题(CPP)并提出了一种轻量级、可微的分页控制器,旨在近似“语义Belady最优性”——在显式假设的访问模式下保留具有高未来效用的token。我们提供了理论分析,表明在有限上下文窗口大小K下,神经分页将长周期推理的渐近复杂度从二次O(N²)降低到O(N·K²),并推导出鲁棒性界限(定理4),该界限量化了在策略依赖访问下受有界敏感性影响的竞争比退化。我们在合成分页轨迹上验证了这些界限,确认了理论保证的有效性,并识别了显著的余量,这激励了学习策略。

英文摘要:

The proof that Large Language Models (LLMs) augmented with external read-write memory constitute a computationally universal system has established the theoretical foundation for general-purpose agents. However, existing implementations face a critical bottleneck: the finite and costly Context Window, which functions not as infinite memory but as a scarce semantic cache. In this work, we introduce \textit{Neural Paging}, a hierarchical architecture that decouples symbolic reasoning from information resource management. We formulate the \textit{Context Paging Problem (CPP)} and propose a lightweight, differentiable \textit{Page Controller} designed to approximate ``Semantic Belady's Optimality'' -- retaining tokens with high future utility under explicit assumptions on access patterns. We provide theoretical analysis showing that, under bounded context window size~$K$, Neural Paging reduces the asymptotic complexity of long-horizon reasoning from quadratic $O(N^2)$ to $O(N \cdot K^2)$, and we derive a robustness bound (Theorem~4) that quantifies competitive-ratio degradation under policy-dependent access with bounded sensitivity. We validate these bounds on synthetic paging traces, confirming that the theoretical guarantees hold and identifying significant slack that motivates learned policies.

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

↑