 Methodology Article
 Open access
 Published:
Sparse kernel canonical correlation analysis for discovery of nonlinear interactions in highdimensional data
BMC Bioinformatics volume 18, Article number: 108 (2017)
Abstract
Background
Advance in highthroughput technologies in genomics, transcriptomics, and metabolomics has created demand for bioinformatics tools to integrate highdimensional data from different sources. Canonical correlation analysis (CCA) is a statistical tool for finding linear associations between different types of information. Previous extensions of CCA used to capture nonlinear associations, such as kernel CCA, did not allow feature selection or capturing of multiple canonical components. Here we propose a novel method, twostage kernel CCA (TSKCCA) to select appropriate kernels in the framework of multiple kernel learning.
Results
TSKCCA first selects relevant kernels based on the HSIC criterion in the multiple kernel learning framework. Weights are then derived by nonnegative matrix decomposition with L1 regularization. Using artificial datasets and nutrigenomic datasets, we show that TSKCCA can extract multiple, nonlinear associations among highdimensional data and multiplicative interactions among variables.
Conclusions
TSKCCA can identify nonlinear associations among highdimensional data more reliably than previous nonlinear CCA methods.
Background
Canonical correlation analysis (CCA) [1] is a statistical method for finding common information from two different sources of multivariate data. This method optimizes linear projection vectors so that two random multivariate datasets are maximally correlated. With advances in highthroughput biological measurements, such as DNA sequencing, RNA microarrays, and mass spectroscopy, CCA has been extensively used for discovery of interactions between the genome, gene transcription, protein synthesis, and metabolites [2–5]. Because CCA solution is reduced to an eigenvalue problem, multiple components of interactions with sparse constraints are readily introduced [4, 6, 7].
Kernel CCA (KCCA) was introduced to capture nonlinear associations between two blocks of multivariate data [8–11]. Given two blocks of multivariate data x and z, KCCA finds nonlinear transformations f(x) and g(z) in a reproducing kernel Hilbert space (RKHS) so that the correlation between f(x) and g(z) is maximized. In order to avoid overfitting and to improve interpretability of results, sparse additive functional CCA (SAFCCA) [12] constrains f(x) and g(z) as sparse additive models and optimizes them using the biconvex backfitting algorithm [13]. However, it is not straightforward to obtain multiple orthogonal transformations for extracting multiple components of associations. Another method for finding nonlinear associations is to maximize measures of nonlinear matching, such as the HilbertSchmidt Independent Criterion (HSIC) [14] and the Kernel Target Alignment (KTA) [15] between linearly projected datasets x and z [16]. While these methods can obtain multiple orthogonal projections by iteratively analyzing residuals, it is impossible for these methods to remove irrelevant features, making them prone to overfitting.
In this paper, we propose twostage kernel CCA (TSKCCA), which enables us (1) to select sparse features in highdimensional data and (2) to obtain multiple nonlinear associations. In the first stage, we represent target kernels with a weighted sum of prespecified subkernels and optimize their weight coefficients based on HSIC with sparse regularization. In the second stage, we apply standard KCCA using target kernels obtained in the first stage to find multiple nonlinear correlations.
We briefly review CCA, KCCA, and twostage MKL, and then present TSKCCA algorithm. We apply TSKCCA to three synthetic datasets and nutrigenomic experimental data to show that the method discovers multiple nonlinear associations within highdimensional data, and provides interpretation that are robust to irrelevant features.
CCA, kernel CCA, and multiple kernel learning
In this section, we briefly review the bases of our proposed method, namely, linear canonical correlation analysis (CCA), kernel CCA (KCCA), and multiple kernel learning (MKL).
Canonical correlation analysis (CCA)
Let \(D = \{ (\textbf {x}_{n}, \textbf {z}_{n}) \}_{n=1}^{N}\) be N pairs of samples, where x _{ n } and z _{ n } are the nth samples drawn from p and qdimensional Euclidian space, respectively. Let f _{ w }(x)≡w ^{T} x and g _{ v }(z)≡v ^{T} z denote the projection of \(\textbf {x} \in \mathbb {R}^{p}\) by \(\textbf {w} \in \mathbb {R}^{p}\) and that of \(\textbf {z} \in \mathbb {R}^{q}\) by \(\textbf {v} \in \mathbb {R}^{q}\), respectively. The objective of linear CCA is to find projections that maximize Pearson’s correlation between \(F_{w} \equiv \{ f_{w}(\textbf {x}_{n})\}_{n=1}^{N}\) and \(G_{v} \equiv \{ g_{v}(\textbf {z}_{n})\}_{n=1}^{N}\) and formulated as the following optimization problem:
where Var(·) and Cov(·,·) denote the empirical variance and covariance of the data, respectively. The optimal solution (w ^{∗},v ^{∗}) of Eq. (1a and 1b) is obtained by solving generalized eigenvalue problems and successive eigenvectors represent multiple components. The projections, f ^{∗}(x)=w ^{∗T} x and g ^{∗}(z)=v ^{∗T} z, are said to be canonical variables for \(\textbf {x} \in \mathbb {R}^{p}\) and \(\textbf {z} \in \mathbb {R}^{q}\), respectively. If we introduce sparse regularization on w and v, we obtain sparse projections [4, 6, 7].
Kernel CCA
In Kernel CCA (KCCA), we suppose that the original data are mapped into a feature space via nonlinear functions. Then linear CCA is applied in the feature space. More specifically, nonlinear functions \(\phi _{x}: \mathbb {R}^{p} \to \mathbb {H}_{x}\) and \(\phi _{z}: \mathbb {R}^{q} \to \mathbb {H}_{z}\) transform the original data \(\{(\textbf {x}_{n}, \textbf {z}_{n})\}_{n=1}^{N}\) to feature vectors \(\{(\phi _{x}(\textbf {x}_{n}), \phi _{z}(\textbf {z}_{n}))\}_{n=1}^{N}\) in reproducing kernel Hilbert spaces (RKHS) \(\mathbb {H}_{x}\) and \(\mathbb {H}_{z}\). Innerproduct kernels for \(\mathbb {H}_{x}\) and \(\mathbb {H}_{z}\) are defined as k _{ x }(x,x ^{′})=ϕ _{ x }(x)^{T} ϕ _{ x }(x ^{′}), and k _{ z }(z,z ^{′})=ϕ _{ z }(z)^{T} ϕ _{ z }(z ^{′}).
Let us implement f _{ w }(x) and g _{ v }(z) by projections f _{ w }(x)≡w ^{T} ϕ _{ x }(x) and g _{ v }(z)≡v ^{T} ϕ _{ z }(z). By introducing appropriate regularization terms, Eq. (1a and 1b) can be reformulated as the following optimization problem ([8, 9]):
where K _{ x } and K _{ z } are NbyN kernel matrices defined as \(\phantom {\dot {i}\!}[K_{x}]_{nn'} = k_{x}(\textbf {x}_{n},\textbf {x}_{n'})\) and \(\phantom {\dot {i}\!}[K_{z}]_{nn'} = k_{z}(\textbf {z}_{n},\textbf {z}_{n'})\) ^{1}. I is the NbyN identity matrix and κ (κ>0) is the regularization parameter.
Once having obtained the solution of Eq. (2a–2c), denoted by (α ^{∗},β ^{∗}), canonical variables for \(\textbf {x} \in \mathbb {R}^{p}\) and \(\textbf {z} \in \mathbb {R}^{q}\) are given by
respectively. As indicated by Eq. (2a–2c), the nonlinear functions, ϕ _{ x } and ϕ _{ z }, are not explicitly used in the computation of KCCA. Instead, the kernels k _{ x } and k _{ z } implicitly specify the nonlinear functions, and the main goal is to solve the constrained quadratic optimization problem with 2Ndimensional variables.
Multiple kernel learning
Kernel methods usually require users to design a particular kernel, which critically affects the performance of the algorithm. To make the design more flexible, the framework of multiple kernel learning (MKL) was proposed for classification and regression problems [17, 18]. In MKL, we manually design M _{ x } subkernels \(\{ k_{x}^{(m)}\}_{m=1}^{M_{x}}\), where each subkernel \(k_{x}^{(m)}\) uses only a distinct set of features in x. Also, M _{ z } subkernels \(\{ k_{z}^{(l)}\}_{l=1}^{M_{z}}\) for z is also designed in the same manner. Then, k _{ x } and k _{ z } are represented as the weighted sum of those subkernels:
where weight coefficients of subkernels, \(\{ \eta _{m} \}_{m=1}^{M_{x}}\) and \(\{ \mu _{l} \}_{l=1}^{M_{z}}\) are tuned to optimize an objective function.
A specific example of this framework is the twostage MKL approach [15, 19]: In the first stage, the weight coefficients are optimized based on a similarity criterion, such as the kernel target alignment; then, a standard kernel algorithm, such as support vector machine, is applied in the second stage.
Methods
In this section, we propose a novel nonlinear CCA method, twostage kernel CCA (TSKCCA), inspired by the concepts of sparse multiple kernel learning and kernel CCA. In the following, we present the general framework of TSKCCA, followed by our solutions for practical issues in the implementation.
First stage: multiple kernel learning with HSIC and sparse regularizer
In TSKCCA, subkernels are restricted to the same class as Eq. (4a and 4b), allowing us to express the kernel matrices K _{ x } and K _{ z } as
where \([K_{x}^{(m)}]_{nn'} = k_{x}^{(m)}(\mathbf {x}_{n},\mathbf {x}_{n'})\) and \([K_{z}^{(l)}]_{nn'} = k_{z}^{(l)}(\mathbf {z}_{n},\mathbf {z}_{n'})\). The goal of the first stage is to optimize the weight vector \(\phantom {\dot {i}\!}\boldsymbol {\eta }=(\eta _{1},\ldots,\eta _{M_{x}})^{T}\) and \(\phantom {\dot {i}\!}\boldsymbol {\mu }=(\mu _{1},\ldots,\mu _{M_{z}})^{T}\) so that kernel matrices K _{ x } and K _{ z } statistically depend on each other as much as possible, while irrelevant subkernels are filtered out.
The statistical dependence between K _{ x } and K _{ z } is evaluated by the HilbertSchmidt Independent Criterion (HSIC) and approximated by its empirical estimator [14]:
where H is an NbyN matrix such that \([H]_{nn'} = \delta _{nn'}  \frac {1}{N}\), and \(\phantom {\dot {i}\!}\delta _{nn'}\) is Kronecker’s delta. Tr(·) denotes the trace. In our setting, optimization problem is reduced to a simple biliear form with respect to η and μ:
where M is a M _{ x }by M _{ z } matrix such that
In addition to maximizing the dependency measure \(\mathbb {D}(K_{x},K_{z})\), η and μ should be sparse in order to filter out irrelevant subkernel matrices. To this end, we determine optimal weight vectors as the solution of the following constrained optimization problem:
where \(\left \ \mathbf {x}\right \_{p} = (\sum _{i} x_{i}^{p})^{1/p} \) is the L ^{p}norm of the vector x and c _{1} and c _{2} are parameters (See also “Parameter tuning by a permutation test” section). This optimization problem is an example of penalized matrix decomposition with nonnegativity constraints [4]. Accordingly, we can obtain optimal weight coefficients by performing singular value decomposition of matrix M under constraints. In this process, the ith left singular vector \(\boldsymbol {\eta }^{(i)} = (\eta _{1}^{(i)}, \dots, \eta _{M_{x}}^{(i)})^{T}\) as well as the right singular vector \(\boldsymbol {\mu }^{(i)} = (\mu _{1}^{(i)}, \dots, \mu _{M_{z}}^{(i)})^{T}\) are obtained iteratively by Algorithm 1.
In Algorithm 1, S denotes the elementwise softthresholding operator: The mth element of S(a,c) is given by sign(a _{ m })(a _{ m }−c)_{+}, where (x)_{+} is x if x≥0 and 0 if x<0. In each step, Δ is chosen by a binary search so that L1 constraints ∥η∥_{1}≤c _{1} and ∥μ∥_{1}≤c _{2} are satisfied. In general, the above iteration does not necessarily converge to a global optimum. For each iteration, we initialize η ^{(i)} with a nonsparse, left singular vector of M, following the previous study, to obtain reasonable solutions [4].
The second stage: kernel CCA
After learning kernels via penalized matrix decomposition as above, we perform the second stage of standard kernel CCA [8, 9] to obtain optimal coefficients α ^{∗} and β ^{∗} (Eq. 3a and 3b) with parameter κ for each pair of singular vectors \(\{ \boldsymbol {\eta }^{(i)}, \boldsymbol {\mu }^{(i)}\}_{i=1}^{rank(M)}\). Given test kernel \(\{ K_{x,test}^{(m)} \}_{m=1}^{M_{x}}\) and \(\{ K_{z,test}^{(l)} \}_{l=1}^{M_{z}}\), test correlation corresponding to the ith singular vectors is defined as correlation between \(\sum _{m=1}^{M_{x}} \eta _{m} K_{x,test}^{(m)} \boldsymbol {\alpha }^{\ast }\) and \(\sum _{l=1}^{M_{z}} \mu _{l} K_{z,test}^{(l)} \boldsymbol {\beta }^{\ast }\).
Practical solutions for TSKCCA implementation
TSKCCA still has several options for subkernels to be designed manually. In this study, we focus on featurewise kernel and pairwise kernel defined in the following sections.
Featurewise kernel
Featurewise kernel was introduced to perform featurewise nonlinear Lasso [20]. In the previous study, using featurewise kernels as subkernels in sparse MKL resulted in sparsity in terms of features since each subkernel corresponds to each feature. With x _{ nm } and z _{ nl } representing the mth feature for x _{ n } and lth feature for z _{ n }, respectively, we adopt the following Gaussian kernel in this study:
where γ _{ x } and γ _{ z } are width parameters. By applying featurewise kernels, projection functions are restricted to additive models defined as \(f^{\ast }(\textbf {x}) = \sum _{m=1}^{p} f_{m}(\textbf {x}_{.m})\) and \(g^{\ast }(\textbf {z}) = \sum _{l=1}^{q} g_{l}(\textbf {z}_{.l})\), where \(f_{m}: \mathbb {R} \to \mathbb {R}\) (m=1,…,p) and \(g_{l}: \mathbb {R} \to \mathbb {R}\) (l=1,…,q) are certain nonlinear functions ^{2}. Note that the number of subkernels, M _{ x } and M _{ z }, are equivalent to the number of features, p and q, respectively.
Pairwise kernel
We introduce pairwise kernels as subkernels to consider crossfeature interactions among all possible pairs of features. Since the sparseness is induced to the weight of subkernels, the pairwise kernels result in selecting relevant crossfeature interactions. Projection functions are defined as \(f^{\ast }(\textbf {x}) = \sum _{m < m'}^{p} f_{m,m'}(\textbf {x}_{.m},\textbf {x}_{.m'})\) and \(g^{\ast }(\textbf {z}) = \sum _{l < l'}^{q} g_{l,l'}(\textbf {z}_{.l},\textbf {z}_{.l'})\), where \(f_{m,m'}: \mathbb {R}^{2} \to \mathbb {R}\) and \(g_{l,l'}: \mathbb {R}^{2} \to \mathbb {R}\) are certain nonlinear functions with two dimensional inputs. Note that the number of subkernels, M _{ x } and M _{ z }, are, p(p−1)/2 and q(q−1)/2, respectively.
Preprocessing for MKL
We normalize the subkernels to have uniform variance in RKHS. This is an important procedure in the context of MKL because each featurewise kernel has a different scale. This makes it difficult to evaluate weight coefficients [21]. To compensate for that, we calculate the variance σ ^{2} in RKHS as
Dividing each subkernel by its variance \(K \rightarrow \frac {K}{\sigma ^{2}}\), we can achieve normalization of each subkernel.
Parameter tuning by a permutation test
When the kernel matrix K _{ x } (or K _{ y }) is full rank, as is typically our case, KCCA with a small κ (κ≪1) can always find a solution such that the maximum canonical correlation nearly equals one. This property makes it difficult to tune the regularization parameters for the first stage c _{1} and c _{2}. To solve the issue, we introduce a simple heuristics.
The key idea is to conduct a permutation test for deciding whether to reject a null hypothesis that the maximal canonical correlation induced by ith singular vectors is no more than those attained when x and z are statistically independent. Since the pvalue of this test is interpreted as the deviance between the actual outcome and those expected under the null hypothesis, we use it as a score to evaluate the significance of ith singular vectors where smaller pvalue is more significant.
Algorithm 2 summarizes our implementation for the permutation test. Only for the first singular vectors η ^{(1)} and μ ^{(1)}, this procedure is applied to various pairs of (c _{1},c _{2}) that satisfy the constraints of \(1 \leq c_{1} \leq \sqrt {M_{x}}\) and \(1 \leq c_{2} \leq \sqrt {M_{y}}\) [4]. Among them, the pair with the lowest pvalue is chosen as the optimal parameters of c _{1} and c _{2}.
For simplicity, other parameters, such as γ in the Gaussian kernel and κ in KCCA, are fixed heuristically. γ ^{−1} is set to the median of the Euclidean distance between data points and κ is set to 0.02 as recommended in the previous study [9].
Results
In this section, we experimentally evaluate the performance of our proposed TSKCCA, SAFCCA [12], and other methods using synthetic data and nutrigenomic experimental data.
Dataset 1: single nonlinear association
To evaluate the ability to extract a single nonlinear association, we generated simple synthetic data which consisted of a single pair of relevant features in quadratic association and noise, in which standard CCA and KCCA are known to performance poorly [12]. Let N(μ,s ^{2}) and \(U({\mathcal {A}})\) denote the normal distribution with mean μ, variance s ^{2}, and uniform distribution supported in \({\mathcal {A}}\), respectively. The synthetic data were generated as
where D was the total number of dimensions and ε was independent noise.
The optimal model in each method was trained using N training samples. Here, we assumed c _{1}=c _{2} in the range of \(1 \leq c_{1}, c_{2} \leq \frac {\sqrt {D}}{2}\) and obtained optimal values using a permutation test with B=100. The test correlation was evaluated with separate 100 test samples, averaged over 100 simulation runs as we varied the number of dimensions, the sample size, and the noise level.
Figure 1 shows the test correlations achieved by TSKCCA and SAFCCA with different data dimensions D, sample size N, and noise level s. In the first stage, our method selected only two subkernels, corresponding to x _{1} and z _{1}, among 2×D subkernels in the first stage, especially in the case of N=100 and N=150. As a result, it achieved better test correlation than SAFCCA, especially with highdimensional data, indicating that our method was sufficiently robust.
In addition, Fig. 2 shows average computation time for each method over 100 simulation runs with dataset 1. Computation time of TSKCCA was comparable with that of SAFCCA, and could scale up with the feature size. Note that all the experiments were performed on a MacBook Pro with Intel Core i7 (2.9 GHz dual core processor with 4 MB L3 cache) with 8 GB main memory. All the simulation programs were implemented in MATLAB ^{®;}.
Dataset 2: multiple nonlinear associations
To test whether our method could extract multiple nonlinear associations precisely, we generated the following data:
First, we performed a permutation test with B=1000 for ten singular vectors \(\{ \boldsymbol {\eta }^{(i)},\boldsymbol {\mu }^{(i)}\}_{i=1}^{10}\) corresponding to the ten highest singular values of M given by Eq. (8). Pvalues of the top three were significant (p<0.001) and the rest were nonsignificant. This result suggests that only the three singular vectors included nonlinear associations.
Figure 3 shows the transformations f(x) and g(z) obtained with TSKCCA. In the first singular vectors, the contributions of \(\eta ^{1}_{1}\), \(\eta ^{1}_{4}\) and \(\mu ^{1}_{1}\) were dominant, indicating that x _{.1},x _{.4} and z _{.1} were associated. The contributions of \(\eta ^{2}_{2}\), \(\eta ^{2}_{5}\) and \(\mu ^{2}_{2}\) in the second singular vectors were also dominant, indicating that x _{.2}, x _{.5} and z _{.2} were associated. Finally, the contributions of \(\eta ^{3}_{3}\), \(\eta ^{3}_{6}\) and \(\mu ^{3}_{3}\) in the third singular vectors were dominant, indicating that x _{.3}, x _{.6} and z _{.3} were associated. Some singular vectors averaged over 100 simulation runs are listed in Table 1. Our results suggest that TSKCCA achieved feature selection precisely.
We further evaluated test correlation, precision, and recall averaged over 20 simulation runs. Table 2 shows that SAFCCA failed to detect all relevant features because it is not able to obtain multiple canonical correlations, while our method detected 9 relevant subkernels out of 50 in the first stage in most runs. Note that the precision is the fraction of retrieved features that are relevant and recall is the fraction of relevant features that are retrieved.
Dataset 3: feature interactions
To assess the capability of TSKCCA in discovering nonlinear interactions, we generated data with a product term:
where D was the number of dimensions. For this dataset, we used featurewise kernels and pairwise kernels as subkernels in order to handle both single feature effects and crossfeature interactions like the term x _{.1} x _{.2}. There were D+D×(D−1)/2 subkernels, the weight coefficients of which were optimized in our method.
First, to evaluate the performance of our method with featurewise and pairwise kernels, we obtained test correlations evaluated by individual test data (N=100) in different numbers of dimensions D. Next, to evaluate the accuracy of feature selection of the model, we assessed recall and precision. Average test correlations, recall, and precision over 100 simulation runs are shown in Fig. 4. Our results illustrate that in the case of D<10 (i.e. the number of subkernels is less than 10+10×9/2=55), our method successfully determined the relation between z _{.1} and x _{.1} x _{.2}.
Dataset 4: nutrigenomic data
We then analyzed a nutrigenomic dataset from a previous mouse study [22, 23]. In this study, expression of 120 genes in liver cells that would be relevant in the context of nutrition and concentrations of 21 hepatic fatty acids were measured on 20 wildtype mice and 20 PPAR αdeficient mice. Mice of each genotype were fed 5 different diets with different levels of fat. For matrix notation, gene expression data were denoted by \(X \in \mathbb {R}^{40\times 120}\), and data regarding concentrations of fatty acids was denoted by \(Z \in \mathbb {R}^{40\times 21}\). Data were standardized to have a mean of zero and unit variance in each dimension. Several linear correlations between X and Z were detected by applying a regularized version of the linear CCA [5, 23].
First, we performed a permutation test for sparse CCA, KCCA, SAFCCA, and TSKCCA on parameters defined by equallyspaced grid points in order to identify significant associations in these data. In KCCA and SAFCCA, there were no significant associations; thus, we focused on sparse CCA and TSKCCA in the following analysis. We identified two significant linear associations in sparse CCA (p<0.001 using a permutation test) and one nonlinear association in TSKCCA (p=0.0067 using a permutation test) with c _{1}=2.6257 and c _{2}=1.9275.
Figures 5 and 6 show the results of feature selection of sparse CCA and TSKCCA, respectively. Genes selected by the first singular vector of our method have different expression levels in different genotypes (marked with asterisk), suggesting that our method successfully extracted the nonlinear correlation associated with genotypes.
For further analysis, crossvalidation was performed in 100 runs. In each run, 40 samples were randomly split into 30 training samples used for fitting models and 10 validation samples used for evaluating the canonical correlation for fitted models. Figure 7 shows box plots of correlation coefficients in sparse CCA and TSKCCA. Left one represents the first canonical correlation coefficient in sparse CCA and right one represents correlation coefficient obtained with the first singular vectors. Significantly higher test correlation (p<10^{−6} with a ttest) were achieved by the first singular vectors of TSKCCA, indicating that it avoided overfitting despite having nonlinearity.
To account for interactions between features into our model, we calculated pairwise kernels for nutrigenomic data. Although the number of subkernels was huge (120+120×119/2=7260 subkernels for genes, 21+21×20/2=231 subkernels for fatty acids), TSKCCA successfully extracted a significant association (p<0.001 using a permutation test). To evaluate the stability of feature selection, we performed TSKCCA on 1000 runs with data generated by random sampling of empirical data with replacement. Table 3 shows the frequencies of features (i.e. pairs of features) selected across 1000 runs, suggesting that PMDCI played an important role within the interactions.
Discussion
Other researchers have employed the sparse additive model [13] to extend KCCA to highdimensional problems, and have defined two equivalent formulations, such as sparse additive functional CCA (SAFCCA) and sparse additive kernel CCA (SAKCCA) [12]. The former was defined in a second order Sobolev space and solved using the biconvex backfitting procedure. The latter, defined in RKHS, was derived by applying representer theorem to the former. Given some function \(f_{m} \in \mathbb {H}_{m}\), these algorithms optimize the additive model, \(f_{1} \in \mathbb {H}_{1},f_{2} \in \mathbb {H}_{2},\ldots,f_{p} \in \mathbb {H}_{p}\). In contrast, our formulation supposes an additive kernel, such as \(\sum \eta _{m} K_{m}\) associated with RKHS \(\mathbb {H}_{add}\) and finds correlations in this space. This approach enables us to reveal multiple components of associations.
Some problems specific to KCCA, such as choosing two parameters (i.e. regularization parameter κ and the width parameter γ) and the number of components, remain unsolved. While cross validation is applicable to set these values [24], they are fixed for simplicity in our study, based on the previous study [9].
Next, we discuss the validity of feature selection in nutrigenomic data performed using sparse CCA and TSKCCA. In the original study, the authors focused on the role of PPAR α as a major transcriptional regulator of lipid metabolism and determined that PPAR α regulates the expression of many genes in mouse liver under lower dietary fat conditions [22]. They provided a list of genes that have significantly different expression levels between wildtype and PPAR αdeficient mice. While only a few genes selected by sparse CCA were included in the list, 13 out of 14 genes selected with the 1st singular vector in TSKCCA were included in the list. This result shows that TSKCCA successfully extracts meaningful nonlinear associations induced by PPAR αdeficiency.
Moreover, in our analysis of pairwise kernels, most of the frequently selected pairs of genes retained PMDCI known as a sort of enoylCoA isomerases involved in βoxidation of polyunsaturated fatty acids. This implies that the interactions of PMDCI and other genes contribute to lipid metabolism in PPAR αdeficient mice.
Many variants of subkernels, such as string kernels or graph kernels, can be employed in the same framework. In the field of bioinformatics, Yamanishi et al. adopted integrated KCCA (IKCCA), which exploited the simple sum of multiple kernels to combine many sorts of biological data [11]. This technique can be improved by optimizing weight coefficients of each kernel in the frame of TSKCCA. Finally, if kernels are defined on groups of features, it enables us to perform groupwise feature selection, just like group sparse CCA [25–27]. It is beneficial to consider groupwise feature selection for biomarker detection problems.
Conclusions
This paper proposes a novel extension of kernel CCA that we call twostage kernel CCA, which is able to identify multiple canonical variables from sparse features. This method optimizes the sparse weight coefficients of prespecified subkernels as a sparse matrix decomposition before performing standard kernel CCA. This procedure enables us to achieve interpretability by removing irrelevant features in the context of nonlinear correlational analysis.
Through three numerical experiments, we have demonstrated that TSKCCA is more useful for higher dimensional data and for extracting multiple nonlinear associations than an existing method, SAFCCA. Using nutrigenomic data, our results show that TSKCCA can retrieve information about genotype and may reveal an interactive mechanism of lipid metabolism in PPAR αdeficient mice.
Endnotes
^{1} In this article, \(\phantom {\dot {i}\!}[\cdot ]_{nn'}\) denotes the (n,n ^{′})th elements of the matrix enclosed by the brackets.
^{2} In this article, x _{.m } denotes the mth feature of x.
Abbreviations
 CCA:

Canonical correlation analysis
 HSIC:

HilbertSchmidt independent criterion
 KCCA:

Kernel canonical correlation analysis
 MKL:

Multiple kernel learning
 RKHS:

Reproducing kernel Hilbert space
 SAFCCA:

Sparse additive functional canonical correlation analysis
 TSKCCA:

Twostage kernel canonical correlation analysis
References
Hotelling H. Relations between two sets of variates. Biometrika. 1936; 28:321–77.
Yamanishi Y, Vert JP, Kanehisa M. Protein network inference from multiple genomic data: a supervised approach. Bioinformatics. 2004; 20(suppl 1):363–70.
Waaijenborg S, Verselewel de Witt Hamer PC, Zwinderman AH. Quantifying the association between gene expressions and dnamarkers by penalized canonical correlation analysis. Stat Appl Genet Mol Biol. 2008; 7(1):3.
Witten DM, Tibshirani R, Hastie T. A penalized matrix decomposition, with applications to sparse principal components and canonical correlation analysis. Biostatistics. 2009; 10(3):515–34.
González I, Déjean S, Martin PG, Gonçalves O, Besse P, Baccini A. Highlighting relationships between heterogeneous biological data through graphical displays based on regularized canonical correlation analysis. J Biol Syst. 2009; 17(02):173–99.
Wilms I, Croux C. Sparse canonical correlation analysis from a predictive point of view. Biom J. 2015; 57(5):834–51.
Parkhomenko E, Tritchler D, Beyene J, et al.Sparse canonical correlation analysis with application to genomic data integration. Stat Appl Genet Mol Biol. 2009; 8(1):1–34.
Akaho S. A kernel method for canonical correlation analysis. In: Proceedings of the International Meeting of the Psychometric Society (IMPS2001). Osaka: Springer Japan: 2001.
Bach FR, Jordan MI. Kernel independent component analysis. J Mach Learn Res. 2003; 3:1–48.
Vert JP, Kanehisa M. Graphdriven feature extraction from microarray data using diffusion kernels and kernel cca. In: Advances in Neural Information Processing Systems. Vancouver: NIPS Foundation: 2002. p. 1425–432.
Yamanishi Y, Vert JP, Nakaya A, Kanehisa M. Extraction of correlated gene clusters from multiple genomic data by generalized kernel canonical correlation analysis. Bioinformatics. 2003; 19(suppl 1):323–30.
Balakrishnan S, Puniyani K, Lafferty JD. Sparse additive functional and kernel CCA. In: Proceedings of the 29th International Conference on Machine Learning, ICML 2012, Edinburgh, Scotland, UK, June 26  July 1, 2012. The International Machine Learning Society: 2012.
Ravikumar P, Lafferty J, Liu H, Wasserman L. Sparse additive models. J R Stat Soc Ser B Stat Methodol. 2009; 71(5):1009–30.
Gretton A, Bousquet O, Smola AJ, Schölkopf B. Measuring statistical dependence with hilbertschmidt norms. In: Algorithmic Learning Theory, 16th International Conference, ALT 2005, Singapore, October 811, 2005, Proceedings. Springer: 2005. p. 63–77.
Cristianini N, Shawetaylor J, Elisseeff A, Kandola J. On kerneltarget alignment. In: Advances in Neural Information Processing Systems 14. Vancouver: 2001. Citeseer.
Chang B, Krüger U, Kustra R, Zhang J. Canonical correlation analysis based on hilbertschmidt independence criterion and centered kernel target alignment. In: Proceedings of the 30th International Conference on Machine Learning, ICML 2013, Atlanta, GA, USA, 1621 June 2013. The International Machine Learning Society: 2013. p. 316–24.
Lanckriet GR, Cristianini N, Bartlett P, Ghaoui LE, Jordan MI. Learning the kernel matrix with semidefinite programming. J Mach Learn Res. 2004; 5:27–72.
Bach FR, Lanckriet GR, Jordan MI. Multiple kernel learning, conic duality, and the smo algorithm. In: Proceedings of the Twentyfirst International Conference on Machine Learning. ACM: 2004. p. 6.
Cortes C, Mohri M, Rostamizadeh A. Twostage learning kernel algorithms. In: Proceedings of the 27th International Conference on Machine Learning (ICML10), June 2124, 2010, Haifa, Israel. The International Machine Learning Society: 2010. p. 239–46.
Yamada M, Jitkrittum W, Sigal L, Xing EP, Sugiyama M. Highdimensional feature selection by featurewise kernelized lasso. Neural Comput. 2014; 26(1):185–207.
Kloft M, Brefeld U, Sonnenburg S, Zien A. Lpnorm multiple kernel learning. J Mach Learn Res. 2011; 12:953–97.
Martin P, Guillou H, Lasserre F, Déjean S, Lan A, Pascussi J, Sancristobal M, Legrand P, Besse P, Pineau T. Novel aspects of pparalphamediated regulation of lipid and xenobiotic metabolism revealed through a nutrigenomic study. Hepatol (Baltim Md.) 2007; 45(3):767–77.
González I, Déjean S, Martin PG, Baccini A, et al.Cca: An r package to extend canonical correlation analysis. J Stat Softw. 2008; 23(12):1–14.
Leurgans SE, Moyeed RA, Silverman BW. Canonical correlation analysis when the data are curves. R Stat Soc Ser B Methodol, J. 1993;:725–40.
Yuan M, Lin Y. Model selection and estimation in regression with grouped variables. J R Stat Soc Ser B Methodol. 2006; 68(1):49–67.
Bach FR. Consistency of the group lasso and multiple kernel learning. J Mach Learn Res. 2008; 9:1179–225.
Lin D, Zhang J, Li J, Calhoun VD, Deng HW, Wang YP. Group sparse canonical correlation analysis for genomic data integration. BMC Bioinforma. 2013; 14(1):245.
Acknowledgements
We thank Dr. Mitsuo Kawato, Dr. Noriaki Yahata, and Dr. Jun Morimoto for their valuable comments, and Dr. Steven D. Aird for editing the manuscript.
Funding
This work was supported by a GrantinAid for Scientific Research on Innovative Areas: Artificial Intelligence and Brain Science (16H06563), the Strategic Research Program for Brain Sciences from Japan Agency for Medical Research and Development, AMED, and Okinawa Institute of Science and Technology Graduate University.
Availability of data and materials
The datasets analyzed during the current study are available from https://cran.rproject.org/web/packages/CCA.
Our code for TSKCCA and synthetic data is available in https://github.com/kosyoshida/TSKCCA.
Authors’ contributions
KY designed the model and developed the algorithm. KY, JY, and KD participated in writing of the manuscript. All authors read and approved the final manuscript.
Competing interests
The authors declare that they have no competing interests.
Consent for publication
Not applicable.
Ethics approval and consent to participate
Not applicable.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License(http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver(http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.
About this article
Cite this article
Yoshida, K., Yoshimoto, J. & Doya, K. Sparse kernel canonical correlation analysis for discovery of nonlinear interactions in highdimensional data. BMC Bioinformatics 18, 108 (2017). https://doi.org/10.1186/s128590171543x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/s128590171543x