Papers › Retrieval-Augmented Generation for Predicting Cellular Responses to Gene Perturbation

Retrieval-Augmented Generation for Predicting Cellular Responses to Gene Perturbation

7 Mar 2026arXiv:2603.07233added by Syntology

Andrea Giuseppe Di Francesco, Andrea Rubbi, Pietro Liò

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Predicting how cells respond to genetic perturbations is fundamental to understanding gene function, disease mechanisms, and therapeutic development. While recent deep learning approaches have shown promise in modeling single-cell perturbation responses, they struggle to generalize across cell types and perturbation contexts due to limited contextual information during generation. We introduce PT-RAG (Perturbation-aware Two-stage Retrieval-Augmented Generation), a novel framework that extends Retrieval-Augmented Generation beyond traditional language-model applications to cellular biology. Unlike standard RAG systems designed for text retrieval with pre-trained LLMs, perturbation retrieval lacks established similarity metrics and requires learning what constitutes relevant context, making differentiable retrieval essential. PT-RAG addresses this through a two-stage pipeline: first, retrieving candidate perturbations K using GenePT embeddings, then adaptively refining the selection through Gumbel-Softmax discrete sampling conditioned on both the cell state and the input perturbation. This cell-type-aware differentiable retrieval enables end-to-end optimization of the retrieval objective jointly with generation. On the Replogle-Nadig single-gene perturbation dataset, we demonstrate that PT-RAG outperforms both STATE and vanilla RAG under identical experimental conditions, with the strongest gains in distributional similarity metrics (W₁, W₂). Notably, vanilla RAG's dramatic failure is itself a key finding: it demonstrates that differentiable, cell-type-aware retrieval is essential in this domain, and that naive retrieval can actively harm performance. Our results establish retrieval-augmented generation as a promising paradigm for modelling cellular responses to gene perturbation. The code to reproduce our experiments is available at https://github.com/difra100/PT-RAG_ICLR.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2603.07233")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

difra100/PT-RAG_ICLR found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

11unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from difra100/PT-RAG_ICLR. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

convert_gene_symbols_to_ensembl_rest difra100/PT-RAG_ICLR/src/state/emb/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 1b63e02e8b63680f · report
convert_symbols_to_ensembl difra100/PT-RAG_ICLR/src/state/emb/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 4abd9ccf6023bfed · report
create_onehot_embeddings difra100/PT-RAG_ICLR/src/state/_cli/_emb/_preprocess.py found in paper text by Syntology unverified no licence file found · pointer only · eed743a155284ff1 · report
create_result_anndata difra100/PT-RAG_ICLR/src/state/_cli/_emb/_query.py found in paper text by Syntology unverified no licence file found · pointer only · 7e10591ec8275582 · report
detect_gene_name_strategy difra100/PT-RAG_ICLR/src/state/_cli/_emb/_preprocess.py found in paper text by Syntology unverified no licence file found · pointer only · 62df89f8b70b416e · report
extract_dataset_info difra100/PT-RAG_ICLR/src/state/_cli/_emb/_preprocess.py found in paper text by Syntology unverified no licence file found · pointer only · cd7466d70c8925d6 · report
is_valid_uuid difra100/PT-RAG_ICLR/src/state/emb/utils.py found in paper text by Syntology unverified no licence file found · pointer only · 49e4e21267bd02c4 · report
load_gene_mapping difra100/PT-RAG_ICLR/src/state/_cli/_tx/_predict.py found in paper text by Syntology unverified no licence file found · pointer only · 81ad7013caeb0375 · report
load_hydra_config difra100/PT-RAG_ICLR/src/state/__main__.py found in paper text by Syntology unverified no licence file found · pointer only · 8782be2c68e09126 · report
run_emb_eval difra100/PT-RAG_ICLR/src/state/_cli/_emb/_eval.py found in paper text by Syntology unverified no licence file found · pointer only · 96ad67c08fe2d9ba · report
run_tx_infer difra100/PT-RAG_ICLR/src/state/_cli/_tx/_infer.py found in paper text by Syntology unverified no licence file found · pointer only · 9896b779b91448e7 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2603.07233, was issued in March 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections