← All projectsGitHub
Adversarial human imitation

Does a kernel MMD test catch the same wrong digital twins as a classifier two-sample test?

research/mimic-mmd

Does a kernel MMD test catch the same wrong digital twins as a classifier two-sample test? Stylised pendulum: raw-trajectory MMD is blind to a Coulomb-friction error (power 0.05 to 0.06) that boosted trees catch from n = 200, but MMD on second differences detects a +25% noise-level error at 0.97 from n = 100.

8 tests

What it found

A kernel two-sample test (unbiased RBF MMD, median-heuristic bandwidth) is compared with a gradient-boosted classifier two-sample test on the stylised pendulum of mimic-twinc2st. Rejection uses the 95th percentile of the exact twin’s own statistic. Raw-trajectory MMD has essentially no power against a Coulomb-friction error at n = 100–400 per class (0.05–0.06 at the median bandwidth, 0.37 at 0.03× for −20% friction), where the classifier reaches 1.00 at −20% from n = 200. MMD on second differences detects a +25% noise-level error at 0.97 from n = 100, where the raw-feature classifier is at 0.08–0.25. Stylised; 24 classifier replicates per cell, so those intervals are wide.

A figure from its own output

Figure produced by research/mimic-mmd: power_vs_n
mimic-mmd/experiments/power_vs_n.svg, written by the project's own experiment code.

Paper, code and results

More in Adversarial human imitation

All 41 Adversarial human imitation 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.