← All projectsGitHub
Digital twins & sim-to-real

How many real trajectories does a classifier two-sample test need to reject a wrong digital twin, compared with a paired error test?

research/free-c2stpower

How many real trajectories does a classifier two-sample test need to reject a wrong digital twin? Stylised pendulum: for a 20% Coulomb error a paired error test has power 0.98 at 100 trajectories vs 0.25 for the C2ST (which needs ~200), but for a 10% error the paired test stalls at 0.09–0.20 up to 800 while the C2ST reaches 1.00 at 400, and for same-variance noise-shape error the paired test has power ≤0.07 at every size. Null calibration approximate (60 replicates). Preliminary, simulated only.

7 tests

What it found

Follow-up to mimic-twinc2st on a stylised pendulum (Coulomb friction, Student-t sensor noise). The rejection threshold is the 95th percentile of the exact twin’s own null, and power is the share of replicates above it. For a Coulomb error of 20% the paired error test (same start angles, noisy real vs noise-free twin) has power 0.76 at 50 trajectories and 0.98 at 100, while the boosted-tree C2ST has 0.04 and 0.25 and needs about 200 to reach 1.00. For a 10% error the paired test stalls at 0.09–0.20 for every n up to 800 (a plausible but untested cause: the squared heavy-tailed noise has infinite variance), while the C2ST reaches 0.62 at 200 and 1.00 at 400. For Gaussian instead of Student-t noise of the same sd the paired test has power 0.04–0.07 at every n, the C2ST with second-difference features 0.92 at 50. Caveat: the null threshold comes from 60 replicates, and a check on fresh null replicates falsely rejected 0–29% of the time (nominal 5%), so power at small n is approximate. Stylised, simulated, 24 replicates per cell.

A figure from its own output

Figure produced by research/free-c2stpower: power_vs_n
free-c2stpower/experiments/power_vs_n.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.