Manuscript Offprint
arXiv:2610.20288Predicting Unseen Scientific Interactions: Conditional Flow Models Hallucinate Non-Additive Effects
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
-
Held-out queries condition space C
-
Aggregate check
- truth - generated
- Interaction geometry

☐ observed ☑ held out
hallucination
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 ( ), far below a trivial baseline (2). But decomposing the prediction into the component along the true interaction ( ) and the orthogonal, unrelated component ( ) distinguishes the samples into interaction recovery ( ) and attenuated interaction with hallucinated structure ( ) (3). Finally, applying a readout function can considerably change the results ( ), 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.
2.1 Setup
We start by providing a brief general framework. Given two factors A and B taking values a and b (categorical or continuous), flow matching models predict response distributions over with conditional means . The factors are additive if for functions g and h and the interaction here is the part of the response not captured by such decomposition. For reference levels (Section 2.3), we define the additive interaction contrast as
which vanishes for all if and only if is additive. In the canonical design with a 0 baseline, individual conditions A and B, and their joint condition AB, this reduces to
For continuous factors without a natural reference level, there is no scientifically meaningful choice for . We therefore use functional ANOVA (Section 2.2), which avoids choosing a reference. Namely, its interaction at each condition is simply the average of the contrast across all possible reference points in the grid. The interaction is contrasted with the total effect which is what most aggregate evaluations are sensitive to.
Interactions depend on the representation. Scientific disciplines are often concerned with representations in a semantic space (rather than the raw output space), which then form the basis for drawing conclusions. For a fixed, deterministic readout function , . If is nonlinear, then interaction recovery in the output space does not imply recovering it after applying the readout. Therefore, may be considerably smaller than , in which case evaluating model predictions only in the output space can be incomplete or misleading.
Relating endpoint errors to interaction errors. Let denote the predicted mean response under condition and the endpoint error. By substituting into the definition of we get:
where denotes the implied interaction based on the model predictions. These four errors have no guarantee of cancellation meaning that a small joint error does not bound the interaction error. Conversely, any errors shared across conditions may cancel out and thus small interaction errors do not indicate that individual conditional means are accurate.
Due to this, we distinguish between 'anchored' and fully generated estimates. The former relies on reference conditions while the latter relies fully on the model:
The anchored error corresponds to and isolates model error for unseen conditions, which is analogous to experimental settings in which only single factors (but not their joint) have been measured. instead corresponds to using the model for the whole experiment.
Distinguishing hallucination and other interaction failure modes. To expose distinct failure modes, we decompose the prediction into two components: one along the true interaction and along an orthogonal component:
where is the part of the model prediction orthogonal to the true interaction. then is the signed gain along the true interaction with denoting the orthogonal relative energy. Because the components are orthogonal this gives the following exact identity:
The zero-interaction predictor is with . Thus, indicates how much of the true interaction the model recovered and how much the model additionally hallucinated. with a small can be interpreted as an attenuated predicted interaction, a reversal, an exaggeration, and with a large indicating error of which the structure is unrelated to the truth (Figure 1). We note that with and denoting the angle between the predicted and true interaction, we get and . These are consequently recoverable from commonly used quantities rather than novel metrics.
Identification and generalization regimes. Many conditional-mean functions agree on the training support while yielding distinct interactions for held-out targets. Consequently, is not identified by the training support alone, with inductive biases determining the prediction. Hence our experiments can be seen as evaluating this bias.
Crucially, this distinguishes an interaction setting from the additive compositional generalization problem. Namely, with interactions, the widely studied L-shaped support for grid-based contexts [Wiedemer et al., 2023] therefore requires function extrapolation that the observed marginals do not determine. We distinguish between generalization regimes based on what partially enables identification:
• Smoothness identified: the held-out region of condition space is surrounded by joint observations.
• Relationally identified: factors A and B are each observed in other combinations.
• Underdetermined: regime in which only marginals have been observed and thereby a training support which does not provide any constraint on interactions on the held-out region.
Table 1: Metrics overview.
| Metric | Definition | 1 corresponds to |
| predicting the baseline | ||
| an error the size of the total response | ||
| predicting zero interaction | ||
| Section 2.1 | - |
2.2 Metrics
We normalize errors such that a value of 1 corresponds to a trivial predictor. Specifically, we use the response scale for response errors and the interaction scale for interaction errors (Table 1). is a domain-appropriate control or reference response.
For a design, is the response minus the additive part . Our simulator uses a large 2D grid of conditions and therefore has many condition levels per factor. We therefore obtain the same decomposition using functional ANOVA over this grid, with , where is the grand mean plus the two main-effect surfaces and the residual non-additive component. We also apply this to the model's generated grid , giving , where is the additive part of the model's prediction and its interaction. All grid cells are used to compute the grand and main-effect means. , and are computed afterwards on the held-out region of condition space.
2.3 Domain-specific interaction targets
The additive contrast is realized differently across our four studied systems (described in Section 2.5):
-
Physiological time series: given continuous factors without a natural reference level, we use the fANOVA decomposition directly in the waveform representation, such that is itself a time series.
-
Physiological readout: a nonlinear physiological readout is applied to the generated waveforms before the fANOVA decomposition, yielding .
-
Single-cell perturbation: we use unperturbed controls as the reference, with computed from condition-level mean expression vectors, thus yielding a vector over genes.
-
Molecular conformers: as graphs with different atom counts cannot be averaged in coordinate space, we define the interaction on a readout: the mean heavy-atom radius of gyration over conformers; as reference, we use the unedited parent molecule
-
Drug dose–response: the zero dose of the combined drug serves as the reference, and we define interaction relative to Bliss independence rather than additively (see below).
Additivity is not a sensible null for drug combinations as fractional effects are bounded to [0, 1], meaning simple addition of two drug effects can violate these bounds. Consequently, Bliss independence is commonly used in pharmacology, which assumes that two drugs act independently [Bliss, 1939]. Concretely, we define and as normalized (to [0, 1]) fractional drug effects such as inhibition, where 0 indicates no effect and 1 fully inhibiting. When drugs act independently, their combined effect is
Equivalently, Bliss independence means multiplication of surviving fractions, , which is additive following the readout and another example of interactions being representation-dependent (Section 2.1). Next, we can define the interaction as the deviation from this independent effect:
Positive values then indicate drug-drug synergy seeing as inhibition is larger than expected and negative values vice versa indicate antagonism.

Figure 2: Held-out designs across the four systems. Please see Section 2.5 for details.
2.4 Models
We train conditional flow matching models following Lipman et al. [2023] with minor variations across domains which we summarize in Appendix Table 5. In the standard setting, we learn a velocity field that transports to the conditional data distribution along the probability path where indicates the flow matching time. Models are trained using an MSE loss and, unless stated otherwise, sampled by numerical integration of the learned flow. Table 5 also includes conditioning, optimization, model architectures, and prediction targets. For molecular conformers, we use a published equivariant flow-matching model conditioned on molecular graphs [Hassan et al., 2024].
We compare three ways of obtaining a prediction for the joint condition AB:
• Joint model is trained and evaluated with conditioning directly on AB and explicitly represents interaction.
• Composed composes the learned conditional velocity fields
at every sampling step and is a widely-used compositional approach for unseen combinations Liu et al. [2022], Du et al. [2023]. Importantly, is not necessarily zero as the composed and single-factor fields induce different nonlinear sampling trajectories.
• Shared-model AB relies on same network as used for the Composed evaluation, but instead directly queries AB. It thereby functions as a control which allows us to separate the effect of the shared training from the effect of the compositional step.
2.5 Datasets
We study four systems, which cover different aforementioned identification regimes while having well defined interaction targets (Figure 2). The physiological simulator of photoplethysmogram (PPG; widely used in wearables) maps melanin and blood-volume fractions to 16-channel PPG waveforms with 64 timesteps and provides exact simulator ground truths and a tunable interaction strength. Specifically, we use fANOVA to decompose the simulated grid as (Section 2.2) and define . Consequently, modulates the interaction while leaving both main effects and the grand mean unchanged. Then, refers to the original grid, with denoting a halved interaction strength and a purely additive setting. We construct a simplified version of PPGen [Behrmann et al., 2026], where tissue composition determines optical properties in a multilayer skin model. For each channel (ch), we apply a standard normalized pulse-amplitude (AC/DC) readout [Allen, 2007, Coutrot et al., 2021]:

Figure 3: Learning dynamics for PPG targets in the training set (ID) and unseen targets (OOD) for separate regions of condition space. We show mean dynamics of the joint model across three random seeds, with faint lines indicating single-seed runs.
Briefly, AC is the heartbeat-synchronous change, mainly attributed to pulsatile blood volume. Meanwhile, DC is the baseline optical signal from skin, melanin, and other slowly varying effects. The readout therefore asks the physical question of how large the pulsatile optical change is relative to the baseline reflectance, and how this jointly depends on melanin and dermal blood volume.
We include three further datasets enabling investigations in measured data under smoothness-identified and relationally-identified holdouts. Specifically, the dose-response dataset consists of longitudinal yeast growth responses (96-dimensional) to pairs of drugs administered on dose grids [Cokol et al., 2011]. We hold-out and predict and blocks for seen drug pairs. The Norman CRISPRa Perturb-seq dataset contains single-cell responses to single- and paired gene perturbations [Norman et al., 2019]. For the held-out double perturbations, other combinations of the targets are either included in the training set ('graph-supported' regime) or excluded ('cold-start' regime). We predict in a 500-dimensional PCA space. Finally, GEOM provides ensembles of 3D conformers for drug-like molecules [Axelrod and Gomez-Bombarelli, 2022]. We use chemical squares in which two edits are applied to a shared molecular core, enabling prediction of conformers for the double-edited molecule. We keep held-out targets fixed while varying the training support: parent molecules plus structurally similar molecules ('neighborhood'), 'parents only', or neither ('distant'). As edits are commonly observed on hundreds of other molecular cores, relational support is constant while local smoothness support varies. We provide more details on these datasets in Appendix C.
For the empirical data, we report the anchored estimate to approximate more realistic scientific workflows. For PPG, only generated estimates are applicable. Interaction magnitudes vary across the systems, with interaction-to-total norm ratios of 5.6% (PPG), 23.2% (dose-response; median assay), 46.1% (perturbation; median pair), and 47.4% (conformer; median family). This corresponds to 0.3%, 5%, 21%, and 22% of response energy respectively. For , we use the lowest melanin/blood volume value, untreated responses, unperturbed conditions, and unedited parent molecule.
3 Results
3.1 Aggregate endpoint error conceals interaction learning dynamics
For the synthetic PPG dataset, we hold-out two corners of the condition space (low-low (LL) and high-high (HH)), referring to the melanin and blood volume values) and investigate errors across training (Figure 3). Whereas additive and endpoint errors appear to have largely converged by 10K optimizer steps, the interaction error has not. Specifically, for seen targets, the model needs at least an order of magnitude longer training. For unseen targets, we observe two distinct dynamics: when LL is held-out, interaction error stays high and plateau's by 50K steps. In contrast, for unseen HH targets, interaction error is approximately 7 times smaller by 20K steps,
We also find such decoupling between trajectories of endpoint and interaction errors in measured data, albeit in the opposite direction. For held-out Norman pairs, begins to increase after steps while continues to decrease until steps (Appendix Figure 7). Consequently, checkpoint selection using endpoint error selects models whose interaction predictions are already degrading. In the well-constrained setting of dose-response prediction, no clear decoupling is observed.

Figure 4: Interaction errors for unseen PPG targets. The left panel shows errors in the output (waveform) representation and readout (AC/DC) representation, while the right panel shows a magnified view of the (same) waveform results. The interaction strength was modulated and is indicated by a dark bright marker color gradient. Mean over training and inference seeds.
3.2 Distinguishing interaction-prediction failures
Distinct recoverability of a shared condition space. We further investigate these bifurcated results by inspecting model interaction recovery and hallucination (Figure 4). We observe stark differences, with joint models largely recovering the interaction for HH but not LL targets ( and at , respectively). Hallucinated structure is also higher for LL ( vs 0.43). For this LL corner, we provide the produced maps of interaction in Appendix Figure 6, showing that composed and shared-model AB baseline significantly underestimate interaction amplitude.
These results showcase that the extend to which interactions can be extrapolated based on a joint training support can strongly depend on the modeled domain. The two corners are geometrically matched but not physically equivalent. We find that a simple log-additive continuation rule selected based on the training support transfers to the held out HH corner. LL, in contrast, approaches a physical boundary where it is not (Appendix D). This maps to the aforementioned identifiability problem.
Modulating interaction strengths. The PPG simulator allowed us to do a controlled investigation of different interaction strengths ( ). However, at , we have and thus and are not applicable. As such, to quantify what interaction a model predicts in the absence of a true interaction to recover, we compare against the full-strength truth , with and . Ideally, a model shows and .
We observe that reducing interaction strength leads to monotonic decreases in , indicating models do somewhat calibrate their magnitudes based on the training support. For LL, hallucinated structure similarly decreases. Importantly, at , for all models. Thus, when the true interaction has been fully removed, models still generate structure, with joint and . This suggests that models' inductive bias produces a baseline level of non-additivity.
Strong predictions in output space can mask failed recovery in readout space. While the joint model predicts interaction for unseen HH targets well in waveform space, results can differ significantly after a physiological readout, with and .
3.3 Interaction errors across regimes
Finally, we study interaction recovery and hallucination across generalization regimes and varying training supports. For PPG, whereas previously we held out 25% of the condition grid, we now extend this to 50% and 75% and train only for 100K steps due to computational costs.

Figure 5: Interaction recovery and hallucination for unseen targets across systems for joint models. Contour lines indicate and are not applicable to .
| System / holdout | ||
|---|---|---|
| PPG LL, 25% | ||
| PPG LL, 50% | ||
| PPG LL, 75% | ||
| PPG HH, 25% | ||
| PPG HH, 50% | ||
| PPG HH, 75% | ||
| Dose-response | ||
| Dose-response | ||
| Perturb. supported | ||
| Perturb. cold-start | ||
| Conformers neighb. | ||
| Conformers parents | ||
| Conformers distant |
Table 2: Normalized endpoint and relative interaction error of joint models, with 1 indicating prediction of a control response or zero interaction respectively. Mean and SDs across training seeds. For PPG, we always use 100K step checkpoints for consistency.
In most systems, as identification gets harder, we observe reduced interaction recovery ( ), with distinct delta magnitudes across systems. For PPG ( ) LL this nearly entirely removes weak recovery ( ), indicating the importance of locality for extrapolation. Meanwhile, HH is recoverable even far from the training support (1.03). For dose-response, we observe only a very weak drop ( ), with sufficient smoothness constraint persisting to the larger held-out block. We confirm this by fitting a standard (deterministic) regression baseline and find nearly identical recovery ( ). For perturbations, recovery is again reduced ( ), highlighting the importance of other observed combinations. We observe an exception for molecular conformers, with less local support leading to increases in ( ). We find this results from exaggerated differences between scaffold families, while within-family recovery remains attenuated (further details in Appendix E).
Interestingly, we observe increased hallucination across systems: PPG HH , dose-response , perturbations , and conformers . This suggests hallucinated structure not to be a fixed property of the model and that they do not merely add a baseline level of hallucinated structure, but that this scales as targets get less identifiable.
Comparing endpoint and interaction errors instead, reveals an important further insight (Table 2). Namely, for PPG LL, enlarging the held-out region of condition space maintains non-trivial endpoint prediction ( ), while making the interaction prediction no better than predicting no interaction at all ( ).
4 Discussion
We have investigated how flow models learn interactions and generate them for unseen targets using error decompositions. We have found multiple interesting dynamics: aggregate endpoint errors can conceal interaction errors, scientifically-relevant readouts can materially change interaction prediction scores, and found that both recovery and hallucination depend on identifiability regimes.
Our findings suggest that scientific evaluation should test interaction recovery directly in the representation space which is used to draw conclusions. With respect to data, individual factors appear insufficient; either collecting observations or appropriate structural assumptions are necessary to constrain unseen interactions. Computing interaction recovery and hallucination in addition to aggregate errors can help distinguish successful extrapolation from plausible predictions which miss the scientific effects of interest.
Limitations of the presented work include our restriction to two-factor interactions and a reliance on a mean-based (rather than distributional) contrast.
Acknowledgments and Disclosure of Funding
This research was funded by Gemeinnützigen Hertie-Stiftung and the Deutsche Forschungsgemeinschaft (DFG) through FOR 5187 (project number 442075332). Additional support was provided by the Machine Excellence Cluster and DFG through the Germany's Excellence Strategy (EXC 2064 - project number 390727645) and the following projects: CRC 1404 (project number 414984028), TRR 265 (project number 402170461), and RU 5363 (project number 459422098). Finally, we are grateful to all dataset providers for access.
References
Constantin Ahlmann-Eltze, Wolfgang Huber, and Simon Anders. Deep-learning-based gene perturbation effect prediction does not yet outperform simple linear baselines. Nature Methods, 22(8):1657–1661, 2025.
Sumukh K Aithal, Pratyush Maini, Zachary C Lipton, and J Zico Kolter. Understanding hallucinations in diffusion models through mode interpolation. Advances in neural information processing systems, 37:134614–134644, 2024.
John Allen. Photoplethysmography and its application in clinical physiological measurement. Physiological measurement, 28(3):R1–R39, 2007.
Simon Axelrod and Rafael Gomez-Bombarelli. Geom, energy-annotated molecular conformations for property prediction and molecular generation. Scientific data, 9(1):185, 2022.
Jens Behrmann, Maria R Cervera, Antoine Wehenkel, Andrew C Miller, Albert Cerussi, Pranay Jain, Vivek Venugopal, Shijie Yan, Guillermo Sapiro, Luca Pegolotti, et al. Inferring optical tissue properties from photoplethysmography using hybrid amortized inference. Machine Learning: Health, 2(1):015012, 2026.
Chester I. Bliss. The toxicity of poisons applied jointly. Annals of Applied Biology, 26(3):585–615, 1939. doi: 10.1111/j.1744-7348.1939.tb06990.x.
Jack Brady, Julius von Kügelgen, Sébastien Lachapelle, Simon Buchholz, Thomas Kipf, and Wieland Brendel. Interaction asymmetry: A general principle for learning composable abstractions. In International Conference on Learning Representations, volume 2025, pages 46606–46660, 2025.
Murat Cokol, Hon Nian Chua, Murat Tasan, Beste Mutlu, Zohar B. Weinstein, Yo Suzuki, Mehmet E. Nergiz, Michael Costanzo, Anastasia Baryshnikova, Guri Giaever, Corey Nislow, Chad L. Myers, Brenda J. Andrews, Charles Boone, and Frederick P. Roth. Systematic exploration of synergistic drug pairs. Molecular Systems Biology, 7:544, 2011. doi: 10.1038/msb.2011.71.
Maxime Coutrot, Emmanuel Dudoignon, Jona Joachim, Etienne Gayat, Fabrice Vallee, and François Depret. Perfusion index: physical principles, physiological meanings and clinical implications in anaesthesia and critical care. Anaesthesia Critical Care & Pain Medicine, 40(6):100964, 2021.
Kefan Dong and Tengyu Ma. First steps toward understanding the extrapolation of nonlinear models to unseen domains. arXiv preprint arXiv:2211.11719, 2022.
Yilun Du, Conor Durkan, Robin Strudel, Joshua B. Tenenbaum, Sander Dieleman, Rob Fergus, Jascha Sohl-Dickstein, Arnaud Doucet, and Will Sussman Grathwohl. Reduce, reuse, recycle: Compositional generation with energy-based diffusion models and MCMC. In Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 8489–8510. PMLR, 2023.
Sam Gijsen, Michał Łukomski, Marc-André Schulz, and Kerstin Ritter. Flow matching with in-context priors for out-of-distribution brain dynamics, 2026.
Majdi Hassan, Nikhil Shenoy, Jungyoon Lee, Hannes Stärk, Stephan Thaler, and Dominique Beaini. Et-flow: Equivariant flow-matching for molecular conformer generation. Advances in neural information processing systems, 37:128798–128824, 2024.
Siyu He, Yuefei Zhu, Daniel Naveed Tavakol, Haotian Ye, Yeh-Hsing Lao, Zixian Zhu, Cong Xu, Shradha Chauhan, Guy Garty, Raju Tomer, et al. Squidiff: predicting cellular development and responses to perturbations using a diffusion model. Nature methods, 23(1):65–77, 2026.
John B. Ingraham, Max Baranov, Zak Costello, Karl W. Barber, Wujie Wang, Ahmed Ismail, Vincent Frappier, Dana M. Lord, Christopher Ng-Thow-Hing, Erik R. Van Vlack, Shan Tie, Vincent Xue, Sarah C. Cowles, Alan Leung, João V. Rodrigues, Claudio L. Morales-Perez, Alex M. Ayoub, Robin Green, Katherine Puentes, Frank Oplinger, Nishant V. Panwar, Fritz Obermeyer, Adam R. Root, Andrew L. Beam, Frank J. Poelwijk, and Gevorg Grigoryan. Illuminating protein space with a programmable generative model. Nature, 623(7989):1070–1078, 2023. doi: 10.1038/s41586-023-06728-8.
Dominik Klein, Jonas Simon Fleck, Daniil Bobrovskiy, Lea Zimmermann, Sören Becker, Alessandro Palma, Leander Dony, Alejandro Tejada-Lapuerta, Guillaume Huguet, Hsiu-Chuan Lin, et al. Cellflow enables generative single-cell phenotype modeling with flow matching. bioRxiv, pages 2025–04, 2025.
Sébastien Lachapelle, Divyat Mahajan, Ioannis Mitliagkas, and Simon Lacoste-Julien. Additive decoders for latent variables identification and cartesian-product extrapolation. Advances in Neural Information Processing Systems, 36:25112–25150, 2023.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PqvMRDCJT9t.
Samuel Lippl and Kim Stachenfeld. When does compositional structure yield compositional generalization? a kernel theory. arXiv preprint arXiv:2405.16391, 2024.
Nan Liu, Shuang Li, Yilun Du, Antonio Torralba, and Joshua B. Tenenbaum. Compositional visual generation with composable diffusion models. In Computer Vision – ECCV 2022, volume 13677 of Lecture Notes in Computer Science, pages 423–439. Springer, 2022. doi: 10.1007/978-3-031-19790-1_26.
Thomas M. Norman, Max A. Horlbeck, Joseph M. Replogle, Alex Y. Ge, Albert Xu, Marco Jost, Luke A. Gilbert, and Jonathan S. Weissman. Exploring genetic interaction manifolds constructed from rich single-cell phenotypes. Science, 365(6455):786–793, 2019. doi: 10.1126/science.aax4438.
Maya Okawa, Ekdeep S. Lubana, Robert P. Dick, and Hidenori Tanaka. Compositional abilities emerge multiplicatively: Exploring diffusion models on a synthetic task. In Advances in Neural Information Processing Systems, volume 36, pages 50173–50195, 2023. doi: 10.52202/075280-2182.
Core F Park, Maya Okawa, Andrew Lee, Hidenori Tanaka, and Ekdeep S Lubana. Emergence of hidden capabilities: Exploring learning dynamics in concept space. Advances in Neural Information Processing Systems, 37:84698–84729, 2024.
Kristina Preuer, Richard PI Lewis, Sepp Hochreiter, Andreas Bender, Krishna C Bulusu, and Günter Klambauer. Deepsynergy: predicting anti-cancer drug synergy with deep learning. Bioinformatics, 34(9):1538–1546, 2018.
Nasim Rahaman, Aristide Baratin, Devansh Arpit, Felix Draxler, Min Lin, Fred Hamprecht, Yoshua Bengio, and Aaron Courville. On the spectral bias of neural networks. In International conference on machine learning, pages 5301–5310. PMLR, 2019.
Yusuf Roohani, Kexin Huang, and Jure Leskovec. Predicting transcriptional outcomes of novel multigene perturbations with gears. Nature biotechnology, 42(6):927–935, 2024.
Kenneth J. Rothman, Sander Greenland, and Alexander M. Walker. Concepts of interaction. American Journal of Epidemiology, 112(4):467–470, 1980. doi: 10.1093/oxfordjournals.aje.a113015.
Philipp S. L. Schäfer, Kendall A. Reid, Zach Boldyga, Ekin D. Aksu, Hugo Hakem, and Julio Saez-Rodriguez. Towards principled evaluation of single-cell perturbation prediction models. bioRxiv, 2026. doi: 10.64898/2026.07.23.740433.
Parshin Shojaee, Kazem Meidani, Shashank Gupta, Amir Barati Farimani, and Chandan Reddy. Llm-sr: Scientific equation discovery via programming with large language models. In International Conference on Learning Representations, volume 2025, pages 16054–16085, 2025.
Tyler J VanderWeele and Mirjam J Knol. A tutorial on interaction. Epidemiologic methods, 3(1): 33–72, 2014.
Ramon Viñas Torné, Maciej Wiatrak, Zoe Piran, Shuyang Fan, Liangze Jiang, Sarah A Teichmann, Mor Nitzan, and Maria Brbić. Systema: a framework for evaluating genetic perturbation response prediction beyond systematic variation. Nature Biotechnology, pages 1–10, 2025.
Joseph L. Watson, David Juergens, Nathaniel R. Bennett, Brian L. Trippe, Jason Yim, Helen E. Eisenach, Woody Ahern, Andrew J. Borst, Robert J. Ragotte, Lukas F. Milles, Basile I. M. Wicky, Nikita Hanikel, Samuel J. Pellock, Alexis Courbet, William Sheffler, Jue Wang, Preetham Venkatesh, Isaac Sappington, Susana Vázquez Torres, Anna Lauko, Valentin De Bortoli, Emile Mathieu, Sergey Ovchinnikov, Regina Barzilay, Tommi S. Jaakkola, Frank DiMaio, Minkyung Baek, and David Baker. De novo design of protein structure and function with RFdiffusion. Nature, 620(7976):1089–1100, 2023. doi: 10.1038/s41586-023-06415-8.
Thaddäus Wiedemer, Prasanna Mayilvahanan, Matthias Bethge, and Wieland Brendel. Compositional generalization from first principles. In Advances in Neural Information Processing Systems, volume 36, pages 6941–6960, 2023. doi: 10.52202/075280-0304.
Chenglei Yu, Chuanrui Wang, Bangyan Liao, and Tailin Wu. scDFM: Distributional flow matching model for robust single-cell perturbation prediction, 2026. ICLR 2026 poster.
A Interaction Maps

Figure 6: Maps showing the non-additive interaction projected onto the primary truth interaction mode. Colors indicate the signed interaction amplitude, normalized by the low-low truth RMS. The dotted square indicates the held-out region of condition space (corresponding to PPG LL 25%). To aid visualisation, we clip the colormap to [0.5%, 99.5%] of the maximum amplitude.
B Additional Learning Dynamics

Figure 7: Held-out evaluation across the training trajectory for the Cokol et al. [2011] dose-response setting and for the Norman et al. [2019] perturbation data. While the former shows synchronous dynamics for aggregate and non-additive metrics due to a smoothness-constrained held-out region of condition space, the latter shows decoupling. Specifically, whereas begins to increase after 30K steps, continues to decrease up to 50K steps. The shading indicates checkpoint selection based on validation endpoint error, highlighting that using endpoint error for model selection can be suboptimal for interaction prediction.
C Dataset details
C.1 PPG simulator
The PPG data are generated using deterministic replay of a fixed Monte Carlo photon-path bank using a three-layer skin model (simplified from Behrmann et al. [2026]). A path bank contains photon histories for 35 scattering settings with linear interpolation between adjacent settings, and Beer-Lambert reweighting applying absorption. This makes the simulator deterministic conditional on the path bank. We generate 64 time points for four source-detector distances (3-6 mm) across four wavelengths (525, 660, 850, 940 nm).
The condition space is made up of epidermal melanin (0.25–14%) and dermal blood volume (BV2; 0.1–3.9%). Meanwhile, arterial oxygen saturation is fixed at 80% and subcutaneous blood volume at 4.05%. The temporal blood-volume modulation follows a normalized arterial luminal-area waveform (from the PWDB database; age-45). Dermal and subcutaneous blood volumes are multiplied by with .
First, we simulate a uniform Mel-BV2 grid. We apply balanced functional ANOVA to the clean reference grid, writing , where contains the grand mean and the Mel and BV2 main-effect functions, and is the residual interaction. The controlled interaction-strength grids are then defined as . As such, is the original grid, with reducing its interaction while preserving the mean and main effects. Mel-BV2 pairs are drawn independently and uniformly across the condition space. We obtain the PPG waveform for every pair by bilinearly interpolating each detector-wavelength-time coordinate of the reference grid.
Table 3: PPG simulator configuration.
| Component | Configuration |
|---|---|
| Tissue geometry | Epidermis/dermis/subcutaneous thicknesses: 0.20/1.50/18.30 mm; 0.05-mm isotropic voxels; -mm domain. |
| Source and detectors | Normally incident uniform disk source, radius 1.6 mm; four spherical detectors of radius 0.25 mm at 3, 4, 5, and 6 mm. |
| Optical constants | Refractive index ; anisotropy ; shared reduced-scattering law . |
| Absorbers | Eumelanin in epidermis; water and lipid in all layers; collagen in dermis; oxygenated/deoxygenated hemoglobin in dermis and subcutaneous tissue. |
| Photon-path bank | 35 scattering settings; photons per setting; 5-ns MCX time window; fixed paths reused for absorption replay. |
Splitting. We use nested low-low or high-high rectangles to create increasingly larger hold-out regions of condition space: . These contain 735k/15k, 490k/10k, and 245k/5k training/validation samples, respectively. For final evaluation, we use a consistent held-out corner of condition space such that the test region does not change as the training support shrinks.
C.2 Drug-response data
The Cokol et al. [2011] yeast screenings consist of 200 drug-pair assays across 33 drugs, with 175 different-drug assays and 25 same-drug controls. Each assay is an dose grid, with every cell consisting of a 96D growth curve. This results from 15 minute measurements across 24 hours, yielding 12800 total trajectories.
Splitting. For each assay we hold out a fixed set of blocks (rather than cross-validation). The hold-out yields [11577, 759, 464] train/validation/test trajectories, with sample sizes being [11077, 769, 954]. The same 106 assays are used to compare across the two block sizes. Untreated, single-drug, and same-drug conditions are included in both training sets.
C.3 Single-cell perturbation data
The Norman et al. [2019] K562 CRISPRa Perturb-seq dataset consists of 91205 cells and 5045 genes, including controls, single perturbations, and 131 double perturbations which involves 73 genes. The double-perturbation conditions contain 49-1030 cells (median=257). Models use a 500D PCA representation fitted to 20000 control and single-perturbation cells. For evaluation, we decode predictions to the 5045-gene log-expression space.
Splitting. We use cross-validation with four outer folds holding out each double perturbation once, while all controls and single perturbations are always included in the training set. Train/validation/test sample sizes range between [78539-80391, 2628-3770, 7348-9992] cells. Of the 131 test pairs, 113 are 'graph-supported' meaning that both genes are included in other training pairs. For the remaining 18 'cold-start' pairs, at least one of the two genes has no observed training pairs. The four folds are repeated across three training seeds.
C.4 Molecular conformer data
GEOM contains conformer ensembles of drug-like molecules [Axelrod and Gomez-Bombarelli, 2022]. We use a pool of 26830 molecules with at least one retained conformer. The target distribution for a molecule is uniform over its 30 conformers which have the highest CREST weights (following Hassan et al. [2024]), sampled randomly during training. As a readout, we use the heavy-atom radius of gyration ( ) over conformers. For generated estimates, we average across 128 draws per molecule.
Chemical squares. Molecules are decomposes into a core with two attachment sites, each carrying one substituent. A 'square' is made up of a parent molecule (00), two single edits each swapping the substituent at one site (10, 01), and the double edit (11). From a set of 3319 squares, we retain those for which all corners share a scaffold and have 10 conformers. We select 30 scaffold families with five squares per family, which yields 150 test queries with 384 unique parent molecules.
Splits. The 'neighborhood' of the test squares is specified as the union of the 30 scaffold families and all pool molecules with Morgan fingerprint (radius 2, 2048 bits, chirality-aware) Tanimoto similarity 0.6 to a square corner (4504 molecules). Each of the three arms contain 22076 training molecules of which 17572 are shared. The Neighborhood arm adds all 4504 neighborhood molecules (including the 384 parents), while Parents only adds the 384 parents and 4120 additional distant controls, and finally Distant adds only 4504 distant controls such that no parent or neighborhood molecule is seen. Controls are matched to the removed molecules across multiple graph properties (heavy atoms, rings, bonds, rotatable bonds, heteroatoms, formal charge, aromatic atoms; all absolute mean differences 0.11). The same validation and target sets were used across the three arms.
C.5 Evaluation
Prior to computing endpoint and interaction metrics, we average across sampling seeds within each trained model. For PPG, we average across four sampling seeds, for drug-response data we average eight predictions, and for single-cell perturbation data we average eight batches of 24 generated cells. We report variation across training seeds, with PPG using three seeds, drug-response data uses four seeds, single-cell perturbation data using three, and conformers using three.
D Why do the PPG hold-out corners differ?
To understand why flow models trained on PPG data extrapolated well into the held-out high-high (HH) corner, but not into the geometrically matched low-low (LL) corner, we performed a small check on spatial continuation. Specifically, we use the training support to select from a small set of simple continuation rules. This procedure selected a raw-log-additive rule which constructed HH highly accurately (RMSE=0.007, interaction cosine=1.00). While the same rule was selected when LL was held out, it failed to extrapolate (RMSE=0.771). This suggests that the response dynamics in the held-out HH corner continue smoothly from observed support, while the LL region has interaction structure which cannot be accurately inferred from the L-shaped training support.
E Extra results for molecular conformers
Paired differences. As all arms predict the same queries, we can compare them via paired differences which are more precise than arm-specific means. As we move across the arms Neighborhood → Parents only → Distant reduces , , adn (family-bootstrap intervals exclude zero). Compared to Distant, the more supported arms also have lower : removing nearby support increases aligned amplitude, although this increase is outweighed by the misaligned error ( ).
Table 4: Anchored GEOM results. Arm values are mean SD over three training seeds. Paired differences are mean seed SD of per-seed differences with 95% scaffold-family bootstrap intervals in brackets.
| Neighborhood | ||||
| Parents only | ||||
| Distant | ||||
| Neighb. – parents | ||||
| [-0.062,\ 0.031] | [-0.122,\ -0.008] | [-0.107,\ -0.013] | [-0.066,\ -0.008] | |
| Parents – distant | ||||
| [-0.099,\ -0.031] | [-0.181,\ -0.051] | [-0.166,\ -0.018] | [-0.103,\ -0.011] | |
| Neighb. – distant | ||||
| [-0.147,\ -0.007] | [-0.281,\ -0.074] | [-0.251,\ -0.044] | [-0.155,\ -0.027] |
Why does increase with less support? To understand why, we decompose , with endpoint error , and split the covariance into two terms: one within- and one between-family terms over the 30 scaffold families. Of the increase in resulting from Distant compared to Neighborhood training, a global offset contributes , within-family terms , and between-family terms . The amplitude of family-average interactions increase from 0.87 (neighborhood) and 0.92 (parents only) overshooting to 1.14 (distant), while the within-family amplitude remains attenuated at 0.64, 0.63, and 0.65. Correlations between predicted and true interactions decrease (overall: 0.74, 0.72, 0.70, within-family: 0.70, 0.69, 0.67). This indicates that moving to a Distant training setup therefore mostly rescales coarse, family-level interactions rather than boosting recovery of square-specific interactions. These results once more indicate caution is needed with single metrics and the utility of additionally inspecting .
F Implementation details
Table 5: Implementation details for the four experimental settings. For molecular conformers, we follow [Hassan et al., 2024].
| Detail | PPG | Dose-response | Perturbation | Conformers |
|---|---|---|---|---|
| Output Architecture | waveformConv-patch DiT | 96-point trajectorySymmetric MLP | PCA-500 expressionResidual MLP | 3D coordinates, all atomsET-Flow equivariant transformer (O(3), post-hoc parity) |
| Width / depth | 128 / 4 | 256 / 3 | 512 / 4 | 160 / 20 |
| Attention heads | 4 | N/A | N/A | 8 |
| Parameters | 0.86M (both) | 0.51M each | 3.03M | 8.34M |
| Conditioning | 2 factors; + presence bits (shared) | Drug-token set | Gene-token set | Molecular graph (atom/bond features) |
| Condition set | (Joint); all four (shared) | 0–2 drugs | 0–2 genes | One graph per molecule |
| Flow source | Gaussian noise | Gaussian noise | Measured control (OT-paired) | Harmonic prior, , RMSD-aligned |
| Prediction target | Endpoint | Endpoint | Velocity | Velocity |
| Training loss | MSE; 4-mask MSE (shared) | Endpoint MSE | Velocity MSE | Velocity MSE |
| Optimizer | AdamW | AdamW | AdamW | AdamW |
| Learning rate | (peak) | |||
| Weight decay | ||||
| LR schedule | 5k warm-up + cosine | Constant | Constant | 1k warm-up + cosine to |
| Gradient clipping | None | 5 | 1 | Adaptive (ET-Flow gradient-norm queue) |
| EMA decay | 0.999 | 0.999 | 0.999 | None |
| Batch size | 512 | 512 | 512 | 32 molecules ( accumulation) |
| Training budget | 1M steps | 20k steps | 200k steps / fold | 200 epochs (138k steps) |
| Checkpoint | Final EMA | Best covered-validation EMA | Best inner-validation EMA | Final (epoch 200) |
| Primary inference | Euler | endpoint | Heun | Euler |
| Inference steps | 128 | 1 | 20 | 50 |
| Joint prediction | Direct AB query | Direct AB query | Direct AB query | Direct query of the 11 graph |
| Composed prediction | N/A | N/A |