← All projectsGitHub
Decentralised training systems

How should independently trained modules be merged, and how much does parallel training buy?

research/merge-law

Merging independently trained modules on random low-rank tasks: exact residual 1−2amp+a²(mp+m(m−1)p²), optimal scale 1/(1+(m−1)p) (averaging stalls at (1−p)², unscaled sum diverges), harmonic 1/m decay, parallel speedup only logarithmic (8.9× at m=16, d/r=8).

7 tests

What it found

Averaging m modules trained to convergence on random rank-r tasks has an exact residual error 1−2amp+a2(mp+m(m−1)p2) with p=r/d, needing only isotropy. The optimal scale is 1/(1+(m−1)p) and leaves (1−p)/(1+(m−1)p): plain averaging stalls at (1−p)2 (0.78 vs 0.47 at m=8, d/r=8) and unscaled task arithmetic diverges (56 at m=64). The decay is harmonic, not geometric, so m parallel workers give a wall-clock speedup that grows only logarithmically (8.9× at m=16, 17× at m=64) and halves in efficiency near m≈d/r×2.5. Seen and fresh losses are closed forms matched by simulation. Stylised: linear regression, exact convergence, consistent isotropic tasks.

A figure from its own output

Figure produced by research/merge-law: merge_scale
merge-law/experiments/merge_scale.svg, written by the project's own experiment code.

Paper, code and results

More in Decentralised training systems

All 23 Decentralised training systems projects →

Other research topics

Proper scoring & elicitation28Effort & peer prediction9Verification games & slashing19Detection & tolerances14Markets as routers13Prediction-market design9Paying contributors8Decentralised training systems23Digital twins & sim-to-real164LLM chip design loops40Robot manufacturing loops53Ambient AI assistant46Self-replicating manufacturing34Simulation-first design64Engineered clothing45Task-specific AI accelerators40Algorithmic chip-design loops42Open-source purpose-built robots44The software-engineering loop43Adversarial human imitation41Open-source residential construction41Autonomous multi-angle capture34Sensing, imaging and 3D31Energy supply and dense energy storage39Robot societies among people31Agentic co-design of low-cost robots27Laundry-hanging robots25Machine learning on qualitative data23Robots on the building site27Civilizations & group psychology1History & human sciences1

Produced with AI assistance (Claude). Results are from the code in this repository and are simulated or stylised unless the abstract says otherwise; nothing here implies affiliation with or endorsement by any lab, researcher or company cited. MIT licensed.