arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28864cs.AIcs.CL
收藏

认知范畴变换器:用于语言建模的范畴论归纳偏置

The Cognitive Categorical Transformer: Category-Theoretic Inductive Biases for Language Modeling

Manceps Inc.(Manceps公司)

Al Kari

AI总结:

提出认知范畴变换器(CCT),通过引入基于范畴论和认知科学的组件,在WikiText-103上以306M参数实现21.27验证困惑度,相比GPT-2 Small基线降低2.92 PPL(12%相对提升),并通过消融实验证实单纯复形消息传递贡献了84%的改进。

摘要:

认知范畴变换器(CCT)是一个306M参数的架构,它通过源自范畴论和认知科学的认知启发组件增强了预训练的GPT-2 Small骨干网络。在WikiText-103上采用匹配步数协议(215,000优化器步数、匹配数据、匹配优化器和调度)下,CCT达到21.27验证困惑度,而相同微调的GPT-2 Small基线为24.19。因此,该架构在领域内微调本身之外贡献了2.92 PPL(12%相对)的降低。一个从头开始重训练的消融实验,在整个七阶段激活调度中保持GT-Full单纯复形消息传递绕过,达到23.72 PPL,将84%的架构改进(2.45 of 2.92 PPL)归因于GT-Full。我们首次提供了消融验证的证据,表明单纯复形消息传递在WikiText-103上以306M参数规模改善了语言模型困惑度。已发表的GPT-2 Large在WikiText-103上以比GPT-2 Small多6.2倍的参数达到22.05零样本困惑度;本文将这一数字视为外部已发表参考,而非架构基准。关于一致性风格的范畴先验(层平滑、伴随往返、曲率正则化)的三个负面结果,以及GT-Full和PrecisionWeightedPP的联合结构先验结果,共同支持了一个经验模式,称为*结构/一致性区分*,其中添加新拓扑的范畴先验改善了语言建模,而强制执行一致性恒等式的范畴先验则没有。

英文摘要:

The Cognitive Categorical Transformer (CCT) is a 306M-parameter architecture that augments a pretrained GPT-2 Small backbone with cognitively grounded components derived from category theory and several inspirations from cognitive science. Under a matched-step protocol (215,000 optimizer steps, matched data, matched optimizer and schedule) on WikiText-103, CCT reaches 21.27 validation perplexity, compared with 24.19 for an identically fine-tuned GPT-2 Small baseline. The architecture therefore contributes a 2.92 PPL (12% relative) reduction beyond what in-domain fine-tuning alone provides. A retrain-from-scratch ablation that holds GT-Full simplicial message passing bypassed across the entire seven-phase activation schedule reaches 23.72 PPL, localizing 84% of the architectural improvement (2.45 of 2.92 PPL) to GT-Full. We present the first ablation-validated evidence that simplicial message passing improves language-model perplexity at the 306M-parameter scale on WikiText-103. Published GPT-2 Large reaches 22.05 zero-shot PPL on WikiText-103 with 6.2x more parameters than GPT-2 Small; this paper treats that number as an external published reference, not as the architectural benchmark. Three negative results on consistency-style categorical priors (sheaf smoothing, adjunction round-trip, curvature regularization) and the joint structural-prior result for GT-Full and PrecisionWeightedPP together support an empirical pattern termed the *structure/consistency distinction*, in which categorical priors that add new topology improve language modeling and those that enforce a consistency identity do not.

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

↑