← All projectsGitHub
Digital twins & sim-to-real

How many real rollouts does a biased digital twin save when certifying a policy?

research/twin-control-variate

Certifying a policy with a biased digital twin: exact twin/plant cost correlation, optimal twin-to-real rollout split and speed-up (matched by simulation), bias first order but correlation second order in model error so the replayable-disturbance fraction caps the twin's value, and twin-only intervals cover ~0%.

9 tests

What it found

A twin evaluated alone is biased however many rollouts you run (nominal 95% intervals cover the truth 0–0.4% of the time at a 12% bias, 20% gain error); used as a control variate it removes variance without bias. In scalar LQ the rollout cost is a Gaussian quadratic form, so the twin/plant correlation ρ = λ tr(GG′)/√(tr G2 tr G′2) is exact, the optimal twin-to-real ratio is ρ/√((1−ρ2)w) and the speed-up 1/(√(1−ρ2)+ρ√w)2, matched by simulation to a few percent. Twin gain error is first order in the bias (5% error → 2.7%) but second order in 1−ρ, so the twin’s value is capped by the fraction λ of the real disturbance it can replay: a 5% certificate costs 168 real-only, 28 with λ = 0.95 and 163 with λ = 0.3. Twin-only beats real-only only below σ2/bias2 real rollouts (35 at 10% error). Stylised.

A figure from its own output

Figure produced by research/twin-control-variate: speedup
twin-control-variate/experiments/speedup.svg, written by the project's own experiment code.

Paper, code and results

More in Digital twins & sim-to-real

All 164 Digital twins & sim-to-real 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.