arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2107.13163cs.LGstat.ML
收藏

统计意义的逼近:用Transformers逼近图灵机的一个实例研究

Statistically Meaningful Approximation: a Case Study on Approximating Turing Machines with Transformers

Stanford University(斯坦福大学)

Colin Wei, Yining Chen, Tengyu Ma

摘要:

理论上研究神经网络架构的一个常见视角是分析它们可以近似的函数。然而,近似理论的构造可能是不切实际的,因此意义不大。例如,一个常见的不切实际的技巧是使用无限精度对目标函数值进行编码。为了解决这些问题,这项工作提出了一个正式的定义,统计意义(SM)的近似,要求近似网络表现出良好的统计学习能力。我们研究了两类函数的SM逼近:布尔电路和图灵机。我们发现,过参数化的前向神经网络可以SM近似布尔电路的样本复杂度只依赖于多项式的电路大小,而不是网络的大小。此外,我们表明,Transformers可以SM近似图灵机的计算时间有界的$T$与样本复杂性多项式的字母表大小,状态空间大小,和$\log (T)$。我们还介绍了新的工具,分析泛化提供更严格的样本复杂性比典型的VC维或基于范数的界限,这可能是独立的利益。

英文摘要:

A common lens to theoretically study neural net architectures is to analyze the functions they can approximate. However, constructions from approximation theory may be unrealistic and therefore less meaningful. For example, a common unrealistic trick is to encode target function values using infinite precision. To address these issues, this work proposes a formal definition of statistically meaningful (SM) approximation which requires the approximating network to exhibit good statistical learnability. We study SM approximation for two function classes: boolean circuits and Turing machines. We show that overparameterized feedforward neural nets can SM approximate boolean circuits with sample complexity depending only polynomially on the circuit size, not the size of the network. In addition, we show that transformers can SM approximate Turing machines with computation time bounded by $T$ with sample complexity polynomial in the alphabet size, state space size, and $\log (T)$. We also introduce new tools for analyzing generalization which provide much tighter sample complexities than the typical VC-dimension or norm-based bounds, which may be of independent interest.

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

↑