Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2019 Sep 20.
Published in final edited form as: Deep Learn Med Image Anal Multimodal Learn Clin Decis Support (2018). 2018 Sep 20;11045:83–91. doi: 10.1007/978-3-030-00889-5_10

Active Deep Learning with Fisher Information for Patch-wise Semantic Segmentation

Jamshid Sourati 1, Ali Gholipour 1, Jennifer G Dy 2, Sila Kurugol 1, Simon K Warfield 1
PMCID: PMC6235453  NIHMSID: NIHMS995200  PMID: 30450490

Abstract

Deep learning with convolutional neural networks (CNN) has achieved unprecedented success in segmentation, however it requires large training data, which is expensive to obtain. Active Learning (AL) frameworks can facilitate major improvements in CNN performance with intelligent selection of minimal data to be labeled. This paper proposes a novel diversified AL based on Fisher information (FI) for the first time for CNNs, where gradient computations from backpropagation are used for efficient computation of FI on the large CNN parameter space. We evaluated the proposed method in the context of newborn and adolescent brain extraction problem under two scenarios: (1) semi-automatic segmentation of a particular subject from a different age group or with a pathology not available in the original training data, where starting from an inaccurate pre-trained model, we iteratively label small number of voxels queried by AL until the model generates accurate segmentation for that subject, and (2) using AL to build a universal model generalizable to all images in a given data set. In both scenarios, FI-based AL improved performance after labeling a small percentage (less than 0.05%) of voxels. The results showed that FI-based AL significantly outperformed random sampling, and achieved accuracy higher than entropy-based querying in transfer learning, where the model learns to extract brains of newborn subjects given an initial model trained on adolescents.

1. Introduction

Image segmentation plays an important role for extracting quantitative imaging markers of disease for improved medical diagnosis and treatment. CNNs have been shown to be promising for medical image segmentation [1]. However, they require large training sets to be able to generalize well. In medical applications, labels are often only available for limited subjects who come from a healthy group with a specific age range. Models trained on this population will not perform well in subjects from a different age group (such as newborns or children), subjects imaged on a different scanner or subjects with a specific disease. In order to generalize models, annotating more images is crucial. Due to costly efforts needed for medical annotation, active learning (AL) seems imperative enabling us to build generalizable models with the smallest number of additional annotations. Generally speaking, AL aims to select the most informative queries to be labeled among a pool of unlabeled samples.

Among AL algorithms used for medical image segmentation, uncertainty sampling has been one of the popular methods [2, 3], which queries the most uncertain samples to be labeled. It has recently been used with neural networks, where uncertainty was measured based on sample margins [4] or bootstrapping [5]. For the same purpose, Wang et al. [6] used entropy function but mixed it with weak labels. In addition, more sophisticated objectives such as Fisher information (FI) has theoretically been shown to be beneficial for active learning [79]. FI measures the amount of information carried by the observations about the underlying unknown parameter. An earlier work [10] successfully applied FI in medical image segmentation using logistic regression. However, FI based objective functions for AL have not previously been applied to CNN models mainly because of the significantly larger parameter space of deep learning models which leads to intractable computations for evaluating FI.

In this paper, we propose a modified version of FI-based AL for image segmentation with CNN. Modification of FI-based approach is towards making the queries even more informative by making them as diverse as possible. We observe that using the selected queries to fine-tune only the last few layers of a CNN can effectively improve the initial model performance, and thus there is no need for blending with weak labels. Furthermore, we leverage the very efficient backpropagation methods that exist for gradient computation in CNN models to make evaluation of FI tractable. We formulate the proposed diversified FI-based AL for the application of CNN based patch-wise brain extraction and compared it with two baselines, random sampling and entropy-based querying (uncertainty sampling), within two scenarios: semi-automatic segmentation and universal active learning. Our results show that the proposed methods significantly outperform random querying and can effectively improve the performance of a pre-trained model by querying a very small percentage (less than 0.05%) of image voxels. Finally, we show that the FI-based method outperforms entropy-based approach when active querying is used for transfer learning.

2. Methods

We explain our AL method in the context of a single querying iteration, when a parameter estimate θ^ is already available from an initial labeled data set. We assume that the CNN model is capable of providing us with the class posterior probability (y|θ^,x). In each iteration, selected queries will be labeled by the expert and the model will be updated. This process repeats using the updated model. Throughout this section, U={x1,,xn} denotes the unlabeled pool of samples and QU is the (candidate) query set. The goal in a querying iteration is to generate (no more than) k > 0 most informative queries.

2.1. FI-based AL

Fisher information (FI), defined as Ex,y[θlog(y|x,θ0)θlog(y|x,θ0)], measures the amount of information that an observation carries about the true model parameter θ0 ∈ ℝτ. Trace of (inverse) FI serves as a useful active learning objective [8, 9], where it is optimized with respect to a query distribution q defined over the pool U (hence qi is the probability of querying xiU). Different approximations can be introduced for tractability [7, 10]. Here, we follow the algorithm in [11] (originally used for logistic regression), which aims to solve

argminq[0,1]ntr[Iq(θ0)1]. (1)

This optimization has a non-linear objective, but it can be reformulated in the form of a semi-definite programming (SDP) problem [12].

2.2. Diversified FI-based AL

Although (1) takes into account the interaction between different samples, it is not obvious how much diversity it includes within Q. In order to further encourage a well-spread probability mass function (PMF) and more diverse queries, we included an additional covariance-dependent term −λtr [Covq[x]] into the objective, where λ is a positive mixing coefficient. Unfortunately, adding this term to the objective prevents us from forming a linear SDP. In order to keep the tractability, we constrain ourselves to zero-mean PMFs, i.e., Eq[x]=0. This constraint makes the covariance term linear with respect to qi’s:

argminq[0,1]ntr[Iq(θ0)1]λi=1nqixixis.t.i=1nqixi=0. (2)

Following an approach similar to [11], we can get the following linear SDP:

argminq[0,1]n,tτt1++tτλi=1nqixixis.t.xiUqixi=0&[iqiAiejejtj]0,j=1,,τ. (3)

where t1, …, tτ are auxiliary variables, ej is the j-th canonical vector, and Ai ∈ ℝτ × τ is the conditional FI of xi, defined as

Ai:=y=1c(y|xi,θ0)θlog(y|xi,θ0)θlog(y|xi,θ0) (4)

Since θ0 is not known, it is replaced by the available estimate θ^. Finally, (2) can be slow when n (pool size) and τ (parameter length) are very large, which is usually the case for CNN-based image segmentation. In order to speed up, we moderate both values by (a) downsampling U by only keeping β most uncertain samples [13, 11], and (b) shrinking the parameter space by representing each CNN layer with the average of its parameters. When the querying PMF q is obtained, k samples will be drawn from it and the distinct samples will be used as the queries.

3. Experimental Results

We applied the proposed method and the baselines for CNN based patch-wise brain extraction. We use tag random for random querying, entropy for entropy-based querying, and Fisher for FI-based querying with λ = 0.25 = 200. In entropy, we used Shannon entropy as the uncertainty measure. Our data sets contain T1-weighted MRI images of two groups of subjects: (a) 66 adolescents from age 10 to 15, and (b) 25 newborns from the Developing Human Connectome Project [14]. The CNN model used in our experiments is shown in Fig. 1. Inputs are axial patches of size 25 × 25 × 1. The feature vectors xi in (3) are extracted from output of the second FC layer.

Fig. 1.

Fig. 1.

Architecture of the CNN model used for brain extraction

We first trained an initial model using randomly selected patches from three adolescent subjects and used it to initialize AL experiments, where k is set to 50. Each querying iteration started with an empty labeled data set L0 and an initial model M0. At iteration i, Mi1 was used to score samples and select the queries. Labels of the queries were added to Li1 to form L0, which was used to update Mi1 by fine-tuning only the FC layers. Accordingly, when computing conditional FI’s in (4), we only computed gradients for the FC layers. Next we discuss two general scenarios in evaluating the performance of AL methods.

3.1. Active Semi-automatic Segmentation

Here, the goal is to refine the initial pre-trained model to segment a particular subject’s brain by annotating the smallest number of additional voxels from the same subject. For the sake of computational simplicity, we used grid-subsampling of voxels with a fixed grid spacing of 5, resulting in pool of unlabeled samples with size ~200,000 for adolescent and ~350,000 for newborn subjects. We evaluated the resultant segmentation accuracy for the specific subject after each AL iteration over grid voxels. We also reported the initial/last segmentations over full voxels after post-processing the segmentations with CRF (for newborns), Gaussian smoothing (with standard deviation 2), morphological closing (with radius 2) and 3D connected component analysis.

Table 1 shows mean and standard deviation of F1 scores in different querying iterations from 25 newborns and 63 adolescents (after excluding three images used in training M0). This table shows that Fisher and entropy raised the performance significantly higher than random, and increased the initial F1 score by labeling less than 0.05% of total voxels. Whereas, random decreased the average score in the early iterations, which implies potential negative effect of bad query selection. This table shows a slight difference between Fisher and entropy when considering all the images collectively. However, we observed that Fisher actually outperformed entropy in more than 60% of the newborn subjects (16 out of 25), while performing almost equally on the others. Figure 2(a) shows box plots of the difference between F1 scores of Fisher and entropy for these two groups of subjects, where the white boxes are mostly in the positive side.

Table 1.

F1 scores of the models obtained from querying iterations of different AL algorithms. The scores of intermediate querying iterations are based on grid samples, whereas the initial and final scores are reported based on full segmentation.

Adolescents Newborns
Initial 85.73 ± 3.91 79.93 ± 2.92
# Queries Fisher (%) entropy (%) random (%) Fisher (%) entropy (%) random (%)
100 87.11 ± 3.04 86.85 ± 3.29 82.61 ± 5.05 84.26 ± 2.86 83.33 ± 2.84 76.4 ± 6.22
500 90.9 ± 2.07 90.62 ± 2.16 85.28 ± 3.48 86.92 ± 2.37 86.47 ± 2.29 80.75 ± 2.96
1000 92.42 ± 1.76 92.57 ± 1.64 86.71 ± 2.88 88.11 ± 2.23 87.89 ± 2.12 82.12 ± 2.84
1500 93.57 ± 1.37 93.5 ± 1.39 87.78 ± 2.44 89.07 ± 2.02 88.82 ± 2 83.11 ± 2.85
Final 95.21 ± 0.94 95.15 ± 0.9 91 ± 1.48 90.24 ± 1.84 89.88 ± 1.72 86.92 ± 2.2

Fig. 2.

Fig. 2.

F1 scores reported separately for two groups of newborn subjects, when Fisher>entropy and Fisher≈entropy. The box-plots consider all subjects in each group, whereas the F1 curves in (b) and (c) are for one sample subject from each group.

The improvements in F1 scores are shown for two selected subjects, one from each group, in Figs. 2(b) and 2(c). Furthermore, in order to visualize how differences in F1 scores may reflect in segmentations, we also showed in Fig. 3 segmentation of a slice of the subject associated with Fig. 2(b). Observe that the pre-trained model from adolescent subjects falsely classified skull as brain, since brains of adolescent and newborn subjects look very different in their T1-weighted contrast. After AL querying, the methods could better distinguish these regions but random and entropy have much more false negatives than Fisher.

Fig. 3.

Fig. 3.

Segmentation of a slice using M0 and models obtained in active semi-automatic segmentation of the newborn for which F1 curves are shown in Fig. 2(b). Green boundaries show the ground-truth segmentation and red regions are the resulting brain extraction.

3.2. Universal Active Learning

In this section, we used FI-based AL sequentially on a subset of new subjects to further improve the initial CNN model in order to achieve a universal model that can be used to segment all other subjects in the same data set. The goal was to show that FI-based querying method is able to result a more generalizable model. We ran a sequence of FI-based AL over 11 subjects in each data set, such that the initial model of querying iterations over one subject was the final model obtained from the previous subject. The pre-trained model M0 described above was used to initialize the AL algorithm for the first image. For each subject, we continued running the querying iterations with k = 50 until 1,500 queries were labeled. The resulting universal model was then tested on the remaining unused subjects in the data set. Note that for the newborn dataset the problem is a transfer learning scenario, where an initial pre-trained model from the adolescent data set was updated using the proposed AL approach to achieve improved performance in the newborn dataset. Results from test subjects reported in Fig. 4 show that the initial model is significantly improved after labeling a very small portion (less than 0.02%) of the voxels involved in the querying.

Fig. 4.

Fig. 4.

Statistics of F1 scores of universal models resulting from sequence of FI-based querying over 11 images and the initial model M0 over the test images of adolescent and newborn subjects. The box-plots and histograms show that except for a few adolescent outliers, the F1 scores are significantly increased by our proposed FI-based AL.

4. Conclusion

In this paper, we presented active learning (AL) algorithms based on Fisher information (FI) for patch-wise image segmentation using CNNs. In these new algorithms a diversifying term was added to the querying objective based on the FI criterion; where efficient FI evaluation was achieved using gradient computations from backpropagation on the CNN model. In the context of brain extraction, the proposed AL algorithm significantly outperformed random querying. We also observed that FI worked better than entropy in transfer learning, where we actively fine-tuned a pre-trained model to adapt it to segment images from a patient group with different characteristics (age, pathology, scanner) than the source data set. FI-based querying was also successfully applied for creating universal CNN models for both source (adolescent) and target (newborn) data sets, to label minimal new samples while achieving large improvement in performance.

Acknowledgments

This work was supported by NIH grants R01 NS079788, R01 EB019483, R01 DK100404, R44 MH086984, BCH IDDRC U54 HD090255, and by a research grant from the Boston Children’s Hospital Translational Research Program. A.G. is supported by NIH grant R01 EB018988. S.K. is also supported by CCFA’s Career Development Award and AGA-Boston Scientific Technology and Innovation Award.

References

  • 1.Litjens G, Kooi T, Bejnordi BE, Setio AAA, Ciompi F, Ghafoorian M, van der Laak JA, van Ginneken B, Sánchez CI: A survey on deep learning in medical image analysis. Medical image analysis 42 (2017) 60–88 [DOI] [PubMed] [Google Scholar]
  • 2.Top A, Hamarneh G, Abugharbieh R: Active learning for interactive 3d image segmentation. In: International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer; (2011) 603–610 [DOI] [PubMed] [Google Scholar]
  • 3.Pace DF, Dalca AV, Geva T, Powell AJ, Moghari MH, Golland P: Interactive whole-heart segmentation in congenital heart disease. In: International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer; (2015) 80–88 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 4.Zhou S, Chen Q, Wang X: Active deep networks for semi-supervised sentiment classification. In: Proceedings of the 23rd International Conference on Computational Linguistics: Posters, Association for Computational Linguistics (2010) 1515–1523 [Google Scholar]
  • 5.Yang L, Zhang Y, Chen J, Zhang S, Chen DZ: Suggestive annotation: A deep active learning framework for biomedical image segmentation. In: International Conference on Medical Image Computing and Computer-Assisted Intervention, Springer; (2017) 399–407 [Google Scholar]
  • 6.Wang K, Zhang D, Li Y, Zhang R, Lin L: Cost-effective active learning for deep image classification. IEEE Transactions on Circuits and Systems for Video Technology (2016) [Google Scholar]
  • 7.Zhang T, Oles F: The value of unlabeled data for classification problems. In: Proceedings of the 17th International Conference on Machine Learning (2000) 1191–1198 [Google Scholar]
  • 8.Chaudhuri K, Kakade SM, Netrapalli P, Sanghavi S: Convergence rates of active learning for maximum likelihood estimation. In: Advances in Neural Information Processing Systems (2015) 1090–1098 [Google Scholar]
  • 9.Sourati J, Akcakaya M, Leen TK, Erdogmus D, Dy JG: Asymptotic analysis of objectives based on fisher information in active learning. Journal of Machine Learning Research 18(34) (2017) 1–41 [Google Scholar]
  • 10.Hoi SC, Jin R, Zhu J, Lyu MR: Batch mode active learning and its application to medical image classification. In: Proceedings of the 23rd international conference on Machine learning, ACM; (2006) 417–424 [Google Scholar]
  • 11.Sourati J, Akcakaya M, Erdogmus D, Leen T, Dy JG: A probabilistic active learning algorithm based on fisher information ratio. IEEE transactions on pattern analysis and machine intelligence (2017) [DOI] [PubMed] [Google Scholar]
  • 12.Vandenberghe L, Boyd S: Semidefinite programming. SIAM review 38(1) (1996) 49–95 [Google Scholar]
  • 13.Wei K, Iyer R, Bilmes J: Submodularity in data subset selection and active learning. In: Proceedings of the 21st International Conference on Machine Learning Volume 37. (2015) [Google Scholar]
  • 14.Makropoulos A, Robinson EC, Schuh A, Wright R, Fitzgibbon S, Bozek J, Counsell SJ, Steinweg J, Passerat-Palmbach J, Lenz G, et al. : The developing human connectome project: a minimal processing pipeline for neonatal cortical surface reconstruction. NeuroImage 173 (2018) 88–112 [DOI] [PMC free article] [PubMed] [Google Scholar]

RESOURCES