Rectified flow-based prediction of post-treatment brain MRI from pre-radiotherapy priors for patients with glioma

This study presents a rectified flow-based AI model that generates realistic post-treatment brain MRIs from pre-radiotherapy priors and dose maps for glioma patients, achieving high structural fidelity and significantly faster inference than diffusion models to support adaptive treatment planning.

Selena Huisman, Nordin Belkacemi, Vera Keil, Joost Verhoeff, Szabolcs David

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

Imagine you are a doctor treating a patient with a brain tumor. You have to decide on a radiation therapy plan: how much radiation to give, where to aim it, and when to mix in chemotherapy. But here's the catch: once you start the treatment, you can't easily undo it. If you give too much radiation, you might damage healthy brain tissue. If you give too little, the tumor might not shrink enough.

Currently, doctors have to guess what the brain will look like after the treatment based on past experience. This paper introduces a new AI tool that acts like a "Crystal Ball for Brain Scans."

Here is a simple breakdown of how it works, using everyday analogies:

1. The Problem: The "Black Box" of Treatment

Think of brain cancer treatment like navigating a ship through a stormy sea. You know where you are starting (the pre-treatment MRI), but you don't know exactly how the waves (the tumor and healthy tissue) will react to your steering wheel (radiation and chemo).

  • The Old Way: Doctors look at maps from other ships that have sailed this route before. They guess, "If we turn the wheel this way, the ship will probably tilt a bit."
  • The Limitation: They can't see the future. They can't say, "If we turn the wheel just a tiny bit more, the ship will be safer."

2. The Solution: The "Time-Traveling Simulator"

The researchers built an AI model (using something called Rectified Flow) that can generate a realistic "future" MRI scan before the treatment even starts.

  • The Input: You feed the AI three things:
    1. The patient's current brain scan (the "before" picture).
    2. The radiation map (a heat map showing exactly where the radiation beams will hit).
    3. The treatment schedule (when they get chemo).
  • The Magic: The AI doesn't just guess; it calculates the likely changes. It generates a new image showing what the brain will look like 6 months or a year from now, including shrinkage of the tumor, swelling (edema), or changes in the fluid-filled spaces (ventricles).

3. The Superpower: "What-If" Scenarios (Counterfactuals)

This is the coolest part. Imagine you are playing a video game where you can save your progress and try different moves.

  • Scenario A: The doctor asks, "What happens if we give the standard dose?" The AI shows the result.
  • Scenario B: The doctor asks, "What if we increase the dose by 20% to kill the tumor faster?" The AI instantly generates a new future scan showing the brain with that higher dose.
  • Scenario C: "What if we skip the chemo?" The AI shows that outcome too.

The AI allows doctors to run "Virtual Clinical Trials" on a single patient. They can see, "Oh, if we increase the dose, the tumor shrinks, but the healthy tissue around the ventricles starts to look damaged (blue in the images). Let's dial it back a little."

4. Why is this so fast? (The "Rectified Flow" Analogy)

Previous AI models that did this were like a slow-motion video. To generate one image, they had to take thousands of tiny steps, slowly turning a blurry, noisy static picture into a clear one. It took a long time.

The new model uses Rectified Flow. Imagine a tangled ball of yarn (the noise) that needs to be straightened out.

  • Old AI: Tries to untangle it knot by knot, taking thousands of steps.
  • New AI (Rectified Flow): It finds a straight line from the tangled mess to the perfect picture. It can go from "noise" to "clear image" in just a few giant steps (1 to 30 steps instead of 1,000).
  • Result: The AI generates the future scan in 0.3 seconds. That's fast enough to show a patient on a tablet while they are still in the consultation room.

5. How Good is it?

The researchers tested this on 25 patients.

  • Visuals: The fake future scans looked almost identical to the real future scans (91% similarity in tissue structure).
  • Accuracy: It correctly predicted how much the brain's fluid spaces would grow or shrink.
  • The Catch: It's not perfect yet. If a patient has surgery after the radiation (which the AI wasn't trained to predict), the model gets confused. Also, because it looks at the brain in 2D slices (like looking at slices of bread rather than the whole loaf), it sometimes misses effects happening in other parts of the brain.

The Big Picture: Why Does This Matter?

This tool is like a flight simulator for doctors.
Instead of flying a plane (treating a patient) and hoping for the best, they can practice in a simulator first. They can try different flight paths (treatment plans) to see which one gets the plane to the destination (curing the tumor) without crashing into a mountain (damaging healthy brain tissue).

In short: This AI helps doctors personalize cancer treatment by letting them see the future, so they can choose the safest and most effective path for every single patient.