Generating Joint Transcriptomic and Morphological Responses to Drug Perturbations via Rectified Flow

This paper introduces PertFlow, a unified computational framework that simultaneously predicts drug-induced transcriptomic profiles and generates cellular morphology images by leveraging rectified flow to capture complex molecular-phenotypic dependencies across multiple cell lines and compounds.

Original authors: Verma, S., Wang, M., Wang, L., Sola, M., Kazemian, M., Grama, A., Lanman, N. A.

Published 2026-03-10
📖 5 min read🧠 Deep dive
⚕️

This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

Imagine you are a chef trying to predict exactly how a new spice will change a soup.

In the world of drug discovery, scientists face a similar challenge. They want to know: If we add this specific drug to a cell, how will the cell's internal chemistry change, and how will the cell itself look different?

For a long time, scientists had to guess these two things separately. They had one tool to predict the chemical changes (the "recipe") and another to guess the visual changes (the "appearance"). But cells are complex; the chemistry causes the appearance. If you ignore one, you miss the full story.

Enter PertFlow, a new AI system created by researchers at Purdue University. Think of PertFlow as a super-smart "Time-Traveling Chef" that can predict both the recipe and the final dish simultaneously.

Here is how it works, broken down into simple concepts:

1. The Problem: The "Split Screen" Issue

Imagine you are watching a movie on a split screen. On the left, you see the script (the genes talking to each other). On the right, you see the actors' faces (the cell's shape).

  • Old AI models were like watching only the script or only the faces. They couldn't see how a line of dialogue (a gene turning on) made the actor cry (the cell changing shape).
  • The Goal: We need a model that watches the whole movie at once, understanding that the script drives the acting.

2. The Solution: The "Universal Translator"

PertFlow is built to look at a "Control" cell (a healthy cell doing nothing) and a "Drug" (the spice). It then predicts what that cell will look like and what its genes will say after the drug is added.

It uses three main tricks to do this:

  • The Shared Language (Cross-Modal Attention):
    Imagine the cell's genes are speaking English and the cell's shape is speaking French. They are in different rooms and can't talk. PertFlow builds a universal translator in the middle. It forces the "Gene Speaker" and the "Shape Speaker" to sit at the same table and learn each other's language. This way, when the drug comes in, the AI understands that a change in the "Gene language" must result in a specific change in the "Shape language."

  • The "Straight-Line" Shortcut (Rectified Flow):
    Usually, AI models that generate images (like creating a new picture from scratch) are like a drunk person walking home. They take a winding, zig-zag path, trying random steps until they get it right. This is slow and can get messy.
    PertFlow uses a technique called Rectified Flow. Imagine instead of a drunk walk, the AI draws a straight, high-speed highway from the "Healthy Cell" to the "Sick Cell." It knows the most direct route, making the prediction faster and much more accurate.

  • The Knowledge Library (PrimeKG):
    The AI doesn't just guess; it reads a massive encyclopedia of biology. It knows that "Drug A usually breaks microtubules" (like snapping the scaffolding of a building). By feeding this real-world knowledge into the model, it ensures the predictions make biological sense, not just mathematical sense.

3. The Results: A Crystal Ball for Cells

The researchers tested PertFlow on thousands of cells and 40 different drugs. Here is what happened:

  • The "Recipe" Prediction: It predicted the gene changes with 78% accuracy. That's like guessing the exact ingredients in a soup just by smelling the broth.
  • The "Picture" Generation: It generated images of the cells after treatment that were so realistic, board-certified pathologists (human experts) gave them a score of 7.1 to 7.9 out of 10. They couldn't easily tell the AI-generated cells from real ones!
  • The "Aha!" Moments: The AI correctly figured out that certain drugs would cause cells to stop dividing (like a construction site shutting down) or that others would damage DNA. It even recreated the specific "look" of a cell dying, matching real-world observations perfectly.

Why Does This Matter?

Think of drug discovery as trying to find a key that fits a lock.

  • Before: Scientists had to try thousands of keys, break the lock, and then check if the door opened. It was slow, expensive, and destructive.
  • With PertFlow: Scientists can now simulate the lock picking in a virtual world. They can ask, "What happens if we try this key?" and the AI instantly shows them the chemical reaction and the visual result.

This allows scientists to:

  1. Screen drugs faster: Test thousands of ideas in a computer before ever touching a petri dish.
  2. Understand mechanisms: See why a drug works (or fails) by watching the "movie" of the cell's reaction.
  3. Personalize medicine: Imagine predicting how your specific cells will react to a drug before you even take it.

The Bottom Line

PertFlow is a bridge between the invisible world of genes and the visible world of cell shapes. By using a "straight-line" AI approach and forcing these two worlds to talk to each other, it gives us a powerful new crystal ball to see how drugs will change our bodies, potentially speeding up the discovery of life-saving medicines.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →