Learning an MR acquisition-invariant representation using Siamese neural networks

Wouter M. Kouw, Marco Loog, Wilbert Bartels, Adriënne M. MendrikISBI 2018 · DOI

Abstract

Generalization of voxelwise classifiers is hampered by differences between MRI-scanners, e.g. different acquisition protocols and field strengths. To address this limitation, we propose a Siamese neural network (MRAI-NET) that extracts acquisition-invariant feature vectors. These can consequently be used by task-specific methods, such as voxelwise classifiers for tissue segmentation. MRAI-NET is evaluated on both simulated and real patient data. Experiments show that MRAI-NET outperforms both voxelwise classifiers trained on the source data as well as classifiers trained on the limited amount of target scanner data available.

Introduction

In medical imaging, "ground truth" labels—such as manual expert segmentations of gray matter—are expensive and time-consuming to produce. Ideally, a model trained on one high-quality dataset could be deployed across various clinical settings. However, MRI scans are notoriously inconsistent; hardware differences (e.g., 1.5T vs. 3.0T field strengths) and varying acquisition protocols alter contrast and noise levels. This "acquisition variation" causes standard voxel-wise classifiers to fail when transferred from a "source" scanner to a "target" scanner. MRAI-NET addresses this by learning a representation that ignores scanner-specific hardware differences while preserving biological tissue variation.

Methods: The Siamese Architecture

MRAI-NET utilizes a Siamese neural network architecture consisting of two identical convolutional neural network (CNN) pipelines that share weights. Instead of direct classification, the network is trained to measure similarity between 15x15 image patches.

Siamese training strategy: patches from different scanners (A and B) are paired to learn tissue-specific, acquisition-invariant features.

The model is optimized using a dual-purpose loss function:

  1. Similar Pairs: If two patches represent the same tissue (e.g., both gray matter), the network is penalized if their feature outputs are distant.
  2. Dissimilar Pairs: If patches represent different tissues, the network is penalized if they are too close in the feature space (using a hinge loss with a margin).

Once trained, these pipelines act as feature extractors. A simple linear classifier can then be trained on these invariant features to perform the final segmentation task.

Experimental Setup

The researchers evaluated MRAI-NET on two datasets:

  • Simulated Data (Brainweb): Synthetic 1.5T and 3.0T scans from 20 anatomical models were generated using the SIMRI simulator to isolate acquisition variation.
  • Real Patient Data (MRBrainS): Data from five subjects were used to test the model against real-world complexities like field inhomogeneities.

A key advantage of this approach is the combinatorial explosion of training signal. By forming pairs of samples (Source-Source, Source-Target, Target-Target), the network can learn effectively even when only a handful of labeled images are available for a new target scanner.

Key Results

MRAI-NET demonstrates significant performance gains, particularly in low-data regimes. When only 10 labeled target samples per tissue were available, MRAI-NET achieved an error rate of 0.17 on simulated data and 0.33 on real data, vastly outperforming standard source-trained classifiers (0.66 and 0.64 respectively).

Performance metrics: Proxy A-distance (left) shows domain alignment, while tissue error (right) demonstrates MRAI-NET's superiority with few target samples.

Domain alignment was verified using the Proxy $\mathcal{A}$-distance, a metric measuring how distinguishable two datasets are to a classifier. After training, this distance dropped toward zero, indicating the network successfully "blinded" itself to scanner-specific artifacts. Furthermore, MRAI-NET often outperformed models trained exclusively on target data, suggesting it successfully transfers rich anatomical knowledge from the source domain to the target task.

Discussion and Limitations

While effective, the current implementation of MRAI-NET uses relatively small 15x15 patches, which may overlook larger structural contexts utilized by modern "U-Net" architectures. Additionally, the final representation layer was restricted to a small size (dimension 2); more complex multi-class segmentation tasks might require higher-dimensional feature spaces. Future work will explore scaling the architecture to handle more complex anatomical structures and larger input contexts.

Summary updated

BibTeX
@inproceedings{kouw2018learning,
  author = {Wouter M. Kouw and Marco Loog and Wilbert Bartels and Adriënne M. Mendrik},
  title = {{Learning an MR acquisition-invariant representation using Siamese neural networks}},
  booktitle = {ISBI},
  year = {2018},
  doi = {10.1109/isbi.2019.8759281},
}
Figure