← All projectsGitHub
Markets as routers

How should a router pick k distinct experts?

research/topk-routing

Top-k MoE routing as a capped Hedge market: price min(1, λ w_i) with exact KL projection, regret vs the best fixed k-set held under k ln(N/k)/η+ηTk/2 in every run (41–58% of it), plain normalisation prices experts above 1 (282/300 rounds, loss understated 3.2×), and systematic sampling gives exactly k distinct experts with 8–14× lower variance.

6 tests

What it found

Sparse mixture-of-experts routing as a capped Hedge market: expert prices are min(1, λ wi) with a single shadow price λ and an exact KL projection. Regret against the best fixed k-set stayed within k ln(N/k)/η + ηTk/2 in every run (41–58% of it, not proved here); plain normalisation prices an expert above 1 in 282 of 300 rounds and understates loss 3.2×; systematic sampling realises exactly k distinct experts with 8–14× lower loss variance. Oblivious losses only.

A figure from its own output

Figure produced by research/topk-routing: topk_regret
topk-routing/experiments/topk_regret.svg, written by the project's own experiment code.

Paper, code and results

More in Markets as routers

All 13 Markets as routers 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.