arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2511.17840cs.LGmath.CT
收藏

在分级变换器中内化工具作为态射

Internalizing Tools as Morphisms in Graded Transformers

Department of Computer Science and Engineering(计算机科学与工程系);Oakland University(奥克兰大学)

Tony Shaska

AI总结:

本文提出了一种基于分级变换器的内部符号计算方法,通过可微路由策略实现符号运算的态射激活,统一了符号计算、几何和自监督学习。

摘要:

我们引入了一种分级形式的内部符号计算方法用于变换器。隐藏空间被赋予一个分级$V=\bigoplus_{g\in G}V_g$,并且符号运算被实现为带类型块映射(态射)$\phi_{h\leftarrow g}:V_g\to V_h$,这些态射通过可微的路由策略被选择性激活。一个自监督的分级效用函数被定义为候选态射引起的损失减少,它控制激活并产生稀疏、可解释的行为。我们开发了代数和几何基础:一个内部模型范畴,其对象是同质成分,其态射是允许的等级转换;编码带类型的往返的伴随对;以及以KL增益、镜像下降与Bregman散度以及Fisher自然梯度的形式解释信息几何。方法上,我们指定了一个效用意识的路由机制和目标,这些保持完全端到端可微。分析案例研究和轻量级合理性检查展示了在混合符号-语言任务上的选择性态射激活。该框架在分级变换器形式化$\cite{sh-89,sh-95}$内统一了符号计算、几何和自监督学习,同时通过函子内化将先前的外部工具范式(例如Toolformer$\cite{toolformer2023}$)作为特殊情况所包含。

英文摘要:

We introduce a graded formulation of internal symbolic computation for transformers. The hidden space is endowed with a grading $V=\bigoplus_{g\in G}V_g$, and symbolic operations are realized as typed block maps (morphisms) $ϕ_{h\leftarrow g}:V_g\to V_h$ that are activated selectively by a differentiable routing policy. A self-supervised \emph{graded utility functional}, defined as the loss reduction induced by a candidate morphism, governs activation and yields sparse, interpretable behavior. We develop the algebraic and geometric foundations: an internal model category whose objects are homogeneous components and whose morphisms are admissible grade transitions; adjoint pairs encoding typed round trips; and information-geometric interpretations in terms of KL gain, mirror descent with Bregman divergences, and Fisher natural gradients. Methodologically, we specify a utility--aware routing mechanism and objective that remain fully end-to-end differentiable. Analytic case studies and lightweight sanity checks illustrate selective morphic activation on hybrid symbolic-linguistic tasks. The framework unifies symbolic computation, geometry, and self--supervised learning within the \emph{graded transformer} formalism \cite{sh-89,sh-95}, while subsuming prior external-tool paradigms (e.g., Toolformer \cite{toolformer2023}) as a special case via functorial internalization.

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

↑