arXiv:2610.27156cs.AIOct 2026

Manuscript Offprint

arXiv:2610.27156

MoSAIK: Motion Search with Artificial Intelligence in K-space

Oscar Dabrowski, Abijith Jagannath, Frédéric Grouiller, Sébastien Courvoisier

Abstract

Object. Motion artefacts remain a major limitation of routine two-dimensional T2-weighted turbo spin-echo (TSE) brain MRI, reducing diagnostic confidence and often necessitating repeated acquisitions. MoSAIK (Motion Search with AI in K-space) retrospectively estimates in-plane rigid-body motion directly from standard multi-coil TSE k-space. Without a motion-free reference, external navigators, or additional acquisitions, MoSAIK infers motion from k-space self-consistency violations and incorporates predicted parameters into model-based, motion-aware reconstruction rather than synthesizing corrected images.

Materials and Methods. Selected complex coil data were represented as log-magnitude and phase channels. A decoupled convolutional embedding and Transformer encoder estimated phase-encoding-line-indexed rotation and two-dimensional translations. Training used motion-free clinical acquisitions with simulated motion; four held-out subjects were evaluated. Component-wise errors assessed estimation; SSIM and PSNR in silico and entropy focus criterion (EFC) in vivo assessed reconstruction.

Results. Motion estimation errors were low for both rotation (MSE < 0.2 deg 2^{2}) and translation (MSE < 0.2 pixels 2^{2}), with Pearson correlations of approximately 0.96 and 0.94, respectively. In every in-vivo acquisition, more than 75% of slices showed information gain relative to uncorrected reconstructions. MoSAIK reduced visible artefacts while preserving anatomical detail.

Discussion. Transformer-based k-space motion-trajectory estimation enables fast retrospective correction of standard clinical TSE brain MRI.

Keywords: Artificial intelligence, Deep learning, Motion correction, MRI

1 Introduction

Magnetic resonance imaging (MRI) is strongly established as the most sensitive modality for imaging soft tissue in the brain, but its long scan times make it vulnerable to motion artefacts. This can result in image quality that is either degraded or entirely non-diagnostic, resulting in patient discomfort from repeated scans or, in more severe cases, full exam rescheduling, ultimately leading to increased healthcare costs [1,2][1, 2].

A wide variety of MRI pulse sequences exist. We focus on brain imaging using the 2D T2-weighted (T2w) multi-slice Turbo/Fast Spin Echo (TSE/FSE) sequence, which is highly sensitive to motion and lacks a clinically viable retrospective correction method, despite being a "clinical workhorse" [3].

Existing motion correction techniques can be broadly classified as prospective or retrospective. The former requires updating the MRI pulse sequence in real time based on motion parameters detected by a motion-tracking system [4][4]. We focus on retrospective motion correction, which is independent of any MRI manufacturer and does not rely on any additional hardware or calibration procedures.

For completeness, we briefly mention that motion-tracking methods using external hardware such as cameras or electromagnetic trackers have been explored, but they increase setup complexity (hence require more time), and may be incompatible with setups like 7T scanners with full-coverage head coils [5–8]. As a result, they are rarely, if ever, used in clinical practice.

Another approach uses navigator echoes, which require modifying the pulse sequence by adding extra gradient and RF pulses at each TR to repeatedly sample the same k-space region [9, 10]. Navigators enable retrospective or prospective motion correction, but they increase scan time. This approach is typically not used with TSE sequences in the clinical workflow.

Motion-robust sequences for T2w imaging exist, such as PROPELLER, which uses radial k-space sampling with so-called “blades” or groups of overlapping radial lines [11]. This approach oversamples the k-space center, reducing sensitivity to motion through averaging and enabling detection of rotations and translations via cross-correlation between blades. However, image quality is generally inferior to Cartesian T2w TSE, and radiologists report that PROPELLER is typically reserved for uncooperative or high-motion pediatric patients. Moreover, PROPELLER requires longer scan times than Cartesian TSE to achieve equivalent k-space coverage due to inefficient peripheral sampling.

Non-machine learning approaches, such as the "autofocusing" algorithms introduced by Atkinson et al. in the late 1990s, estimate motion by iteratively minimizing an image-based quality metric, typically Shannon entropy [12, 13]. The image is reconstructed using Fourier theorems, and the motion parameter search is guided entirely by the entropy metric in image space. In practice, these methods are often unstable and computationally expensive due to the iterative optimization process. More recent work on autofocusing was proposed in [14, 15].

Among image-based approaches, several deep learning (DL) methods have been proposed. Image-to-image encoder-decoder convolutional neural networks (CNNs)/U-net-based approaches, such as [16, 17] or generative adversarial-based methods, such as [18–21], while sometimes producing qualitatively and quantitatively convincing results, risk introducing hallucinated or oversmoothed features, which is particularly problematic in the medical domain, where such artefacts can lead to incorrect diagnosis [22, 23]. Image-based approaches such as NAMER combine CNNs with iterative model-based algorithms to estimate motion parameters and reconstruct motion-mitigated images [24]. These methods offer robustness against hallucinations through explicit data consistency constraints, but their high computational cost makes them impractical for routine clinical use, where radiologists rely on having images available within minutes after acquisition. Recent work has begun to explore Vision Transformer (ViT) architectures, which have demonstrated strong performance in computer vision tasks. Zhang et al. applied ViTs to motion correction in brain MRI [25], using a self-supervised pretraining strategy that involves masking parts of the input images to improve subsequent supervised learning. While the approach is innovative, the network ultimately predicts motion-corrected images directly, which may carry the risk of introducing hallucinations. Recently, a novel deep learning-based motion correction approach targeting TSE sequences was proposed in [26]. It does not require any training datasets and relies on "deep image priors", which are implicit biases inherent to convolutional architectures [27]. The authors themselves note that, despite impressive results, the method is computationally intensive, requiring thousands of iterative optimization steps per image. Indeed, since their deep neural networks are not pre-trained, optimization has to be performed at inference.

An alternative to image-domain methods is to operate directly in the raw acquisition domain, i.e., k-space. This paradigm shift offers the advantage of precise motion localization in k-space, due to the inherently sequential nature of MRI data acquisition, whereas in image space, motion effects are spatially distributed. We have previously shown with Search in segmented motion input in k-space (SISMIK) that 2D rigid-body motion parameters can be estimated directly from k-space with a deep neural network, in a relative manner (i.e., motion between phase encoding line n and line n+1n+1) without requiring a motion-free reference [28]. Another advantage of working in k-space is increased robustness to variations in image contrast and, to some extent, anatomical content. The method proposed by Hossbach et al. operates in k-space but is limited to the central 64×6464 \times 64 region and relies on a motion-free scout acquisition as a reference, which may be impractical in clinical settings[29]. As in SISMIK, their image reconstruction relies on a model-based approach leveraging Fourier shift and rotation theorems, thereby avoiding any risk of hallucinations.

Eichhorn et al. proposed a CNN to detect motion-corrupted k-space lines [30]. The model takes corrupted k-space data as input and outputs a binary mask identifying the affected lines. While the approach is promising, it has only been evaluated in silico and remains to be validated in vivo. It also remains to be shown whether it can be extended to estimate motion parameters, rather than solely identifying corrupted lines.

Perhaps the most recent and advanced k-space-based method for motion correction of 2D TSE sequences is presented in [31]. Based on a 2D in-plane rigid-body head motion model, they train a hypernetwork, that is a network that generates the weights of a reconstruction network which is conditioned on a "candidate" motion vector m. At inference, they optimize m such that the hypernetwork produces suitable weights for the motion corrected reconstruction of a given 2D slice. They include a data consistency term to mitigate the risk of hallucinations. A major drawback of this approach is that it does not directly predict motion parameters but instead relies on an optimization-based search at inference, resulting in a high computational cost of about 5 minutes per 2D slice.

Finally, "hybrid" approaches leveraging both image and k-space domain data have been proposed [32, 33]. PI-MoCoNet was proposed in 2025, consisting of two jointly trained U-net-based networks: one to detect corrupted k-space lines and another to correct the image [33]. Learning was guided by three losses: reconstruction, perceptual and k-space data consistency loss. However, this method does not estimate motion parameters explicitly and is trained on simulated artefacts applied to already reconstructed DICOM images rather than raw k-space data, which limits the validity of the data consistency term and raises concerns about generalization and potential hallucinations.

Inspired by recent progress in the field of natural language processing as well as computer vision, allowed by the fully attention-based Transformer neural network architecture [34–36], we explore its application to motion parameter estimation in k-space. We propose a deep learning-based approach leveraging Transformer models to retrospectively extract 2D in-plane rigid-body head motion trajectories from raw multi-coil k-space data of TSE acquisitions. To avoid any risk of hallucination, we retain the approach used in [28], where DL is only used to estimate motion parameters and a model-based approach leveraging the Fourier shift and rotation theorems performs image reconstruction from the estimated motion trajectory. Moreover, we perform ablation studies to demonstrate the contribution of different components of our model, in particular the importance of a custom physics-based convolutional embedding sub-network as well as the role of attention with respect to a fully convolutional neural network (FCNN). To the best of our knowledge, it is the first time that the Transformer architecture is explored and adapted to work directly in k-space to tackle the problem of motion correction in MRI.

The following sections are organized as follows: Section II presents the problem formulation and describes the methodology, including dataset acquisition, motion simulation and artificial neural network training and experiments performed; Section III presents motion estimation and correction results obtained in-silico and in-vivo as well as ablation tests; Section IV consists of a discussion on the results, limitations of the approach and future work and finally Section V concludes this work.

Figure

Fig. 1: Overview of the MoSAIK pipeline. Raw scanner measurements (X) are analysed by our deep neural network to estimate patient's head motion trajectory. A separate non-deep learning algorithm reconstructs the clean image. The two-step approach avoids deep hallucinations by design. ( F−1F^{-1} is the inverse Fourier transform).

References (42)