Manuscript Offprint

arXiv:2611.01666

Stand-In Effects and Pooling Amplification: Design-Based Tests of Whether Biological World Models Use Actions

Bowen Xu, Boyu Chen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Action-conditioned world models are increasingly trained on data from randomized experiments, and whether their predictions respond to actions is usually checked by replacing or removing the actions and measuring the loss in accuracy. We show that such diagnostics report action effects where there are none: under autocorrelated designs, future actions stand in for history the model does not see, and a better model learns the stand-in better. When the design law is known, a conditional randomization test written as an e-value is valid in finite samples whatever the model, provided the resampler conditions on the full state the design used; resampling from a simpler law reproduces the false effect. We identify a second failure, specific to world models: when many sites share one action sequence—cells in a microscope field, pixels in a frame—the natural pooled score turns small model errors along the action contrast into overwhelming evidence against a true effect. In a pixel world, its median log e-value fell from -17.3 to -6832 as frames grew from 64 to 4096 pixels, while the oracle's rose. Tempering the score by a design effect estimated on training data changes the bet, not the validity. Our own preregistered analysis of optogenetic ERK experiments failed in exactly this way; a tempered statistic, selected on synthetic data and registered before the data were obtained, then rejected the null on a never-opened field (E≈1.1×1010E \approx 1.1 \times 10^{10}). Every analysis is preregistered, fixed in a dated protocol before it was run, or labelled exploratory, and every reported result is generated from hashed result files.

1 Introduction

World models that predict how a system will evolve under a sequence of actions are now trained on data from experiments as well as from simulators. In biology the actions are often stimulation programs—light pulses delivered to optogenetically engineered cells, for example—and the hope is that a model trained on such data will answer interventional questions: what would this cell population do under a different program? Before such a model is trusted for that purpose, one wants to know whether its action channel reflects a causal effect of the actions at all. In machine learning this is usually checked with diagnostics that replace the actions by zeros, by another unit's actions or by a shuffled sequence, or retrain the model without them, and report an effect if predictions get worse. Recent benchmarks for action following in world models instead compare generated rollouts with simulator replays of expert and off-expert actions (Chen et al., 2026; Co et al., 2026), or score rollouts under perturbed or commanded actions with trajectory estimators, vision-language judges or human annotation (Yang et al., 2026a,b); Oefinger et al. (2026) propose a ladder of checks that a world-model simulator must pass before its verdicts are trusted. None of them reports a test with finite-sample error control. Neither route is available, or reliable, when the data come from a real experiment that cannot be replayed.

Preprint.

Figure

Figure 1: Pooling amplification in a pixel world model. Median log EE over test episodes at the larger effect size as frames grow from 64 to 4096 pixels, without shared noise (A), with a frame-wide additive offset (B) and with a multiplicative gain on the blob (C). The pooled, Kish-tempered and contrast-tempered statistics are averages over the two learned models; the oracles use the true dynamics with independence pooling or with the exact joint likelihood. In A and C the Kish factor is close to one and the Kish-tempered curve coincides with the pooled one; the two oracle curves nearly coincide in every panel. Dotted line: log 20, the rejection threshold. Symmetric-log axis, linear for ∣log⁡E∣≤10|\log E| \leq 10.

The stand-in trap. Replacement diagnostics fail in a simple way. Experimental designs are often autocorrelated: the next stimulus depends on the stimuli before it. A model that sees only a window of recent history can then use the future actions as a stand-in for earlier history that still drives the outcome. Its predictions change when the future actions change, so every replacement diagnostic reports an effect, even when the actions have none; and a model that predicts better learns the stand-in better (Proposition 6). In development simulations the replacement diagnostics reported effects in up to 249/256 replicates of such a null with twelve units, and in 256/256 for every model with 512 units; in a pixel world in which the logging policy depends on state the model cannot see they did so in 64.1% to 100% of test episodes (§7, Figure 4).

A design-based test. When actions were assigned by a randomized program whose law is known, that law supplies exactly what the diagnostics lack. Drawing alternative action blocks from the design law, given everything the design conditioned on, yields blocks that carry the same stand-in information as the observed one; under the null of no effect within the horizon the observed block is exchangeable with them. Scoring the observed and the resampled blocks with the world model gives a conditional randomization test (Candès et al., 2018) in which the model is only a statistic: it determines power, never validity. Written as an e-value, the test can be multiplied over time and across units and averaged across models without any assumption on the model or on shared noise (§3, Proposition 1). The conditioning matters: in a post hoc analysis, a resampler that draws each action from its marginal frequency rejected the same pixel-world null in 98.4% to 100% of episodes, while the design-law resampler rejected in none for the two-model average (§7.2).

Pooling amplification. World models raise a second difficulty that does not arise for a single outcome. In an ERK optogenetics experiment, each microscope field receives one light program and records hundreds of cells; in a pixel world, every pixel of a frame shares the frame's actions. The natural statistic sums the sites' log predictive densities and bets on the result. If the model errs along the action contrast in a way the sites share, the sum multiplies that error by the number of sites, and the e-value is driven toward zero however strong the true effect is (§3.3). We met this failure in our own registered analysis: on the ERK positive controls, where light is known to drive the reporter, the pooled statistic gave log E=−9576E = -9576 (§8.2). In the pixel world, its median log EE fell from -17.3 to -6832 as frames grew from 64 to 4096 pixels, while the oracle's rose from 79.0 to 157 (§6, Figure 1).

A repair that cannot break validity. Because the design, not the statistic, controls the error rate, the pooled score may be tempered by any factor fixed on training data. We temper by an inverse design effect: the statistic registered for our confirmatory test uses the Kish factor of the residual correlation, and an exploratory variant measures the design effect along the action contrast, which is what governs amplification (§3.4). The Kish-tempered statistic, selected on synthetic data, gave log E=349E = 349 on the same ERK test fields in an exploratory reanalysis, and in a confirmatory test registered before the data were obtained it rejected the null on an ERK field that no one involved had opened, with E≈1.1×1010E \approx 1.1 \times 10^{10} (§8.4). In the pixel world, where the Kish factor does not capture the relevant correlation, contrast tempering restored power under every noise condition we simulated, at the larger of the two effect sizes.

References (38)