This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Topical Hidden Genome: Discovering Latent Cancer Mutational Topics using a Bayesian Multilevel Context-learning Approach

Saptarshi Chakraborty111Department of Biostatistics, State University of New York at Buffalo, [email protected]    Zoe Guan222Department of Epidemiology & Biostatistics, Memorial Sloan-Kettering Cancer Center, [email protected]    Colin B. Begg333Department of Epidemiology & Biostatistics, Memorial Sloan-Kettering Cancer Center, [email protected]    Ronglai Shen444Department of Epidemiology & Biostatistics, Memorial Sloan-Kettering Cancer Center, [email protected]
Abstract

Statistical inference on the cancer-site specificities of collective ultra-rare whole genome somatic mutations is an open problem. Traditional statistical methods cannot handle whole-genome mutation data due to their ultra-high-dimensionality and extreme data sparsity – e.g., >30 million unique variants are observed in the ~1700 whole-genome tumor dataset considered herein, of which >99% variants are encountered only once. To harness information in these rare variants we have recently proposed the “hidden genome model”, a formal multilevel multi-logistic model that mines information in ultra-rare somatic variants to characterize tumor types. The model condenses signals in rare variants through a hierarchical layer leveraging contexts of individual mutations. The model is currently implemented using consistent, scalable point estimation techniques that can handle 10s of millions of variants detected across thousands of tumors. Our recent publications have evidenced its impressive accuracy and attributability at scale. However, principled statistical inference from the model is infeasible due to the volume, correlation, and non-interpretability of the mutation contexts. In this paper we propose a novel framework that leverages topic models from the field of computational linguistics to induce an interpretable dimension reduction of the mutation contexts used in the model. The proposed model is implemented using an efficient MCMC algorithm that permits rigorous full Bayesian inference at a scale that is orders of magnitude beyond the capability of out-of-the-box high-dimensional multi-class regression methods and software. We employ our model on the Pan Cancer Analysis of Whole Genomes (PCAWG) dataset, and our results reveal interesting novel insights.

1 Introduction

A large and growing body of research has documented strong links between specific somatic mutations and cancer types (Haigis, Cichowski, and Elledge 2019). This has put forward an emerging field aiming to characterize cancer types through tumor mutation footprints. Some notable clinical applications are as follows: (a) predicting primary sites of origin of metastasized tumors of uncertain primaries, a major clinical task involving 3-5% of all cancer diagnoses worldwide; (b) accurate prognostication of rare, phenotypically heterogeneous cancer, and (c) early detection of cancer from liquid biopsies through circulating tumor DNAs (ctDNAs) in the bloodstream. The mutation driven cancer-site characterization framework may provide rigorous statistical answers to these pertinent questions.

The existing research in this area has two broad ends. On the clinical end lie studies considering prediction of tumors based on their mutation footprints (Soh et al. 2017; Jiao et al. 2020). These studies train classification models, typically blackbox methods such as deep learning, support vector machine, random forest etc., on somatic mutation data and then use the trained models to predict cancer types of new tumors. These “pure prediction algorithms” permit high predictive accuracy in specific examples, but they lack interpretation, attribution (Efron 2020) and inference, and may produce results that are unreliable for clinical tasks (Lapuschkin et al. 2019).

By contrast, on the scientific end lie studies investigating and quantifying associations between specific mutations and cancer to derive a curated list of specific genomic regions, e.g., of cancer genes (Chakravarty et al. 2017), and subsequently utilizing this curated list to understand the biology of cancer risk (Soh et al. 2017; Haigis, Cichowski, and Elledge 2019). These studies typically focus on a handful of recurring variants/genomic regions to infer their tissue site-specificities via some established inferential methods, but ignore the rare and previously unobserved variants. This, in part, is due to the lack of statistical methods available for handling ultra-high dimensional and rare somatic mutations. Indeed, the vast majority of whole genome alterations are ultra-sparse – e.g., <1% of the >35 million of variants cataloged in the PCAWG data (Campbell et al. 2020) considered herein comprising >1500 tumors were detected in more than one tumor. Novel mutations are also routinely discovered in new sequencing studies. Such data are not suited for traditional inferential statistical methods. However, when harnessed via appropriate signal condensation tools such as the Good-Turing empirical Bayes probability estimates, strong tissue-specific information can be extracted from rare variants, as demonstrated in our earlier empirical study (Chakraborty et al. 2019).

Within this framework, we have recently proposed the hidden genome model (Chakraborty, Begg, and Shen 2020), a formal multilevel multinomial logistic model that characterizes cancer types by using the tumor’s entire somatic mutation fingerprint including the ultra-sparse variants as predictors. To harness this ultra-massive predictor space the model employs context-based feature condensation. More precisely, its employs in a hierarchical layer meta-features describing individual variants – such as gene labels, types of single base substitution (SBS; 96 possible types), topological positions on the chromosome, and various epigenetic features – to model the regression effects of the individual variants themselves (see Section 3.3). This contextualization is based on an intuitive observation: for the vast majority of individual variants, including all rare variants, mutation contexts can describe collectively the entirety of their tissue-specific effects, with only a handful of frequent variants exhibiting strong residual effects that are not explained by their contexts alone. This contextualization aids highly informative predictor dimension reduction – condensing information in 10s of millions of individual variants into a few thousand meta-features. This, together with appropriately defined sparsity inducing layers in the model effectuates stable, consistent, and highly scalable (marginal maximum a posteriori) point estimation using group-lasso (Yuan and Lin 2006) regularized multi-logit likelihood maximization. The model has been successfully employed on whole genome data with >20 million variants (Chakraborty, Martin, et al. 2021), and also in targeted gene-panel based clinical cancer research setting (Chakraborty, Ecker, et al. 2021) and has provided rigorous quantification of tissue-specificities of collective mutations while permitting impressive prediction/classification accuracy in each application.

However, quantifying estimation uncertainty for statistically stable and biologically meaningful inference is currently infeasible for two primary reasons. First, the parameters associated with the meta-feature categories, while aiding substantial dimension reduction for point estimation, are still too voluminous (in the order of K×1000K\times 1000s, KK being the number of cancer categories) for MCMC-based full Bayesian implementation of the multi-level model. Second, the correlatedness and lack of biological interpretability of individual mutation context categories such as the observed 96 SBS types and the windowed positions on the chromosomes, preclude scientifically meaningful inference.

In this paper, we posit a novel methodological framework that builds upon this previous work, introducing new key structures that collectively permit interpretable and practicable (full) Bayesian inference at scale. The framework proposes interpretable dimension reduction of meta-feature categories leveraging topic models from computational linguistics (Blei and Lafferty 2009). Analogous to word topics in computational linguistics, which are latent lower dimensional embeddings that group “similar” individual words with common underlying semantics, meta-feature topics are embeddings of “similar” meta-feature categories (e.g., specific genes or specific chromosome windows); where the “similarity” is measured with a view to tumor type specificities of associated mutations. The meta-feature topics share important analogies with mutation signatures in genomics, latent structures derived from the observed SBS-96 categories. We note however that herein we employ a generalized notion of topics that applies beyond SBS as typically considered in genomics; our framework caters to any categorical meta-feature source such as genes and chromosome regions.

In our experience to date the prominent meta-feature topics are substantially lower dimensional (typically <300 in number) and much less correlated than the original meta-feature categories. This effectuates impressive bi-level dimension-reduction in the classification model: first from the variants (10s of millions) to the observed meta-features (a few thousands) and then from the observed meta-features to the latent meta-feature topics (typically <300). The regression coefficients of the original “observed” meta-features can then be derived as linear combinations of the reduced meta-feature regression coefficients (c.f. principal component regression) to quantify observed meta-feature effects, and to also readily permit full Bayesian posterior prediction from the model on new datasets. For the substantially reduced-dimensional “independent” predictor effects (i.e., latent topic effects and residual variant effects, see Section 3.2) a Bayesian group-lasso prior can be elicited for stable estimation and prediction. Note that both the topic modeling of observed meta-feature categories, and subsequent hidden genome modeling with meta-feature topics are done in a single, fully connected multilevel model that permits coherent, rigorous full Bayesian inference. For implementation, we propose an efficient Metropolis-within-Gibbs sampler leveraging bi-level data augmentation Kyung et al. (2010). This permits theoretical guarantees associated with MCMC methods for accurate posterior inference.

For expository purposes we employ our method on 17061706 tumors from 1010 separate cancer sites sequenced in the Pan Cancer Analysis of Whole Genomes (PCAWG) study, collectively utilizing >35 million unique variants as predictors (see Section 2 for a detailed note on the dataset). Our results reveal interesting novel insights. To assess interpretability/reproduciblity of our results we validate our findings through multi-fold followup analyses. For the whole genome chromosome window topics, in the absence of a direct validation dataset, we validate our findings through association with certain epigenetic features. For exome level SBS topics, we perform two direct independent validations using (a) the publicly reposited COSMIC mutation signatures, and (b) estimated SBS topics obtained from our model employed on the Cancer Genome Atlas (TCGA) dataset (subsetted to the same 10 cancer sites as in the training PCAWG data).

2 Data Description and Problem Overview

Our primary motivating dataset is from Pan Cancer Analysis of Whole Genomes (PCAWG) (Campbell et al. 2020). For expository purposes here we focus on 10 common cancer sites cataloged in the dataset with at least a moderate sample size (nn) each: liver (nn=349), pancreatic (nn=326), prostate (nn=286), breast (nn=214), ovarian (nn=113), kidney (nn=111), skin (nn=107), esophageal (nn=98), colorectal (nn=60), and lung (nn=38). A total of 36,325,180 variants, with 35,285,233 observed only once, were detected by a consensus mutation calling approach on these 1,702 tumors: an average of 19,076 variants per tumor. To understand variant tissue specificities based on smaller genotyping panels, we consider two subsetted versions of the whole genome data – a version to simulate a whole exome panel (Bailey et al. 2018), and a version to simulate a targeted cancer gene panel (Zehir et al. 2017). Our objective is to perform multinomial regression characterizing the cancer type of a tumor as a function of its mutation footprint (cataloged by the three panels) while permitting rigorous statistical inference. However, the key challenge is of course the ultra high-dimensionality and extreme predictor sparsity. As noted, we propose to solve this problem by introducing hierarchical layers in the regression model aiding detection and utilization of latent, lower dimensional meta-feature topics.

3 Full Bayesian Inference on Tissue-Specificities of Whole Genome Mutations

3.1 Notation and Setup

Consider a training dataset comprising NN tumors indexed n=1,,Nn=1,\dots,N with cn{1,,K}c_{n}\in\{1,\dots,K\} denoting the known cancer site/class label for tumor nn, where KK is the total number of cancer sites. Label the JJ distinct mutations observed in the training dataset as j=1,,Jj=1,\dots,J; let xnjx_{nj} be a binary indicator of the presence of the jj-th mutation in the nn-th tumor (11\equiv presence; 00\equiv absence) and let Mn=j=1JxnjM_{n}=\sum_{j=1}^{J}x_{nj} be the total mutation burden in tumor nn. Construct the N×JN\times J variant design matrix XX by stacking xn=(xn1,,xnJ)Tx_{n}=(x_{n1},\dots,x_{nJ})^{T} as rows: X=((xnj))X=((x_{nj})). Thus, en;NTX=xnTe_{n;N}^{T}X=x_{n}^{T} where en;Ne_{n;N} denotes the NN-component unit vector whose nn-th component is 11 and the remaining components are 0. We are interested in regressing the cancer site labels {cn}\{c_{n}\} on the mutation occurrences {xnj}\{x_{nj}\}, to (a) jointly infer the tissue-site specificities of the individual mutations {j}\{j\}, and (b) predict the cancer label cnc_{n^{\prime}} of a new (test set) tumor n{1,,K}n^{\prime}\notin\{1,\dots,K\} through its mutational footprint xnx_{n} Note that the new tumor nn^{\prime} may feature hitherto unobserved mutations {j}{1,,J}\{j^{\prime}\}\notin\{1,\dots,J\}, and our regression model needs to appropriately acknowledge this possibility. Below we review the hidden genome model (Chakraborty, Begg, and Shen 2020) that utilizes contextualization of variants for this purpose.

3.2 Contextualization via meta-features

The hidden genome model leverages meta-features, higher level features about the individual variants themselves, embodying mutation contexts. These meta-features are available for all variants, including rare variants observed in the training data and new variants appearing only in the prediction (test) data. Genomic meta-features are commonly categorical, but they may also be continuous. Examples of categorical meta-features include the gene itself, single base substitution types (SBS; 96 possible types), and topological position on the chromosome (e.g., location among 3000\sim 3000 1-megabase length windows). Examples of continuous meta-features include epigenomic feature scores such as histone marks and chromatin accessibility. Here we focus primarily on categorical meta-features to aid topic model based dimension reduction. Continuous meta-feature variables, if present, can be directly incorporated without topic modeling into the hidden genome framework following Chakraborty, Martin, et al. (2021).

To aid distinction we use the term meta-feature source to denote a specific meta-feature variable (e.g., gene, chromosome window) and meta-feature categories to denote individual categories of a meta-feature source (e.g., gene KRAS, chromosome 1 window 1 etc.). Individual meta-feature categories from all meta-feature sources are combined to produce say PP total categories labeled as 1,2,,P1,2,\dots,P. Subsequently we create dummy coded (“one-hot” encoded) binary indicators cataloging correspondence between individual variants and meta-feature categories. For variant jj let uj=(uj1,,ujP)u_{j}=(u_{j1},\dots,u_{jP}) be meta-feature indicators with ujpu_{jp} being 11 if the jj-th variant is associated with meta-feature category pp and 0 otherwise. Continuous meta-feature values for variant jj, if present, are subsequently appended to uju_{j}. Finally we construct the meta-design matrix UU by stacking uju_{j} as rows: U=((ujp))U=((u_{jp})). The key idea behind the hidden genome model is to quantify the tissue-specific effects of individual variants via a meta-feature regression based on the meta-feature design matrix UU.

3.3 A brief review of the point-estimated hidden genome cancer site classification model

We briefly review below the multilevel hidden genome model and its point estimation as suggested in Chakraborty, Begg, and Shen (2020). The likelihood layer of the model considers a multi-logistic regression connecting the cancer type probability Pr(cn=k)\Pr(c_{n}=k) to the observed variant indicators {xnj}\{x_{nj}\}. A subsequent hierarchical meta-feature regression layer connects variant jj and cancer site kk-specific regression coefficient βjk\beta_{jk} to variant jj specific meta-features uju_{j} as βj,k=ujTω,k+βj,k0\beta_{j,k}=u_{j}^{T}\omega_{\bullet,k}+\beta^{0}_{j,k} where ω,k=(ωp,k)p=1,,P\omega_{\bullet,k}=(\omega_{p,k})_{p=1,\dots,P} is the vector of meta-feature effects specific to cancer site kk, and βj,k0\beta^{0}_{j,k} is the residual effect of variant jj in cancer site kk that is not explained by the context. Finally, a group lasso prior for {βj,k0}\{\beta_{j,k}^{0}\} and {ωp,k}\{\omega_{p,k}\} is considered for regularized estimation. The model is succinctly expressed as follows.

Pr(cn\displaystyle\Pr(c_{n} =k)=exp[αk+en;NTXβ,k]exp[k=1Kαk+en;NTXβ,k]\displaystyle=k)=\frac{\exp\left[\alpha_{k}+e_{n;N}^{T}X\beta_{\bullet,k}\right]}{\exp\left[\sum_{k^{\prime}=1}^{K}\alpha_{k^{\prime}}+e_{n;N}^{T}X\beta_{\bullet,k^{\prime}}\right]} (3.3.1)
βj,k\displaystyle\beta_{j,k} =ujTω,k+βj,k0\displaystyle=u_{j}^{T}\omega_{\bullet,k}+\beta^{0}_{j,k} (3.3.2)
βjk0\displaystyle\beta^{0}_{jk} N(0,τj;β02);ωpkN(0,τp;ω2);τj;ω2,τp;θ2Gamma((K+1)/2,λ2).\displaystyle\sim\operatorname{N}(0,\tau^{2}_{j;\beta^{0}});\ \omega_{pk}\sim\operatorname{N}(0,\tau^{2}_{p;\omega});\ \tau^{2}_{j;\omega},\tau^{2}_{p;\theta}\sim\operatorname{Gamma}((K+1)/2,\lambda^{2}). (3.3.3)

The key meta-feature-regression layer (3.3.2) regresses {βjk}\{\beta_{jk}\} on the contexts {uj}\{u_{j}\} effectuating signal condensation in all, including rare, variants. The residual effects {βjk0}\{\beta_{jk}^{0}\} are non-zero and indeed can be realistically be estimated for only a few strongly discriminative non-rare variants. Following computation of the XUXU matrix arising after substituting (3.3.2) into (3.3.1)), one may therefore perform a feature screening to keep all but a few recurring tissue-specific variants for estimation of their βj,k0\beta^{0}_{j,k}. For scalable point estimation of the model Chakraborty, Begg, and Shen (2020) marginalize out all but the key parameters of interest, viz., α,β0,ω{{\alpha}},{{\beta}}^{0},{{\omega}}, given the sparsity level parameter λ\lambda to produce the following log marginal posterior density.

logπ(α,β0,ωλ,c1,,cn,x1,,xn)\displaystyle\log\ \pi({{\alpha}},{{\beta}}^{0},{{\omega}}\mid\lambda,c_{1},\dots,c_{n},{{x}}_{1},\dots,{{x}}_{n})
=n=1Nk=1K1(cn=k)log(exp[αk+en;NTXUω,k+en;NTXβj,k0]exp[k=1Kαk+en;NTXUω,k+en;NTXβj,k0])\displaystyle=\sum_{n=1}^{N}\sum_{k=1}^{K}1(c_{n}=k)\log\left(\frac{\exp\left[\alpha_{k}+e_{n;N}^{T}XU\omega_{\bullet,k}+e_{n;N}^{T}X\beta^{0}_{j,k}\right]}{\exp\left[\sum_{k^{\prime}=1}^{K}\alpha_{k^{\prime}}+e_{n;N}^{T}XU\omega_{\bullet,k^{\prime}}+e_{n;N}^{T}X\beta^{0}_{j,k^{\prime}}\right]}\right)
λj=1Jβj,02λp=1Pωp,2.\displaystyle\qquad-\lambda\sum_{j=1}^{J}\|{{\beta}}_{j,\bullet}^{0}\|_{2}-\lambda\sum_{p=1}^{P}\|{{\omega}}_{p,\bullet}\|_{2}.

This is a group lasso penalized multi-logistic log-likelihood with intercept α{{\alpha}}, and regression coefficients β{{\beta}} and ω{{\omega}} with associated predictors xn{{x}}_{n} and xnTU{{x}}_{n}^{T}{{U}} respectively, and penalty parameter λ\lambda. The corresponding (marginal) posterior mode can be efficiently computed using existing software (Friedman, Hastie, and Tibshirani 2010), and consistency of the resulting estimates follow from group-lasso theory. Note however that uncertainty quantification for statistical inference in this framework is infeasible due to voluminousness of the meta-feature categories.

3.4 The topical hidden genome: a Bayesian multilevel model with interpretable contexts

At the outset, we deviate from Chakraborty, Begg, and Shen (2020) by using instead a normalized version of the predictor {x~nj=xnj/Mn}\{\tilde{x}_{nj}=x_{nj}/M_{n}\} measuring proportions of total mutation burden MnM_{n} attributable to individual variants {j}\{j\} and producing a normalized version X~\tilde{X} of the variant design matrix. This normalization acknowledges mutation burden heterogeneity observed in large-scale genomic data. Furthermore, it aids a product matrix X~U\tilde{X}U whose columns catalog analogous proportions of {Mn}\{M_{n}\} attributable to individual meta-feature categories. Next, we embed into the hidden genome model a hierarchical topic model layer for interpretable dimension reduction of the mutation context categories. For notational simplicity below we restrict to a single, categorical meta-feature source (e.g., only SBS) for the model; a generalization with several categorical and continuous meta-feature sources is described in Section 3.6. The proposed topical hidden genome model is first succinctly expressed as follows.

Pr(cn\displaystyle\Pr(c_{n} =k)=exp[αk+en;NTX~β,k]exp[k=1Kαk+en;NTX~β,k]\displaystyle=k)=\frac{\exp\left[\alpha_{k}+e_{n;N}^{T}\tilde{X}\beta_{\bullet,k}\right]}{\exp\left[\sum_{k^{\prime}=1}^{K}\alpha_{k^{\prime}}+e_{n;N}^{T}\tilde{X}\beta_{\bullet,k^{\prime}}\right]} (3.4.1)
βj,k\displaystyle\beta_{j,k} =βj,k0+ujTω,k\displaystyle=\beta^{0}_{j,k}+u_{j}^{T}\omega_{\bullet,k} (3.4.2)
ω,k\displaystyle\omega_{\bullet,k} =Wθ,k(Wω,k=θ,k;W=WT(WWT)1)\displaystyle=W^{-}\ \theta_{\bullet,k}\ \left(\implies W\omega_{\bullet,k}=\theta_{\bullet,k};\ W^{-}=W^{T}(WW^{T})^{-1}\right) (3.4.3)
αk\displaystyle\alpha_{k} N(0,τ0;α2)\displaystyle\sim\operatorname{N}(0,\tau_{0;\alpha}^{2}) (3.4.4)
βjk0\displaystyle\beta^{0}_{jk} N(0,τj;β02σ~obs,j2);θskN(0,τs;θ2σ~topic,s2);τj;β02,τs;θ2Gamma(K+12,λ22)\displaystyle\sim\operatorname{N}\left(0,\frac{\tau^{2}_{j;\beta^{0}}}{\tilde{\sigma}_{\text{obs},j}^{2}}\right);\ \theta_{sk}\sim\operatorname{N}\left(0,\frac{\tau^{2}_{s;\theta}}{\tilde{\sigma}_{\text{topic},s}^{2}}\right);\tau^{2}_{j;\beta^{0}},\tau^{2}_{s;\theta}\sim\operatorname{Gamma}\left(\frac{K+1}{2},\frac{\lambda^{2}}{2}\right) (3.4.5)
with σ~obs,j=sd^(X~,j);σ~topic,s=sd^([X~UW],s)\displaystyle\text{with }\tilde{\sigma}_{\text{obs},j}=\hat{\text{sd}}\left(\tilde{X}_{\bullet,j}\right);\ \tilde{\sigma}_{\text{topic},s}=\hat{\text{sd}}\left(\left[\tilde{X}UW^{-}\right]_{\bullet,s}\right)
λ2\displaystyle\lambda^{2} Gamma(aλ,bλ)\displaystyle\sim\operatorname{Gamma}(a_{\lambda},b_{\lambda}) (3.4.6)
(XU)np\displaystyle(XU)_{np} =s=1SZnsp;ZnspPoisson(HnsWsp);with Hns,Wsp0;p=1PWsp=1\displaystyle=\sum_{s=1}^{S}Z_{nsp};\ Z_{nsp}\sim\operatorname{Poisson}\left(H_{ns}W_{sp}\right);\text{with }H_{ns},W_{sp}\geq 0;\sum_{p=1}^{P}W_{sp}=1 (3.4.7)
H~ns\displaystyle\tilde{H}_{ns} Gamma(aH,bH);W~spGamma(aW,bW); then normalize\displaystyle\sim\operatorname{Gamma}(a_{H},b_{H});\tilde{W}_{sp}\sim\operatorname{Gamma}(a_{W},b_{W});\text{ then normalize } (3.4.8)
Wsp\displaystyle W_{sp} =W~sp/p=1PWsp;Hns=H~nsp=1PWsp; so that HnsWsp=H~nsW~sp.\displaystyle=\tilde{W}_{sp}/\sum_{p^{\prime}=1}^{P}W_{sp^{\prime}};\ H_{ns}=\tilde{H}_{ns}\sum_{p^{\prime}=1}^{P}W_{sp^{\prime}};\ \text{ so that }H_{ns}W_{sp}=\tilde{H}_{ns}\tilde{W}_{sp}.

In above A,rA_{\bullet,r} denotes the rr-th column of a matrix AA. Below we discuss the model in detail.

3.4.1 Multi-logit regression and generalized odds ratios

The two topmost layers (3.4.1) and (3.4.2) above are similar to the original hidden genome model. The model uses a symmetric multi-logistic representation (Friedman, Hastie, and Tibshirani 2010) that allocates a regression coefficient to each variant jj and cancer site kk. The model is not likelihood identified and it requires the subsequent layers for estimability of the regression parameters. Post-estimation interpretation of the parameters can be made through a post-hoc constraint, e.g., k=1Kβjk=0\sum_{k=1}^{K}\beta_{jk}=0 for each jj. Then βjk\beta_{jk} measures the “one-vs-all” log generalized odds ratio of classifying into the kk-th cancer type relative to all KK sites, given a one-unit change only in the proportion of mutations at variant jj (Zahid and Tutz 2013). Other types of generalized odds ratios, including “one-vs-one” (i.e., the usual baseline model odds ratios) and “one-vs-rest” odds ratios, can also be derived from {βjk0}\{\beta_{jk}^{0}\}, {θsk}\{\theta_{sk}\}, and {ωpk}\{\omega_{pk}\}; see Supplement A for more details.

3.4.2 Observed and topic meta-feature regression

The layer (3.4.3) expresses the observed meta-feature regression coefficients {ωpk:p=1,,P}\{\omega_{pk}:p=1,\dots,P\} as linear combinations of topic-meta feature regression coefficients {θsk:s=1,,S}\{\theta_{sk}:s=1,\dots,S\} corresponding to SS latent topics (S<PS<P; often SPS\ll P; see the note in Supplement B). Here W=WT(WWT)1W^{-}=W^{T}(WW^{T})^{-1} so that WW=ISWW^{-}=I_{S}, the SS dimensional identity matrix. This construct induces a unique ω,k\omega_{\bullet,k} satisfying Wω,k=θ,KW\omega_{\bullet,k}=\theta_{\bullet,K} in that for any other ω~,k\tilde{\omega}_{\bullet,k}^{*} satisfying Wω~,k=θ,kW\tilde{\omega}_{\bullet,k}^{*}=\theta_{\bullet,k} we may recover ω,k\omega_{\bullet,k} by projecting ω~,k\tilde{\omega}_{\bullet,k}^{*} on the row space of the topic matrix WW: ω,k=WT(WWT)1Wω~,k=𝒫WTω~,k\omega_{\bullet,k}=W^{T}(WW^{T})^{-1}W\tilde{\omega}^{*}_{\bullet,k}=\mathcal{P}_{W^{T}}\tilde{\omega}^{*}_{\bullet,k} where 𝒫WT\mathcal{P}_{W^{T}} denotes the projection matrix on the column space of WTW^{T} or equivalently on the row space of WW. Furthermore, since each row of WW is a categorical probability measure embodying a topic, θs,k\theta_{s,k} can be interpreted as the expected/average value of the observed meta-feature regression coefficients {ωp,k:p=1,,P}\{\omega_{p,k}:p=1,\dots,P\} with respect to the ss-th topic {Wsp:p=1,,P}\{W_{sp}:p=1,\dots,P\}. The connection (3.4.3) aids quantification of regression coefficients associated with both observed meta-feature categories and latent meta-feature topics in the model. This is in contrast to virtually every existing supervised topic model in that they only aid quantification for the latter; in genomic applications the former may also be of relevance (see the example in Section 4.2). Note that {ωpk}\{\omega_{pk}\} can be derived post-hoc; for implementation one focuses only on {θsk}\{\theta_{sk}\} which aids substantial dimension reduction over {ωpk}\{\omega_{pk}\}.

3.4.3 Hierarchical group-lasso prior on the independent regression coefficients

The hierarchical group lasso prior (Kyung et al. 2010) layer (3.4.5) assigned on the independent regression coefficients {βjk0,θsk}\{\beta^{0}_{jk},\theta_{sk}\} encourages group-wise shrunken estimation of these parameters. Here each group is constituted by the KK coefficients across all cancer sites for a variant jj or a meta-feature topic ss. Because the corresponding columns of X~\tilde{X} or X~UW\tilde{X}UW^{-} have different scales, the group lasso prior is considered on coefficients scaled by the corresponding column sample standard deviations (denoted as sd^()\hat{\text{sd}}(\cdot) and evaluated from the NN data points). Note that the sample standard deviations of the columns of X~UW\tilde{X}UW^{-} involve model parameters WW, and hence this scaling cannot be done simply as data pre-processing. In the proposed MCMC sampler for the model this is done once per iteration; see Section 3.5 and supplement A for more details on implementation of the model. To aid Bayesian estimation of the group-lasso sparsity parameter λ\lambda, a Gamma(aλ,bλ)\text{Gamma}(a_{\lambda},b_{\lambda}) prior is considered for λ2\lambda^{2} on layer (3.4.4) (Kyung et al. 2010). When knowledge on the sparsity level is lacking a vague prior induced, e.g., by aλ=0.01a_{\lambda}=0.01 and bλ=0.01b_{\lambda}=0.01 can be used. Note that intercepts {αk}\{\alpha_{k}\} are not shrunken; they are assigned a fixed, non-hierarchical n N(0,τ0;α2)\operatorname{N}(0,\tau_{0;\alpha}^{2}) prior in layer (3.4.4). A moderately large τ0,α\tau_{0,\alpha} (e.g., τ0;α=10)\tau_{0;\alpha}=10) is suggested to make the prior weakly informative.

3.4.4 Topic model for observed meta-feature categories

The layer (3.4.7) induces a topic model over the PP observed meta-feature categories. To see this, consider tumor n{1,,N}n\in\{1,\dots,N\} with total mutation burden MnM_{n} of which Vnp=(XU)npV_{np}=(XU)_{np} associates with the meta-feature category p{p=1,,P}p\in\{p=1,\dots,P\}. The quantities {Znsp}\{Z_{nsp}\} measure latent contributions of the ss-th topic (s=1,,Ss=1,\dots,S; S<PS<P) to the count VnpV_{np} and aid conjugacy for MCMC sampling (Supplement C; also see Liang and Hoffman (2014)). It follows that VnpPoisson(s=1SHnsWsp)V_{np}\sim\text{Poisson}(\sum_{s=1}^{S}H_{ns}W_{sp}) and conditional on Mn=p=1PVnpM_{n}=\sum_{p=1}^{P}V_{np}, (Vn1,,VnP)MultinomialP(Mn;(s=1SζnsWs1,,s=1SζnsWsP))(V_{n1},\dots,V_{nP})\sim\text{Multinomial}_{P}(M_{n};(\sum_{s=1}^{S}\zeta_{ns}W_{s1},\dots,\sum_{s=1}^{S}\zeta_{ns}W_{sP})) where ζns=Hns/p=1Ps=1SHnsWsp\zeta_{ns}=H_{ns}/\sum_{p=1}^{P}\sum_{s^{\prime}=1}^{S}H_{ns^{\prime}}W_{s^{\prime}p} =Hns/s=1SHns=H_{ns}/\sum_{s^{\prime}=1}^{S}H_{ns^{\prime}}. Equivalently, (Vn1,,VnP)s=1Sζnsfs(V_{n1},\dots,V_{nP})\sim\sum_{s=1}^{S}\zeta_{ns}f_{s} where fsMultinomialP(Mn;f_{s}\equiv\text{Multinomial}_{P}(M_{n}; (Ws1,,Ws1))(W_{s1},\dots,W_{s1})). Define topic-ss through the composition probabilities (Ws1,,Ws1)(W_{s1},\dots,W_{s1}). Then fsf_{s} is the probability distribution of allocations assigning MnM_{n} mutations into PP meta-feature categories following the composition probabilities of topic-ss, and ζns\zeta_{ns} is understood as the exposure to topic-ss in tumor nn.

We make a few notes here. First, (3.4.7) can be interpreted as a parametric formulation of non-negative matrix factorization (NMF) VHWV\approx HW (Paisley, Blei, and Jordan 2014) commonly used for mutation signature estimation in genomics. Second, the parameters HH and WW are not identified. This makes subsequent inference on them challenging. This is a well-known problem in topic modeling and mixture models in general; in Section 3.8 we discuss a simple clustering-based approach to this problem. Finally, the topic model hyper-parameters, namely aHa_{H}, bHb_{H}; aWa_{W}, bWb_{W}; and SS all need to be judiciously chosen. A detailed discussion on these parameters is provided in the Supplement B. In our experiments we found small values such as aH=bH=1a_{H}=b_{H}=1 and aW=bW=0.5a_{W}=b_{W}=0.5 and a moderately large SS between 5050 to 7575 to produce models balancing predictive ability, interpretability, and computational costs.

3.5 Full Bayesian Implementation via MCMC

The posterior distribution for the proposed model is highly intractable. For implementation we propose a doubly data augmented, blocked, independence Metropolis-within-Gibbs algorithm for MCMC sampling from the target posterior. We provide a summary of the algorithm below; a detailed description with notes on initialization is provided in Supplement A. We note that to aid computation, prior to using the MCMC sampler one needs to screen the columns of the training predictor matrix X~\tilde{X} after computing the product matrices XUXU and X~U\tilde{X}U. This effectively amounts to setting the residual effects {βjk0}\{\beta_{jk}^{0}\} to be zero apriori for all but a few (say 50\leq 50) highly discriminating variants {j}\{j\}. Following Chakraborty, Begg, and Shen (2020) we use a computationally efficient mutual information based variable screening for this.

The proposed Gibbs-type MCMC algorithm iteratively draws (a) topic model parameters, and (b) group-lasso multi-logistic parameters in two blocks each containing a separate data-augmentation step. In block (a) latent Poisson data {Znsp}\{Z_{nsp}\} (Liang and Hoffman 2014) are augmented to aid MCMC sampling of (H,W)(H,W). To account for the supervised contribution of the multi-logistic layer we propose an independence Metropolis-Hastings step that requires no manual tuning. In block (b) a Gibbs draw is performed for the hierarchical group-lasso (Kyung et al. 2010) multi-logistic parameters with a column-scaled (X~,X~UW)(\tilde{X},\tilde{X}UW^{-}) used as predictor matrix (see Chakraborty, Begg, and Shen 2020). Conditional conjugacy for the multi-logistic parameters are achieved via Pólya-Gamma data augmentation (Polson, Scott, and Windle 2013).

3.5.0.1 Approximations

While exact MCMC sampling along the steps above is theoretically possible, it is still too computation-intensive to be practicable in sizable applications. Fortunately, substantial computational gains are achieved via a first order Taylor approximation resembling the usual NMF assumption VnpE(Vnp{Hns,Wsp})=s=1SHnsWspV_{np}\approx E(V_{np}\mid\{H_{ns},W_{sp}\})=\sum_{s=1}^{S}H_{ns}W_{sp} (Lee and Seung 1999) inside the Metropolis-Hastings acceptance probability for block (a). A second approximation to encourage better mixing is made by assuming that the change in the standard deviation terms {σ~topic,s}\{\tilde{\sigma}_{\text{topic},s}\} due to a change in HH (Metropolis Hastings proposal vs. current values). Together, these permit approximate, but efficient independent drawing of the elements of WW given HH and the rows of HH given WW (see Supplement A).

3.6 Handling multiple, possibly continuous, meta-feature sources

To handle multiple categorical meta-feature sources, one may introduce into the model separate, independent topic model layers (3.4.7)-(3.4.8) and a topic-to-observed coefficient connection layer (3.4.3) for each source. Continuous meta-feature sources, if present, would directly produce observed meta-feature regression coefficients ω\omega. All observed meta-feature regression coefficients are then stacked for use in layer (3.4.2). The MCMC algorithm discussed in Section 3.5 requires small modifications to reflect these new layers. With several categorical meta-feature sources one would sequentially update the topic parameters for each source conditional on the “supervised” multi-logistic contributions of the other source topics. The hierarchical group-lasso multi-logistic regression is performed on an expanded column scaled predictor matrix column-stacking XX, all X~UW\tilde{X}UW^{-} matrices arising out of categorical meta-feature sources, and all XUXU matrices arising out of continuous sources.

3.7 Bayesian Posterior Predictive Probabilities

A full Bayesian “ensemble” prediction using posterior MCMC draws {α(t),β0,(t),ω(t):t=1,,T}\{\alpha^{(t)},\beta^{0,(t)},\omega^{(t)}:t=1,\dots,T\} for the multi-logistic parameters is described as follows. Given a “new”/test tumor with normalized variant indicators x~new\tilde{x}_{\text{new}}, one first finds variants {j}\{j\} in x~new\tilde{x}_{\text{new}} with non-zero residual effects {βj,k0,(t):k=1,,K}\{\beta_{j,k}^{0,(t)}:k=1,\dots,K\} for each draw t=1,,Tt=1,\dots,T. All remaining variants {j}\{j^{*}\}, including “novel” variants in test data and screened out variants in training data are assigned {βj,k0,(t)=0:k=1,,K}\{\beta_{j^{*},k}^{0,(t)}=0:k=1,\dots,K\}. The meta-feature values uju_{j*} for a “novel” variant jj^{*} are cataloged as a new row of UU for computation of x~newTU\tilde{x}_{\text{new}}^{T}U. Subsequently, for each draw t{1,,T}t\in\{1,\dots,T\} one computes first the linear predictions using the layers (3.4.1) and (3.4.2): {ηk(t)=αk(t)+x~newTβ0,(t)+x~newTUω0,(t):k=1,,K}\{\eta_{k}^{(t)}=\alpha_{k}^{(t)}+\tilde{x}_{\text{new}}^{T}\beta^{0,(t)}+\tilde{x}_{\text{new}}^{T}U\omega^{0,(t)}:k=1,\dots,K\} for all KK cancer sites. These draw-specific linear predictions are then “softmax”-ed and subsequently averaged across draws to compute cancer-site specific posterior predictive probabilities:

Pr(cnew=kxnew,training data)\displaystyle\quad\Pr(c_{\text{new}}=k\mid x_{\text{new}},\text{training data})
=Pr(cnew=kα,β0,ω,x~new,training data)π(α,β0,ωtraining data)d(α,β0,ω)\displaystyle=\int\Pr(c_{\text{new}}=k\mid\alpha,\beta^{0},\omega,\tilde{x}_{\text{new}},\text{training data})\ \pi(\alpha,\beta^{0},\omega\mid\text{training data})\ d(\alpha,\beta^{0},\omega)
=computed1Tt=1TPr(cnew=kα(t),β0,(t),ω(t),xnew,training data)=1Tt=1Texp(ηk(t))1+exp(ηk(t)).\displaystyle\stackrel{{\scriptstyle\text{computed}}}{{=}}\frac{1}{T}\sum_{t=1}^{T}\Pr(c_{\text{new}}=k\mid\alpha^{(t)},\beta^{0,(t)},\omega^{(t)},x_{\text{new}},\text{training data})=\frac{1}{T}\sum_{t=1}^{T}\frac{\exp\left(\eta_{k}^{(t)}\right)}{1+\exp\left(\eta_{k}^{(t)}\right)}.

Note that unlike a point estimate-based prediction (e.g., MAP prediction) the above acknowledges model estimation uncertainty, and is thus preferred in full Bayesian inference.

3.8 Inference on the latent signatures: post-hoc identification via clustering

The topic related parameters WW, HH, and {θsk}\{\theta_{sk}\} may reveal important biological insights. However, their estimation is challenging due to their non-identifiability caused by the mixture structure of the topic model. Directly using MCMC outputs for these parameters for point/interval estimation may produce misleading results.555Note only direct inference on the (topic) parameters HH, WW, and {θsk}\{\theta_{sk}\} is challenging. Inference on posterior quantities that marginalizes over these parameters, e.g., prediction for new data and estimation of {βjk0}\{\beta^{0}_{jk}\} and {ωpk}\{\omega_{pk}\} is straightforward. Instead, using a point process representation of MCMC draws (Frühwirth-Schnatter 2011), we introduce a simple clustering approach to post-hoc identification and approximate inference for these parameters.

Briefly, we first create a list of all topics (the rows of WW) drawn across all iterations of the MCMC run, and cluster these pooled rows using kk-means with an appropriately chosen kk (via elbow method in our computations). The key idea is then to use the consequent cluster assignments to relabel MCMC draws for the topics (rows of WW), topic exposures (columns of HH) and topic regression coefficients {θsk}\{\theta_{sk}\}. These cluster-relabeled draws are then treated as posterior MCMC draws for “post-hoc identified” parameters and used for MCMC output-analysis as usual. We make a few notes on the use of kk-means as a clustering algorithm in the current context. First, a pairwise distance based clustering algorithm, e.g., kk-medoids, might be conceptually preferable to kk-means given the simplex nature of the topics. However they are not practicable when the number of topics SS and/or the number of MCMC iterations TT is even moderately large. Second, kk-means results are sensitive to outliers. Here outliers correspond to posterior draws for the rows of WW that are far from any other rows of WW drawn in any iteration, and hence may represent configurations with low posterior probabilities. To avoid the influence of these outliers, we considered an approximate nearest neighbors-based filtering prior to kk-means clustering. Finally, kk means algorithm suffer from high computational expense and reduced stability as the number of meta-feature categories (number of columns of WW) grows. This is particularly challenging for gene and window meta-feature sources with hundreds to thousands of categories. To manage the computation load, prior to kk-means (and outlier detection) we perform PCA and retain the first few (50 in our computations) principal components.

The above approach resembles the kk-means finite mixture model identification approach of Frühwirth-Schnatter (2011). However, instead of only resolving label-switching/permutation modes as done in finite mixtures here we use clustering to also possibly combine duplicated topics/modes arising within the same MCMC iteration. Furthermore, while heuristic, Bayesian estimation via “cluster identified” MCMC draws may still be viewed as an approximate solution to a rigorously defined decision theoretic problem; see Stephens (2000).

4 Data Example

We implement the proposed model on the full PCAWG whole genome data with K=10K=10 sites, and its restricted whole exome and targeted cancer gene panel subsets. On the whole genome set we consider three discrete meta-feature sources: gene, SBS, and 1-MB chromosome windows. For the simulated subsets where chromosome windows trace only the gene level mutations, we consider two sources: gene and SBS. For each source we set S=50S=50. The models are then fitted using the proposed MCMC algorithm using marginal MAP (for α\alpha, β0\beta^{0}, and ω\omega) and unsupervised NMF (for HH and WW) based initialization of parameters as described in Supplement D. On each dataset the MCMC algorithm is run for 20,000 iterations after discarding the initial 1000 iterations as burn-in. For compute and memory feasibility, we updated the topic model parameters HH and WW once every 10-th iterations while updating all other parameters at every iteration; these 10-th iterations are then stored (thinning) and subsequently used for Bayesian estimation and prediction.

4.1 Predictive performance under cross validation

On each dataset, we perform 10 fold cross-validations to assess predictive performance of the model. The folds are created using stratified (based on cancer sites) random partitions of the PCAWG tumors; these produce 10 different training/test set combinations obtained by pooling each 9 of the 10 folds for training and the remaining fold for testing. On each training set a separate model is fitted and then used for Bayesian (posterior) prediction of the corresponding test set. The predicted class probabilities for all tumors in all folds are subsequently combined. To aid comparison, alongside we also obtain analogous MAP predictions from the hidden genome model (without any topics) of Chakraborty, Begg, and Shen (2020) with similar normalized X~\tilde{X} as predictors. For each model, we derive one-vs-rest classification probabilities for each of the K=10K=10 cancer sites, and compute the associated area under the one-vs-rest precision-recall curve (PR AUC) as a measure of site-specific predictive performance (Saito and Rehmsmeier 2015). PR AUCs reflect class-size imbalances, and are more informative than ROC AUCs for one-vs-rest comparisons obtained from a multi-class classifier. The site-specific PR AUCs are then averaged to produce an overall metric for each model. We consider 10 random replications of this cross-validation, and obtain model specific average PR AUCs across replications. These average PR AUCs are displayed as barplots in Figure 1 with results from the three different subsets plotted along panels. The figure also shows the null baseline PR AUC value for each site, corresponding to a null classifier randomly assigning observations to classes. The null baseline PR AUCs are proportional to the sample size of the corresponding class (see Chakraborty, Martin, et al. (2021)).

Refer to caption
Figure 1: Comparing cross-validation PR AUC (averaged across 10 independent cross validations) of the original hidden genome model (without topics) MAP predictions and proposed topical hidden genome posterior predictive probabilities. The null baseline corresponds to a classifier that randomly assigns cancer site labels to tumors

We make the following observations from Figure 1. First, the full Bayesian prediction from the proposed model has a better overall-level performance than the MAP prediction from the original model. The improvement is most prominent in targeted gene panel data followed by exome level and whole genome level data. This overall improvement is likely due to the topic model-based dimension reduction which facilitates more stable estimation and prediction. Second, all except one cancer site demonstrate improvement in site-specific prediction in the proposed model. Certain cancer sites, such as lung and pancreas, show consistently better prediction in all three datasets; while for certain other sites, notably skin cancer in targeted gene sequencing, the improvement is noticeable only at specific subsets. Third, for only one site, namely prostate, is there a drop in PR AUC in the proposed approach. This indicates the lack/non-existence of discriminative topics for prostate cancer, which is known to have a rather sporadic mutational landscape. However, the nominal drop in prostate is more than compensated by improvements in the other sites, making the proposed approach superior to the hidden genome model of Chakraborty, Begg, and Shen (2020) as a predictive model.

4.2 Bayesian inference on tissue-specific topics and meta-features and validation of results

This section illustrates how to make inference from the proposed model though its applications on the PCAWG datasets. For brevity here we focus on the full whole genome and the exome-subsetted datasets; analogous inferences can also be drawn on the targeted cancer gene panel subsets. Using the proposed MCMC algorithm we fit our model to each dataset similarly as discussed in Section 4.1, except now we use the full datasets instead of cross-validation partitions to train the models. Subsequently in each dataset we compute point (posterior mean and median) and 80% (highest posterior density) interval estimates of topic model parameters and one-vs-rest log odds ratio parameters obtained from regression coefficients for latent meta-feature topics, observed meta-feature categories, and residual variant effects, using the MCMC draws for model parameters.

Tissue-specific window topics in PCAWG whole genome data.

We first focus on the whole genome dataset. It is known (Jiao et al. 2020; Chakraborty, Martin, et al. 2021) that whole genome mutation densities at 1-MB chromosome windows collectively aid near perfect classification of tumor types, and so we obtain the estimated latent window topics and their log odds ratios. Several highly tissue-specific latent topics are obtained from the model with strikingly high log-odds ratios. For exposition here we focus on one, a liver cancer specific topic displayed on Figure 2. It is known that somatic mutational landscape in the cancer genome is shaped by the epigenome structure of the corresponding site of origin (Polak et al. 2015). For example, regions enriched for transcription regulatory elements (e.g., histone marks) are observed to have low somatic mutation rates. Indeed, a major pattern emerged from our analysis of the whole-genome is that the variation of mutation density across the genome can be explained to a high degree by site-specific epigenome organization. Specifically, we compare the estimated composition probabilities for this topic at each individual chromosome window with an associated epigenomic histone score H3K4me1 obtained from cells sequenced in an independent study cohort (Dunham et al. 2012) separately for each of the 10 sites. Interestingly, these topic composition probabilities have a moderately strong negative association with liver cell-specific epigenomic features (Spearman ρ0.6\rho\approx-0.6; Figure 2C; a negative correlation indicates that regions enriched for regulatory elements have low observed somatic mutation density), but only small associations with other site-specific epigenome features (Spearman ρ0.46\rho\leq 0.46 in absolute values; see Figure S1 in Supplement E). This implies that this topic may explain the epigenomic landscape of liver tumors, and is thus biologically relevant for characterizing liver cell of origin.

Refer to caption
Figure 2: Inferring a liver cancer specific chromosome window topic estimated from the PCAWG data, and understanding its tissue site specificity and interpretability. Panel A: The blue vertical bars on quantify posterior mean topic composition probabilities across 3000\sim 3000 chromsome windows grouped by the chromosome numbers. Panel B: The orange horizontal bars and the black whiskered lines visualize posterior medians and 80% HPD intervals for the cancer site-specific one-vs-rest log odds ratios, calculated for one standard deviation increase in the total fraction of mutation burden attributable to the topic. Panel C: Points in the scatter display the log composition probabilities for the topic along the x-axes and log epignomic features (histone marks H3k4me1) for liver cells along the y-axes for all 3000\sim 3000 chromosome window meta-feature categories. Inscribed at the bottom-left corner of the panel is the Spearman correlation coefficient ρ\rho between the corresponding topic composition probabilities and H3k4me1 scores.
Tissue-specific estimated SBS topics from PCAWG-exome data and assessing their reproducibility with estimates from TCGA-exome data and results from the literature.

We next focus on the model trained on the PCAWG exome subsetted data, and obtain estimates for the SBS topics and the corresponding tissue-specificities as quantified by the odds ratios. As noted before, much research has been done on SBS signatures (analogous to topics) in exome level mutation data, and several highly tissue site specific SBS signatures have been detected. This permits direct reproducibility assessment for our results. We consider (a) estimated SBS topics and odds ratios from a similar model trained on the independent TCGA exome data restricted to the same 10 cancer sites, and (b) exome level known SBS mutation signatures noted on the literature (COSMIC database; Ludmil B. Alexandrov et al. (2020))666The mutation signatures noted in COSMIC are derived from the TCGA data using an unsupervised NMF approach, and they collectively serve as a “baseline” for comparing our PCAWG-estimated SBS topics. as a biological benchmark. We highlight top three discriminative PCAWG-exome estimated SBS topics with high one-vs-rest log odds ratios, and compare them with all TCGA-estimated SBS topics, and COSMIC signatures to identify the closest match for each. Here “closeness” is measured through total variation distance defined for two topic compositions (discrete probability functions) W1W_{1} and W2W_{2} over the same meta-feature categories {1,,P}\{1,\dots,P\} as TV(W1,W2)=12p=1P|W1pW2p|\text{TV}(W_{1},W_{2})=\frac{1}{2}\sum_{p=1}^{P}|W_{1p}-W_{2p}|. These three topics are displayed on the three panels of Figure 3. The second topic (panel B) has a very close match to the UV signature in the COSMIC database and uniquely associated with melanoma (skin). The first topic (panel A) show a pattern that clearly matches the APOBEC signature from COSMIC, but the TV distance is relatively higher suggesting this topic is a modified version of APOEBEC signature. Since APOBEC exist in multiple cancer types, this difference is likely attributable to our supervised topic model contrasting a cancer-site agnostic approach used to derive the COSMIC signatures. Similarly, the third topic (panel C) shows a pattern that matches the COSMIC signature of De-amination of 5-methylcytosine (clock-like), but have relatively poorer matches in TV distance since we incorporated cancer site information in our analysis.

Refer to caption
Figure 3: Inferring 3 strongly discrimative SBS topics (panels A-C) and their tissue site specificities estimated from the PCAWG data, and assessing reproducibility of the results with estimates from independent TCGA data and the COSMIC mutation signature repository. The vertical bars on the left show topic composition probabilitie, estimated via posterior means for PCAWG and TCGA datasets and collected from online repository for COSMIC, across 96 SBS categories grouped by subsitution types such as C>>A, C>>G etc. The horizontal bars on the right show estimated (via posterior median) cancer site specific one-vs-rest log odds ratios for one standard deviation increase in the total fraction of mutation burden attributable to the corresponding topic. All PCAWG estimates are displayed as orange bars. For each PCAWG estimated topic, the closest (in terms of TV distance) TCGA estimated (posterior mean) topic together with its estimated (posterior median) one-vs-rest log odds ratios are displayed through vertical and horizontal blue bars respectively, and the closest COSMIC mutation signatures are plotted as red vertical bars on the left. The names/functions of the closest COSMIC signatures are noted within parentheses in the legend. The black whiskers on each estimated bar display the associated 80% HPD credible intervals.
Tissue-specific gene topics from PCAWG-exome subsetted data.

Interestingly, the gene meta-feature categories did not produce strong tissue specific latent topics, and the estimated topics showed high variability in their composition probabilities. In Figure 4 we display two gene topics with the largest median site specific one-vs-rest log ORs. Both topics are strongly driven by TP53 and KRAS, although the composition probabilities vary substantially (vertical error bar over the bars). Furthermore, for all cancer sites, the 80% CIs for the log ORs (horizontal whiskers on the right panels) span almost entirety of (-0.5, 0.5), indicating the lack of tissue-site specificity of these topics. Together these likely indicate that the tissue-specific genes do not mutate in unison, unlike the chromosome windows and SBS categories.

Refer to caption
Figure 4: Inferring 2 gene topics and their tissue site specificities for PCAWG exome subsetted data. The blue vertical bars on the left quantify posterior mean topic composition probabilities for 30 most prominent genes in the topic, and the black vertical error-whisker bars show associated 80% HPD intervals for the weights. The orange horizontal bars and the black whiskered lines on the right visualize posterior medians and 80% HPD intervals for the cancer site-specific one-vs-rest generalized odds ratios, calculated for one standard deviation increase in the total fraction of mutation burden attributable to the corresponding topic.
Inferring tissue specificities of residual variants and "observed" meta-features.

Finally, we focus on individual variant-specific residual effects and “observed” meta-feature category effects. We consider the exome level PCAWG data, and obtain component wise one-vs-rest log odds ratios from the residual variant effects β0\beta^{0} and observed meta-feature category effects ω\omega. Then we rank the individual variants and observed meta-feature categories (separately for each meta-feature source of gene and SBS) based on their maximum (posterior median) log one-vs-rest odds ratio values obtained across cancer sites. The top five predictors from each group (variants and each meta-feature source) are then selected, and the posterior median and 80% HPD intervals for their cancer site specific log one-vs-rest odds ratios are plotted as horizontal bars in Figure 5. The findings visualized in Figure 5 agree with existing scientific knowledge, and aid quantification of some interesting genomic facts. For example KRAS gene mutations is known to be associated with multiple cancer sites including pancreatic and lung; however, specific variants of KRAS, e.g., c.35C>A are more specific to only pancreatic cancer.

Refer to caption
Figure 5: Inferring tissue site specificities attibutable to observed meta-feature categories, and residual variant effects. The horizontal bars and the black whiskered lines visualize posterior medians and 80% HPD intervals for the cancer site-specific one-vs-rest generalized odds ratios, calculated for one standard deviation increase in the total fraction of mutation burden attributable to each meta-feature category or each individual variant.

5 Discussion

This paper proposes a multilevel Bayesian multi-logit regression model for statistical inference in ultra-high dimensional genome driven cancer type characterization problems. The approach leverages bi-level dimension reduction for efficient, practicable MCMC-based implementation – (a) condensing information in millions of observed, sparse variants into a few thousands of observed meta-feature contexts, and then (b) modeling the effects of these observed meta-features through lower dimensional latent meta-feature topics. The latter is a manifestation of topic models (Blei and Lafferty 2009) that derive interpretable latent lower dimensional structures (“topics”) from observed high-dimensional categorical data to facilitate parts-based representation of a complex underlying system. These models have found important applications in several scientific and engineering disciplines, including computational linguistics, genomics (particularly, mutation signature extraction; Ludmil B. Alexandrov et al. (2013); Funnell et al. (2019)), computer vision, and acoustic signal processing, among others. The usefulness of topic models in aiding interpretable lower dimensional structures has prompted its use as an interpretable dimension reduction tool for regression/classification (supervised learning) tasks, and a rich literature has been devoted to the development of supervised topic models. See Mcauliffe and Blei (2007), Zhu, Zheng, and Zhang (2013), Magnusson, Jonsson, and Villani (2020) and the references therein for a review. To our knowledge, however, none of the existing approaches integrate a topic model as an intermediate layer of an elaborate Bayesian multinomial-logistic regression model, and enable MCMC-based estimation, as proposed herein. Furthermore, our approach permits quantification of regression effects for both the observed meta-feature categories, and the latent meta-feature topics. To the best of our knowledge this is not provided by any existing supervised topic model approach; existing approaches quantify regression coefficients of the latent topics only.

The topic model layer however introduces non-identified parameters in the model, which subsequently makes statistical inference on these parameters challenging. Herein we propose a kk-means based posthoc identification of the model, leveraging a point-process representation of the MCMC draws as suggested in Frühwirth-Schnatter (2011), and our results suggest reasonable practical performance of the proposed intuitive approach.

There are several future directions we aim to pursue in both methodological and applied scientific fronts. First, on the methodology side, we aim to rigorize the proposed clustering-based posthoc identification step for principled inference on the topic model parameters. Second, while not considered herein, interest may lie in allowing ‘information sharing’ between cancer sites through appropriately articulated hierarchical model layers. This may permit more coherent estimation of the tissue-specific effects of mutations. Third, a future research is planned to assess statistical performance of the model via large scale simulations. Finally, on the scientific side, we aim a thorough investigation of the tissue-specific whole genome chromosome region topics to understand their biological relevance.

References

reAlexandrov, Ludmil B., Jaegil Kim, Nicholas J. Haradhvala, et al. 2020. “The Repertoire of Mutational Signatures in Human Cancer.” Nature 578 (7793): 94101.

preAlexandrov, Ludmil B, Serena Nik-Zainal, David C Wedge, et al. 2013. “Signatures of Mutational Processes in Human Cancer.” Nature 500 (7463): 415–21.

preBailey, Matthew H, Collin Tokheim, Eduard Porta-Pardo, Sohini Sengupta, Denis Bertrand, Amila Weerasinghe, et al. 2018. “Comprehensive Characterization of Cancer Driver Genes and Mutations.” Cell.

preBlei, David M., and John D. Lafferty. 2009. “Topic Models.” In. Chapman; Hall/CRC.

preCampbell, Peter J., Gad Getz, Jan O. Korbel, Joshua M. Stuart, Jennifer L. Jennings, Lincoln D. Stein, et al. 2020. “Pan-Cancer Analysis of Whole Genomes.” Nature 578 (7793): 82–93.

preChakraborty, Saptarshi, Arshi Arora, Colin B. Begg, and Ronglai Shen. 2019. “Using Somatic Variant Richness to Mine Signals from Rare Variants in the Cancer Genome.” Nature Communications 10 (1).

preChakraborty, Saptarshi, Colin B. Begg, and Ronglai Shen. 2020. “Using the "Hidden" genome to improve classification of cancer types.” Biometrics, September.

preChakraborty, Saptarshi, Brett L. Ecker, Ken Seier, Victoria G. Aveson, et al. 2021. “Genome-Derived Classification Signature for Ampullary Adenocarcinoma to Improve Clinical Cancer Care.” Clinical Cancer Research, August.

preChakraborty, Saptarshi, Axel Martin, Zoe Guan, Colin B. Begg, and Ronglai Shen. 2021. “Mining Mutation Contexts Across the Cancer Genome to Map Tumor Site of Origin.” Nat. Commun 12 (1): 3051.

preChakravarty, Debyani, Jianjiong Gao, Sarah Phillips, et al. 2017. “OncoKB: A Precision Oncology Knowledge Base.” JCO Precision Oncology, no. 1 (November): 1–16.

preDunham, Ian, Anshul Kundaje, Shelley F. Aldred, Patrick J. Collins, Carrie A. Davis, Francis Doyle, et al. 2012. “An Integrated Encyclopedia of DNA Elements in the Human Genome.” Nature 489 (7414): 57–74. https://doi.org/10.1038/nature11247.

preEfron, Bradley. 2020. “Prediction, Estimation, and Attribution.” International Statistical Review 88: S28S59.

preFriedman, Jerome H., Trevor Hastie, and Rob Tibshirani. 2010. “Regularization Paths for Generalized Linear Models via Coordinate Descent.” Journal of Statistical Software 33 (February): 1–22.

preFrühwirth-Schnatter, Sylvia. 2011. “Dealing with Label Switching Under Model Uncertainty.” In, edited by Kerrie L. Mengersen, Christian Robert, and Mike Titterington, 213239. John Wiley & Sons; Citeseer.

preFunnell, Tyler, Allen W. Zhang, Diljot Grewal, et al. 2019. “Integrated Structural Variation and Point Mutation Signatures in Cancer Genomes Using Correlated Topic Models.” PLOS Computational Biology 15 (2): e1006799.

preHaigis, Kevin M., Karen Cichowski, and Stephen J. Elledge. 2019. “Tissue-specificity in cancer: The rule, not the exception.” Science (New York, N.Y.) 363 (6432): 1150–51.

preJiao, Wei, Gurnit Atwal, Paz Polak, et al. 2020. “A Deep Learning System Accurately Classifies Primary and Metastatic Cancers Using Passenger Mutation Patterns.” Nat. Commun 11 (1).

preKyung, Minjung, Jeff Gill, Malay Ghosh, and George Casella. 2010. “Penalized Regression, Standard Errors, and Bayesian Lassos.” Bayesian Analysis 5 (2): 369411.

preLapuschkin, Sebastian, Stephan Wäldchen, Alexander Binder, Grégoire Montavon, Wojciech Samek, and Klaus-Robert Müller. 2019. “Unmasking Clever Hans Predictors and Assessing What Machines Really Learn.” Nature Communications 10 (1): 1096. https://doi.org/10.1038/s41467-019-08987-4.

preLee, Daniel D., and H. Sebastian Seung. 1999. “Learning the Parts of Objects by Non-Negative Matrix Factorization.” Nature 401 (6755): 788–91.

preLiang, Dawen, and Matthew D. Hoffman. 2014. “Beta Process Non-Negative Matrix Factorization with Stochastic Structured Mean-Field Variational Inference.” http://arxiv.org/abs/1411.1804.

preMagnusson, Måns, Leif Jonsson, and Mattias Villani. 2020. “DOLDA: A Regularized Supervised Topic Model for High-Dimensional Multi-Class Regression.” Computational Statistics 35 (1): 175–201. https://doi.org/10.1007/s00180-019-00891-1.

preMcauliffe, Jon, and David Blei. 2007. “Supervised Topic Models.” In. Vol. 20. Curran Associates. https://proceedings.neurips.cc/paper/2007/hash/d56b9fc4b0f1be8871f5e1c40c0067e7-Abstract.html.

prePaisley, John, David M. Blei, and Michael I. Jordan. 2014. “Bayesian Nonnegative Matrix Factorization with Stochastic Variational Inference.” In. Chapman; Hall/CRC.

prePolak, Paz, Rosa Karlić, Amnon Koren, Robert Thurman, Richard Sandstrom, Michael Lawrence, et al. 2015. “Cell-of-Origin Chromatin Organization Shapes the Mutational Landscape of Cancer.” Nature 518 (7539): 360–64. https://doi.org/10.1038/nature14221.

prePolson, Nicholas G., James G. Scott, and Jesse Windle. 2013. “Bayesian Inference for Logistic Models Using Pólya–Gamma Latent Variables.” J Am Stat Assoc 108 (504): 1339–49. https://doi.org/10.1080/01621459.2013.829001.

preSaito, Takaya, and Marc Rehmsmeier. 2015. “The Precision-Recall Plot Is More Informative Than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets.” PLOS ONE, March.

preSoh, Kee Pang, Ewa Szczurek, Thomas Sakoparnig, and Niko Beerenwinkel. 2017. “Predicting Cancer Type from Tumour DNA Signatures.” Genome Medicine 9 (1).

preStephens, Matthew. 2000. “Dealing with Label Switching in Mixture Models.” Journal of the Royal Statistical Society: Series B (Statistical Methodology) 62 (4): 795–809. https://doi.org/10.1111/1467-9868.00265.

preYuan, Ming, and Yi Lin. 2006. “Model Selection and Estimation in Regression with Grouped Variables.” J R Stat Soc Series B Stat Methodol 68 (1): 49–67.

preZahid, Faisal Maqbool, and Gerhard Tutz. 2013. “Ridge Estimation for Multinomial Logit Models with Symmetric Side Constraints.” Computational Statistics 28 (3): 1017–34. https://doi.org/10.1007/s00180-012-0341-1.

preZehir, Ahmet, Ryma Benayed, Ronak H Shah, Aijazuddin Syed, Sumit Middha, Hyunjae R Kim, et al. 2017. “Mutational Landscape of Metastatic Cancer Revealed from Prospective Clinical Sequencing of 10,000 Patients.” Nature Medicine.

preZhu, Jun, Xun Zheng, and Bo Zhang. 2013. “Improved Bayesian Logistic Supervised Topic Models with Data Augmentation.” arXiv Preprint arXiv:1310.2408.

p