Automatic View Planning with Multi-scale Deep Reinforcement Learning Agents

Amir Alansary, Loïc Le Folgoc, Ghislain Vaillant, Ozan Oktay, Yuanwei Li, Wenjia Bai, Jonathan Passerat-Palmbach, Ricardo Guerrero, Konstantinos Kamnitsas, Benjamin Hou, Steven G. McDonagh, Ben Glocker, Bernhard Kainz, Daniel Rueckert

TL;DR

This paper introduces a fully automatic method for finding standardized anatomical view planes in 3D MRI scans using multi-scale Deep Reinforcement Learning (RL). By mimicking how an expert clinician navigates through a 3D volume, the RL agents achieve sub-2mm accuracy in brain scans and outperform previous state-of-the-art methods in complex cardiac imaging.

What Problem Does This Paper Address?

In clinical practice, "standard views" (specific 2D slices of a 3D volume) are essential for taking consistent biometric measurements. However, finding these planes manually is a tedious, time-consuming process prone to inter-observer variability.

The challenge lies in the high dimensionality of 3D medical data and the anatomical variance between patients. Traditional automated methods often rely on complex segmentation or manual landmarking to "anchor" the planes. The authors seek a more elegant, end-to-end solution that can navigate the 3D environment autonomously to find the optimal plane parameters.

Methods

The authors frame view planning as a reinforcement learning problem. An agent interacts with the 3D image (the environment) to find the parameters of a plane defined by $ax + by + cz + d = 0$.

The RL Framework

  • State: A 3D region of interest containing the current plane, plus a history buffer of the last four frames to stabilize the search and prevent cycles.
  • Actions: The agent has 8 discrete actions: adjusting the normal vector angles ($\pm \theta_x, \pm \theta_y, \pm \theta_z$) or the distance from the origin ($\pm d$).
  • Reward: A simple but effective sign-based reward: $+1$ if the agent moves closer to the ground-truth plane (Euclidean distance), $-1$ if it moves further away, and $0$ if it oscillates.
  • Termination: The episode ends when the agent begins to oscillate around a solution, indicating it has reached its best estimate.

Multi-scale Strategy

To balance speed and precision, the authors use a multi-scale search strategy. The agent starts with a coarse resolution and large action steps to quickly find the general vicinity of the target. As it converges, the environment resamples at a finer resolution with smaller action steps to "fine-tune" the plane parameters.

Fig. 1: The pipeline of the proposed multi-scale RL agent. Initially, the environ- ment samples a plane: ax + by + cz + d = 0, from the 3D image scan. The agent selects an action to update a single parameter for sampling the next plane. This process is repeated till the agent reaches a terminal state (oscillation).

The researchers evaluated several Deep Q-Network (DQN) variants, including Double DQN (DDQN) to mitigate upward bias in noisy environments and Duel DQN, which decouples the estimation of state value from action advantage for more robust learning.

Datasets

The model was trained and tested on two distinct anatomical regions:

  1. Brain MRI: 832 isotropic 1mm scans from the ADNI database. The goal was to find the mid-sagittal and anterior-posterior commissure (ACPC) planes.
  2. Cardiac MRI: 455 short-axis scans from the UK Digital Heart Project. The goal was to find the 4-chamber long-axis view, a significantly harder task due to lower image quality and higher anatomical variability.

Key Insights and Ideas

  • Mimicking Human Intuition: Unlike traditional optimization that looks at the whole volume, the RL agent "looks" at slices and decides where to move next, effectively mimicking the workflow of a human operator.
  • Reward Simplicity: The use of a sign-based reward ($+1/-1$) rather than a continuous distance-based reward helps the agent learn more stable policies by focusing on the direction of improvement rather than the magnitude.
  • Architecture Matters: The study found that Duel DQN architectures were particularly effective for cardiac scans. By decoupling the value of being in a state from the advantage of a specific action, the agent could better navigate the "bigger field of view" and higher noise present in heart imaging.
  • No Manual Labels Needed: Unlike previous cardiac view planning methods that required manual landmarking for training, this approach learns directly from standardized views, significantly reducing the human labor required to build the system.

Key Results

The agents achieved high accuracy across all three target planes, operating in real-time (~0.02s per inference step).

Table 1: Results of our multi-scale RL agent detecting 3 different MRI planes.
  • Mid-sagittal Brain: Achieved 1.53mm distance error and 2.44° angular error (using Duel DDQN).
  • ACPC Brain: Achieved 1.98mm distance error and 4.48° angular error (using DDQN).
  • 4-Chamber Cardiac: Achieved 4.84mm distance error and 8.86° angular error (using Duel DQN).

Notably, the cardiac results outperformed the previous state-of-the-art (which had a 5.7mm error) without requiring any manual landmark annotations.

Limitations and Future Work

  • Environment Dependency: The authors noted that there is no "one-size-fits-all" DQN variant; the optimal architecture depends heavily on the specific anatomy and image quality.
  • Quantization Errors: Because the action space is discrete (fixed steps), the agent is limited by the smallest step size. The authors suggest investigating continuous action spaces to further refine accuracy.
  • Multi-Agent Systems: Future work may involve multiple agents working either collaboratively or competitively to detect different anatomical structures simultaneously, potentially inspired by architectures like AlphaGo.

Summary updated

BibTeX
@misc{alansary2018automatic,
  author = {Amir Alansary and Loïc Le Folgoc and Ghislain Vaillant and Ozan Oktay and Yuanwei Li and Wenjia Bai and Jonathan Passerat-Palmbach and Ricardo Guerrero and Konstantinos Kamnitsas and Benjamin Hou and Steven G. McDonagh and Ben Glocker and Bernhard Kainz and Daniel Rueckert},
  title = {{Automatic View Planning with Multi-scale Deep Reinforcement Learning Agents}},
  year = {2018},
  eprint = {1806.03228},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.03228},
}
Figure