← All projectsGitHub
Digital twins & sim-to-real

What does a state estimator tuned in a twin with the wrong noise levels cost in the real world?

research/filter-twin

An estimator tuned in a twin with wrong noise levels: exact real MSE of the twin's Kalman gain, optimistic claim when the twin is too quiet (+121% at 10×) vs pessimistic when too noisy, no instability cliff, and a Mehra innovation retune with regret ∝ 1/n.

10 tests

What it found

For a scalar Kalman filter (plant x′=ax+w, sensor y=x+v) the real error under the twin’s gain K is exactly ((1−K)2Q+K2R)/(1−(1−K)2a2). With a=0.9 and Q=R=1, a twin 10× too quiet claims MSE 0.215 but the real MSE is 1.32 (+121%), while one 10× too noisy is slightly pessimistic (+42%); at 100× the quiet twin costs 5.0 against 0.64, and for a random walk quiet-twin regret grows as m−1/2. Regret is locally c(ln m)2. Negative result: for an unstable plant the twin’s gain never destabilises the filter. The lag-1 innovation covariance is zero iff the gain is optimal, and a one-shot moment retune from real innovations cut regret from 2.15 to 0.026 at n=200 and 0.0002 at n=25,000 (simulation, ∼1/n). Stylised: scalar linear-Gaussian system, stationary, known dynamics.

A figure from its own output

Figure produced by research/filter-twin: mis_set_ratio
filter-twin/experiments/mis_set_ratio.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.