arXiv:2611.09413physics.med-phNov 2026

Manuscript Offprint

arXiv:2611.09413

SmartBloch-Agent: An Agentic Framework for Automated MRI Sequence Design and Optimization

Jiakai Yang, Haoye Zheng, Yixiao Yue, Qinqin Yang, Zhong Chen, Shuhui Cai, Congbo Cai

Abstract

Magnetic resonance imaging (MRI) pulse sequences organize radiofrequency excitation, gradient encoding, and signal acquisition, determining magnetization evolution and image formation. Sequence research requires translating imaging objectives into executable protocols meeting physical and acquisition constraints, refined via physical simulation, signal reconstruction, and scientific evaluation. Sequence construction, physical verification, parameter search, and assessment involve many tools and manual decisions, limiting automation from objective to verifiable sequence. We develop SmartBloch-Agent, an integrated framework for automated MRI sequence design and optimization. Given objectives and scientific constraints in natural language, an AI agent interprets goals, plans tasks, orchestrates tools, and makes feedback-informed decisions, drawing on a construction module and optimizers for structural design and parameter search. Our GPU-accelerated SmartBloch engine supplies physical computation for both stages, so the framework configures, per sequence and objective, event validation, Full-Bloch magnetization evolution, signal acquisition, image reconstruction, and scientific evaluation, and closes the loop without external MRI simulators. Results return to the agent to guide sequence revision, parameter optimization, and candidate selection, and the design files carry simulation, reconstruction, and evaluation evidence, forming an output package for a real-scanner workflow. Experiments show the framework automatically designs and optimizes MRI sequences for varied objectives and constraints, refines candidates with physical feedback, and improves several parameter-estimation metrics and downstream quantitative reconstruction. SmartBloch-Agent unifies objectives, design, physical execution, and evaluation into a continuous workflow for end-to-end automation of MRI sequence research.

1 Introduction

Magnetic resonance imaging (MRI) uses radiofrequency (RF) excitation, gradient fields, and signal acquisition to measure tissue structure and physical properties noninvasively. Pulse sequences define the temporal organization and execution of these events. Sequence design directly affects image contrast, spatial resolution, acquisition efficiency, and quantitative information, making sequence research an important driver of advances in MRI. Bloch's 1946 description of nuclear magnetization dynamics provided a physical foundation for predicting magnetization evolution [1]. In 1973, Lauterbur demonstrated spatial magnetic resonance imaging with spatially varying magnetic fields [2]. Controlling magnetization and acquiring its resulting signals subsequently became central problems in sequence research.

As MRI evolved from basic imaging toward rapid acquisition and complex encoding, sequence research expanded the range of possible measurements. Small-flip-angle rapid imaging methods developed in the 1980s enabled acquisitions with short repetition times [3]. In the late 1990s, parallel imaging further improved acquisition efficiency by exploiting the spatial sensitivities of multiple receiver coils [4]. These advances arose not only from hardware improvements but also from coordinated developments in excitation, echo formation, spatial encoding, and reconstruction. Researchers increasingly had to manage complex event timing, hardware limits, magnetization responses, and image reconstruction. Sequence research thus evolved from constructing individual pulse protocols into an integrated activity involving physical modeling, computation, and system implementation.

This study addresses two related tasks in MRI sequence research: sequence design and sequence optimization. Sequence design establishes or modifies the organization of RF, gradient, timing, and readout events for a specified imaging objective and converts the resulting protocol into an executable sequence. Sequence optimization searches a defined space of parameters or waveforms under physical constraints to improve contrast, acquisition efficiency, signal characteristics, or quantitative performance. Design determines which measurement mechanisms and sequence structures can be explored, whereas optimization identifies suitable operating conditions. Although these tasks act on different variables, both require physical simulation, signal reconstruction, and scientific evaluation to assess candidate sequences.

MRI sequence research has traditionally been coordinated by domain experts. Researchers develop protocols from physical principles and imaging requirements, write sequence programs, check the validity of gradient and RF events, inspect signals through Bloch simulations or scanner experiments, and repeatedly revise their designs based on reconstructed images and quantitative measures. This process requires combined expertise in pulse sequences, magnetization dynamics, computational models, and experimental conditions. A change in sequence structure or parameters may alter event timing, physical response, and reconstruction performance simultaneously, requiring renewed verification. The translation of research goals into specifications, integration of simulation and optimization tools, interpretation of evaluation results, and choice of subsequent revisions often remain manual. As the number of variables and constraints increases, cross-stage coordination and repeated computation become substantial components of research cost.

Computational tools have gradually changed this process. Numerical MRI simulators and portable sequence representations make candidate protocols easier to execute and compare, enabling some physical checks before scanner experiments [5, 6, 7]. Magnetic resonance fingerprinting (MRF), introduced in 2013, demonstrated the role of acquisition timing in encoding quantitative information [8]. Subsequent optimal experimental design based on the Cramér–Rao lower bound (CRLB) linked spin dynamics to parameter-estimation precision [9]. In the 2020s, differentiable MRI simulators and automatic differentiation allowed sequence events and RF and gradient waveforms to be optimized for specified objectives [10, 11, 12]. Derivative-free methods have also used measured scanner feedback to explore imaging contrast automatically [13]. These studies have shifted candidate generation and parts of evaluation from manual trial and error toward automated computation. A complete research task, however, still requires objective interpretation, methodological choices, integration of tools, and adaptation of the research strategy to experimental feedback.

These requirements create an opportunity for AI agents in MRI sequence research. Unlike algorithms devoted to solving a predefined optimization problem, an agent can coordinate multiple steps around a research objective, invoke sequence construction, physical simulation, numerical search, and evaluation tools, and decide what to do next based on obtained results. Tool use and feedback-driven decisions have been investigated systematically in approaches such as ReAct [14], while Coscientist illustrated the potential of language models for scientific experiment planning and tool coordination [15]. In MRI, GPT4MR explored language-model assistance for sequence and reconstruction programming [16]. The 2026 arXiv preprint Agent4MR further combined executable sequence code, physical verification, and simulation feedback for automated development and refinement [17]. Together, these developments show that agents can participate in program generation and iterative decisions in sequence research and motivate the integration of autonomous decisions with reliable physical computation, numerical optimization, and scientific evaluation.

The central challenge in fully automated sequence research is to establish a continuous process connecting research objectives, executable sequences, and scientific outcomes. Candidate generation is only one part of that process. Natural-language objectives must be converted into explicit design requirements, adjustable variables, and constraints. Candidate events must satisfy physical and timing requirements before expensive magnetization evolution and reconstruction calculations. Different research tasks require different performance measures, and multiobjective results need consistent evaluation criteria. An automated workflow must also use failure reports and quantitative feedback to determine when to revise structures, adjust parameters, continue computations, or select a final design. Flexible agent decisions therefore need to operate together with executable physical models and deterministic scientific evaluation throughout candidate generation, verification, and selection.

We therefore propose SmartBloch-Agent, a fully automated framework for MRI sequence design and optimization. Given research objectives and required constraints, an agent manages task interpretation, research planning, tool coordination, and feedback-informed decisions. Sequence construction and numerical optimization tools generate candidates, while Bloch simulation, reconstruction, and scientific evaluation guide successive iterations. Our contributions are threefold. (1) Automated MRI sequence design connects research requirements to executable sequence construction, physical verification, and feedback-based revision. (2) Automated MRI sequence optimization combines agent decisions with numerical search and scientific metrics for iterative improvement based on physical feedback. (3) The SmartBloch simulation engine, developed in-house, accelerates Bloch magnetization evolution using CUDA parallel computing and provides internal physical computation for both tasks. Together, these components form an automated workflow from research objectives to sequence candidates, physical evidence, and study outcomes, with execution, acquisition, reconstruction, and evaluation configured for the sequence type and research objective.