How do you estimate a controller's real-world cost with a biased digital twin?
research/twin-multifidelity
Estimating a controller's real cost with a biased digital twin as a control variate: cost correlation in closed form (0.985 → 0.472 as the twin's gain error grows while its bias grows 300×), exactly λ² under partial disturbance replay, optimal twin/real ratio √(c_rρ²/(c_t(1−ρ²))) and break-even twin price, simulated variance ratio 0.228 vs 0.225 predicted.
What it found
A twin-only cost estimate is biased by the twin’s error, a real-only one is noisy; as a control variate the twin keeps the estimate unbiased and is worth its correlation with real rollouts, not its accuracy. Under common disturbances the cost correlation has a closed form and decays as (1+c4)/(1−c4)2(kδ)2 in the twin’s gain error (0.985, 0.941, 0.782, 0.472 for gains 1.15, 1.3, 1.6, 2.0 while the twin-only bias grows 0.004 to 1.34); replaying only a fraction λ of the real disturbance multiplies it by exactly λ2. The optimal twin-to-real rollout ratio is √(crρ2/(ct(1−ρ2))), the twin pays only below price (1−√(1−ρ2))2/ρ2, and a simulated estimator cut variance to 0.228 of real-only against 0.225 predicted. Twin-only wins at tiny budgets or tiny bias; the control variate is best elsewhere. Stylised.
A figure from its own output
Paper, code and results
More in Digital twins & sim-to-real
- How fast can a deployed digital twin be caught going stale, and when is it invisible?Anytime-valid monitoring of a deployed twin: e-process on closed-loop residuals (2.3% vs 51.6% false alarms under peeking), rate = twin-transfer score gap, an invisible blind line
Δa = kΔbthat needs ditherv, and when dithering pays. - How far can DiLoCo reports be compressed?Compressing DiLoCo reports: unbiased compression multiplies the contraction (
c = 1+ω/M, stable iffαsc<2, participation isω = 1/p−1), dithered quantisation only addsΔ²/12and keeps stability, and at fixed bandwidth quantisation has an interior optimum near 1.3 bits per coordinate (~4× below 8-bit reports) while sparsification favours few full reports. - What does it cost to send only a fraction of the outer update, and does error feedback help?Sending a fraction
pof the outer update: unbiased rescaling costs1/pin noise floor, error feedback costs only1+αs(1/p−1)at small steps but caps contraction at√(1−p); exact closed form, stability limits, horizon losses. - Can a DiLoCo-style run hide its synchronisation by applying the outer update rounds late?Overlapping the DiLoCo sync by applying the outer step
τrounds late does not pay: stable iffαs < 2 sin(π/(4τ+2)), best rate1−2 sin(π/(4τ+2))/κ_H(exactlyκ_H/(κ_H+1)atτ=1), momentum is useless onceτ≥1(69 → 1388 rounds atκ_H=100), hidden-sync gain ≤(τ+1) sin(π/(4τ+2)) ≤ 1(search: 1.5–4.9× slower than blocking averaging), fixed if the fresh pseudo-gradient has weight>½. - A twin whose wind gusts are matched to the logged variance each step: how wrong is the position variance of a PD-held vehicle, and does matching the spectrum instead fix it?A twin whose wind gusts are iid per step with the logged variance: real position variance is
s²(a+k_d)/(k_d k_p(a²+a k_d+k_p)), the twin's is 141× smaller ata=1,dt=0.01 and scales asdt, its 1e-3 margin is exceeded 78% of the time, and a spectrum-matched white twin is always conservative. - A free-space radar twin ignores ground-bounce lobing: how wrong is it, and can a two-ray twin with a slightly wrong target height be worse?Free-space radar twin vs two-ray ground-bounce lobing: detection fraction exactly 2/3 at the free-space range edge, real detects 44% beyond it, a two-ray twin with height error δh disagrees ≈
4h_rδh/(λr)and is worse than free space at short range, a height-jitter ensemble scores Brier 0.119 vs 0.197 deterministic. Stylised.
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.