New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps
Medicine

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.

By David Anderson
Published:
Email this Article
New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps
Results on the fastMRI brain dataset under equispaced Cartesian undersampling with acceleration factors of 4×4\times and 8×8\times. From left to right, it shows the fully sampled GT and FT reconstruction, followed by the ZF-corrected, U-Net, ISTA-Net, Score-MRI, DDIM, and the proposed ReCoFlow-MRI reconstructions with sampling masks below. Yellow lines denote the contour of GT brain images. Zoom-in regions highlight local anatomical details and PSNR/SSIM values are reported. The error maps are displayed at 3×3\times intensity. Qidi Luo et al. / arXiv

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.

Fig. 1: Overview of the proposed ReCoFlow-MRI framework. (a) GNL displacement calibration. A grid phantom is scanned on the MRI-Linac system, and the distorted phantom markers are extracted to estimate the system-specific GNL displacement field Δ​L\Delta L using spherical harmonic modeling. (b) GNL-aware MRI condition. The calibrated displacement field is incorporated into the nonlinear spatial encoding model, and a GNL-aware NUFFT adjoint is applied to the undersampled measurement yy to obtain the GNL-corrected zero-filled image cc, which serves as the conditioning image. (c) Conditional flow-matching pretraining. Starting from Gaussian noise x0∼p0x_{0}\sim p_{0}, the conditional velocity field vθ​(xt,t∣c)v_{\theta}(x_{t},t\mid c) is optimized to transport samples toward the fully sampled MRI target distribution p⁡(x1∣c)p(x_{1}\mid c) along the prescribed interpolation path using the conditional flow-matching loss ℒCFM\mathcal{L}_{\mathrm{CFM}}. (d) Pixel-supervised endpoint fine-tuning. The
Overview of the proposed ReCoFlow-MRI framework. (a) GNL displacement calibration. A grid phantom is scanned on the MRI-Linac system, and the distorted phantom markers are extracted to estimate the system-specific GNL displacement field Δ​L\Delta L using spherical harmonic modeling. (b) GNL-aware MRI condition. The calibrated displacement field is incorporated into the nonlinear spatial encoding model, and a GNL-aware NUFFT adjoint is applied to the undersampled measurement yy to obtain the GNL-corrected zero-filled image cc, which serves as the conditioning image. (c) Conditional flow-matching pretraining. Starting from Gaussian noise x0∼p0x_{0}\sim p_{0}, the conditional velocity field vθ​(xt,t∣c)v_{\theta}(x_{t},t\mid c) is optimized to transport samples toward the fully sampled MRI target distribution p⁡(x1∣c)p(x_{1}\mid c) along the prescribed interpolation path using the conditional flow-matching loss ℒCFM\mathcal{L}_{\mathrm{CFM}}. (d) Pixel-supervised endpoint fine-tuning. The Credit: Qidi Luo et al. / arXiv

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.

Fig. 3: Results on the fastMRI brain dataset under Poisson-disc undersampling with acceleration factors of 12× and 15×. The first and third rows show the GT, FT, ZF-corrected, U-Net, ISTA-Net, Score-MRI, DDIM, and the proposed ReCoFlow-MRI reconstructions, respectively. The second and fourth rows present zoomed-in regions indicated by cyan boxes and the corresponding error maps. Yellow contours are extracted from the GT images and overlaid on all reconstructions. Red arrows highlight local anatomical details. PSNR/SSIM values are reported, and the error maps are displayed at 3× intensity.
Results on the fastMRI brain dataset under Poisson-disc undersampling with acceleration factors of 12× and 15×. The first and third rows show the GT, FT, ZF-corrected, U-Net, ISTA-Net, Score-MRI, DDIM, and the proposed ReCoFlow-MRI reconstructions, respectively. The second and fourth rows present zoomed-in regions indicated by cyan boxes and the corresponding error maps. Yellow contours are extracted from the GT images and overlaid on all reconstructions. Red arrows highlight local anatomical details. PSNR/SSIM values are reported, and the error maps are displayed at 3× intensity. Credit: Qidi Luo et al. / arXiv

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.

Fig. 4: Results on grid phantom data with equispaced Cartesian undersampling at acceleration factors of 4×4\times and 8×8\times. FT images and fully sampled GT with undersampled reconstructions by ZF-corrected, U-Net, ISTA-Net, Score-MRI, DDIM, and ReCoFlow-MRI are displayed. The enlarged regions and 3×3\times error maps assess recovery of the grid structure and residual geometric distortion.
Results on grid phantom data with equispaced Cartesian undersampling at acceleration factors of 4×4\times and 8×8\times. FT images and fully sampled GT with undersampled reconstructions by ZF-corrected, U-Net, ISTA-Net, Score-MRI, DDIM, and ReCoFlow-MRI are displayed. The enlarged regions and 3×3\times error maps assess recovery of the grid structure and residual geometric distortion. Credit: Qidi Luo et al. / arXiv

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.

Fact Checked

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)

  1. 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:

Anderson, David. “New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps.” BioScience. BioScience ISSN 2521-5760, 23 November 2026. <https://www.bioscience.com.pk/en/subject/medicine/recoflow-mri-few-step-conditional-flow-matching-for-gnl-induced-nonlinear-mri-reconstruction>. Anderson, D. (2026, November 23). “New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps.” BioScience. ISSN 2521-5760. Retrieved November 23, 2026 from https://www.bioscience.com.pk/en/subject/medicine/recoflow-mri-few-step-conditional-flow-matching-for-gnl-induced-nonlinear-mri-reconstruction Anderson, David. “New AI Reconstruction Method Fixes Medical Scan Distortions in Just Five Steps.” BioScience. ISSN 2521-5760. https://www.bioscience.com.pk/en/subject/medicine/recoflow-mri-few-step-conditional-flow-matching-for-gnl-induced-nonlinear-mri-reconstruction (accessed November 23, 2026).
End of the article