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

大型语言模型中的内在张量场传播:一种上下文信息流的新方法

Intrinsic Tensor Field Propagation in Large Language Models: A Novel Approach to Contextual Information Flow

Alfred Bexley, Lukas Radcliffe, Giles Weatherstone, Joseph Sakau

AI总结:

本文提出内在张量场传播(ITFP)方法,通过连续张量场建模上下文关系,增强注意力机制,实验表明其在上下文保留、依赖解析和推理稳定性上优于基线模型,并具有良好的领域泛化能力。

摘要:

上下文传播仍然是语言模型架构中的一个核心挑战,尤其是在需要保留长距离依赖关系的任务中。传统的注意力机制虽然在许多应用中表现有效,但由于其依赖于离散的标记交互,在维持长序列上的连贯上下文表示方面存在局限性。通过内在张量场传播(ITFP)的提出,引入了一种新方法,该方法将上下文关系建模为分布在标记嵌入上的连续张量场。传播动力学通过微分方程进行控制,使得上下文信息能够结构化流动,增强标准注意力机制以提高连贯性和召回能力。在一系列基于开源Transformer模型的实验中,ITFP在上下文保留、依赖解析和推理稳定性方面提供了可衡量的改进,这些改进体现在各种语言结构中。与基线模型的比较显示,句法不一致和事实错误有所减少,而消融研究表明,传播深度和集成强度的选择对模型性能有显著影响。额外的评估评估了领域泛化能力,表明ITFP能够有效适应不同的文本体裁,增强了其在传统语言建模任务之外的适用性。尽管引入张量场计算带来了计算上的权衡,但实证结果表明,准确性和连贯性方面的收益超过了增加的处理需求。

英文摘要:

Context propagation remains a central challenge in language model architectures, particularly in tasks requiring the retention of long-range dependencies. Conventional attention mechanisms, while effective in many applications, exhibit limitations in maintaining coherent contextual representations over extended sequences due to their reliance on discrete token interactions. A novel approach is introduced through the formulation of Intrinsic Tensor Field Propagation (ITFP), which models contextual relationships as continuous tensor fields distributed across token embeddings. The propagation dynamics are governed through differential equations that enable a structured flow of contextual information, augmenting the standard attention mechanism to enhance coherence and recall. A series of experiments conducted on an open-source transformer-based model demonstrate that ITFP provides measurable improvements in contextual retention, dependency resolution, and inference stability across various linguistic structures. Comparisons with baseline models reveal a reduction in syntactic inconsistencies and factual errors, while ablation studies indicate that the choice of propagation depth and integration strength significantly impacts model performance. Additional evaluations assessing domain generalization suggest that ITFP effectively adapts across different text genres, reinforcing its applicability beyond conventional language modeling tasks. Although computational trade-offs are introduced through the inclusion of tensor field computations, empirical findings suggest that the benefits in accuracy and coherence outweigh the increased processing demands.

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

↑