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

Transformer的紧样本复杂度

Tight Sample Complexity of Transformers

Toyota Technological Institute at Chicago(丰田技术研究所芝加哥分校)

Chenxiao Yang, Nathan Srebro, Zhiyuan Li

AI总结:

本文刻画了深度L、总参数W的Transformer的VC维,并建立了思维链学习的样本复杂度上下界,揭示了参数与序列长度对学习所需样本量的影响。

摘要:

我们严格刻画了深度为$L$、总参数为$W$、将输入序列长度$T$映射到单个输出的Transformer的VC维,建立了上界$O(L W \log (T W))$和几乎匹配的下界$\Omega(L W \log (T W / L))$。我们进一步严格刻画了使用此类Transformer进行思维链学习的样本复杂度,表明教师强制(即在训练数据上选择与整个思维链一致的预测器)学习的样本复杂度为$O\left(L W \log \left(\left(T+T^{\prime}\right) W\right)\right)$,并且任何使用思维链数据的学习规则至少需要$\Omega\left(L W \log \left(\left(T+T^{\prime}\right) W / L\right)\right)$个样本,其中$T$是输入长度,$T^{\prime}$是自回归步数。

英文摘要:

We tightly characterize the VC dimension of depth-$L$ Transformers with a total of $W$ parameters, mapping an input sequence of length $T$ to a single output, establishing an upper bound of $O(L W \log (T W))$ and a nearly matching lower bound of $Ω(L W \log (T W / L))$. We further tightly characterize the sample complexity of chain-of-thought learning using such a Transformer, showing teacher forcing (i.e. selecting a predictor consistent with the entire chain-of-thought on training data) learns with sample complexity $O\left(L W \log \left(\left(T+T^{\prime}\right) W\right)\right)$ and that any learning rule that uses chain-of-thought data requires at least $Ω\left(L W \log \left(\left(T+T^{\prime}\right) W / L\right)\right)$ examples, where $T$ is the input length and $T^{\prime}$ is the number of autoregressive steps.

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

↑