基于Bagging的自回归思维链学习实现最优样本复杂度
Optimal Autoregressive Chain-of-Thought Learning via Bagging
研究从CoT演示中学习自回归下一词生成器的问题,提出一种基于bagging的简单算法,对自助采样数据训练出的CoT一致生成器进行多数投票。二值词表下达到最优样本复杂度O((d_VC+log(1/δ))/ε),与CoT长度T无关;有限词表下以Graph dimension替代VC维,样本复杂度在log|Σ|因子内最优。
arXiv:2611.21597v1 Announce Type: new Abstract: We study how to learn an autoregressive next-token generator $f\colon\Sigma^\star\to\Sigma$ from a class $\mathcal{F}$, given chain-of-thought (CoT) demonstrations of length $T$ generated by $f$. We present a simple algorithm based on bagging, which outputs a majority vote of generators that are trained to be CoT-consistent on bootstrap samples of the training data. For binary token sets, it achieves the optimal sample complexity of $O((d_{\mathrm{VC}}+\log(1/\delta))/\epsilon)$, independent of the CoT length $T$, where $d_{\mathrm{VC}}$ is the VC dimension of $\mathcal{F}$. For finite token sets $\Sigma$, the VC dimension is replaced by a multiclass analogue, the Graph dimension $d_{\mathrm{G}}$, and the sample complexity is optimal up to a $\log|\Sigma|$ factor. The number of generators in the majority-vote ensemble is $O(\log(T/\delta))$, and we show that the ensemble can be distilled into a single generator in $\mathcal{F}$ at the expense of $n\log(nT)$ unlabeled prompts.
来源:arXiv (AI + Vision + Imaging) · arxiv.org