OPTIKS: Optimized Gradient Properties Through Timing in K-Space

Matthew A. McCready, Xiaozhi Cao, Kawin Setsompop, John M. Pauly, Adam B. Kerr

Abstract

A customizable method (OPTIKS) for designing fast trajectory-constrained gradient waveforms with optimized time domain properties was developed. Given a specified multidimensional k-space trajectory, the method optimizes traversal speed (and therefore timing) with position along the trajectory. OPTIKS facilitates optimization of objectives dependent on the time domain gradient waveform and the arc-length domain k-space speed. OPTIKS is applied to design waveforms which limit peripheral nerve stimulation (PNS), minimize mechanical resonance excitation, and reduce acoustic noise. A variety of trajectory examples are presented including spirals, circular echo-planar-imaging, and rosettes. Design performance is evaluated based on duration, standardized PNS models, field measurements, gradient coil back-EMF measurements, and calibrated acoustic measurements. We show reductions in back-EMF of up to 94% and field oscillations up to 91.1%, acoustic noise decreases of up to 9.22 dB, and with efficient use of PNS models speed increases of up to 11.4%. The design method implementation is made available as an open source Python package through GitHub (https://github.com/mamccready/optiks).

Introduction

In Magnetic Resonance Imaging (MRI), scanning speed is a primary determinant of image quality and patient throughput. However, pushing gradient hardware to its limits often triggers significant physical side effects: peripheral nerve stimulation (PNS), mechanical resonance in the gradient coils, and intense acoustic noise. Traditionally, these issues are addressed by "de-rating" the system—applying a global speed limit that reduces efficiency across the entire scan.

This paper introduces OPTIKS (Optimized Gradient Properties Through Timing in K-Space), a flexible framework that optimizes the timing of a k-space trajectory rather than the path itself. By adjusting traversal speed to satisfy safety and hardware constraints, OPTIKS enables faster, quieter, and safer imaging.

Methods

OPTIKS treats the speed along a fixed k-space trajectory as a differentiable optimization problem, leveraging modern machine learning tools like PyTorch and the Adam optimizer.

Optimization Framework

Unlike rigid analytical solutions, OPTIKS uses iterative gradient descent to minimize a customizable loss function. Key components include:

  • Differentiable Transformations: A method to convert k-space speed into time-domain gradient waveforms, allowing the optimizer to calculate how timing changes affect physical properties like PNS or vibration.
  • Leaky Log-Barriers: To enforce hard safety limits (e.g., maximum current or PNS thresholds), the authors implemented a "leaky" barrier function. This prevents optimization failure if a limit is briefly exceeded during iteration, guiding the solution back into the feasible region.
  • Customizable Objectives: Users can optimize for various "costs," such as a human nerve sensitivity model or a measured Acoustic Transfer Function specific to a particular scanner.
Comparison of De-Rated and OPTIKS optimized waveforms for Spiral and Rosette trajectories.

Results

The framework was evaluated on clinical GE 3T UHP and PREMIER systems using common non-Cartesian trajectories, including Variable Density Spirals, Rosettes, and Circular Echo-Planar Imaging (CEPI).

Performance Gains

  • Safety & Speed: For PNS-limited spiral scans, OPTIKS achieved an 11.4% reduction in scan time compared to traditional de-rating methods.
  • Vibration Control: In CEPI and spiral trajectories, OPTIKS reduced back-EMF (a proxy for coil vibration) by up to 94.8% and field oscillations by 91.1%.
  • Acoustic Noise: Peak acoustic noise was reduced by up to 9.22 dB, representing a significant improvement in patient comfort.
Vibration spectra and back-EMF measurements for CEPI and MRF Spiral trajectories.

Image Integrity

Using Magnetic Resonance Fingerprinting (MRF), the authors demonstrated that these optimized "quiet" scans produce T1 and T2 maps with accuracy identical to standard, louder scans, proving that timing optimization does not compromise diagnostic quality.

Discussion and Conclusion

OPTIKS demonstrates that hardware and safety constraints can be managed effectively by optimizing when the scanner visits points in k-space. By slowing down only at problematic frequencies or high-PNS regions, the method preserves overall scan efficiency.

While current optimization times (5–15 minutes) are suitable for research and protocol design, future work may explore faster algorithms for real-time clinical use. The OPTIKS framework is available as an open-source Python package at https://github.com/mamccready/optiks.

Summary updated

Abstract

A customizable method (OPTIKS) for designing fast trajectory-constrained gradient waveforms with optimized time domain properties was developed. Given a specified multidimensional k-space trajectory, the method optimizes traversal speed (and therefore timing) with position along the trajectory. OPTIKS facilitates optimization of objectives dependent on the time domain gradient waveform and the arc-length domain k-space speed. OPTIKS is applied to design waveforms which limit peripheral nerve stimulation (PNS), minimize mechanical resonance excitation, and reduce acoustic noise. A variety of trajectory examples are presented including spirals, circular echo-planar-imaging, and rosettes. Design performance is evaluated based on duration, standardized PNS models, field measurements, gradient coil back-EMF measurements, and calibrated acoustic measurements. We show reductions in back-EMF of up to 94% and field oscillations up to 91.1%, acoustic noise decreases of up to 9.22 dB, and with efficient use of PNS models speed increases of up to 11.4%. The design method implementation is made available as an open source Python package through GitHub (https://github.com/mamccready/optiks).
BibTeX
@article{mccready2026optiks,
  author = {Matthew A. McCready and Xiaozhi Cao and Kawin Setsompop and John M. Pauly and Adam B. Kerr},
  title = {{OPTIKS: Optimized Gradient Properties Through Timing in K-Space}},
  journal = {IEEE Trans. Medical Imaging},
  year = {2026},
  doi = {10.1109/tmi.2025.3639398},
}
Figure