Designing Experiments That Stay Informative When the Nuisance Model Is Wrong

Scientific measurements rarely see the quantity of interest directly. A lensing image constrains dark matter only after accounting for the source galaxy and line-of-sight clutter. A sensor network constrains a permeability field only after accounting for boundary conditions and calibration offsets. These extra unknowns are called nuisance parameters: variables that must be modeled but are of no interest in themselves. The standard Bayesian way to choose where to measure is to pick the design that maximizes expected information about the target once the nuisances are averaged out. That averaging uses a prior over the nuisances. The design then learns to lean on that prior, putting measurements where the target can be read off only if the assumed nuisance distribution is right. When the prior is wrong, more data of this kind can make the target estimate worse.

We propose a design criterion that scores each candidate experiment by how well the analyst's ordinary posterior for the target performs when the true nuisance distribution is shifted, in the worst case, within a stated budget. We pair it with a likelihood-free estimator that evaluates this worst case by reweighting simulations the design loop already produced, so it costs no new forward runs. In a linear-Gaussian model the criterion moves smoothly between two classical endpoints. With no shift allowed, it recovers Bayesian marginal D-optimality, which maximizes the determinant of the information matrix for the target after averaging out the nuisances. With large shifts allowed, it approaches classical $D_s$-optimality, which credits only target information that the data can separate from the nuisances without help from the prior.

Core Claim

The misspecification penalty is the part of target-focused design that is missing for simulator models. The marginalization part is not. Estimating marginal target information without a likelihood is already nearly free with existing tools. The variational posterior bound of Variational Bayesian Optimal Experimental Design only needs a model of $p(\theta \mid y, d)$, where $\theta$ is the target, $y$ the data and $d$ the design. Training that model on joint simulations of target, nuisance and data integrates out the nuisance implicitly. So "marginal target EIG for simulators" (expected information gain about $\theta$ alone) is a small extension rather than a research contribution. We treat it as the main baseline.

The real gap is the one exposed by Bayesian Active Learning in the Presence of Nuisance Parameters. That paper proves, assuming an exact likelihood, that a misspecified nuisance prior can make target-optimized data collection degrade the target estimate. We call this negative interference. Its fix (ELIG, an acquisition function that deliberately spends budget learning the nuisances) is derived for a fixed-nuisance setting with analytic likelihoods.

Our criterion is a robust log-score. Let $\pi(\theta)$ be the target prior and $p(\nu)$ the nominal nuisance prior. Let $\hat p_\phi(\theta \mid y, d)$ be an amortized neural posterior trained under $p$, which is what the analyst would actually use. We define

$$S_\varepsilon(d) = \min_{q:\ \mathrm{KL}(q\,\|\,p)\le \varepsilon}\ \mathbb{E}_{\theta\sim\pi,\ \nu\sim q,\ y\sim \mathrm{sim}(\theta,\nu,d)}\big[\log \hat p_\phi(\theta \mid y, d)\big],$$

where $q$ is a candidate "true" nuisance distribution and $\varepsilon$ is the misspecification budget, measured in Kullback-Leibler (KL) divergence. We choose $d$ to maximize $S_\varepsilon$.

Because the simulator depends on $q$ only through the draws of $\nu$, the inner minimum can be rewritten through the standard dual of a KL-ball problem:

$$S_\varepsilon(d) = \max_{\lambda>0}\ \Big\{-\lambda \log \mathbb{E}_{p}\big[e^{-f_d(\nu)/\lambda}\big] - \lambda\varepsilon\Big\}.$$

Here $f_d(\nu)$ is the expected log-score of the nominal posterior given nuisance value $\nu$. The worst case is therefore an exponential reweighting of nominal simulations, and the $\lambda$ that solves the outer maximum sets how sharp that reweighting is.

Nuisances such as thousands of subhalos are too high-dimensional for a KL ball over the full $\nu$ to be meaningful, because the reweighting collapses onto a few samples. We therefore define the ball over a small set of interpretable nuisance summaries chosen in advance. Examples are a calibration offset mean, a subhalo mass-function normalization, or a boundary-condition amplitude. We estimate $f_d$ by regressing the per-simulation log-score on these summaries.

Relation to Prior Work

Three lines of work supply the machinery we reuse. The variational bounds of Variational Bayesian Optimal Experimental Design and the design-conditioned normalizing flows of Design Amortization for Bayesian Optimal Experimental Design give amortized EIG estimates over continuous designs. A normalizing flow is a neural density model built from invertible transforms. Both target the joint parameter set or assume the nuisance prior is correct. We borrow their estimators for $\hat p_\phi$ but change what they are scored against.

Truncated marginal neural ratio estimation, applied in Estimating the warm dark matter mass from strong lensing images with truncated marginal neural ratio estimation, shows that a network can marginalize over hundreds of perturbers per image. It works on fixed data and makes no design choice. We use it as the inference engine in our lensing experiment. Transport-map EIG for block copolymer images (Bayesian Model Calibration for Block Copolymer Self-Assembly) and goal-oriented design with MCMC (Goal-Oriented Bayesian Optimal Experimental Design for Nonlinear Models using Markov Chain Monte Carlo) both show that target-specific information picks different designs than joint information. Neither asks what happens when the marginalized-out variables are drawn from the wrong distribution.

Two works motivate and constrain the proposal. Sloman et al. motivate it: they found negative interference. They also constrain it: their Theorem 4.11 says reducing nuisance misspecification mitigates the problem, so any robust criterion must reduce to the nominal one when the prior is right. Simulation-Based Inference for Adaptive Experiments shows that adaptive collection breaks Gaussian confidence intervals and that deliberately biasing nuisance estimates restores validity. This is a close cousin of our worst-case tilt. Their setting is post-hoc inference in discrete bandits, not choosing continuous physical designs. Finally, the adversarial Fisher approach of Bayesian optimal design using stochastic gradient optimisation and Fisher information gain recovers joint Bayesian D-optimality at scale. It cannot single out a target subset, which is the gap our $D_s$ endpoint addresses.

Research Program

The first part is analytical. For a linear-Gaussian model, the target posterior's worst-case bias under a nuisance-mean shift is controlled by one quantity: the target-nuisance cross-block of the posterior covariance multiplied by the nuisance prior precision. We will derive $S_\varepsilon$ in closed form and prove the two endpoint claims. At $\varepsilon = 0$ it is Bayesian marginal D-optimality, which uses the Schur complement of the nuisance information plus the prior precision. As $\varepsilon \to \infty$, whenever the data alone identify the target, the optimal design converges to classical $D_s$-optimality. We will then connect the bias term to the misspecification component of Sloman et al.'s decomposition of target information gain. The goal is to show that $S_\varepsilon$ penalizes exactly the regime in which their negative interference arises.

The second part is the estimator. We train one design-amortized posterior $\hat p_\phi$ on nominal simulations and evaluate $f_d$ on held-out simulations. We then solve the one-dimensional dual over $\lambda$ for each design. Designs are optimized by gradient ascent where the simulator is differentiable and by Bayesian optimization otherwise. The analysis we must deliver is a variance and bias study of the reweighting estimator as $\varepsilon$ grows, since reweighting degrades when the tilt becomes extreme. It also includes a rule for choosing $\varepsilon$ from domain knowledge, for example a published calibration uncertainty on the nuisance summary.

The third part extends the method to sequential design. At each round the posterior is refit on the data collected so far and the robust score is recomputed. This is where negative interference shows up as error that rises with sample size, so it is where we test whether the robust score prevents it.

Baselines

The naive reference points are random and Sobol space-filling designs at equal measurement budget. On 2D Darcy flow, Optimal Experimental Design for Bayesian Inverse Problems using Energy-Based Couplings reports a relative $L^2$ error on the diffusion coefficient of 0.054 under Sobol versus 0.013 under its optimal design. That paper treats no nuisance shift. We will reproduce its setting before adding nuisance boundary conditions, so that our pipeline is checked against these numbers. Any optimized design that fails to beat Sobol under nominal nuisances indicates a pipeline error rather than a finding.

The strongest competitor is nominal marginal target EIG. It uses the same flow architecture as Design Amortization for Bayesian Optimal Experimental Design with the posterior bound of Foster et al., trained on joint target-nuisance simulations so that the nuisance is integrated out. It is the strongest because it is optimal for the stated goal whenever the nuisance prior is correct. The cited paper reports a 167x sample-efficiency gain over Nested Monte Carlo for EIG estimation, but we found no reported result on Lacuna for its target-only accuracy under nuisance shift.

It will share our simulation budget, network, design optimizer and tuning budget exactly. The only difference is $\varepsilon = 0$, which makes this baseline also the key ablation. Beating it means a lower worst-case and shift-averaged target error at matched simulation count, while giving up no more than a small, pre-registered margin of nominal-case log-score. We set that margin at 5% of the gap between Sobol and the nominal design.

Joint EIG over all parameters is included, as is the joint Fisher criterion of SGO-FIG where the model is explicit (the pharmacokinetic benchmark). These test whether joint information "accidentally" learns the nuisances well enough. Plug-in local $D_s$-optimality at the prior mean is included wherever a Fisher matrix is computable. A broadened-prior variant, which is nominal marginal EIG with an inflated nuisance prior, isolates whether the gain comes from the worst-case tilt or merely from a vaguer prior. Where likelihoods exist, Sloman et al.'s ELIG is run sequentially as the existing misspecification-aware method; no reported result found on Lacuna for its numerical errors.

Why not just…?

Why not just maximize marginal target EIG under the nominal prior? It is the right answer when the prior is right. It is precisely the acquisition rule that Sloman et al. prove can produce negative interference when the prior is wrong. Our sequential experiments test this directly by tracking whether its target error rises with rounds under shifted nuisances. If it does not, the threat is not practically relevant on these benchmarks, and we will report that.

Why not just widen the nuisance prior and run standard marginal EIG? This is the most serious alternative, and it may match us. Widening the prior discards correct prior information everywhere, whereas $S_\varepsilon$ keeps the nominal posterior and penalizes only designs whose accuracy depends on it. In the linear-Gaussian analysis the two lead to different designs when the target-nuisance cross-information varies across designs. The experiment that decides this is the broadened-prior baseline, tuned over its inflation factor with the same budget we use to tune $\varepsilon$. If it ties us on both nominal and shifted metrics, the contribution narrows to the theory and a principled way to set the inflation, and we will say so.

Why not just learn the nuisances first, then design for the target? Two-stage designs fix a split of the budget in advance. Sloman et al. show that residual nuisance bias after the first stage can still cause interference in the second. We include a two-stage baseline whose split is tuned with oracle knowledge of the shift. This deliberately favors it and gives an upper bound on what decoupling can achieve.

Why not just use classical $D_s$-optimality? It requires an explicit, differentiable likelihood and a point guess for the parameters. It also ignores nuisance prior information entirely, which wastes budget when the prior is accurate. It appears as the large-$\varepsilon$ endpoint of our criterion and as a baseline on the explicit benchmarks.

Proposed Experiments

We use four benchmarks from the file, each with a defined target, nuisance and design. The first is a pharmacokinetic model with 15 blood-sampling times, adapted from SGO-FIG. The target is the elimination rate, and the nuisances are the absorption rate and an assay calibration offset. Its explicit likelihood allows exact checks against plug-in $D_s$ and ELIG.

The second is 2D Darcy flow, set up as in the energy-based couplings work using its 20,000-pair dataset protocol. The design is sensor placement, the target is a low-dimensional summary of the coefficient field, and the nuisance is boundary-condition amplitudes. The third is the block copolymer simulator of Bayesian Model Calibration for Block Copolymer Self-Assembly. Its design is the grid of magnification, blur and noise levels, its targets are the interfacial parameters, and its nuisances are microscopic disorder statistics. The fourth is the strong-lensing pipeline of the TMNRE study. Its design is the allocation of a fixed exposure budget across mock observations, its target is the warm dark matter half-mode mass, and its nuisance summary is the subhalo mass-function normalization. Lensing is run last, because of its cost of roughly $10^5$ images per round.

On every benchmark, the evaluation shifts the true nuisance distribution along a grid of KL radii, including shifts beyond the design's $\varepsilon$. We report target error (RMSE or relative $L^2$), target log-score, and the coverage of 90% credible intervals. Coverage is reported because shifts that leave error unchanged can still produce overconfident intervals, the failure mode documented by NAPS.

Three checks decide the outcome. First, under nominal nuisances our design must stay within the pre-registered margin of the nominal marginal-EIG design. Second, under shifts at the design radius it must beat nominal marginal EIG, the broadened-prior variant and the oracle two-stage design on worst-case error and coverage. Third, in sequential runs the nominal design should show target error rising with rounds under shift while ours does not. If that third effect fails to appear on any benchmark, the premise of the proposal is wrong for realistic simulators.