arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2606.29256stat.MLcs.LG
收藏

Transformer在分布回归中的泛化分析

Generalization Analysis of Transformers in Distribution Regression

School of Mathematics and Statistics, University of Sydney(悉尼大学数学与统计学学院)

Peilin Liu, Ding-Xuan Zhou

AI总结:

提出基于分布回归的Transformer学习框架,通过注意力算子实现分布到函数表示的无损压缩,并证明其在学习复杂结构泛函上优于CNN和全连接网络,最后给出泛化界并解释大模型技术原理。

摘要:

近年来,基于Transformer架构的模型得到了广泛应用,并成为深度学习领域的核心工具之一。围绕其应用,许多成功的技术(如参数高效微调和高效缩放)被提出以进一步提升性能。然而,这些策略的成功一直缺乏严格数学理论的支持。为了研究Transformer及相关技术背后的机制,我们首先提出一个受分布回归启发的Transformer学习框架,其中分布作为输入,将两阶段采样过程与自然语言处理联系起来,并给出注意力机制的数学形式——注意力算子。我们证明,通过注意力算子,Transformer可以将分布压缩为函数表示而不损失信息。此外,凭借我们新颖的注意力算子的优势,Transformer在学习具有更复杂结构的泛函方面比卷积神经网络和全连接网络表现出更强的能力。最后,我们在分布回归框架内得到了泛化界。通过上述理论结果,我们进一步讨论了大语言模型(LLM)中出现的一些成功技术,如提示调优、参数高效微调和高效缩放。我们还在我们的新分析框架内为这些技术提供了理论见解。

英文摘要:

In recent years, models based on the Transformer architecture have seen widespread applications and have become one of the core tools in the field of deep learning. Numerous successful techniques, such as parameter-efficient fine-tuning and efficient scaling, have been proposed surrounding their applications to further enhance performance. However, the success of these strategies has always lacked the support of rigorous mathematical theory. To study the underlying mechanisms behind Transformers and related techniques, we first propose a Transformer learning framework motivated by distribution regression, with distributions being inputs, connect a two-stage sampling process with natural language processing, and present a mathematical formulation of the attention mechanism called attention operator. We demonstrate that by the attention operator, Transformers can compress distributions into function representations without loss of information. Moreover, with the advantages of our novel attention operator, Transformers exhibit a stronger capability to learn functionals with more complex structures than convolutional neural networks and fully connected networks. Finally, we obtain a generalization bound within the distribution regression framework. Through the aforementioned theoretical results, we further discuss some successful techniques emerging with large language models (LLMs), such as prompt tuning, parameter-efficient fine-tuning, and efficient scaling. We also provide theoretical insights behind these techniques within our novel analysis framework.

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

↑