Dust: Pretraining Transformers Without Backpropagation
- ID: 2ac688ca
- 原文链接: https://qlabs.sh/research/dust
- 作者: Q (qlabs.sh research)
- 日期: N/A
- 更新: N/A
- 分类: learning
- 来源类型: article
- 标签: zeroth-order, pretraining, node-perturbation, training-methods, research
- 质量评分: 5/5
- 抓取时间: 2026-10-07T04:26:31Z
中文导读
深度学习整个栈都绕着 backprop 建立,而 Dust 想用更暴力、更少解析结构的搜索式信用分配替代它。方法是零阶优化:给每个线性层的输出按 token 独立加高斯噪声,跑一次前向,用每个 token 的损失变化(含对后续 token 的衰减影响)作为该扰动的奖励;奖励加权噪声取平均就是层输出的误差估计,它和层输入的外积就是权重梯度——与 backprop 相同的外积,只是误差来源从链式法则换成了种群。这就是「虚拟种群」:权重空间 ES 每个 forward 只评一个成员,Dust 每个 token 都是一个成员,单次前向并行评出的种群比权重空间 ES 至少大三个数量级。实验在 GPT 风格 transformer 上做,FineWeb 数据、100k–20M token 预算、64–16k 种群、三种子、与调过的 backprop 同网格对比:100k 和 1M token 下 Dust 从几百到一千 draws 起低于 backprop;10M 下差距随种群收窄;20M 下 power law 拟合极限 4.431 低于 backprop 的 4.633,作者明确说 ladder 还在下降、拟合约束松,应读作「差距随种群继续收窄」的证据而非实测极限。与权重空间 ES 的对比更悬殊:EGGROLL-Transformer 用 256 倍种群仍到不了 Dust 64 draws 的水平,外推需数千到约一万倍种群才能追平。两个反常识观察:更大的模型种群效率更高(10M token 下 38M 参数在几乎所有种群规模最优,243M 仍稳定),且小模型随种群先饱和、大模型继续受益;Dust 梯度与 backprop 梯度的余弦随种群上升,拟合规律在 10M–1B token 检查点上保持稳定,说明大规模种群下「类 backprop 梯度」是从种群中自然涌现的。作者也把边界讲清楚:现在还远不算力高效,目标不是今天就替换 backprop,而是为「搜索式信用分配」打地基——它不需要端到端可微,可能打开 BPTT 难训的循环/循环展开结构,并隐式利用高阶曲率。
为什么值得关注
条目一句话:零阶方法首次打到预训练可用的门槛,逐 token 激活扰动一次前向评全体,模型越大越种群高效。这不只是 ES 复兴:它直接挑战「零阶训练不了大网络」的共识,给出 overparameterization 的新解释(更大的搜索空间和更好的几何),并在 20M token 处出现拟合极限低于 backprop 的苗头——对训练方法研究和「bitter lesson 式」计算换算法的判断都有参考价值。
关键数字(均出自正文)
- 一次前向评估的种群比权重空间 ES 至少大 3 个数量级(每 token 一个虚拟成员)
- 对 EGGROLL-Transformer 的效率优势:10^3–10^4 倍(1M token 起,外推)
- EGGROLL 16k 种群仍差 Dust 64 draws 约 0.02(100k token)到 0.4–0.6(1M/10M/20M)
- 20M token:Dust 拟合极限 4.431(95% 区间 3.89–4.58)vs backprop 4.633
- Adam 下 1M token:Dust 拟合极限 5.248(95% 区间 5.17–5.30),低于 backprop
- 模型规模扫描:2M/7M/38M/243M 参数,10M token 固定预算,38M 在 256 以上种群全面最优
- 余弦对齐拟合 cos(K)=cmax/sqrt(1+c/K),在 10M/100M/1B token 检查点上均成立
关键信息
- 论文/文章标题:Dust: Pretraining Transformers Without Backpropagation
- 作者:Q (qlabs.sh research)
- 原文:https://qlabs.sh/research/dust
- 发布时间:N/A
- 分类:learning
- 关联标签:zeroth-order, pretraining, node-perturbation, training-methods, research
English Abstract
We present the first zeroth-order method that is competitive with backprop at pretraining transformer language models. Dust perturbs activations (node perturbation) independently at every token, so each token is a virtual population member and one forward pass evaluates them all in parallel. Dust approximates backprop closely at large population and in multiple settings even exceeds it. Dust is orders of magnitude more efficient than weight-space ES: from 1M tokens up, it is on the order of 10^3 to 10^4 times more efficient than a transformer implementation of EGGROLL, based on extrapolations. Contrary to the view that zeroth-order methods cannot scale to large networks, larger models are more population-efficient, not less: a 243M-parameter model outperforms a 120x smaller model at most population sizes. Dust's gradient estimates align better with backprop's as population grows, and stay well aligned at every scale tested, up to 1B tokens. (Condensed from the article's TL;DR and method sections.)
English Summary
Dust is the first zeroth-order method competitive with backprop for pretraining transformer LMs: per-token activation perturbation (node perturbation) makes each token a virtual population member, so one forward pass evaluates thousands of members. At 20M tokens its fitted power-law limit (4.431) sits below backprop (4.633), though the authors caution the fit is loosely constrained; it is 10^3-10^4 times more population-efficient than EGGROLL-Transformer; larger models are more population-efficient; and gradient-estimate cosine alignment with backprop holds up to 1B-token checkpoints.
Obsidian Notes
- 内容获取路径:
opencli web read --url https://qlabs.sh/research/dust成功抓取全文(43.9 KB),摘要、方法、实验与结论均锚定在文章正文;作者署名页面未给出,仅标注为 qlabs.sh 研究。 - 中文导读与价值判断均锚定在条目已有摘要与文章正文上;未补充正文之外的实验细节。
- 现代站点生成器按
content/{entry.id}.md查找内容页;本文件写入 canonical content 目录,而不是openclaw/content/。