New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps
Researchers combine spatial calibration and conditional flow matching to correct warped magnetic resonance images for radiation therapy.
A new artificial intelligence framework named ReCoFlow-MRI can generate clear, distortion-corrected magnetic resonance scans from highly incomplete data in just five steps, potentially improving real-time radiation therapy for cancer patients. When combined with linear accelerators, magnetic resonance imaging (MRI) systems help clinicians target tumors with high soft-tissue contrast, but scanning takes time and imperfect magnetic fields cause geometric warping that can misplace radiation targets.
To solve this challenge, lead author Shanshan Shan and colleagues at Soochow University developed a conditional generative model that simultaneously removes blurring artifacts and corrects spatial distortions caused by magnetic field imperfections known as gradient nonlinearity. The team presented their findings in a study available on the arXiv preprint server, detailing tests on both standard benchmark data and physical scans from an Australian MR-Linac machine.
How Does Gradient Nonlinearity Distort Medical Scans?
Magnetic resonance scanners rely on linear magnetic field gradients to encode spatial coordinates into signals. In specialized hybrid devices that combine a scanner with a radiation therapy machine, hardware constraints produce imperfections in these gradients, bending spatial encoding paths and warping the resulting images by up to twenty-five millimeters at the edges of the field of view.

Standard correction methods apply mathematical adjustments after reconstruction, but interpolating pixel grids in the image domain smooths out fine details and blurs anatomical boundaries. Alternatively, speeding up data acquisition by skipping measurements reduces scan times, yet leaves behind severe aliasing artifacts that obscure soft-tissue structures.
What Makes the ReCoFlow-MRI Framework Different?
The new method integrates system-specific calibration measurements directly into the reconstruction pipeline. First, the researchers map the spatial displacement field of the scanner using a water-filled grid phantom containing three thousand, seven hundred and eighteen fiducial markers. They feed this distortion data into a non-uniform Fourier transform operator to construct a corrected, zero-filled conditioning image that provides patient-specific anatomical coordinates.
This conditioning image guides a neural network trained via flow matching, which learns to transform random Gaussian noise into fully sampled target images along a direct path. To ensure high fidelity after just a few computational steps, the authors introduced an endpoint fine-tuning stage using a pixel-supervised loss function focused exclusively on the final integration step.

What Did the Experiments Show on Patient and Phantom Data?
The research team evaluated their model using the public fastMRI brain dataset comprising over eight thousand training images, alongside physical scans of grid phantoms, brain phantoms, and a healthy volunteer acquired on an open-bore MRI-Linac system. When retrospectively undersampled using aggressive acceleration factors of twelve and fifteen times via Poisson-disc masks, the five-step model consistently outperformed existing deep learning baselines.
On the fastMRI test set with eight-fold equispaced Cartesian acceleration, the five-step ReCoFlow-MRI achieved a peak signal-to-noise ratio of thirty-four point eighty-five decibels and a structural similarity index of zero point nine hundred and thirty, surpassing standard diffusion models and unrolled neural networks. When applied to the grid phantom, the framework reduced the maximum geometric displacement error from twenty-four point ninety-five millimeters down to two point twelve millimeters, placing over ninety-eight percent of all markers within a margin of one millimeter.

What Are the Next Steps for Clinical Implementation?
While the results point toward faster and more accurate imaging for radiation oncology, the current evaluation relied entirely on retrospectively undersampled data where raw k-space measurements were artificially removed. Prospectively acquired fast scans introduce uncalibrated system noise that may complicate deep learning reconstruction.
Additionally, static magnetic field inhomogeneities can induce separate geometric distortions that vary with pulse sequence parameters. The research group plans to incorporate magnetic field inhomogeneity mapping into future iterations of the framework to further refine distortion correction for clinical deployment.
The study was posted to the arXiv preprint server on November 20, 2026.
This article has been fact checked for accuracy, with information verified against reputable sources. Learn more about us and our editorial process.
Last reviewed on .
Article history
- Latest version
Reference(s)
- Luo, Qidi. “ReCoFlow-MRI: Few-Step Conditional Flow Matching for GNL-Induced Nonlinear MRI Reconstruction.” arXiv.org <http://arxiv.org/abs/2611.27590v1>.
Cite this page:
- Posted by David Anderson