Dust: Pretraining Transformers Without Backpropagation
https://qlabs.sh/research/dust📌 不用反向傳播訓練 transformer,這篇論文做到了
TL;DR:Dust 用「擾動活化值」取代梯度反向傳播,在預訓練 transformer 語言模型上首度逼近甚至超越 backprop。
深度學習幾乎是圍繞著反向傳播打造的:架構、優化器、硬體都在過去幾十年裡配合這個需要可微分、產生一階梯度的演算法共同演化。Dust 這篇論文想問的是一個更根本的問題:如果 backprop 不是必要前提,只是低運算量時代的歸納偏誤,那在運算力愈來愈便宜的今天,有沒有更暴力、更通用的搜尋式方法可以取而代之?
🤔 為什麼要挑戰 backprop
作者引用 Sutton 的「苦澀的教訓」(bitter lesson):能隨運算力擴展的通用方法終將勝出,AlphaGo Zero 就是例子——靠人類資料暖身的版本,最終被純自我對弈的版本超越。作者認為可微分與 backprop 或許在低運算量時是好的歸納偏誤,但到了高運算量時代,反而限制了可行架構的搜尋空間;即便在同一個架構內,梯度方法也未必能最佳地探索損失地景。
🧩 把擾動放在活化值,而非權重空間
傳統的 evolution strategies(ES)方法如 EGGROLL 是在權重空間擾動,擴大族群(population)規模時,每個成員都得被實際具現化並單獨評估,成本隨之水漲船高。Dust 的做法不同:它在活化值空間做擾動(node perturbation),而且是獨立地對「每一個 token」做擾動——換句話說,每個 token 就是一個虛擬的族群成員(virtual population member),一次前向傳播就能平行評估所有這些成員,完全不需要額外具現化。
論文作者認為活化值本身就是比權重空間更有意思的搜尋空間,並引用機制可解釋性研究指出,推理(無論是否可用語言表達)其實就存在於活化值之中。Dust 搭配了一套通用的 credit assignment 規則,針對 transformer block 內不同的層類型,給予不同的 token 層級獎勵;再加上一些實作細節與效率手段(例如避免被擾動的模組間互相干擾),構成了整個演算法。
📊 族群愈大愈接近 backprop,大模型反而更划算
論文的幾項關鍵發現:
- 從 1M token 規模開始,Dust 的效率比 EGGROLL(transformer 版本)高出約 10^3 到 10^4 倍(依論文的外推估計)。
- 在族群規模夠大時,Dust 在多個設定下的表現甚至超越 backprop,顯示在運算力充裕的情境下有機會超越 backprop。
- 與「zeroth-order 方法無法擴展到大型網路」的一般認知相反,論文發現模型愈大,族群效率反而愈高:一個 2.43 億參數的模型,在多數族群規模下表現優於比它小 120 倍的模型。
- Dust 的梯度估計,隨著族群規模增加會愈來愈貼近 backprop 的梯度,而且這個對齊程度在論文測試的所有規模下都成立,最高測到 1B token。
⚠️ 作者自陳:目前還不是拿來取代 backprop 的時候
論文明確表示,這篇工作的目標是替「以搜尋為基礎的 credit assignment 演算法」打下基礎,並在他們能想到最難的任務——預訓練 transformer——上證明其可行性,但並未試圖讓它在運算效率上已經足以取代今天的 backprop。
🎯 對工程師的啟示
這還不是能立刻拿去生產環境用的訓練法,但它揭示了一個值得關注的方向:如果 zeroth-order 方法真的隨模型規模擴大而變得更有效率,未來在運算力不是瓶頸、而可微分架構才是瓶頸的場景下,搜尋式的訓練方法可能會是值得重新評估的選項。
🔗 來源
- 標題:Dust: Pretraining Transformers Without Backpropagation
- 連結:https://qlabs.sh/research/dust
#DeepLearning #Backpropagation #ZerothOrderOptimization #EvolutionStrategies #TransformerTraining #MachineLearning #NeuralNetworks #AIResearch #Pretraining #BitterLesson
原始資料 Hacker News · 收集於 2026-10-06
摘要原文
TL;DR 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 (i.e. substantially more compute) and in multiple settings even exceeds it. This hints that in a compute-rich regime we might be able to surpass backprop. Dust is orders of magnitude more efficient than weight-space ES. From 1M tokens up, Dust is on the order of $10^3$ to $10^4$ times more efficient than a transformer implementation of EGGROLL, a state-of-the-art ES method, based on our extrapolations. Zeroth-order methods are widely believed not to scale to large networks. Strikingly, we find larger models are more population-efficient, not less: a 243M-parameter model outperforms a $120\times$ 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 we test, up to 1B tokens, which is encouraging for scaling. 1 Introduction Deep learning has been built around backprop, the only credit assignment algorithm capable of training modern neural nets, including transformer-based language models. Backprop requires differentiability and produces first-order gradients, and deep learning’s architectures, optimizers, and hardware have co-evolved around this constraint. However, as the amount of compute available in the world increases, we might prefer more generic and brute-force learning algorithms based on search over inductive biases like differentiability, backprop, and approximations of higher-order gradients. The bitter lesson ( Sutton, 2019 Richard S. Sutton. The bitter lesson. http://www.incompleteideas.net/IncIdeas/BitterLesson.html , 2019. Blog post. ) is that general methods that scale with compute eventually win, and AlphaGo Zero ( Silver et al., 2017 David Silver, Julian Schrittwieser, Karen Simonyan, Ioannis Antonoglou, Aja Huang, Arthur Guez, Thomas Hubert, Lucas Baker, Matthew Lai, Adrian Bolton, Yutian Chen, Timothy Lillicrap, Fan Hui, Laurent Sifre, George van den Driessche, Thore Graepel, and Demis Hassabis. Mastering the game of Go without human knowledge. Nature , 550 (7676): 354–359, 2017. doi: 10.1038/nature24270 . ) is the obvious example. Bootstrapping AlphaGo on human data helped the network learn faster initially, but with a lot of computation the purely self-play network overtook it. Similarly, differentiability and backprop might be good inductive biases in the low-compute regime, where they make learning efficient, but in the high-compute regime they limit the space of architectures that work. Even within an architecture, gradient-based methods fail to explore the loss landscape optimally ( Liu et al., 2020 Shengchao Liu, Dimitris Papailiopoulos, and Dimitris Achlioptas. Bad global minima exist and SGD can reach them. In Advances in Neural Information Processing Systems , volume 33, 2020. ) . This might also explain why current neural nets require massive amounts of data to generalize. A more flexible credit assignment algorithm based on search is likely an important step towards much better generalization. In this paper, we aim to replace backprop with a learning algorithm based much more on brute-force computation and much less on analytic structure. We call it Dust. Dust is a zeroth-order optimization algorithm that perturbs activations, rewards each perturbation by how much it lowers the loss, and averages the reward-weighted perturbations over a population to estimate the gradient. Traditional ES methods that perturb weights ( Salimans et al., 2017 Tim Salimans, Jonathan Ho, Xi Chen, Szymon Sidor, and Ilya Sutskever. Evolution strategies as a scalable alternative to reinforcement learning. arXiv preprint arXiv:1703.03864 , 2017. ) , like EGGROLL ( Sarkar et al., 2025 Bidipta Sarkar, Mattie Fellows, Juan Agustin Duque, Alistair Letcher, Antonio León Villares, Anya Sims, Clarisse Wibault, Dmitry Samsonov, Dylan Cope, Jarek Liesen, Kang Li, Lukas Seier, Theo Wolf, Uljad Berdica, Valentin Mohl, Alexander David Goldie, Aaron Courville, Karin Sevegnani, Shimon Whiteson, and Jakob Nicolaus Foerster. Evolution strategies at the hyperscale. arXiv preprint arXiv:2511.16652 , 2025. ) , scale with population, but scaling the population is costly because each member must be materialized and evaluated. We remove both costs with the concept of virtual population , where we avoid materializing every member by bypassing weight space entirely and instead perturb activations, as in node perturbation ( Werfel et al., 2003 Justin Werfel, Xiaohui Xie, and H. Sebastian Seung. Learning curves for stochastic gradient descent in linear feedforward networks. In Advances in Neural Information Processing Systems , volume 16, 2003. ; Widrow and Lehr, 1990 Bernard Widrow and Michael A. Lehr. 30 years of adaptive neural networks: Perceptron, Madaline, and backpropagation. Proceedings of the IEEE , 78 (9): 1415–1442, 1990. doi: 10.1109/5.58323 . ) . We do so independently at every token, so each token is a member and one forward pass evaluates them all in parallel. Activations are a more interesting space to search over than weights. Mechanistic interpretability has shown that reasoning, whether verbalizable or not, lives in the activations ( Gurnee et al., 2026 Wes Gurnee, Nicholas Sofroniew, Adam Pearce, Mateusz Piotrowski, Isaac Kauvar, Runjin Chen, Anna Soligo, Paul Bogdan, Euan Ong, Rowan Wang, Ben Thompson, David Abrahams, Subhash Kantamneni, Emmanuel Ameisen, Joshua Batson, and Jack Lindsey. Verbalizable representations form a global workspace in language models. arXiv preprint arXiv:2607.15495 , 2026. ; Lindsey et al., 2025 Jack Lindsey, Wes Gurnee, Emmanuel Ameisen, Brian Chen, Adam Pearce, Nicholas L. Turner, Craig Citro, et al. On the biology of a large language model. Transformer Circuits Thread , 2025. ) , which means this approach could turn training into a search over latent reasoning ( Vegesna and Dahal, 2025 Akshay Vegesna and Samip Dahal. Decoupling search and learning in neural net training. arXiv preprint arXiv:2509.10973 , 2025. ) . We then pair the activation-space perturbation with a very generic credit assignment rule that assigns different token-level rewards to different layer types in a transformer block. Those two biases, along with a few implementation details and efficiency measures, like avoiding interference between perturbed modules, are the whole algorithm. We make the following contributions. We present the first zeroth-order method that is competitive with backprop at pretraining transformer language models. At large populations Dust exceeds backprop in multiple settings, which suggests that in a compute-rich regime we might be able to surpass backprop. Dust is orders of magnitude more efficient than weight-space ES. From 1M tokens up, Dust is on the order of $10^3$ to $10^4$ times more efficient than a transformer implementation of EGGROLL, based on our extrapolations. Contrary to conventional wisdom, larger models are often more population-efficient, not less, and can make use of larger populations. This gives a new view of overparameterization as a larger search space with potentially better geometry. Dust’s gradient estimates align better with backprop’s as the population grows, and the alignment holds up at every scale we test, up to 1B tokens, which is encouraging for scaling. The goal of this paper is to lay the foundations of a search-based credit assignment algorithm that is competitive with backprop on the hardest task we could think of: pretraining transformers. We do not attempt to make it compute-efficient enough to replace backprop today. (263 points, 79 comments on Hacker News)
由 claude-code/sonnet 自動生成