# Differentiable Retrieval-Augmented Generation for Predicting Cellular Responses to Gene Perturbation

*Andrea Giuseppe Di Francesco, Andrea Rubbi, Rishabh Jain, Pietro Lió*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/152229) · [Open on the map](../papers.html#p152229)

Category: [AI for Molecules, Materials & Genomics](../pcat/8.md) › [Cellular Perturbation Modeling](../pgroup/634.md) · Type: new method · Keywords: cellular response prediction, gene perturbation, retrieval-augmented generation, single-cell genomics, cross-cell-type generalization

Areas: [Retrieval-Augmented Generation](../areas/rag.md) › Retrieval-Augmented Generation › Retrieval-augmented generation; [AI for Science](../areas/ai-for-science.md) › Spatial Biology Modeling › Perturbation Prediction

## Summary
PT-RAG is a retrieval-augmented generation module that adaptively selects related perturbation contexts to improve single-cell response prediction across cell types and perturbations.

## Explained to a 5-year-old
Scientists want to know what happens to cells when they change genes. They have a computer that can guess the results, but it only looks at one gene at a time. The new idea lets the computer also look at similar genes to help it guess better. This helps the guesses be more accurate for different kinds of cells. So cells can be studied more reliably.

## Explained to a 5-year-old, longer
In biology, cells are tiny living things that follow instructions from genes. When a gene is changed, the cell makes different proteins, which changes its behavior. Scientists want to know what will happen to a cell if they turn a gene on or off. They built a computer program that tries to guess these changes based on past data. The program usually looks at each gene separately, like solving one puzzle at a time. But sometimes genes work together or affect each other, so looking alone can be inaccurate. The new idea adds a helper that finds other genes that are similar or related. It then asks the helper to suggest a few related genes that might give clues. The program can then use those clues together with the original gene to make a better guess. This works especially well when the same gene is tested in different types of cells. By using related information, the guesses become more reliable and closer to what actually happens. This helps scientists discover new medicines and understand how genes control life.

## For a technical reader
The paper presents a plug-in module that retrieves related gene perturbation examples and conditions the prediction model on them. It uses a two-stage process: first, a semantic search finds K candidate perturbations based on gene embeddings; second, a differentiable selector chooses which of those candidates to incorporate, depending on the control cell state, the query perturbation, and each candidate. This adaptive conditioning improves both distributional similarity and overall prediction accuracy, especially when generalizing to new cell types or unseen perturbations. The implementation is modular and can be added to existing single-cell response models without altering their core architecture. Experiments show a 10.7% reduction in Wasserstein distance on cross-cell-type benchmarks.

## Problem
Predicting transcriptional responses to genetic perturbations is challenging because existing models treat each perturbation independently, ignoring potentially useful information from related perturbations.

## Method
The approach augments a base perturbation-response model with a plug-in retrieval and conditioning module. It first performs semantic retrieval of K candidate perturbations using gene embeddings, then uses a differentiable selector to choose which retrieved contexts to condition on, based on control cell state, query perturbation, and each candidate. This two-stage retrieval allows adaptive context selection across cell types.

## Results
The approach improves distributional similarity and predictive quality across generalization tasks, reducing Wasserstein distance by 10.7% on cross-cell-type evaluation.

## Contributions
A plug-in retrieval-and-conditioning module that adaptively selects related perturbation contexts, enabling better generalization across cell types and perturbations, and an empirical demonstration of its benefits on cross-cell-type and cross-perturbation tasks.

## Research questions this paper is counted under

- [How can we predict cellular responses to genetic perturbations while accounting for context-specific effects and structural variability?](../q/147.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/152229)
