Abstract
We are motivated by the problem of identifying potentially nonlinear regression relationships between high-dimensional outputs and high-dimensional inputs of heterogeneous data. This requires regression, clustering, and model selection, simultaneously. In this framework, we apply the mixture of experts models which are among the most popular ensemble learning techniques developed in the field of neural networks. In particular, we consider a more general case of mixture of experts models characterized by multiple Gaussian experts whose means are polynomials of the input variables and whose covariance matrices have block-diagonal structures. More especially, each expert is weighted by a gating network that is a softmax function of a polynomial of the input variables. These models require several hyper-parameters, including the number of mixture components, the complexity of the softmax gating networks and Gaussian mean experts, and the hidden block-diagonal structures of the covariance matrices. We provide a non-asymptotic theory for model selection of such complex hyper-parameters using the slope heuristic approach in a penalized maximum likelihood estimation framework. Specifically, we establish a non-asymptotic risk bound on the penalized maximum likelihood estimation, which takes the form of an oracle inequality, given lower bound assumptions on the penalty function.
Keywords: Dimensionality reduction Low rank estimation Mixture of experts Finite mixture regression Non-asymptotic model selection Oracle inequality Variable selection.
1 Introduction
Mixture of experts (MoE) models, introduced by Jacobs et al.ย [16] are widely applied to decompose the prediction model through a combination of gating models and expert models, both of which depend on the input variables. These flexible models are specific instances of conditional computation [3] , where different model experts are responsible for different regions of the input space. Thus, by applying only a subset of parameters to each example, MoE can increase model capacity while keeping training and inference costs roughly constant. For reviews on this topic, we refer to [19] ; [25] . Furthermore, they have gained popularity due to universal approximation properties in various special cases, including mixture models [30] ; [28] , mixture of regression models [15] , and fully-parameterized mixture of experts models [26] ; [27] . In high-dimensional multivariate multiple regression for heterogeneous data, we refer to outputs as target or response variables, and inputs as explanatory or predictor variables, where and are both much larger than the sample size. Additionally, hidden interactions may exist in the graphical structure between response variables. In such cases, regression, clustering, and model selection need to be performed simultaneously. Consequently, we employ MoE models to identify potential non-linear relationships between output and input variables in the high-dimensional heterogeneous data. We assume that , conditional on , follows a distribution with the true but unknown probability density function . Motivated by universal approximation theorems for MoE models, can be estimated by
| (1) |
Here, on each cluster , is called a softmax gating network corresponding to the weight functions, , of , and is a Gaussian expert with the mean function and covariance matrix depending on the block-diagonal structure . We call , defined as in (1), the softmax-gated block-diagonal MoE (SGaBloME) models with unknown functional parameters . Furthermore, when the weights and the means of the SGaBloME model are the functions depending on polynomials of the input variables which are specified, for , respectively, as
| (2) | ||||
| (3) |
Here, , and , are -tuples of unknown coefficients with the maximum degrees and of polynomials for the weight and mean functions, respectively, and is a vector of all components of with power . Then we call an SGaBloME model defined by (1) with the weights and mean experts specified as in (2)-(3) the polynomial SGaBloME model.
Motivation for block-diagonal covariance matrices.
It is worth mentioning that the block-diagonal covariance matrices depend on the block structures that are the partitions of the outputsโ index set for each cluster. This structure is not only a trade-off between the model complexity and sparsity but is also motivated by some real-world applications, where one wishes to perform prediction on data sets with heterogeneous observations and graph-structured hidden interactions between the outputs. A relevant example is the gene expression data where, subject to phenotypic response, genes interact with only a few other genes, there are small modules of correlated genes, see e.g.ย [14] for more details.
Motivation for polynomial regression.
To solve the high-dimensional regression problem, some authors applied SGaBloME models with certain simplifying assumptions. More specifically, Devijverย [13] focused on a mixture of Gaussian linear regression models where the gating networks do not depend on the input variables. On the other hand, Chamroukhi et al.ย [7] considered MoE for multiple regression models with the univariate output variable, however, the weights and means are linear functions of the inputs and thus the capacity of MoE models is limited. In fact, in the context of convolutional neural networks, Chen et al.ย [8] have empirically found that the mixture of linear experts performs better than a single expert, but is still significantly worse than the mixture of non-linear experts. Within this framework, we are motivated to integrate nonlinearities into SGaBloME models by defining the weights and mean experts as linear combinations of bounded functions (LinBo) whose coefficients belong to a compact set. Such a general setting may include the polynomial basis with a bounded input domain, the suitable re-normalized wavelet dictionaries, or the Fourier basis on an interval. If the dimensions of the inputs and outputs are not too large, it is not necessary to select relevant variables and/or use rank sparse models. Then we can work on the softmax-gated MoE models with the linear combinations of bounded functions for weight and mean functions as in [24] . However, to deal with high-dimensional data and simplify the interpretation of sparsity, we consider a special case of LinBo-SGaBloME models to explore the presence of nonlinearities that is the class of polynomial SGaBloME models defined by (1)-(3). On the convergence rates of polynomial SGaBloME models, we refer to [23] for a discussion of the optimal convergence rate of an MoE model where each expert is associated with a polynomial regression model.
Model selection for polynomial SGaBloME models.
The estimation of SGaBloME models can be performed by using a well-known expectation-maximization (EM) algorithm [11] , which obtains the global convergence in regression mixture models [18] . However, it crucially requires data-driven hyper-parameter choices, including the number of mixture components, the degree of complexity of each softmax gating network and each Gaussian expert mean function, and the hidden block-diagonal structures of the covariance matrices. Hyper-parameter choices from the data-driven learning algorithms belong to the class of model selection problems that select the model with the lowest risk from the data. Typically, penalization is one of the main strategies proposed for model selection that minimizes the sum of the empirical risk with a term of penalty so that the model can be fitted to data while avoiding the overfitting problem.
Related works.
Typically, model selection for MoE models is performed using the asymptotic criteriaย [31] ; [4] , whose uses in small samples are limited. Birgรฉ et al.ย [5] proposed a novel approach, called slope heuristic, supported by a non-asymptotic oracle inequality via a general model selection theorem, see [2] and the references therein for recent reviews. This method leads to an optimal data-driven choice of multiplicative constants for penalties. In fact, oracle inequalities for the least absolute shrinkage and selection operator (Lasso) [32] and general penalized maximum likelihood estimators were established in the spirit of the methods based on concentration inequalities developed by [20] . These results include work on the simplified assumptions of MoE models such as high-dimensional Gaussian graphical models [14] , Gaussian mixture model selection [21] , and finite mixture regression models [12] ; [13] , or softmax-gated MoE models with linear combinations of bounded functions for weight and mean functions without consideration of variable selection in the high-dimensional setting [24] .
1.1 Main contributions
In this work, we established an oracle inequality for model selection, as shown in Theoremย 1, under lower bound assumptions on penalty terms. This allows us to obtain non-asymptotic risk bounds in the form of weak oracle inequalities allowing the numbers of predictor and response variables that grow or are even much larger than the sample size. More concretely, the constructed oracle inequality shows that the performance of our penalized maximum likelihood estimations is comparable to that of oracle models with sufficiently large constant multiples of the penalties. The forms of these constants are only known up to multiplicative constants and are proportional to the dimensions of the models. Moreover, the flexibility of polynomial SGaBloME models requires the hyper-parameters comprising the number of mixture components, the degree of polynomial mean functions, and the potential hidden block-diagonal structures of the covariance matrices of the multivariate output. Therefore, the aforementioned theoretical justifications for the penalty shapes motivate the use of the heuristic slope criterion to select these hyper-parameters of the models under consideration.
1.1.1 Notations.
For any matrix with the elements , we denote the max-norm, and the column, of . Furthermore, the smallest and largest eigenvalues of are denoted by and , respectively. The notation indicates that is positive definite. For any vector , we denote the -norm of for . We call the total number of parameters to be estimated or the dimension of a parametric model . If is a finite set, we denote the cardinality, the set of all subsets, and the set of all partitions, of . The set of all natural numbers without zero is denoted by . For any , the notation corresponds to the set . Finally, we refer to as for .
1.1.2 Paper organization.
The rest of the paper is organized as follows. Sectionย 2 is devoted to the construction of a collection of polynomial SGaBloME models for high-dimensional heterogeneous data. In Sectionย 3, we state the main theoretical results of oracle inequality for the penalized maximum likelihood estimations under some conditions on the parameter space and input domain of the models. Finally, Sectionย 4 contains concluding remarks and future directions.
2 Collection of polynomial SGaBloME models
For high-dimensional data, it is necessary to work with parsimonious models by combining two well-known approaches: selection of relevant variables and rank sparse models. Within this framework, the collection of polynomial SGaBloME models is then constructed.
2.1 Variable selection via selecting relevant variables
In this section, we introduce the index sets for the input and output variables so that they are related to each other. This facilitates the variable selection of the models in a highly dimensional framework. In particular, for every , we call a couple irrelevant if the elements and for all cluster and degrees , . Therefore, the variables are relevant if they are not irrelevant. Formally, we denote the set of indices of irrelevant couples, and the complement of , called , is thus the set of indices of relevant couples with . In addition, we also denote the set of indices of input variables that are relevant to the outputs so that .
We notice that, for every cluster and degree , all entries of belonging to columns indexed by equal to , in other words, has the relevant columns indexed by . Hence, the matrix will have coefficients to be estimated, which are smaller than when all variables are considered. The number of parameters in the regression matrices is therefore considerably reduced when the cardinality of is much smaller than the number of input variables . The subsets or can be constructed by the Lasso [32] and has been extended to deal with multiple multivariate regression models for column sparsity using the Group-Lasso [33] .
2.2 Variable selection via rank sparse models
Anderson et al.ย [1] introduced rank sparse models in the regression framework which is if regression matrices have low rank or at least can be well approximated by low-rank matrices, then the corresponding regression models are said to be rank sparse. In the polynomial SGaBloME models, we assume that for every cluster and degree , the matrix has the associated rank and therefore it is completely determined by coefficients, which can be less than . Combined with the selection of relevant variables method, we denote a rank matrix by with the element for each .
2.3 Collection of polynomial SGaBloME models
So far, each polynomial SGaBloME model defined by (1)-(3) can be characterized by the set where is the number of clusters, and are the maximum degrees of polynomials of the weight and mean functions, respectively, is the set of the block-diagonal structures of the covariance matrices, is the set of relevant variables, and is the rank matrix of coefficient matrices. Let be a class of (conditional) densities of polynomial SGaBloME models with respect to , which is specified as
| (4) | ||||
for every . The collection of polynomial SGaBloME models defined in (4) is generally large and therefore not feasible in practice. Therefore, we restrict the set of to a finite set of where, for , . Accordingly, the collection of polynomial SGaBloME models on the deterministic set of hyper-parameters can be defined as
| (5) | ||||
Furthermore, because the block structures are specified by the partitions of the index set , the number of such structures follows the so-called Bell number, which grows exponentially even for a moderate number of variables and clusters . Therefore, it is infeasible to consider an exhaustive exploration of the combination of all the partitions to detect the block structures for covariance matrices. Motivated by the recent work of [14] , for a set of thresholds and on each cluster , we restrict our attention to the sub-collection of , where is the partition of the output variables corresponding to the block-diagonal structure of the adjacency matrix based on the thresholded absolute values of the sample covariance matrix . More formally, for each , if , otherwise it is equal to for . In fact, Mazumder et al.ย [22] have shown that the class of block-diagonal structures detected by the graphical Lasso algorithm is identical to the block-diagonal structures detected by the thresholding of the sample covariance matrices, which supports our motivation for this restriction.
For the set of relevant variables, we focus on a random subset of with the controlled size of required in the high-dimension case. Accordingly, the number of possible vectors of ranks is reduced by working on a random subset of , which is denoted by depending on with the dimension of and . As a result, the collection of polynomial SGaBloME models based on a random sub-collection of hyper-parameters can be specified as
| (6) | ||||
3 Main theoretical results
In this section, we begin by introducing conditions on the parameter space of the models and give an overview of loss functions that are useful for comparing two (conditional) probability density functions. A general principle of penalized maximum likelihood estimation is also derived. Next, we show a finite sample oracle inequality used to ensure that if we penalize the log-likelihood in an approximate approach, we are able to select a model that is as good as the oracle.
3.1 Boundedness conditions on the parameter space
By motivation of integrating the nonlinearities into SGaBloME models discussed in Sectionย 1, we consider the class of linear combinations of bounded functions for the weights and mean experts whose coefficients belong to compact sets with a bounded input domain. More specifically, we let be pairs of real-valued random variables where the covariates are assumed to belong to a hypercube, that is . Then, there exist the constants such that, for every ,
| (7) |
moreover, the eigenvalues of the block-diagonal covariances of the Gaussian experts lie on a positive interval, that is
| (8) |
This setting can be applied to the case of polynomial functions for the weights of the softmax gates and the means of the Gaussian experts as we described in (2)-(3). More generally, the oracle inequality provided by Theoremย 1 still holds for monomials of weights, allowing for the interaction between different inputs.
3.2 Loss function
To evaluate the maximum likelihood estimate, the Kullback-Leibler (KL) divergence is the most natural loss function, which is generally defined by
where and are two density functions. In our work, we will apply the tensorized KL divergence to capture the structure of the density functions conditional on the random variables , that is
Another case of the tensorized KL divergence is the tensorized Jensen-KL divergence [9] , which is given, for any , by
A relationship between the tensorized KL and the tensorized Jensen-KL divergence can be found in (10, Proposition 1).
3.3 Penalized maximum likelihood estimation (PMLE)
In the context of maximum likelihood estimation, given a collection , we aim to estimate by the conditional density that minimizes the negative log-likelihood (NLL) as
It is important to us to look for almost minimizer of this quantity and thereby define an -log-likelihood minimizer (LLM) that satisfies
| (9) |
where the error term is added to avoid any existence issue such as the infimum may not be reached. See (6, Chapter 2), [10] ; [9] ; [24] for more details of this literature. However, this approach underestimates the risk of the estimation and leads to the selection of overly complex models. Therefore, a trade-off between good data fit and model complexity can be found by adding an appropriate penalty term . More concretely, for a given choice of , the selected model is chosen as the one whose index is a -minimizer of the sum of the NLL and penalty function, that is
| (10) |
for . We then call the -PMLE that depends on both error terms and . From now on, the term selected model or best data-driven model is used to indicate the model that satisfies (10).
3.4 Oracle inequality
In this section, we provide the construction of an oracle inequality that guarantees a non-asymptotic theory for model selection in high-dimensional polynomial SGaBloME models.
Theorem 1.
Let be a random sample of where arises from the unknown conditional density . For every , the model can be specified by (4). Assume that there exists and such that, for all , one can find such that
| (11) |
Furthermore, we construct a random sub-collection of such that every model of depends on the sets of as in (5)-(6). Then, there is a constant such that, for any and , there are two constants and depending only on and such that, for every , , and
and the -PMLE defined in (10) on the subset satisfies
| (12) |
Remarks.
Theoremย 1 guarantees that a penalized criterion leads to a good model selection and that the penalty is only known up to multiplicative constants , and is proportional to the dimensions of the models . In particular, in the small and finite sample setting, these multiplicative constants can be calibrated using the slope heuristic approach. We notice that (11) is not a strong assumption and is satisfied in the case is bounded with compact support. This oracle inequality compares the performance of our PMLE with the best model in the collection. However, Theoremย 1 allows us to approximate well a rich class of conditional PDFs if we use polynomials of weights and Gaussian expert means of sufficient degrees, or enough clusters due to the universal approximation of MoE models. This results in the term on the right of (1) being small, for and well chosen. It should be emphasized that Theoremย 1 extends the main result of [24] , which is only valid for a full collection of LinBoSGaME models in the low-dimensional setting. Furthermore, in the context of MoE models, our non-asymptotic oracle inequality for SGaME models in Theoremย 1 can be seen as a complementary result to a classical asymptotic theory (17, Theorems 1, 2, and 3), and an oracle inequality that focuses on the properties of the Lasso estimator rather than the model selection procedure [29] .
Main challenges on the proof of Theoremย 1.
To prove Theoremย 1 it is inspired by [24] for handling LinBo-SGaME models, however, our method and most of the technical details differ. This is because their approach is not directly applicable to our high-dimensional SGaBloME models, due to restrictions on relevant predictor variables and rank reduction, and Gaussian experts with block-diagonal covariance matrices. In particular, the main difficulty in proving our oracle inequality lies in bounding the bracketing entropy for the collections of SGaBloME models. This requires several regularity assumptions, which are not easy to verify due to the complexity of SGaBloME models and technical reasons. Therefore, our proofs require the development of several new ideas. Furthermore, unlike [24] , which uses a model selection theorem for a deterministic collection of models from [10] ; [9] , we need to find a way to use the model selection theorem for MLE among a random sub-collection (cf. (12, Theorem 5.1) and (14, Theorem 7.3)). We refer readers to Sections S-1 and S-2 in the supplementary materials for a sketch of proof and detailed proof of Theorem 1.
4 Conclusion and perspectives
We have studied PMLEs for polynomial SGaBloME models in high-dimensional heterogeneous data. Our main contribution is to establish a non-asymptotic risk bound in the form of an oracle inequality, provided that lower bounds of the penalty hold. The future direction is to empirically evaluate our oracle inequality and to extend the current oracle inequality to more general settings where Gaussian experts are replaced by elliptic distributions.
References
- (1) Anderson, C.W., Stolz, E.A., Shamsunder, S.: Multivariate autoregressive models for classification of spontaneous electroencephalographic signals during mental tasks. IEEE Transactions on Biomedical Engineering 45(3), 277โ286 (1998) โฉ 2.2
- (2) Arlot, S.: Minimal penalties and the slope heuristics: a survey. Journal de la Sociรฉtรฉ Franรงaise de Statistique 160(3), 1โ106 (2019) โฉ 1
- (3) Bengio, Y.: Deep Learning of Representations: Looking Forward. In: Statistical Language and Speech Processing. pp. 1โ37. Springer Berlin Heidelberg, Berlin, Heidelberg (2013) โฉ 1
- (4) Biernacki, C., Celeux, G., Govaert, G.: Assessing a mixture model for clustering with the integrated completed likelihood. IEEE Transactions on Pattern Analysis and Machine Intelligence 22(7), 719โ725 (2000) โฉ 1
- (5) Birgรฉ, L., Massart, P.: Minimal penalties for Gaussian model selection. Probability Theory and Related Fields 138(1), 33โ73 (2007) โฉ 1
- (6) Borwein, J.M., Zhu, Q.J.: Techniques of Variational Analysis. Springer (2004) โฉ 3.3
- (7) Chamroukhi, F., Huynh, B.T.: Regularized maximum-likelihood estimation of mixture-of-experts for regression and clustering. In: 2018 International Joint Conference on Neural Networks (IJCNN). pp.ย 1โ8 (2018) โฉ 1
- (8) Chen, Z., Deng, Y., Wu, Y., Gu, Q., Li, Y.: Towards Understanding the Mixture-of-Experts Layer in Deep Learning. In: NeurIPS (2022) โฉ 1
- (9) Cohen, S.X., Le Pennec, E.: Partition-based conditional density estimation. ESAIM: Probability and Statistics 17, 672โ697 (2013) โฉ 3.2 3.3 3.4
- (10) Cohen, S., Le Pennec, E.: Conditional density estimation by penalized likelihood model selection and applications. Technical report, INRIA (2011) โฉ 3.2 3.3 3.4
- (11) Dempster, A.P., Laird, N.M., Rubin, D.B.: Maximum Likelihood from Incomplete Data via the EM Algorithm. Journal of the Royal Statistical Society. Series B 39(1), 1โ38 (1977) โฉ 1
- (12) Devijver, E.: Finite mixture regression: a sparse variable selection by model selection for clustering. Electronic Journal of Statistics 9(2), 2642โ2674 (2015) โฉ 1 3.4
- (13) Devijver, E.: Joint rank and variable selection for parsimonious estimation in a high-dimensional finite mixture regression model. Journal of Multivariate Analysis 157, 1โ13 (2017) โฉ 1
- (14) Devijver, E., Gallopin, M.: Block-diagonal covariance selection for high-dimensional Gaussian graphical models. Journal of the American Statistical Association 113(521), 306โ314 (2018) โฉ 1 2.3 3.4
- (15) Ho, N., Yang, C.Y., Jordan, M.I.: Convergence Rates for Gaussian Mixtures of Experts. Journal of Machine Learning Research 23(323), 1โ81 (2022) โฉ 1
- (16) Jacobs, R.A., Jordan, M.I., Nowlan, S.J., Hinton, G.E.: Adaptive mixtures of local experts. Neural Computation 3(1), 79โ87 (1991) โฉ 1
- (17) Khalili, A.: New estimation and feature selection methods in mixture-of-experts models. Canadian Journal of Statistics 38(4), 519โ539 (2010) โฉ 3.4
- (18) Kwon, J., Qian, W., Caramanis, C., Chen, Y., Davis, D.: Global convergence of the EM algorithm for mixtures of two component linear regression. In: COLT. vol.ย 99, pp. 2055โ2110. PMLR (2019) โฉ 1
- (19) Masoudnia, S., Ebrahimpour, R.: Mixture of experts: a literature survey. Artificial Intelligence Review 42(2), 275โ293 (2014) โฉ 1
- (20) Massart, P.: Concentration Inequalities and Model Selection: Ecole dโEtรฉ de Probabilitรฉs de Saint-Flour XXXIII-2003. Springer (2007) โฉ 1
- (21) Maugis, C., Michel, B.: A non asymptotic penalized criterion for Gaussian mixture model selection. ESAIM: Probability and Statistics 15, 41โ68 (2011) โฉ 1
- (22) Mazumder, R., Hastie, T.: Exact covariance thresholding into connected components for large-scale graphical lasso. The Journal of Machine Learning Research 13(1), 781โ794 (2012) โฉ 2.3
- (23) Mendes, E.F., Jiang, W.: On convergence rates of mixtures of polynomial experts. Neural Computation 24(11), 3025โ3051 (2012) โฉ 1
- (24) Montuelle, L., Leย Pennec, E., etย al.: Mixture of Gaussian regressions model with logistic weights, a penalized maximum likelihood approach. Electronic Journal of Statistics 8(1), 1661โ1695 (2014) โฉ 1 3.3 3.4
- (25) Nguyen, H.D., Chamroukhi, F.: Practical and theoretical aspects of mixture-of-experts modeling: An overview. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery 8(4), e1246 (2018) โฉ 1
- (26) Nguyen, H.D., Chamroukhi, F., Forbes, F.: Approximation results regarding the multiple-output Gaussian gated mixture of linear experts model. Neurocomputing 366, 208โ214 (2019) โฉ 1
- (27) Nguyen, H.D., Nguyen, T., Chamroukhi, F., McLachlan, G.J.: Approximations of conditional probability density functions in Lebesgue spaces via mixture of experts models. Journal of Statistical Distributions and Applications 8(1), ย 13 (2021) โฉ 1
- (28) Nguyen, T., Chamroukhi, F., Nguyen, H.D., McLachlan, G.J.: Approximation of probability density functions via location-scale finite mixtures in Lebesgue spaces. Communications in Statistics - Theory and Methods pp. 1โ12 (2022) โฉ 1
- (29) Nguyen, T., Nguyen, H.D., Chamroukhi, F., McLachlan, G.J.: An -oracle inequality for the Lasso in mixture-of-experts regression models. arXiv preprint arXiv:2009.10622 (2020) โฉ 3.4
- (30) Nguyen, T., Nguyen, H.D., Chamroukhi, F., McLachlan, G.J.: Approximation by finite mixtures of continuous density functions that vanish at infinity. Cogent Mathematics & Statistics 7(1), 1750861 (2020) โฉ 1
- (31) Schwarz, G., etย al.: Estimating the dimension of a model. The Annals of Statistics 6(2), 461โ464 (1978) โฉ 1
- (32) Tibshirani, R.: Regression shrinkage and selection via the lasso. Journal of the Royal Statistical Society: Series B 58(1), 267โ288 (1996) โฉ 1 2.1
- (33) Yuan, M., Lin, Y.: Model selection and estimation in regression with grouped variables. Journal of the Royal Statistical Society: Series B 68(1), 49โ67 (2006) โฉ 2.1