MapPFN: Learning Causal Perturbation Maps in Context
Marvin Sextro, Weronika Kłos, Gabriel Dernbach
TL;DR
MapPFN tackles the challenge of predicting perturbation effects in unseen biological contexts by framing perturbation prediction as a context-conditioned distribution mapping. It introduces a prior-data fitted network pretrained entirely on synthetic data from structural causal models and gene regulatory networks, and uses a Multimodal Diffusion Transformer to perform in-context learning, generating $p(oldsymbol{y}^{\text{int}}_q \mid do(t_q), \boldsymbol{Y}^{\text{obs}}, \mathcal{C})$ in a single forward pass without gradient updates. Across synthetic SCMs and real Perturb-Seq data, MapPFN achieves competitive performance and robust DEG recovery, with interventional context and paired counterfactual priors providing measurable gains. The work highlights the potential of synthetic priors to enable context-adaptive virtual cell models, while noting limitations related to prior fidelity and scalability, and outlining a path toward larger-scale, context-aware perturbation prediction.
Abstract
Planning effective interventions in biological systems requires treatment-effect models that adapt to unseen biological contexts by identifying their specific underlying mechanisms. Yet single-cell perturbation datasets span only a handful of biological contexts, and existing methods cannot leverage new interventional evidence at inference time to adapt beyond their training data. To meta-learn a perturbation effect estimator, we present MapPFN, a prior-data fitted network (PFN) pretrained on synthetic data generated from a prior over causal perturbations. Given a set of experiments, MapPFN uses in-context learning to predict post-perturbation distributions, without gradient-based optimization. Despite being pretrained on in silico gene knockouts alone, MapPFN identifies differentially expressed genes, matching the performance of models trained on real single-cell data. Our code and data are available at https://github.com/marvinsxtr/MapPFN.
