NullModelBaseline
Attribute structure to a mechanism only by beating a baseline that keeps everything except that mechanism
Mechanism
To claim that an observed pattern comes from mechanism X, build a null model that preserves the constraints you are not testing (counts, bounds, marginal statistics, population over time) and randomises exactly what X would add. Generate many realisations, apply the identical pipeline and measures to them, and compare the observed values with the null distribution, for instance with JensenShannonDivergence. Structure that survives the comparison is attributable to what the null randomised; structure the null reproduces is explained by what it kept. Nulls form a ladder: a uniform random placement with the same number of agents per frame tests whether any spatial organisation exists; a null that also keeps individual movement statistics tests whether organisation exceeds what individual kinematics alone would produce.
Invariants
- The null keeps every constraint except the mechanism under test
- Observed and null data pass through the identical construction and measurement pipeline
- Many null realisations are drawn, so the comparison is against a distribution, not a single draw
Preconditions
- The mechanism under test is stated before the null is designed
Postconditions
- Any remaining difference is attributable to what the null randomised, and only to that
Failure modes
- Null too weak: it lacks constraints the real system has (density, boundaries, kinematics), so trivial structure looks significant
- Null too strong: it bakes in the mechanism itself and erases the effect
- Unmodelled mechanisms: a deviation is credited to 'social structure' when an unmodelled factor (pheromone fields, task allocation, internal state) could also produce it
- Choosing the null after seeing which one gives a significant result
Where this came from
- Thesis: do_2026_ant_collective_behavior (Ch. 1.2.2; Ch. 3.1.1 SNM; Ch. 3.1.2 STNM; Ch. 5.6 null-model limitations)
Builds on
- JensenShannonDivergence composes_with
Used by
- EntropyDensityCollapse composes_with
- LocalSpatialStateDivergence references
- SpatioTemporalNullModel references
Identity
- Ref:
NullModelBaseline#9d36 - Hash: sema:NullModelBaseline#mh:SHA-256:9d361368a16dd9c0d05cbb9fd851745b75eae2c8608e22ade4801687a80761c4
- Library: brainference 1.0.0, root 8d7193fc9780
- License: Not stated; check the repository