arXiv:2610.20288cs.LGOct 2026

Manuscript Offprint

arXiv:2610.20288

Predicting Unseen Scientific Interactions: Conditional Flow Models Hallucinate Non-Additive Effects

Sam Gijsen, Moritz Seiler, Kerstin Ritter

Abstract

Conditional generative models are increasingly used for scientific prediction beyond the direct training support. Yet scientific questions often concern whether one intervention changes the effect of another. Such interactions can be of primary interest while explaining little of the total variation, allowing models to appear accurate overall without recovering the relevant scientific effect. It remains unclear how these models learn interactions and when these successfully extrapolate to unseen conditions. We therefore study interaction recovery in flow-matching models using a physiological time-series simulator, drug dose-response data, combinatorial cell perturbations, and molecular conformer generations, where we separate recovery from hallucinated interaction structure. In the controlled setting, individual effects are learned much earlier than interactions and models hallucinate interactions where none exist. Across settings, we find qualitatively different generalization problems, with successful prediction depending on whether condition structure continues from observed to held-out targets. When it does, interactions are recoverable. If not, models can generate plausible responses while missing the interaction. We furthermore find that hallucinations increase as targets become less identifiable, and that successful interaction recovery in output space can fail under nonlinear readouts. Finally, we show that aggregate fidelity metrics can conceal whether models learn and extrapolate interactions.

Conditional generative models such as diffusion and flow matching models have gained significant attention for generating novel biological samples and for predicting biological responses under unseen experimental conditions. Prominent use cases include single-cell transcriptomics [He et al., 2026, Yu et al., 2026], neuroscience [Gijsen et al., 2026], and protein design [Watson et al., 2023, Ingraham et al., 2023].

To be scientifically valuable, models must be able to predict how experimental conditions interact, rather than only generating broadly plausible responses. For example, administering two drugs together may be antagonistic, independent, or synergistic, and redundant pairs require predicting that a drug has a clear effect on its own but not when combined with another. Importantly, however, the bulk of overall variability across samples is often dominated by effects of individual factors. Conversely, interactions often account only for a small fraction, despite regularly being the primary object of scientific interest. For instance, in single-cell perturbation experiments, the interaction between cell-type and perturbation determines less of the variance than either factor by itself, yet it is often the central question [Schäfer et al., 2026].

*Correspondence to: samgijsen@gmail.com

Code available at: https://github.com/SamGijsen/interaction-flows

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: AI Data Readiness for Scientific Discovery.

As aggregate fidelity metrics (such as MSE or FID) are heavily influenced by those stronger effects of individual factors, they may tell us relatively little about how interactions are learned during training or whether an interaction learned from observed combinations can be extrapolated to unseen ones. This is critical for scientific prediction and discovery, as this implies risks where models may appear converged while still learning the interaction, or appear reasonably accurate while predicting the effect that motivated an experiment incorrectly. Furthermore, interactions are not only a property of the system but also of the data representation. A nonlinear readout of a sample can imply a different interaction, and therefore interaction recovery in output space does not transfer to a quantity which often can be more scientifically relevant.

The difficulty of this generalization problem directly depends on the available training data. A held-out target may be identifiable via smoothness of the condition space, via graph-relational knowledge, or underdetermined if only marginal support is provided. The latter problem, often called compositional generalisation [Wiedemer et al., 2023], is fundamentally different in the presence of interactions, as a training support covering each factor alone no longer determines the response in the held-out region of condition space [Brady et al., 2025]. Simply put, observing two factors separately does not determine how they interact [Lachapelle et al., 2023, Dong and Ma, 2022]. In this case, the missing relationship must come from observed joint conditions, inductive biases in the model, or meta-knowledge [Shojaee et al., 2025].

Here, we study how conditional flow models learn and extrapolate non-additive interactions in four systems that differ in the manner in which the training support constrains the held-out targets. Specifically, 1) a photoplethysmography (PPG) simulator with ground truth and tunable interaction strength, 2) drug dose-response screens where observed doses surround the held-out conditions, 3) combinatorial perturbations in single cells where components of a held-out pair are optionally excluded from observed pairs, and 4) radii of gyration over generated conformers given distinct molecular supports.

We summarize our contributions as follows:

• Diagnostics for interaction prediction. We decompose predicted interactions into interaction recovery and orthogonal hallucination, with an identity to interaction error.

• Hallucination of non-additivity. In a simulator with a controlled interaction strength, we find flow models to generate interactions even in fully additive regimes. We additionally find stronger hallucinations for less constrained targets across settings.

• Continuation rather than distance determines extrapolation. We show that held-out regions of a shared condition space at equal distance from the training support can be recovered almost completely or barely at all, depending on the continuation of the condition structure off the training support.

• Aggregate metrics conceal failures to predict interactions. We observe distinct learning trajectories for interactions compared to main effects, that low endpoint errors can accompany failed interaction recovery, and that recovery in output space can fail after a scientific readout.

1 Related work

Predicting perturbation and combination responses. Deep models are now commonly used to predict responses to unseen chemical and genetic perturbations and their combinations [Roohani et al., 2024, Klein et al., 2025, Preuer et al., 2018]. However, recent work shows that such models can fail to beat additive or mean baselines for double perturbations [Ahlmann-Eltze et al., 2025], and that common metrics are inflated by systematic variation [Viñas Torné et al., 2025]. As additive baselines predict no interaction, we use these as a reference for scoring interaction errors. We complement these existing evaluations by decomposing interaction errors and relating them to the identifiability of held-out condition regions.

Compositional generalization and inductive biases of generative models. Compositional generalization has often been studied in settings where the joint response is determined by its components [Wiedemer et al., 2023, Okawa et al., 2023, Liu et al., 2022, Lippl and Stachenfeld, 2024], which is an assumption that the presence of interactions violate. Prior work additionally links the order in which concepts are learned to their signal strength [Rahaman et al., 2019, Park et al., 2024], which

  1. Held-out queries condition space C

  2. Aggregate check

  • truth - generated
  1. Interaction geometry

I^=αI+I⊥\hat{I} = \alpha I + I_{\perp}

Figure

☐ observed ☑ held out

hallucination β\beta

Figure 1: Aggregate generation quality does not guarantee accurate predicted interactions. Two conditions are sampled with equal distance off the training support but in different directions (1). Both samples score well on normalized endpoint error ( Eend\mathcal{E}_{\text{end}}), far below a trivial baseline (2). But decomposing the prediction into the component along the true interaction ( α\alpha) and the orthogonal, unrelated component ( β\beta) distinguishes the samples into interaction recovery ( ✓\checkmark) and attenuated interaction with hallucinated structure ( ≈\approx) (3). Finally, applying a readout function gg can considerably change the results ( ✓→g×\checkmark \xrightarrow{g} \times), with less recovery and yet more hallucinated structure in the readout space compared to output space.

invites the question how low-energy interactions are learned. Diffusion models have also been shown to produce unseen samples by interpolating between modes [Aithal et al., 2024], with the interaction hallucinations we study here constituting an analogous failure over condition space rather than sample space.

Interactions depend on representations. Whether factors interact depends on the data representation in which we measure, which has been long established in epidemiology, where it is described as the interaction scale [Rothman et al., 1980, VanderWeele and Knol, 2014]. We extend this to the evaluation of generative models, showing that interaction recovery can differ between the output space and under a scientific readout.

References (44)