BackgroundHigh‐resolution magnetic resonance imaging (MRI) with excellent soft‐tissue contrast is a valuable tool utilized for diagnosis and prognosis. However, MRI sequences with long acquisition time are susceptible to motion artifacts, which can adversely affect the accuracy of post‐processing algorithms.PurposeThis study proposes a novel retrospective motion correction method named “motion artifact reduction using conditional diffusion probabilistic model” (MAR‐CDPM). The MAR‐CDPM aimed to remove motion artifacts from multicenter three‐dimensional contrast‐enhanced T1 magnetization‐prepared rapid acquisition gradient echo (3D ceT1 MPRAGE) brain dataset with different brain tumor types.Materials and methodsThis study employed two publicly accessible MRI datasets: one containing 3D ceT1 MPRAGE and 2D T2‐fluid attenuated inversion recovery (FLAIR) images from 230 patients with diverse brain tumors, and the other comprising 3D T1‐weighted (T1W) MRI images of 148 healthy volunteers, which included real motion artifacts. The former was used to train and evaluate the model using the in silico data, and the latter was used to evaluate the model performance to remove real motion artifacts. A motion simulation was performed in k‐space domain to generate an in silico dataset with minor, moderate, and heavy distortion levels. The diffusion process of the MAR‐CDPM was then implemented in k‐space to convert structure data into Gaussian noise by gradually increasing motion artifact levels. A conditional network with a Unet backbone was trained to reverse the diffusion process to convert the distorted images to structured data. The MAR‐CDPM was trained in two scenarios: one conditioning on the time step t of the diffusion process, and the other conditioning on both t and T2‐FLAIR images. The MAR‐CDPM was quantitatively and qualitatively compared with supervised Unet, Unet conditioned on T2‐FLAIR, CycleGAN, Pix2pix, and Pix2pix conditioned on T2‐FLAIR models. To quantify the spatial distortions and the level of remaining motion artifacts after applying the models, quantitative metrics were reported including normalized mean squared error (NMSE), structural similarity index (SSIM), multiscale structural similarity index (MS‐SSIM), peak signal‐to‐noise ratio (PSNR), visual information fidelity (VIF), and multiscale gradient magnitude similarity deviation (MS‐GMSD). Tukey's Honestly Significant Difference multiple comparison test was employed to quantify the difference between the models where p‐value <0.05 was considered statistically significant.ResultsQualitatively, MAR‐CDPM outperformed these methods in preserving soft‐tissue contrast and different brain regions. It also successfully preserved tumor boundaries for heavy motion artifacts, like the supervised method. Our MAR‐CDPM recovered motion‐free in silico images with the highest PSNR and VIF for all distortion levels where the differences were statistically significant (p‐values <0.05). In addition, our method conditioned on t and T2‐FLAIR outperformed (p‐values <0.05) other methods to remove motion artifacts from the in silico dataset in terms of NMSE, MS‐SSIM, SSIM, and MS‐GMSD. Moreover, our method conditioned on only t outperformed generative models (p‐values <0.05) and had comparable performances compared with the supervised model (p‐values >0.05) to remove real motion artifacts.ConclusionsThe MAR‐CDPM could successfully remove motion artifacts from 3D ceT1 MPRAGE. It is particularly beneficial for elderly who may experience involuntary movements during high‐resolution MRI imaging with long acquisition times.