arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.18858cond-mat.dis-nncs.LG
收藏

双线性序列回归:一种从高维标记长序列中学习的模型

Bilinear Sequence Regression: A Model for Learning from Long Sequences of High-dimensional Tokens

Statistical Physics of Computation Laboratory, École Polytechnique Fédérale de Lausanne (EPFL), Switzerland;Department of Computing Sciences, Universita Bocconi, Milan, Italy;Department of Mathematics, ETH Zürich, Switzerland

Vittorio Erba, Emanuele Troiani, Luca Biggio, Antoine Maillard, Lenka Zdeborová

AI总结:

针对高维标记长序列简单可处理模型不足的问题,本文引入双线性序列回归(BSR)模型,计算其贝叶斯最优泛化误差并提出匹配性能的消息传递算法,量化最优学习改进并揭示梯度下降算法特性。

摘要:

当前人工智能的进展围绕着所谓的大型语言模型展开,这些模型由处理称为标记的高维向量长序列的神经网络组成。统计物理学为研究神经网络学习的运作提供了强大工具,并在现代机器学习的发展中发挥了公认的作用。统计物理学方法依赖于简化且可解析处理的数据模型。然而,针对高维标记长序列的简单可处理模型在很大程度上仍未得到充分探索。受单层师生感知器(又称广义线性回归)等模型在全连接神经网络理论中所起关键作用的启发,本文引入并研究了双线性序列回归(BSR),将其作为标记序列最基本的模型之一。我们注意到,由于跳跃连接的存在,现代架构自然包含BSR模型。基于最近的方法学进展,我们计算了在高维标记长序列极限下该模型的贝叶斯最优泛化误差,并提供了一种匹配该性能的消息传递算法。我们量化了最优学习相对于标记序列向量化及通过简单线性回归学习所带来的改进。我们还揭示了BSR模型中梯度下降算法的惊人特性。

英文摘要:

Current progress in artificial intelligence is centered around so-called large language models that consist of neural networks processing long sequences of high-dimensional vectors called tokens. Statistical physics provides powerful tools to study the functioning of learning with neural networks and has played a recognized role in the development of modern machine learning. The statistical physics approach relies on simplified and analytically tractable models of data. However, simple tractable models for long sequences of high-dimensional tokens are largely underexplored. Inspired by the crucial role models such as the single-layer teacher-student perceptron (aka generalized linear regression) played in the theory of fully connected neural networks, in this paper, we introduce and study the bilinear sequence regression (BSR) as one of the most basic models for sequences of tokens. We note that modern architectures naturally subsume the BSR model due to the skip connections. Building on recent methodological progress, we compute the Bayes-optimal generalization error for the model in the limit of long sequences of high-dimensional tokens, and provide a message-passing algorithm that matches this performance. We quantify the improvement that optimal learning brings with respect to vectorizing the sequence of tokens and learning via simple linear regression. We also unveil surprising properties of the gradient descent algorithms in the BSR model.

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

↑