Image quality assessment by overlapping task-specific and task-agnostic measures: application to prostate multiparametric MR images for cancer segmentation

Shaheer U. Saeed, Wen Yan, Yunguan Fu, Francesco Giganti, Qianye Yang, Zachary M. C. Baum, Mirabela Rusu, Richard E. Fan, Geoffrey A. Sonn, Mark Emberton, Dean C. Barratt, Yipeng HuarXiv 2022 · DOI

TL;DR

This paper introduces a reinforcement learning framework that combines task-specific and task-agnostic measures for medical Image Quality Assessment (IQA). By blending these two perspectives via a flexible reward-shaping strategy, the system can differentiate between scans that perform poorly due to correctable imaging artifacts (requiring a re-scan) versus those that are simply inherently difficult clinical cases.

What Problem Does This Paper Address?

In medical imaging, poor image quality can severely degrade the performance of downstream automated tasks, such as deep-learning-based tumor segmentation. Traditional IQA methods are typically task-agnostic (focusing on generic features like blur or noise) or rely on subjective human labels. However, neural networks don't perceive "quality" the same way humans do; some visible artifacts don't bother a segmentation network, while subtle contrast variations might completely break it.

To address this, researchers previously proposed "task amenability"—a task-specific IQA that judges an image based solely on how well a downstream model can process it. But task-specific IQA has a major clinical blind spot: it cannot distinguish why an image is unamenable. It treats an image with severe, fixable scanner artifacts the exact same way it treats an image of a highly complex, rare, or ambiguous tumor. Clinically, these require completely different actions: the first needs a re-scan, while the second requires expert radiological review.

Methods

The authors propose a meta-learning framework trained via Reinforcement Learning (RL) consisting of two main components: a controller (which learns to score/select images) and a task predictor (the model performing the actual clinical task, such as segmentation).

To separate imaging defects from clinical difficulty, they introduce a flexible reward-shaping strategy that combines two distinct IQA definitions:

  1. Task-Agnostic IQA: Learned by setting the target task to image auto-encoding (self-reconstruction). Because random noise and rare artifacts are difficult for an autoencoder to reconstruct perfectly, a high reconstruction error serves as an unsupervised signal for general image defects.
  2. Task-Specific IQA: Learned based on the actual performance (e.g., Dice score) of the clinical segmentation network.

A hyperparameter, $\phi$, allows researchers to manually tune the trade-off between these two measures within the reward function:

$$R_t = \{\phi(\tilde{R}_t - \bar{R}_t) + (1 - \phi)(ha(x_t^i; \theta_a))\}^P_{i=1}$$

When $\phi=1$, the system is fully task-specific; when $\phi=0$, it is fully task-agnostic. Setting $\phi$ in between allows the controller to target the intersection of both domains.

Figure 1: Venn diagram to illustrate the low quality images with respect to task-specific and task-agnostic IQA measures, and their intersections.
Figure 2: Summary of the IQA framework, with which all types of IQA controllers discussed in this work can be trained. The black solid lines indicate the pathway for the train set data and black dashed lines indicate the pathway for the validation set data; green dashed line indicates reward used to update controller).

Datasets

The framework was evaluated on two distinct clinical datasets:

  • Prostate Multiparametric MR (mpMR) Images: The primary dataset, consisting of 878 3D image sets from 850 prostate cancer patients. The target task was deep-learning-based cancer/lesion segmentation.
  • Transrectal Ultrasound (TRUS) Data: 6,712 2D frames from 259 patients, utilized to summarize previous findings and conduct ablation studies on prostate gland classification and segmentation.

Key Insights and Ideas

  • The IQA Disconnect: Task-agnostic and task-specific metrics often completely disagree. The authors found a Cohen's kappa value of less than 0.001 between the two, confirming that an image can be full of artifacts outside the region of interest (low task-agnostic quality) but still perfectly usable for tumor segmentation (high task-specific quality).
  • The Danger of Pure Optimization: If you only optimize for downstream task performance ($\phi=1$), the system simply rejects the most clinically difficult cases (e.g., very small or low-contrast tumors). While this artificially inflates your validation metrics, it is counterproductive for real-world deployment where those hard cases are precisely what doctors need to see.
  • Actionable Subtyping: By setting $\phi=0.90$, the controller successfully prioritizes the rejection of images that suffer from both clinical unamenability and general imaging defects (like grain, susceptibility, or sequence misalignment). This provides a clear, automated trigger for image re-acquisition.

Key Results

For the primary task of prostate lesion segmentation on mpMR images:

  • Non-selective Baseline: Achieved a mean Dice score of $0.354 \pm 0.016$.
  • Task-Agnostic Rejection ($\phi=0.00$): Rejecting the bottom 10% of images yielded a minor performance bump to $0.367 \pm 0.017$.
  • Task-Specific Rejection ($\phi=1.00$): Rejecting the bottom 10% yielded the highest performance ($0.415 \pm 0.020$), but did so by discarding inherently difficult clinical cases.
  • Shaped Reward Rejection ($\phi=0.90$): Rejecting the bottom 10% achieved a Dice score of $0.388 \pm 0.022$.

Crucially, qualitative evaluation by an experienced radiologist confirmed that the $\phi=0.90$ controller successfully ranked correctable imaging defects (like motion artifacts and misalignment) as the lowest quality, making it the most clinically useful configuration for identifying scans that genuinely need to be retaken.

Limitations and Future Work

The authors noted that task performance tended to plateau or slightly decrease at higher holdout rejection ratios, which could point to controller overfitting or high variance in reinforcement learning predictions. Additionally, the framework requires manual tuning of the $\phi$ hyperparameter to match specific clinical scenarios. Future work includes validating this overlapping IQA approach across other imaging modalities and diverse clinical diagnostic tasks.

Summary updated

BibTeX
@misc{saeed2022image,
  author = {Shaheer U. Saeed and Wen Yan and Yunguan Fu and Francesco Giganti and Qianye Yang and Zachary M. C. Baum and Mirabela Rusu and Richard E. Fan and Geoffrey A. Sonn and Mark Emberton and Dean C. Barratt and Yipeng Hu},
  title = {{Image quality assessment by overlapping task-specific and task-agnostic measures: application to prostate multiparametric MR images for cancer segmentation}},
  year = {2022},
  eprint = {2202.09798},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.09798},
}
Figure