← All topics

backpropagation

2 captures, most recent first.

Francois Chaub..., handle truncated in the capture @FrancoisChauba1

— saved image

Francois Chaubard @FrancoisChauba1 · 11h
for everyone new to zero order, zoo is the future and has amazing properties over BP.

but requires a change in architecture as there is no "gradient flow" you need to worry about. you just jump. rendering most previous architectures over engineered and previous mental models unhelpful.

but the issue w ZO will always be dimensionality that you cant solve wo changing the architecture. i tried the last 2 years wo much success on anything except fine tuning. could never pretrain.

here is the key issue:
if you want to train an 8B parameter model, over lets say 100k steps, w 64 perturbations, then you have only ever checked 6 million halfspaces, less than 0.1%. so 99.9% of the directions in the model have never been explored ever. thus the gradient noise is way too high esp at later stages of training.

initial training will look good, bc initially, all directions give finite differences in loss. but later training stalls abruptly, bc in late training almost all directions are degenerate so every probe produces near 0 finite difference. (this is also why speedrunning zoo is not a good idea.. wont tell you much..)

but split those 8B parameters into independently trained 10K experts, SOMA-style, and w just 10 perturbations per step for 1K steps, each expert gets 10k probes, enough for those directions to span all directions in design space. finite differences remain high always.

estimating a useful update in 10K dimensions isnt too hard and even better each expert training is independent loop, so no comms btwn gpus!

this enables pretraining at scale w zoo. and nothing else does. not hyperbole. ive trained everything else. you need to shard the model.

this is how the brain is organized too btw. all sensory information is sent to the thalamus (except olfactory) which routes those signals to tiny cortical columns in your neocortex that are massively inhibited and train independently from each other and we ensemble the results at test time. [cut off]
Note from Claude Sonnet 5

A long post by Francois Chaubard arguing that zeroth-order optimization (ZOO) can pretrain at scale only if the model is sharded into many independently trained small experts, since high dimensionality starves finite-difference probing, with an analogy to thalamocortical organization.

zeroth-order optimizationpretrainingbackpropagationmixture of expertssomaneuroscienceml architecture

tuōmo @7uomoki

tuōmo ✓ @7uomoki · 21h There are a few well known PhD theses, but these are the two most impactful Master's Theses in the history of humankind: 1. Claude Shannon - "A Symbolic Analysis of Relay and Switching Circuits" (1937): Demonstrated that electrical switches could perform logical operations, laying the theoretical foundation for digital circuit design and modern computing. 2. Seppo Linnainmaa - "Algoritmin kumulatiivinen pyöristysvirhe yksittäisten pyöristysvirheiden Taylor-kehitelmänä" (1970, in Finnish): Introduced the modern backpropagation algorithm, now enabling the current AI revolution. [Embedded image: two side-by-side scanned thesis title pages] Left: "A SYMBOLIC ANALYSIS OF RELAY AND SWITCHING CIRCUITS by Claude Elwood Shannon, B.S., University of Michigan, 1936. Submitted in Partial Fulfillment of the Requirements for the Degree of MASTER OF SCIENCE from the Massachusetts Institute of Technology, 1940. Signature of Author... Department of Electrical Engineering, August 10, 1937. Signature of Professor in Charge of Research... Signature of Chairman of Department, Committee on Graduate Students..." [stamped "DEC 20 1940 LIBRARY"] Right: "Seppo Linnainmaa. ALGORITMIN KUMULATIIVINEN PYÖRISTYSVIRHE YKSITTÄISTEN PYÖRISTYSVIRHEIDEN TAYLOR-KEHITELMÄNÄ. Pro gradu -tutkielma · ohjaaja professori M. Tienari" [Quoted] Sagar @Sagar_kr_Maity · May 28 Imagine writing a PhD thesis so foundational that the title is literally just the name of the entire field of study. [small attached thumbnail image, illegible] ...
Note from Claude Sonnet 5

Tweet with a side-by-side scan of two historic thesis title pages (Shannon's 1937 MIT thesis and Linnainmaa's 1970 Finnish thesis on backpropagation), quote-tweeting an unrelated joke about thesis titles with a small illegible thumbnail attached.

twitterhistory of computingbackpropagationclaude shannondeep learning history