Abstract
The premorbid geometry of the mandible is of significant relevance in jaw reconstructive surgeries and occasionally unknown to the surgical team. In this paper, an optimization framework is introduced to train deep models for completion (reconstruction) of the missing segments of the bone based on the remaining healthy structure. To leverage the contextual information of the surroundings of the dissected region, the voxel-weighted Dice loss is introduced. To address the non-deterministic nature of the shape completion problem, we leverage a weighted multi-target probabilistic solution which is an extension to the conditional variational autoencoder (CVAE). This approach considers multiple targets as acceptable reconstructions, each weighted according to their conformity with the original shape. We quantify the performance gain of the proposed method against similar algorithms, including CVAE, where we report statistically significant improvements in both deterministic and probabilistic paradigms. The probabilistic model is also evaluated on its ability to generate anatomically relevant variations for the missing bone. As a unique aspect of this work, the model is tested on real surgical cases where the clinical relevancy of its reconstructions and their compliance with surgeon’s virtual plan are demonstrated as necessary steps towards clinical adoption.
You have full access to this open access chapter, Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
Head and neck cancer comprises of a set of malignant tumors in the upper respiratory tract which constitutes 3–4% of cancer cases in North America [8]. Surgery is the first line of treatment for the majority of these cases. Despite the advances in tools and techniques, mandibular reconstruction after segmental mandibulectomy is still a challenging procedure. Moreover, due to the mandible’s vital role in mastication, speech, and swallowing, the functional and aesthetic requirements of mandibular reconstructions are quite high.
The vascularized free fibula flap is the most utilized technique for mandibular reconstruction [4] where the linear shape of the fibula bone is dissected, contoured, and modelled to complete the curved geometry of the ablated bone. In the past decade, three-dimensional (3D) virtual surgical planning (VSP) has gained traction. In the VSP-enhanced free fibula flap, the modelling and shaping of the fibula are virtually planned based on the pre-operative records.
One of the challenges in mandibular reconstruction is the unknown pre-incident shape of the missing (distorted) bony elements. In cases where the shape of the target bony element is unknown, three strategies are taken to anticipate the original anatomy [10]. In rare cases where previous medical records of the craniofacial skeleton is available, patient’s own bone morphology serves as the reference. For unilateral defects, the uninvolved contralateral side is mirrored and manually positioned to create an estimated reconstruction reference. However, this approach becomes less reliable for defects with anteromedial extensions and is inapplicable in midline crossing lesions. Standard anatomic templates are seldom utilized to fill the missing bony elements after subjet-specific adjustments.
Related Work. Shape completion is an ill-posed inverse problem in computer vision and graphics. Data-driven models, including deep neural networks, are more intriguing as they directly learn the completion under supervision particularly because of the non-deterministic ground-truth and multiple acceptable solutions for the reconstruction problem. In the realm of 3D generative deep models, applicability of adversarial training (GAN) in 3D shape and point cloud syntheses are investigated [2, 11]. Varitional autoencoders (VAE) have also been able to learn semantically meaningful latent spaces for realistic completions [6]. The closest research to our work is a recent study where they empirically proved the feasibility of generating mandible shapes from a predefined set of landmarks [1].
Contributions. We introduce optimization approaches to train deep convolutional models to reconstruct the missing bone segment from the remaining healthy mandible. Our contributions are three-fold. First, we design a framework to randomly generate samples for training of shape completion models in deterministic and probabilistic paradigms. We introduce the Voxel-weighted Dice loss that prioritizes the target (removed) region over the rest of the geometry while ensuring consistency in reconstruction by leveraging the contextual information from the rest of the shape. Our main contribution is the Target-weighted variational objective function which addresses the one-to-many reality of shape reconstruction. We report the quantified gain in performance and demonstrate the model’s ability to predict variations of the missing bone. Moreover, as a unique aspect of this work, qualitative results on real surgical cases are provided as a notion of clinical relevancy and compliance with surgeon’s virtual plans.
2 Method
2.1 Network Architecture
The input (X) to the deep model is a 3D binary voxel-grid of size \(c^3\) containing a mandible with a missing (dissected) contiguous segment. The output of the model is a 3D probability map (\(\hat{Y}\)) of size \(c^3\) where the predicted volume is the union of all voxels with \(Y_{ijk} > 0.5\). Architecture of the learning system is summarized in Fig. 1. We investigate two reconstruction approaches, deterministic and probabilistic. In heart of both lies a V-Net [5] consisting of four down-transition and four up-transitions with skip connections to forward feature maps from the encoding to the decoding stream. Each down-transition consists of strided 3D convolutions and batch-normalization. Similarly, the up-transitions contain transposed strided 3D convolution (deconvolution) and batch-normalization. ELU activation layers are used throughout the V-Net. Activations of the main stream of the last two down-transitions and the first two up-transitions are dropped out with a probability of 0.5. The final up-transition generates four 3D feature maps of size \(c^3\), same size as the input and the target occupancy maps. More details of the architecture are available in the supplementary material.
In deterministic shape reconstruction, the final four feature maps are convolved with \(P_{gen}\) kernels of size 2 followed by a sigmoid function. In the probabilistic approach, the four feature maps of the V-Net are first concatenated with the tiled latent values (see Sect. 2.2) and convolved with 8 kernels in two consecutive layers of \(P_{comb}\) prior to \(P_{gen}\) (Fig. 1).
2.2 Loss Functions
During the mini-batch gradient decent optimization, each training sample is randomly dissected by a cuboid (B) with an arbitrary size and orientation, which forms a binary occupancy map inside a 3D grid of size \(c^3\). The cuboid cuts the mandible to create input and target shapes as follows,
where \(P \circ Q\) denotes the Hadamard product of the tensors P and Q, and \(B'\) is the complement of the binary cuboid. X and Y are the input and target (Fig. 2).
Voxel-Weighted Dice. This objective function enables the model to leverage the contextual information from the surroundings of the dissected region. Hence, voxels of the predicted 3D probability map are weighted adversely by their distance from the removed bony segment. To do so, a 3D normal distribution, \(\mathcal {N}_w(\bar{Y}, \sigma _w^2 I)\), with a diagonal covariance matrix is instantiated at the center of the target segment (\(\bar{Y}\)). The 3D weight matrix W of size \(c^3\) is then defined as
Eq. 2 prioritizes the voxels inside the volume of the dissection cuboid (B) and ignores distant voxels. Here, \(\sigma _w\) is set to c/3 to encourage smoother contours.
Based on the weight matrix, W, the proposed Voxel-weighted Dice loss is
The proposed Voxel-weighted Dice prioritizes the dissected region for shape completion and maintains consistency between the synthesized structure (\(\hat{Y}\)) and the remaining anatomy (X).
Target-Weighted Loss. Shape completion in the anatomical domain is inherently a non-deterministic process, i.e., there is no single ground-truth that completes the dissected input anatomy. Therefore, our objective is to learn the variations of the removed bony segment from a dataset of mandibles and generate multiple solutions to reconstruct a given dissection. In the proposed probabilistic learning paradigm, training samples are randomly dissected, on-the-fly, and the removed segment is considered the best known reconstruction target, referred to as \(Y_0\) hereafter. In the proposed multi-target approach, m random training samples are selected and dissected at the same location using the same cuboid and registered on \(Y_0\) to create the set of possible reconstructions, \(\mathcal {Y} = \big \{ Y_{0}, Y_{1}, ..., Y_{m} \big \} \). Among \(\mathcal {Y}\), only \(Y_{0}\) perfectly completes X while others do not necessarily match the input. Therefore, the metric \(\varLambda _{ij}(\mathcal {Y})\) is defined as the degree of geometrical conformity between members i and j of the set \(\mathcal {Y}\).
All target nominees (\(\mathcal {Y}\)) are then independently concatenated with X and mapped to the latent position \(\mu _i\), with uncertainty \(\sigma _i\), via the posterior encoder network (\(P_{post}\)). The resultant mappings are considered as parameters of an independent multivariate normal distribution (\(\mathcal {N}(\mu _i, \sigma _i)\)). A sample from this distribution is tiled and concatenated with the feature maps of the V-Net. The resultant 4D tensor is processed by \(P_{comb}\) and \(P_{gen}\) to predict the target:
This process is repeated for all \(m+1\) nominee targets in the \(\mathcal {Y}\) set of sample S.
Each predicted shape (\(\hat{Y}_i\)) is compared with its corresponding target (\(Y_i\)) using the Voxel-weighted Dice. Since target nominees, other than \(Y_{0}\), involve deviations from the input morphology (X), each target’s conformity (\(\varLambda _{i0}\)) with the best known solution (\(Y_0\)) is taken into account in the proposed Target-weighted (TW) loss function. As a result, the final objective function is the weighted average of all loss functions with respect to the conformities of their targets. The proposed objective is formulated as follows:
where, \(\alpha \) is a normalizing parameter set as the sum of all m conformity values, and \(\gamma \) is a weighting constant. As shown in Eq. 5, during optimization, the Kullback– Leibler (KL) divergence of the posterior latent distribution with a fixed normal distribution, from which we sample during inference, is minimized.
The \(\mathcal {L}_\text {VWDice-TW}\) loss function considers all targets as partially acceptable solutions for the probabilistic completion. In our experiments, \(\varLambda (.)\) was set as the Dice coefficient between the shapes, where clearly \(\varLambda _{00}(\mathcal {Y}) = Dice(Y_0, Y_0) = 1\).
3 Experiments
3.1 Data and Training
A total of 48 mandibles were collected from the archives of Vancouver General Hospital (VGH) through a data sharing agreement.
The 3D meshes were rigidly registered based on their point clouds using the group-wise student’s-t mixture model algorithm with 50 mixture components [7]. Using ray testing, each surface mesh was voxelized into an isotropic binary occupancy voxel map with 1 mm increments to mimic mandibles segmented from CT scans with isotropic voxels. The occupancy maps of all mandibles were symmetrically zero padded to create voxel-grid cubes of size \(141^3\), i.e. size of the largest sample, which also matches the maximum facial width reported in the comprehensive dataset of the FaceBase project [3]. The dataset was randomly partitioned into test (15%), training (70%), and validation (15%) sets.
During the mini-batch gradient decent optimization, each sample was randomly rotated, translated (shifted), and mirrored across the sagittal plane. Adam optimizer was used with default momentum parameters along with \(\ell _2\) regularization of \(1e-5\). The learning rate was initialized at \(1e-2\) and exponentially decayed with a rate of 0.98 at each epoch until convergence. Size of the latent space was set to 8. Same random seeds were used for all the experiments.
The data processing pipeline and the models were implemented using the PyTorch deep learning platform and made publicly available: github.com/amir-abdi/prob-shape-completion. For the experiments to be reproducable, the voxelized version of the data accompanies the code, according to each dataset’s respective license and data sharing agreements.
3.2 Evaluation and Results
Shape completion is a non-deterministic process where no single answer is the ground-truth. However, to quantify the performance of the proposed learning methods, a dentist manually removed bone segments from the healthy mandibles of the test set and created nearly 100 test cases. The manually removed bone segments were considered as fair targets for evaluation and compared with the predicted reconstructions. We assessed the models based on Dice coefficient (DSC; \(2 \times \text {intersection} / \text {sum of volumes}\)), completeness (Comp; average distance from target surface to predicted surface), accuracy (Acc; average distance from predicted surface to target surface), and Hausdorff distance at the 95th percentile (HD95). Except for the DSC, lower values of the metrics are preferred. For a fair comparison of non-deterministic CVAE models, and with only a single target reconstruction available, latent values during the quantitative analysis were set to the mean of the fixed distribution \(\mathcal {N}(0, I)\).
The quantitative results are reported in Table 1 and a set of reconstructed samples from the test set are visualized in Fig. 3. As reported in the top row of Table 1, a vanilla Dice loss with the entire shape as its target (i.e. \(L_{Dice}(X+Y,\hat{Y})\)) equally treats all the voxels and ignores the dissected region. This model acts like an autoencoder which only regenerates the input (X). On the contrary, focusing only on the dissected target bone (i.e. \(L_{Dice}(Y,\hat{Y})\)) does not penalize the discrepancies in the margins of the reconstruction. Therefore, the predicted shape shows inconsistencies and discontinuities with respect to the surrounding anatomy. The performance gain achieved with the proposed objective function (Eq. 3) was assessed to be statistically highly significant (\(p < 0.001\)).
To demonstrate the effectiveness of the proposed contributions, two CVAE models were trained: one without any enhancements (\(\text {CVAE}_\text {basic}\)), and one with the objectives function described in Eqs. 3 and 5 (\(\text {CVAE}_\text {VWDice-TW}\)). Network architectures and hyper-parameters were kept the same across experiments for results to be comparable. The differences between the Dice metrics of the two models was observed to be statistically highly significant (\(p < 0.001\)).
Thanks to the proposed Target-weighted variational objective, a strong negative correlation was observed between the deviation of a latent vector from its distribution’s mode (\(|z - \hat{P}_{post} |\)) and the similarity of its corresponding predicted shape with the main target (\(Y_0\)). This phenomenon is demonstrated in Fig. 2. The same was not true for the CVAE\(_\text {basic}\) model.
Surgical Cases. We evaluated the performance of the variational model on real surgical cases who were treated with the virtually planned free fibula flap technique. Here, the affected mandibular bones were already removed by the clinicians. The dissected mandibles were reconstructed using the trained variational model. An expert assessed the reconstructions against surgeon’s virtual plans of the free fibula flap surgery and found them clinically acceptable. Figure 4 visualizes some of these surgical cases by superimposing the predicted mandibular bone (green) on the fibular segments.
4 Discussion and Conclusions
In this paper, we introduced optimization approaches for training of deep variational models for anatomical 3D shape completion. The proposed Voxel-weighted objective improves the accuracy of reconstructions compared to similar approaches and guarantees smoothness between the predicted bony segment and the remaining contours of the mandible. The proposed variational method takes into account the many acceptable solutions for the shape completion problem and is able to generate realistic variations for the missing segment.
Among the limitations of our study is the inconsistency in the presence of teeth across the samples. While there were toothless mandibles in the dataset, the majority of samples had all or parts of their dentition. However, except for their correlation with the bone-loss, teeth have little to no role to play in determining the missing anatomy of mandible. Therefore, the presence of dentition in the target dissections adversely affected the performance. To mitigate this issue teeth should be excluded from the data, either manually or automatically.
The proposed probabilistic approach is among the first works in deep anatomical shape reconstruction. It can be applied to other anatomies as well as general computer graphics. Comparison with real surgical cases is demonstrated here as a step for clinical adoption. Our method requires no post processing, except in converting voxel-grids to and from surface meshes. Therefore, our next logical step is to switch from voxel-grids to graph representations to speedup the processing pipeline for better clinical acceptance.
References
Abdi, A.H., et al.: AnatomyGen: deep anatomy generation from dense representation with applications in mandible synthesis. Technical report (2019)
Achlioptas, P., et al.: Representation learning and adversarial generation of 3D point clouds. 2(3), 4 arXiv preprint arXiv:1707.02392 (2017)
Brinkley, J.F., et al.: The FaceBase consortium: a comprehensive resource for craniofacial researchers. Development 143(14), 2677–2688 (2016). www.facebase.org
Hidalgo, D.A.: Fibula free flap: a new method of mandible reconstruction. Plast. Reconstr. Surg. 84(1), 71–79 (1989)
Milletari, F., et al.: V-Net: fully convolutional neural networks for volumetric medical image segmentation. In: 2016 Fourth International Conference on 3D Vision (3DV). IEEE (2016)
Nash, C., Williams, C.K.I.: The shape variational autoencoder: a deep generative model of part-segmented 3D objects. Comput. Graph. Forum 36(5), 1–12 (2017)
Ravikumar, N., Gooya, A., Çimen, S., Frangi, A.F., Taylor, Z.A.: A multi-resolution T-mixture model approach to robust group-wise alignment of shapes. In: Ourselin, S., Joskowicz, L., Sabuncu, M.R., Unal, G., Wells, W. (eds.) MICCAI 2016. LNCS, vol. 9902, pp. 142–149. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-46726-9_17
Siegel, R.L., et al.: Cancer statistics. CA Cancer J. Clin. 67(1), 7–30 (2017)
Sohn, K., et al.: Learning structured output representation using deep conditional generative models. In: Cortes, C., et al. (ed.) Advances in Neural Information Processing Systems, vol. 28, pp. 3483–3491. Curran Associates, Inc. (2015)
Stranix, J.T., et al.: A virtual surgical planning algorithm for delayed maxillomandibular reconstruction. Plast. Reconstr. Surg. 143(4), 1197–1206 (2019)
Wu, J., et al.: Learning a probabilistic latent space of object shapes via 3D generative-adversarial modeling. In: Advances in Neural Information Processing Systems, pp. 82–90 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
1 Electronic supplementary material
Below is the link to the electronic supplementary material.
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Abdi, A.H., Pesteie, M., Prisman, E., Abolmaesumi, P., Fels, S. (2019). Variational Shape Completion for Virtual Planning of Jaw Reconstructive Surgery. In: Shen, D., et al. Medical Image Computing and Computer Assisted Intervention – MICCAI 2019. MICCAI 2019. Lecture Notes in Computer Science(), vol 11768. Springer, Cham. https://doi.org/10.1007/978-3-030-32254-0_26
Download citation
DOI: https://doi.org/10.1007/978-3-030-32254-0_26
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-32253-3
Online ISBN: 978-3-030-32254-0
eBook Packages: Computer ScienceComputer Science (R0)