Exploring GPT-4 as MR Sequence and Reconstruction Programming Assistant

Moritz Zaiss, Junaid R. Rajput, Hoai N. Dang, Vladimir Golkov, Daniel Cremers, Florian Knoll, Andreas Maier

Publikation: Beitrag in Buch/Bericht/KonferenzbandKonferenzbeitragBegutachtung

Abstract

In this study, we explore the potential of generative pre-trained transformer (GPT), as a coding assistant for MRI sequence programming using the Pulseq framework. The programming of MRI sequences is traditionally a complex and time-consuming task, and the Pulseq standard has recently simplified this process. It allows researchers to define and generate complex pulse sequences used in MRI experiments. Leveraging GPT-4’s capabilities in natural language generation, we adapted it for MRI sequence programming, creating a specialized assistant named GPT4MR. Our tests involved generating various MRI sequences, revealing that GPT-4, guided by a tailored prompt, outperformed GPT-3.5, producing fewer errors and demonstrating improved reasoning. Despite limitations in handling complex sequences, GPT4MR corrected its own errors and successfully generated code with step-by-step instructions. The study showcases GPT4MR’s ability to accelerate MRI sequence development, even for novel ideas absent in its training set. While further research and improvement are needed to address complexity limitations, a well-designed prompt enhances performance. The findings propose GPT4MR as a valuable MRI sequence programming assistant, streamlining prototyping and development. The future prospect involves integrating a PyPulseq plugin into lightweight, open-source LLMs, potentially revolutionizing MRI sequence development and prototyping.

OriginalspracheEnglisch
TitelBildverarbeitung für die Medizin 2024 - Proceedings, German Conference on Medical Image Computing, 2024
Redakteure/-innenAndreas Maier, Thomas M. Deserno, Heinz Handels, Klaus Maier-Hein, Christoph Palm, Thomas Tolxdorff
Herausgeber (Verlag)Springer Science and Business Media Deutschland GmbH
Seiten94-99
Seitenumfang6
ISBN (Print)9783658440367
DOIs
PublikationsstatusVeröffentlicht - 2024
Extern publiziertJa
VeranstaltungGerman Conference on Medical Image Computing, BVM 2024 - Erlangen, Deutschland
Dauer: 10 März 202412 März 2024

Publikationsreihe

NameInformatik aktuell
ISSN (Print)1431-472X

Konferenz

KonferenzGerman Conference on Medical Image Computing, BVM 2024
Land/GebietDeutschland
OrtErlangen
Zeitraum10/03/2412/03/24

Fingerprint

Untersuchen Sie die Forschungsthemen von „Exploring GPT-4 as MR Sequence and Reconstruction Programming Assistant“. Zusammen bilden sie einen einzigartigen Fingerprint.

Dieses zitieren