NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representation Disentanglement for Multi-task Learning with application to Fetal Ultrasound

Qingjie Meng, Nick Pawlowski, Daniel Rueckert, Bernhard Kainz

Abstract

Standard deep learning models often fail in clinical ultrasound (US) settings because anatomical features and image artifacts, such as acoustic shadows, are "entangled" in the learned representations. This paper introduces a multi-task learning framework designed to disentangle these properties using adversarial training. By forcing the model to create semantically disjoint representations for anatomy and artifacts, the system achieves superior generalization, particularly when encountering anatomical views obscured by previously unseen shadows.

Introduction

Fetal ultrasound screening is a critical but challenging diagnostic tool. Clinicians must identify specific anatomical planes, such as the four chambers of the heart or the left ventricular outflow tract (LVOT). However, acoustic shadows—artifacts caused by dense structures like bone—frequently obscure these views. While human experts can mentally compensate for these shadows, standard convolutional neural networks (CNNs) often overfit to the specific combinations of anatomy and artifacts present in their training data. If a model primarily sees shadow-free abdominal views, it may fail to recognize the same anatomy when a shadow is present, as it has not learned to separate the "anatomy" signal from the "artifact" noise.

Example of a shadow-containing LVOT view, illustrating the difficulty of anatomical classification under adverse conditions.

Methodology

The proposed Multi-task Representation Disentanglement model aims to "untangle" the image into two distinct latent spaces: $Z_A$ for anatomical features and $Z_B$ for artifacts.

The architecture employs a dual-encoder system. While standard classifiers ensure that $Z_A$ is predictive of anatomy and $Z_B$ is predictive of shadows, the core innovation lies in the introduction of adversarial classifiers. These adversaries attempt to predict shadows from the anatomy features ($Z_A$) and vice-versa. The encoders are trained to minimize the success of these adversaries, effectively penalizing the anatomy encoder if it retains any information about the presence of shadows. This competition forces the two representations to become semantically disjoint, making the anatomy features "blind" to the presence of artifacts.

Experimental Results

The framework was evaluated on both synthetic data and a large-scale fetal ultrasound dataset comprising 8.4k images from 4,120 screenings across eight standard planes.

Performance on Unseen Data

The most significant finding was the model's robustness to "unseen" combinations. In synthetic tests, a baseline model's accuracy plummeted to 10% on novel feature combinations, whereas the disentangled model maintained 99% accuracy.

Fetal Ultrasound Classification

On real-world US data, the proposed method significantly outperformed standard CNNs. In a "Shadow Stress Test" focusing on the LVOT view containing shadows—a particularly difficult scenario—the disentangled model achieved 73.68% accuracy, compared to just 34.93% for the baseline model.

A shadow-free LVOT view, representing the ideal anatomical plane the model aims to recognize regardless of artifacts.

Qualitative analysis using Principal Component Analysis (PCA) confirmed these results, showing that anatomical and artifact features formed distinct, clean clusters in the disentangled model, while remaining intertwined in the baseline.

Conclusion

This research demonstrates that forcing a model to "forget" irrelevant information through representation disentanglement is a powerful strategy for improving generalization in medical imaging. By decoupling anatomy from artifacts, AI systems can become more reliable in the varied and often suboptimal conditions of real-world clinical practice. Future work will explore extending this framework to more complex tasks like image segmentation and handling multiple simultaneous artifacts.

Reference: Meng, Q., Pawlowski, N., Rueckert, D., & Kainz, B. (2019). Representation Disentanglement for Multi-task Learning with application to Fetal Ultrasound. arXiv:1908.07885v1.

Summary updated

BibTeX
@inproceedings{meng2019representation,
  author = {Qingjie Meng and Nick Pawlowski and Daniel Rueckert and Bernhard Kainz},
  title = {{Representation Disentanglement for Multi-task Learning with application to Fetal Ultrasound}},
  booktitle = {SUSI/PIPPI @ MICCAI},
  year = {2019},
  url = {https://openreview.net/forum?id=b3aTb8nwGoa},
}
Figure