← All projectsGitHub
Decentralised training systems

When continual-learning tasks conflict, how much does a task-aware router of modules actually buy?

research/router-impurity

Task-aware routing when continual-learning tasks conflict: the long-run floor is (2r/d)[τ_w²+τ_b²(1−Purity)] with purity = 1 − the router's Gini impurity, random modules buy nothing, a perfect router removes (m−1)/(K−1) of the between-cluster floor, and a 10% routing error gives back 36%.

8 tests

What it found

With cluster-structured conflicts, the long-run loss on an old task is exactly (2r/d)[τw² + τb²(1 − Purity)], where Purity is one minus the router’s expected Gini impurity (matched to simulation within 0.3–2.3% across six routers). Random routing to any number of modules leaves the whole floor; a perfect router onto m modules removes exactly (m−1)/(K−1) of the between-cluster floor, so half needs 5 of 8 clusters’ worth of modules; and a routing error q costs 2q of impurity at first order (10% error returns 36% of the shared-model floor at K=8, 25% returns 59%). Purity is auditable with an unbiased pair-collision estimator. Stylised: realizable linear regression, exact convergence, Gaussian cluster centres, hard routing.

A figure from its own output

Figure produced by research/router-impurity: floor
router-impurity/experiments/floor.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.