Explore the research collection
2 entries · Follow this search
- Post
How to Train a Neural Net: Lecture Notes (MIT 6.7960 Deep Learning, Fall 2024)
Concise mathematical treatment of how a neural network learns its weights during training, from MIT's 6.7960 Deep Learning course (Fall 2024). Covers the forward pass, loss functions, gradients, backpropagation, and gradient-based optimization — aimed at moving from high-level intuition to a rigorous understanding of training math. Lecture 2 notes; a tip in the thread notes all 20+ lectures can be downloaded from the course's OCW page. Resource-sharing, not a research paper.
- Thread
Dust: Pretraining Transformers Without Backpropagation (QLabs)
First zeroth-order method to pretrain transformers to approach and sometimes exceed backprop with large compute. Key idea: instead of weight-space ES (one forward pass per population member), Dust perturbs activations independently at every token (node perturbation), so each token acts as a virtual population member and one forward pass evaluates thousands of perturbations — a 'virtual population' scaling to large populations by perturbing activations in parallel. 1,000-10,000x more compute-efficient than EGGROLL (SOTA ES method) for training transformers. Results: beats backprop at 100k and 1M tokens, close at 10M and 20M (trend puts Dust's asymptote below backprop at 20M); integrates with Adam. Scientific finding: search in high dimensions gets better with overparameterization — at fixed population size, larger models (up to 120x) reach lower loss; backprop-like gradients emerge from a large population of activation perturbations, with Dust<->backprop gradient alignment holding up to 1B tokens, and Dust's gradients sometimes better. Still far more expensive than backprop; positioned as the 'bitter lesson' for optimization research — zeroth-order methods enabling non-differentiable architectures and better directions than first-order gradients.