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 CaiarXiv 2026 · arXiv

TL;DR

SmartBloch-Agent is an AI-driven framework that automates the entire lifecycle of MRI pulse sequence design—from high-level natural language objectives to scanner-ready protocols. By pairing a Large Language Model (LLM) agent with a custom, high-performance GPU simulator, the system "closes the loop" between research goals and physical validation, reducing human coordination effort to near zero.

What Problem Does This Paper Address?

Designing an MRI pulse sequence is a complex, multi-disciplinary puzzle. Researchers must translate a clinical goal (e.g., "I want better contrast between gray and white matter") into a precise timeline of radiofrequency (RF) pulses and magnetic gradients. This process traditionally requires manual iteration: a physicist writes code, runs a simulation, reconstructs an image, evaluates the metrics, and tweaks parameters.

While individual tools exist for simulation or numerical optimization, the "glue"—the high-level decision-making and coordination between these tools—remains a significant human bottleneck. This paper introduces an "agentic" approach to automate that coordination, allowing researchers to describe goals in plain English and receive a validated, optimized sequence package in return.

Methods

The core of the framework is the Research Agent (implemented using DeepSeek V4 Flash), which acts as the orchestrator. The workflow functions as follows:

  1. Interpretation: The agent translates natural language goals and constraints into a structured task contract.
  2. Orchestration: It calls specialized modules for Automated Sequence Design (structural changes) and Automated Sequence Optimization (parameter tuning via tools like Optuna).
  3. Simulation (SmartBloch): The authors developed a custom, GPU-accelerated "Full-Bloch" simulation engine. Unlike simplified models, this engine simulates the actual physics of magnetization evolution across thousands of spins, making it highly accurate for complex sequences.
  4. Feedback Loop: The results (reconstructed images and scientific metrics) are fed back to the agent. If a constraint is violated (e.g., the scan is too long or the hardware limits are exceeded), the agent revises the design and tries again.
Figure 1: Integrated SmartBloch-Agent workflow for MRI sequence research. The research agent interprets MRI objectives and coordinates sequence design and numerical optimization. The integrated GPU-accelerated SmartBloch Full-Bloch engine supports physical computation. Event execution, acquisition, reconstruction, and scientific evaluation are configured for each sequence and objective; their results guide subsequent agent decisions. Final outputs can be assembled into sequence packages for real-scanner workflows, together with supporting physical evidence.

Datasets

The framework was evaluated using synthetic environments rather than live human subjects:

  • BrainWeb Digital Brain Phantom: Used as the primary anatomical model for simulating signal intensity and contrast.
  • VObj Source Files: A collection of 6,480 source files used to generate 512 paired synthetic samples for training and testing downstream quantitative $T_2$ reconstruction networks.

Key Insights and Ideas

  • Agentic vs. Algorithmic: Unlike a standard optimization algorithm that just grinds numbers, the agent can reason about failure reports. If a sequence fails a timing check, the agent understands why and modifies the event structure accordingly.
  • Full-Bloch Grounding: By integrating a "Full-Bloch" simulator, the agent accounts for "magnetization history"—the way previous pulses affect the current signal. This is crucial for sequences like Fast Spin Echo (FSE), where simplified equations often fail.
  • Unified Output: The system doesn't just produce a result; it produces a "package" containing the executable sequence (in the industry-standard Pulseq format), the simulation evidence, and the evaluation metrics.

Key Results

  • Efficiency Gains: In FSE design tasks, the framework reduced active human effort from ~100 minutes per task to zero. The mean end-to-end automated execution time was approximately 44 minutes.
  • Optimization Performance: In a quantitative $T_2$ mapping task, the agent-optimized sequence reduced the Mean Absolute Error (MAE) in tissue property estimation by 8.69% compared to a standard reference.
  • Simulation Speed: The internal SmartBloch engine proved to be 12x to 30x faster than existing simulators like MRiLab, thanks to its CUDA-based parallel architecture.

The authors compared their approach to several recent studies, highlighting that SmartBloch-Agent is unique in its combination of an LLM orchestrator and an integrated GPU-accelerated physical engine.

Table 1: Tasks and automation approaches in representative studies, compared according to their stated research objectives, computational pathways, and feedback mechanisms.

Limitations and Future Work

  • Dimensionality: Current experiments primarily focused on 2D acquisitions and synthetic phantoms. Moving to full 3D real-world scenarios will increase computational load.
  • Determinism: Because LLMs are inherently probabilistic, the same prompt might not always yield the exact same design path, though the authors used fixed seeds for numerical tools to mitigate this.
  • Hardware Validation: While the system outputs scanner-compatible files, the paper focuses on "in-silico" (simulated) validation. Future work will involve deploying these agent-designed sequences on real MRI hardware to account for real-world noise and system imperfections.

Summary updated

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.
BibTeX
@misc{yang2026smartbloch,
  author = {Jiakai Yang and Haoye Zheng and Yixiao Yue and Qinqin Yang and Zhong Chen and Shuhui Cai and Congbo Cai},
  title = {{SmartBloch-Agent: An Agentic Framework for Automated MRI Sequence Design and Optimization}},
  year = {2026},
  eprint = {2611.09413},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.09413},
}

Loading related content...

Figure