Paper commentary
Brain Tumor Segmentation with Deep Neural Networks
Deep neural networks segment brain tumors in MR images without hand-designed features
- Problem Hand-designed features limit accuracy for segmenting glioblastoma tumors, which are poorly contrasted and can sit anywhere with any shape. Tumor labels are also very rare compared with healthy tissue, so training is hard.
- Method TwoPathCNN learns features directly from the MR data using a local and a global pathway over each patch. It trains in two phases, first on balanced labels and then re-training only the output layer on natural frequencies.
- Results InputCascadeCNN* reached a complete-tumor Dice of 0.88 on the BRATS 2013 online evaluation and ranked second at submission.
Why tumor segmentation is hard
Gliomas and glioblastomas are diffuse, poorly contrasted and blend into healthy tissue, so the segmentation has to separate active tumor, necrosis and edema from normal anatomy in the MR volumes. Because the tumors can sit anywhere in the brain and take almost any shape or size, a fixed spatial prior is of limited use.
MR intensities have no standard scale, so the same tissue can appear with very different grayscale values depending on the scanner and the acquisition protocol. Several MRI modalities (T1, T1C, T2 and FLAIR) are therefore combined, since the contrast between them gives a distinctive signature for each tissue type.
Most earlier automatic methods compute hand-designed features and pass them to a classifier that leaves those features unchanged. Many of these features are generic edge-related descriptors, and using fewer of them to save time usually lowers accuracy.
The authors instead learn feature hierarchies from in-domain data with convolutional networks, so that the features are shaped for the segmentation task itself. Three design goals follow: capture both local detail and wider context, handle the strong imbalance between healthy and tumor labels, and model dependencies between neighboring labels without the cost of joint inference.
Two-pathway CNN and its patch computation
Slices are processed one at a time along the axial direction, because the BRATS volumes have low resolution in the third dimension. For each pixel, the network reads an M×M patch centered on it, with the four modalities as input channels.
A feature map is computed by summing, over the input channels r, the convolution of a sub-kernel W_sr with the input X_r and adding a bias, as in O_s = b_s + Σ_r W_sr ∗ X_r. Each input channel has its own N×N filter, so one feature map is a spatial response that spans all modalities, although the spatial sliding happens only in the axial plane.
The authors use valid-mode convolution, so an N×N filter on an M×M patch gives a Q×Q output with Q = M − N + 1.
After convolution, Maxout takes, for each spatial position, the maximum over K neighboring feature maps, Z_s,i,j = max{O_s,i,j, ..., O_s+K−1,i,j}, with K = 2 in the example figure. Max pooling then takes the maximum over sub-windows of size p, and its output has size D×D with D = (Q − p)/S + 1 for stride S.
The network has two pathways over the same patch: a local pathway with 7×7 receptive fields and a global pathway with 13×13 receptive fields. The local pathway uses two layers, with a 3×3 kernel in its second layer, so that the top hidden layers of both pathways have the same effective receptive field and can be concatenated. The concatenated maps feed a convolutional output layer, and the complete TwoPathCNN has 651,488 parameters.
The output layer has one kernel per segmentation label, five in total, and a softmax over these five responses gives the probability of each label at every position. Each pixel is assigned the label with the largest probability, and the probability of the full label field is the product of the per-position conditionals.
Convolutional output layer and full-image inference
A conventional CNN with a fully connected output layer is slow for segmentation, because the prediction must be repeated for each pixel's patch. Replacing the output layer with a convolution with as many kernels as there are labels lets the same computation be applied to a whole image.
At test time the whole image is fed to the network, so convolutions at every layer produce the label probabilities for all pixels at once instead of extracting one patch per pixel. With this arrangement TwoPathCNN produces a segmentation of one brain in 25 seconds on a Titan black GPU. The same comparison is reported as 45 times faster than the per-patch procedure.
The abstract gives a 40 fold speed-up for the same convolutional output layer, while the body reports 45 times for this comparison; the two figures are reported without further reconciliation.
Max pooling uses a stride of 1 so that predictions remain per-pixel during full-image inference.
Two-phase training and regularization
Healthy voxels make up 98% of the voxels, and the four tumor labels make up the remaining 2%, with necrosis at 0.18%, edema at 1.1%, non-enhanced tumor at 0.12% and enhanced tumor at 0.38%. Sampling patches from this natural distribution would let healthy patches dominate training, so the first phase instead draws patches so that all five labels are equally likely.
The network is trained by stochastic gradient descent on mini-batches of patches, minimizing the average negative log-probability of the center labels. The update uses momentum, V_{i+1} = µV_i − α∇W_i followed by W_{i+1} = W_i + V_{i+1}, so that a temporally averaged gradient damps the step.
In the second phase, only the output layer is re-trained on the natural label frequencies while all lower layers are kept fixed. The authors argue that the lower layers keep the balanced features learned in phase one, while the output probabilities are recalibrated to the true class frequencies.
Kernel weights are bounded in absolute value, and L1 and L2 penalties with coefficients λ1 and λ2 are added to the negative log-probability. Dropout masks each hidden or input unit with a probability such as 0.5 during training, and units are scaled by one minus that masking probability at test time. Early stopping on a validation set and a grid search over the regularization and architectural hyper-parameters complete the selection.
Each of the 30 training brains contributes 200 2D slices, which gives roughly 6000 training images, and the authors argue that the similarity of brain MRI across patients makes this enough. This argument is an assumption of the authors, and it is not tested against a smaller training set.
Cascaded architectures
Joint models such as a CRF capture dependencies between labels, but their inference is usually more expensive than one feed-forward pass. The cascade instead feeds the output probabilities of a first CNN into a second CNN, so that the second model can take the first model's beliefs about nearby labels into account.
The LocalCascadeCNN concatenates the first CNN's output with the first hidden layer of the local pathway. The MFCascadeCNN concatenates the output right before the output layer, and the authors relate this to one pass of mean-field inference in a CRF whose pairwise potentials are the output kernel weights.
The first stage, TwoPathCNN, is trained with the two-phase procedure and then kept fixed while the rest of the cascade is trained. Because the first stage's output must match the spatial size of the second stage's input, the first CNN receives a larger input, 65 × 65 in the InputCascadeCNN, which produces a 33 × 33 output. The InputCascadeCNN has 802,368 parameters, the LocalCascadeCNN 654,368 and the MFCascadeCNN 662,513.
BRATS 2013 online scores
Scores are Dice, sensitivity and specificity for three nested tumor regions: complete, core and enhancing. Dice is identical to the F measure and is computed from the overlap of the predicted and ground-truth positive sets. The online evaluation system returns these scores for each submission, and the table reports the rank at submission time.
The same architecture without the second training phase reaches 0.78, 0.63 and 0.68 and ranks 14th, so each Dice value is lower in the single-phase version. LocalPathCNN* (0.85, 0.74, 0.71) and AverageCNN* (0.84, 0.75, 0.70) are in the same range.
In Table 2, InputCascadeCNN* reaches Dice 0.88, 0.79 and 0.73 and ranks second, while MFCascadeCNN* (0.86, 0.77, 0.73) and LocalCascadeCNN* (0.88, 0.76, 0.72) are both ranked 4 with inner ranks 4a and 4c.
The authors report that InputCascadeCNN* ranks first in their comparison table against methods listed in the 2013 challenge, ahead of Tustison's method, the 2013 winner. TwoPathCNN* takes 25 seconds per brain and is described as more than 200 times faster than Tustison's method.
Urban et al. report Dice 0.87, 0.77 and 0.73 on the BRATS 2013 test set with about 1 minute per model, and these numbers come from their own report rather than from the authors' controlled run.
On the BRATS-2012 4-label test set, InputCascadeCNN* reaches Dice 0.81, 0.72 and 0.58 for complete, core and enhancing tumor. The authors describe the result as best in the core category among the listed methods, with competitive values in the other categories.
Visual comparisons of the design choices
On two validation subjects, the authors observe that the two-phase model removes false positives that the single-phase model produces. They also describe the two-pathway model as capturing global context and local detail together, which gives more accurate boundaries than a single pathway that yields smoother but less precise edges. These comparisons are visual on validation subjects, and the models were not trained on that set.
The MFCascadeCNN* yields smoother boundaries between classes, which the authors hypothesize is because its output neurons are tied to previous outputs within each receptive field. LocalCascadeCNN* produces fewer false positives in the complete tumor category, but its core and enhancing performance did not improve.
Flipping the input images as data augmentation did not improve the overall accuracy of the model. Adding the third dimension as extra channels or as orthogonal slices did not improve performance and made the method much slower.
Training and inference cost
Training TwoPathCNN takes about 3 minutes per epoch on an NVIDIA Titan black card. Inference times are per brain: 25 seconds for TwoPathCNN with full-image prediction, and 3 minutes for InputCascadeCNN. MFCascadeCNN and LocalCascadeCNN take on average 1.5 and 1.7 minutes respectively.
The timing numbers come from the models as they run at test time and are not paired with a separately trained accuracy measurement for each model.
Limitations
The main quantitative evaluation uses BRATS 2013, and the authors did not use the BRATS 2014 data because of problems with the evaluation system and the labels. A footnote notes that the BRATS 2014 participation could not be reported with complete and fair experiments at the time of submission.
Models process 2D axial slices, and the 3D variants that were tried did not improve performance. Only flipping was tested as data augmentation.
Some comparisons use scores from other reports, and for Subbanna et al. and Urban et al. the specificity and sensitivity values are missing, so those rows cannot be matched to the authors' protocol.
Paper info
- Authors
- Mohammad Havaei, Axel Davy, David Warde-Farley, Antoine Biard, Aaron Courville, Yoshua Bengio, Chris Pal, Pierre-Marc Jodoin, Hugo Larochelle
- Venue
- arXiv · Preprint
- First published
- 2015-5-13
- Added
- 2026-11-12
- Updated
- 2016-5-20
- Version
- v3
- arXiv
- 1505.03540
- DOI
- 10.1016/j.media.2016.05.004
- Category
- cs.CV · cs.AI
- Original paper terms
- arXiv non-exclusive 1.0
- What we show
- Paper info and commentary
AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.
Quote from the paper
Mohammad Havaei, Axel Davy, David Warde-Farley, Antoine Biard, Aaron Courville, Yoshua Bengio, Chris Pal, Pierre-Marc Jodoin, Hugo Larochelle (2015). Brain Tumor Segmentation with Deep Neural Networks. arXiv:1505.03540v3. https://doi.org/10.1016/j.media.2016.05.004
BibTeX
@article{havaei2015brain,
title = {{Brain Tumor Segmentation with Deep Neural Networks}},
author = {Mohammad Havaei and Axel Davy and David Warde-Farley and Antoine Biard and Aaron Courville and Yoshua Bengio and Chris Pal and Pierre-Marc Jodoin and Hugo Larochelle},
year = {2015},
eprint = {1505.03540},
archivePrefix = {arXiv},
doi = {10.1016/j.media.2016.05.004},
url = {https://arxiv.org/abs/1505.03540v3}
}