← All projectsGitHub
Digital twins & sim-to-real

A twin whose sensor never produces outliers: how many particles does a bootstrap filter need, and is the average effective sample size the right thing to size on?

research/particle-twin

Gaussian-sensor twin vs outliers for a bootstrap particle filter: exact ESS fraction c₀e^{−ay²}, the mean ESS barely moves (0.671 vs 0.645) while P(ESS<1%) rises 120× (2.5e-4 → 3.1e-2), a twin-sized N=528 fails 4.4% of real steps, and posterior-mean error is 45–421× the twin's.

11 tests

What it found

For a bootstrap particle filter the large-N effective-sample-size fraction is exactly c0 e−ay² in the measurement y (c0 = 0.866, a = 1/6 at P = R = 1). With 5% real outliers at 10× the noise scale the mean ESS fraction barely moves (0.671 in the twin, 0.645 real, at every dimension), but P(ESS < 1% of N) goes from 2.5×10−4 to 3.1×10−2 (120×). Sizing N = 528 for ESS ≥ 50 at 1% failure in the twin fails 4.4% of real steps, and the particle posterior mean's error against the exact Kalman update is 45× to 421× the twin's for N = 50 to 1000, falling barely at all with N. The large-N formula is checked against quadrature and simulation and fails once Nρ is small (reported). Stylised: scalar update, simulated outliers, no resampling dynamics.

A figure from its own output

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