Theoretical Insights Into Multiclass Classification: A High-dimensional Asymptotic View
Christos Thrampoulidis, Samet Oymak, Mahdi Soltanolkotabi
Introduction
Multiclass classification is fundamental to a large number of real-world machine learning applications that demand the ability to automatically distinguish between thousands of different classes. Applications include essentially any problem with categorical outputs spanning natural language processing [SVL14], where a seq2seq decoder has to choose the correct word token, reinforcement learning [JGP16, MXSS20], where the agent has to choose the correct action, to recommendation systems, where the model should recommend the correct movie out of many other options. For instance, YouTube’s recommendation system is modeled as an extreme multiclass problem with more than a million classes where each video corresponds to a viable class [CAS16].
The growing list of applications motivate an in-depth exploration of multiclass classification algorithms. Despite their extensive use however, a precise understanding of the statistical properties and behavior of classification algorithms is still missing with many open questions: What is the total and per class test accuracy? How does this quantity depend on various problem parameters such as data distributions, problem dimensions, etc.? What is the highest test accuracy achievable by any algorithm? What is the best algorithm for each scenario? Which algorithm achieves the highest accuracy on rare or minority classes? How does the answer to the above question change in modern regimes where the number of classes is large?
Asymptotic analysis in modern high-dimensional regimes where the number of training data and feature sizes grow in tandem with each other provides a promising setting for precisely quantifying the accuracy of classification algorithms as a function of problem variables and resolving the questions above. However, despite the rich literature on precise high-dimensional estimation and more recently binary classification, multiclass classification is an under-explored venue possibly due to the difficulty of capturing the intricate dependencies between the classes even for relatively simple linear classifiers.
Contributions. We initiate a precise asymptotic study of linear multiclass classification in the modern high-dimensional regime, where the sizes of the training data and of the feature vectors grow large at a proportional rate. A key promise of such a precise analysis is that it allows us to accurately compare between different classification algorithms and data models. Compared to linear regression/binary classification, we identify the following crucial challenge: the test accuracy in multiclass classification relies on intricate cross-correlations between the trained weights of the classifier. This has two consequences that drive our analysis. First, in order to obtain sharp asymptotics on the test error of any classifier, it is a prerequisite to precisely quantify the asymptotics of these cross-correlations. Second, the test error does not depend on the correlations in closed-form expressions. Thus, to compare between different classifiers, we need efficient numerical and analytic means to evaluate the test error in terms of the correlation matrices. Interestingly, we show that these challenges are already present in simple classifiers, such as minimizing the square loss, and in stylized distributional settings, such as Gaussian features. Our contributions are as follows:
We study two different data models: a Gaussian Mixtures Model (GMM) and a Multinomial Logit Model (MLM) with Gaussian features. For each one of them, we provide a precise characterization of total and class-wise test accuracy for three different training algorithms: (i) a least-squares (LS) based classifier, (ii) a weighted least-squares (WLS) based classifier, and (iii) a simple per class averaging (Avg) estimator. For the least-squares based classifiers, we develop a new technique to overcome the technical challenge of characterizing the limiting behavior of the weights’ cross-correlations. For the per class averaging classifier, we show that it is Bayes optimal for a GMM with equal priors.
We discuss efficient means of evaluating the test accuracy as a function of the weights’ cross-correlations. This, together with the derived asymptotic formulae for the latter, lead to the first precise high-dimensional characterization of how the total/class-wise accuracy varies for different algorithms, data distributions, problem dimensions as well as number of classes, the inter/intra class correlations and class priors. For special problem geometries, we derive precise conditions on the data distribution and on the relative size of the training set over which each of the two studied algorithms dominates.
We present and discuss numerical simulations that corroborate our theoretical findings. For instance, with an eye towards making classification algorithms more fair/equitable, we use our precise characterization of the class-wise accuracy to demonstrate how different algorithms behave in the presence of rare/minority classes. We also empirically compare the algorithms studied in this paper to other popular losses such as cross-entropy minimization. This allows us to better understand the performance of various algorithms in modern regimes of large number of classes.
Related Work. There is a classical body of algorithmic work on multiclass classification, e.g., [CS01, LLW04, WW98, BB99, DB94] and several empirical studies of their comparative performance [RK04, Für02, ASS00, PM05]. A more recent extension of this line of work investigates the effect of the loss function in deep neural networks [HYS16, GCOZ17, KS18, BEH20, DCO20]. Algorithms for extreme multiclass problems with huge number of classes has also been studied in several [CAL13, YHR+16, RCY+19, KMS15] works. On the theory front, numerous works have investigated consistency [Zha04, LLW04, TB07, PSG13, PS16] and finite-sample behavior [KP+02, Gue02, ASS00, LLY+18, CKMY16, LDBK15, Mau16, LDZK19] of multiclass classification algorithms. Our work differs from this literature in that we are interested in precise characterizations of the test accuracy rather than order-wise bounds. Here we focus on linear classifiers, but we consider the modern high-dimensional regime in which both the sample size and the features’ dimension are large.
Specifically, our theoretical approach to linear multiclass classification fits in the rapidly growing literature on sharp high-dimensional asymptotics of convex optimization-based estimators [Don06, Sto09, OH10, CRPW12, ALMT13, DMM11, BM12, ALMT13, Sto13, OTH13, TOH15, Kar13, EK18, DM16, ORS17, TXH18, TAH18, MM18, WWM19, CM19, HL19, BKRS19, ASH19, JSH20]. Most of this line of work studies linear models and regression problems. More recently there has been a surge of interest in sharp analysis of a variety of methods tailored to binary classification models [TAH15, Hua17, CS18, SC19, MLC19b, MLC19a, KA20, SAH19, TPT20b, DKT19, MRSY19, LS20, KT20, MKLZ20, Lol20, TPT20a]. Nevertheless, none of these prior works have yet considered multiclass classification settings. Our paper unveils the salient features of the multiclass setting and shows that corresponding results from the binary setting do not directly apply here. We emphasize that this is the case even for seemingly simple one-vs-all (OVA) classifiers, such as minimizing the square-loss, that involve training a single binary classifier per class [RK04]. The key technical tool behind our sharp analysis is the convex Gaussian min-max Theorem (CGMT) [TOH15, Sto13]. However, a “naive" application of the CGMT on the original optimization of the classifier does not allow us to compute all the necessary correleations between the classfier’s weights to precisely capture the total/class-wise errors. Instead, our key idea is to formulate an artificial optimization problem, which captures the missing correlations and at the same time conveniently allows us to leverage the CGMT.
Problem formulation
Multinomial Logit Model (MLM). In this model we assume that feature vectors are distributed i.i.d. and that the conditional density of the class labels is given by the soft-max function. Concretely, we say that a data point (or its one-hot encoded representation ) follows the multinomial logit model when
2 Classification algorithms
Least-squares (LS). In this approach we train a linear classifier via a least-squares fit to the training data:
Class averaging (Avg). This approach uses the following weight and offset values
Weighted Least-squares (WLS). This is a variation of the Least-squares approach where we fit a weighted least squares loss of the form
3 Class-wise and total test classification error
Let denote the parameters of a trained classifier. Now consider a fresh data sample generated according to the same distribution as the training data. Once, we have learned the parameters of the classifier, the class predicted by the classifier is made by a winner takes it all strategy, as follows, Therefore, the classification error condition on the the true label being , which we shall refer to as the class-wise test error, is equal to
Correspondingly, the total classification error is given by
GMM. In model (2.1), the test error probability is explicitly given by
MLM. In model (2.2), the test error probability is explicitly given by
Calculating the class-wise/total misclassifcation errors. The identities (2.5) and (2.6) (see Section D.1 for a proof) as well as similar ones for the class-wise test error demonstrate that the total/class-wise errors only depend on the correlation matrices and , the offset values and the the class conditional means. For instance, as we show in the supplementary for GMM the class-wise errors are given by
4 High-dimensional regime
This paper derives sharp asymptotic formulae for the class-wise and total classification error of averaging and (weighted) LS algorithms for GMM and MLM. We defer all our proofs to the appendix. All our results hold in the following high-dimensional regime with finite .
We focus on a double asymptotic regime where at a fixed ratio .
For the (weighted) least-squares classifier, we focus here in the overdetermined regime . However, our approach is also directly applicable to regularized (or min-norm) LS/WLS in the overparameterized regime .
For a sequence of random variables that converges in probability to some constant in the limit above, we simply write . For a random vector/matrix / and a deterministic vector/matrix /, the expressions and are to be understood entry-wise.
Results for Gaussian Mixture Model
Consider data generated according to GMM in an asymptotic regime with any . For the averaging estimator discussed in Section 2.2, the following high-dimensional limits hold
The above result allows us to precisely characterize the behavior of the averaging estimator in the high-dimensional regime. Let us consider a few special cases.
after some algebraic manipulations the total classification error of the averaging estimator in this case is given by
where
2 Least-squares classifier
This section focuses on characterizing the intercepts and correlation matrices for the least-squares classifier. To present our results, we assume that the Grammian matrix has eigenvalue decomposition
with a diagonal positive-definite matrix and an orthonormal matrix obeying .
Consider data generated according to GMM in an asymptotic regime with . In addition to (3.2), define the following two positive (semi)-definite matrices: and Then, for the least-squares linear classifier the following limits are true asymptotically
The above result allows us to precisely characterize the behavior of the least-squares classifier in the high-dimensional regime. In Section G.2, we specialize (3.3) to the case of orthogonal means. Compared to the weight vectors of the class averaging classifier that are also (asymptotically) orthogonal when means are orthogonal, this is not the case for LS. We show next that these spurious correlations only hurt the classification error when classes are balanced.
Consider the case of orthogonal, equal energy-means , balanced priors and . Setting it holds that
Specifically, since , the averaging estimator strictly outperforms LS for all and in this setting.
3 Bayes estimator for the balanced Gaussian Mixture Model
Results for Multinomial Logit Model
Note that and are the first and second moments of the soft-max mapping of . In fact, for the MLM in (2.2) it holds that
since is distributed as . Thus, is the vector of class priors (which explains the slight abuse of notation here in relation to our notation for the class priors of the GMM).
Consider data generated according to MLM in an asymptotic regime with any . For the averaging classifier, the following high-dimensional limits hold
Using Gaussian decomposition in (2.6) and checking from (4.2) that the test error obtains the following explicit form:
2 Least-squares classifier
This section focuses on characterizing the intercepts and correlation matrices for the least-squares classifier. We also use the result to characterize conditions under which LS outperforms averaging.
Consider data generated according to MLM in an asymptotic regime with . Recall the notation in (4.1). For the LS classifier, the following high-dimensional limits hold.
It is interesting to observe that (4.4a) is identical to (4.2a). However, the cross-correlations in differ. We prove below that this leads to an improved performance of the LS classifier for large sample sizes. First, Theorem 4.2 can be used to check that
Thus, the only change in the test-error formula compared to (4.3) is the term substituted by the matrix above.
Assume orthogonal, equal-energy means , . Let
Numerical Results
Proof outline for least-squares: key ideas and challenges
In this section, we provide a proof sketch for the analysis of the multiclass least-squares (LS) classifier.
Specifically, we discuss our approach towards specifying the high-dimensional limits of the key quantities needed to evaluate the classification error: and, . For simplicity, we focus here on the performance of the LS classifier GMM. We note that our proofs for the MLM and the Weighted Least-Squares (WLS) classifiers follow the same general strategy, but in some parts require more involved and intricate analysis and derivations. Our proof follows the following general steps; see the appendix for complete details and derivations.
Step I: Decomposing the loss across classes. Recall from Section 2.2 that the multiclass LS classifier produces a linear classifier via a least-squares fit to the training data:
Notice that the objective function above is separable. That is,
Step II: Reduction to an Auxiliary Optimization (AO) problem via CGMT. To calculate the high-dimensional statistical behavior of (6.2) we use the Convex Gaussian min-max Theorem (CGMT) [Sto13, TOH15] framework. We provide a brief introduction of the CGMT machinery in Section 6.1. Roughly stated, this framework allows us to replace a Primary Optimization (PO) problem of the form (6.2) with an Auxiliary Optimization (AO) problem that is simpler to analyze, but is predictive of the behavior of the latter. For instance, for the PO in (6.2) in the GMM, after some algebraic manipulations, the AO problem takes the form
where and .
The CGMT is an extension of Gordon’s Gaussian min-max inequality (GMT) [Gor88]. In the context of high-dimensional inference problems, Gordon’s inequality was first successfully used in the study oh sharp phase-transitions in noiseless Compressed Sensing [Sto09, CRPW12, ALMT13, Sto09]. More recently, [Sto13] (see also [ALMT13, Sec. 10.3]) discovered that Gordon’s inequality is essentially tight for certain convex problems. A concrete and general formulation of this idea was given by [TOH15] and was called the CGMT.
In order to summarize the essential ideas, consider the following two Gaussian processes:
In [TAH18], the authors introduce a principled machinery that allows to (a) express a quite general family of convex inference optimization problems in the form of the PO and (b) properly analyze the corresponding AO. In particular, the analysis of the AO is performed in three intermediate steps. First, the (random) optimization over vector variables is simplified to an easier optimization over only few scalar variables, termed the “scalarized AO". After the scalarization step, it is possible to establish (uniform) convergence of the scalarized AO to a deterministic min-max optimization problem over only a few scalar variables. The convergence step is followed by the analysis of the latter deterministic problem, which leads to the desired asymptotic characterizations. Our proofs outlined in Section 6 follow this general strategy, but the new idea introduced in Step IV therein is key to capture the asymptotic behavior of the off-diagonal entries of .
Future Directions
This work aims at initiating a precise asymptotic study of multiclass classifiers that provides a promising setting for resolving a rich set of open questions regarding the (comparative) performance of classification algorithms as a function of the involved problem variables. As mentioned, even understanding the statistical performance of one-vs-all multiclass classifiers does not follow directly from the existing literature on binary classifiers. Extending the results of this paper to the one-vs-all logistic and SVM classifiers would allow for a principled comparison among these different choices. A possibly more challenging, albeit mathematically intriguing and practically relevant task, is characterizing the asymptotics of more complicated (non-separable) losses, such as the cross-entropy loss. For this, even characterizing the asymptotic behavior of the correlations requires new ideas. The previously mentioned study of “extreme multiclass classification" in which the number of classes is very large is another fascinating direction.
Acknowledgments
C. Thrampoulidis is partially supported by the NSF under Grant Numbers CCF-2009030 and HDR-1934641. S. Oymak is partially supported by the NSF award CNS-1932254. M. Soltanolkotabi is supported by the Packard Fellowship in Science and Engineering, a Sloan Research Fellowship in Mathematics, an NSF-CAREER under award , the Air Force Office of Scientific Research Young Investigator Program (AFOSR-YIP) under award FA, DARPA Learning with Less Labels (LwLL) and FastNICS programs, and NSF-CIF awards and .
References
Appendix A Additional Numerical Results
In this section, we provide further numerical experiments.
First, in Figure 5 we investigate the question: When does least-squares provably outperform averaging? Our Proposition 4.3 provides a fundamental transition point in sample complexity above which least-squares is provably better than averaging under MLM. In Figure 5, we visualize as a function of different number of classes as well as different levels of mean energy. Least-squares outperform averaging in the region below the lines displayed in Figure 5. Our key message is that least-squares work better when the sample complexity is higher and the problem is less noisy. As the number of classes increase, the problem becomes more difficult/noisy and we require a larger sample complexity to ensure classifier achieves a similar amount of accuracy as small . Following this intuition, as increases, shifts smaller due to larger sample requirement. Similarly energy directly controls the noise level of the problem, i.e., larger results in a larger signal-to-noise ratio. Thus, as we increase , increases as well because same test accuracy can be achieved with smaller sample size.
Appendix B Additional Results on Weighted Least-squares classifiers
We now focus on characterizing the intercepts/correlation matrices for the WLS classifier.
Surprisingly, the effect of the weights is essentially equivalent to adjusting the class priors from to defined in the theorem (modulo the extra additive term in the cross correlation matrix ). This shows that weighted LS has similar performance to an un-weighted LS applied to a model with different class priors . This characterization allows us to precisely understand how different weighting schemes can alter test accuracy for rare/minority classes.
B.2 WLS for MLM
Theorem B.2 predicts the asymptotic performance of weighted least-squares for data generated according to MLM.
The corresponding formula for the asymptotic limit of the cross-correlation matrix is given in (J.38) in Section J.
Appendix C Preliminaries
In this section we gather a few preliminary results that will be used later on in our proofs.
Let and such that for all :
Equivalently, letting ,
C.2 Gaussian integration by parts
The following result is a direct application of Gaussian integration by parts; for instance, see [FR13, Prop. 8.29].
The following is a corollary of Lemma C.2 applied to the soft-max function.
Let and random vector with entries:
Further recall the notation of and in (4.1). The following statements are true:
C.3 Block matrix inversion
Let be an invertible block matrix. Then
where is the Schur complement.
Appendix D Calculating and bounding the missclassification error
GMM. Starting from (2.4) and using the fact that , we have that
Recall that and note that is a zero-mean Gaussian vector with covariance matrix in order to conclude with the desired formula in (2.5).
D.2 Class-wise and total miss-classification error for GMM
The class-wise miss-classification error for GMM is given by
where the inequality in the rightmost expression applies entry-wise.
Further, by using the law of total probability we have
D.3 Class-wise and total miss-classification error for MLM
In this section, we derive an explicit formula for the class-wise error for MLM. Recall (2.6):
we can see from (D.5) that the class-wise error probabilities can be calculated as follows:
where is the entry of the vector in (4.1) and are defined in (D.6).
D.4 Evaluating and bounding tail probabilities of multivariate Gaussians
In Sections D.3 and D.2, we expressed the class-wise probability of missclassification error for both GMM and MLM in the following convenient form for ,
The formulation above is convenient both in our theoretical analysis, as well as, in simulations. In the rest of this section, we briefly discuss some relevant tools that allow to further simplify or bound expressions in the form of (D.8).
First, we discuss the case where the coefficient matrix and vector in (D.8) take the special form and . This special case appears in some of the stylized symmetric problem settings studied in this paper, such as classification problems with orthogonal and equally-balanced means.
D.4.2 Slepian’s bound
When the matrix does not have the special structure assumed by Lemma D.1, it is not possible in general to provide simple expressions as the one in (D.9). Yet, it might be possible to obtain upper bounds of the same simple form. Such simple bounds can be useful for theoretical interpretations of otherwise complicated formulae, or can provide efficient means for quick (but, non-tight) implementations.
In this section, we discuss Slepian’s inequality (see C.1) as a useful tool in this direction. Assume that To begin, note that where the inequality holds element-wise and equality is true for the diagonal elements. Then, one can apply Slepian’s Lemma C.1 to upper bound the conditional probability of error in (D.8) with the following simple bound:
In the second line above, we used the Gaussian decomposition of Lemma D.1.
D.4.3 Simple bounds for GMM
Union bound. Of course, it is also possible to apply (a simpler) union bound to upper bound the tail probability in (D.8). Here, we show explicitly the result of applying union bound to the class-wise error probabilities of the GMM. Specifically, consider (D.1). An application of the union bound leads to the following:
where in (D.11) are defined in (D.3) and in the last line we denote d_{\min}:=\min_{j\neq c}\big{\{}{-[\bm{t}_{c}]_{j}}\Big{/}{\sqrt{[\bm{S}_{c}]_{j,j}}}\big{\}}.
Unfortunately, this bound becomes non-trivial for the class-wise probability of error only if
Intuitively, this assumes a regime wherethe weight vector corresponding to class aligns better with the corresponding mean vector than the rest of the weight vectors This emphasizes the important role of the cross-correlation matrix (including the off-diagonals) for accurate performance prediction. For an illustration, we have implemented this bound and have compared it to our sharp predictions in Figure 7.
Appendix E The Class-averaging estimator
The first statement (3.1a) follows directly from the fact that For the next two statements note that
where in the last line we used orthogonality of the rows of the matrix :
To conclude simply use the facts that for all :
E.2 Proofs for MLM
Let us define and random vector with entries:
We will prove the following three statements:
These lead to (4.2) using Lemma C.3. Therefore, in what follows, we prove (E.4)
where . To deduce the first statement in (E.4a), note that .
We proceed similarly with the proof of the last statement in (E.4c) as follows:
Combining the last two displays results in (E.4b), as desired.
E.2.2 Orthogonal means
Specifically, (4.3) can be equivalently expressed as
Appendix F On the Bayes risk of GMM: Proof of Proposition 3.4
Without loss of generality in this proof we assume . The general result follows by simply replacing with and using the proof for . Recall that the feature vectors of the training data set are given by:
To arrive in (F.1) we used that and . Also, (F.2) follows by recognizing that is independent of the variable of integration and of the optimization variable . For the same reasons, in (F.3) we have ignored the normalizing term .
where we denote by the collection of training samples that belong to class , i.e.
With these the objective function of the ML rule in (F.3) becomes:
By completing the squares and invoking a gaussian integral it can be shown that
where and
For each one of the four terms in (F.8), we have the following by the CLT:
Therefore, in the asymptotic limit, the Bayes estimator is the solution to:
Appendix G Least-squares for GMM
Identifying the AO. To continue further note that by duality we have
Scalarization of the AO. For convenience, define
To continue, consider the singular value decomposition
We also define . In this notation, we have
Deterministic Analysis. Here, we analyze the deterministic scalar minimization on the RHS of (G.7). Define
First, note that the matrix is positive definite. This can be checked by computing the Schur complement of :
Setting the derivative with respect to to zero we arrive at
Plugging the latter into (G.12) we arrive at
Asymptotic predictions. First, from (G.11) the bias term converges as follows:
Adding the equations on the above displays we find that
Recognize that this coincides with the optimality condition for (G.16). Thus, the proof is complete.
The analysis of (G.16) is very similar to that of (G.1); thus, most details are omitted. Similar to (G.5) we can relate (G.16) with the following AO problem:
where is as in (G.8) and we have further defined
Thus, similar to (G.11) we can compute the minimizer of the deterministic objective in (G.19):
where recall that is as in (G.10).
Finally, using (G.1.2) and (G.15) in (G.17) it follows that
G.2 Orthogonal means
Here, we specialize the asymptotic predictions of Theorem 3.2 to the case of orthogonal means .
Then, the following asymptotic limits hold for the least-squares classifier, for all :
Furthermore, if the means have equal norms and the classes are balanced: , then, setting , it holds that
Proof This is a direct corollary of Theorem 3.2. Indeed, (G.24) can be derived from (3.3) after substituting and some algebra steps that we omit for brevity.
and applying Lemma (D.1), the probability of error is given by the advertised expression.
Appendix H Least-squares for MLM
Assume that are generated from the MLM.
Identifying the AO. To continue further note that by duality we have
where , and we denote
Recalling that note that
Further recall that for all , conditioned on
where we used (H.3) and the SVD decomposition of . In this notation, we can rewrite the PO as follows:
In the remaining, we focus in the inner minimization above. Let us denote
where the expectation is over (with some abuse of notation) and
Next, with an argument based on convexity and compactness similar to that in “Convergence analysis of the AO" in Section G it can be argued that the convergence above is uniform. Thus,
By direct differentiation and first-order optimality, we compute the optimal values as follows:
The analysis of (H.17) is almost identical to the analysis of (H.1) in the previous section. Specifically, without repeating all the details for brevity, it can be shown that the AO of (H.17) converges to the following (cf. (H.11):
where as before , only now (H.10) is modified to:
This shows (4.4b) after applying Gaussian integration by parts and expressing it in matrix form; see Lemma C.3.
H.2 Orthogonal means and equal-energy
Here, we use Theorem 4.2 to prove that, in contrast to the GMM, in the MLM under orthogonal and equal-energy means: LS outperforms the averaging classifier for large enough sample sizes. Assuming orthogonal means of equal energy :
Thus, similar to (4.3) and with the same notation,
H.3 Proof of Proposition 4.3
In (E.7) and (H.24), we showed the following limits for orthogonal means of equal-energy :
We compare the expression on the RHS in the above display by applying Lemma H.1 below with the following substitutions
such that and fixed . Then, the following statements are true.
For and any , it holds that .
Proof Fix any . Denote and for convenience. It can be checked that and . From these, it follows directly that
Next, we show the second statement. Using the distribution of and symmetry we have the following chain of equalities:
where in the last line we used the rotational symmetry of the Gaussian distribution:
and the fact that are independent.
Next, we will show that the function defined above is strictly decreasing in . Towards this goal, using and using the shorthand
we may compute the derivative of at any as follows:
Next, we use Gaussian integration by parts (GIBP) to further simplify the expression in (H.26). Fix any . Then, by (GIBP):
where in the second line, we used the fact that to compute
where in the penultimate line we used the fact that . Consider the two terms in (H.33). Clearly,
where, we have recalled (H.35) and (H.31). Using (H.37) in (H.36), we find that
From this, (H.26) and (H.27), we have shown that is strictly decreasing in . Recalling the definition of in (H.25), this implies that is strictly increasing in , as desired to complete the proof.
Appendix I Weighted LS for GMM (Proof of Theorem B.1)
To continue, consider the singular value decomposition
Since is dimensional in our asymptotic regime the term can be ignored. Also replacing with we thus arrive at
Setting the derivative with respect to to zero we arrive at
Plugging the latter into the above the AO simplifies to
To continue note that in our asymptotic regime we have
and the cross terms can be ignored so that in an asymptotic sense
To continue further we shall assume . Note that in this case
Deterministic Analysis of the AO. Setting the derivative of the above with respect to to zero we arrive at
Note that the above objective has the form
Thus setting the derivatives with respect to and to zero, we have
Combining the latter two we conclude that . Thus, is the solution to . To calculate and hence we calculate which is equal to
Now note that at the optimal point we have
Thus the AO optimization problem reduces to
First, note that the matrix is positive definite. This can be checked by computing the Schur complement of :
Asymptotic predictions. First, from (I.7) the bias term converges as follows:
Adding the equations on the above displays we find that
Recognize that this coincides with the optimality condition for (I.13). Thus, the proof is complete.
The analysis of (I.13) is very similar to that of (G.1). In particular we use the following decomposition
Setting the derivative of the above with respect to to zero we arrive at
Note that the above objective has the form
Thus, the derivatives with respect to and to zero we have
Combining the latter two we conclude that . Thus, is the solution to . To calculate and hence we calculate which is equal to
Now note that at the optimal point we have
Thus, similar to (I.10) we can compute the minimizer of the deterministic
Finally, using (I.2) and (I.1) in (I.14) it follows that
Let us end by simplifying to this aim
Thus, defining we have
Using the above and recalling we arrive at
Using the above the cross-correlation matrix is given by
Appendix J Weighted LS for MLM (Proof of Theorem B.2)
Let be a diagonal matrix with non-zero diagonal entries. In particular, assume that the diagonal entries of are distributed where the random variable may depend on the entries of the matrix of response variables . Here, we focus on the following setting:
, and
where is as in (J.1). In fact, it is convenient to rewrite the above as follows:
Identifying the AO. The PO in (J.3) is very similar to (H.1). In particular, following step by step the same decomposition trick as in Section G.1.1, it can be shown that the AO corresponding to (J.3) becomes (cf. (H.6))
Note that the resulting minimization is convex in and concave in . Also, by considering the bounded AO (such that is bounded; see [DKT19, Sec. A]), we can flip the order of min-max and optimize over first. In particular, minimizes the following strictly convex quadratic
Putting things together, the new objective function of (J.5) becomes
where the expectation is over (with some abuse of notation) and
Thus, at optimality either or . In what follows, consider the solution . We will show that this leads to the true saddle point of .
Rearranging (J.13) and using gives the following equation for :
where we have also used the RHS of (J.14). Next, we specialize these findings to the special structure of the weighting matrix in (J.1).
Applying weighting (J.1). Assume (J.1) holds. In this case, Equation (J.14) that determines the value of becomes
Also, in this case we can write (J.11) in the following more convenient form:
Because of (J.16), notice that is a probability vector, i.e.
Using (J.30) and (J.31), we conclude from (J.12) the following expressions for and :
Finally, we show how to compute using (J.15). The RHS in (J.15) can be computed as
Put together, we have the following expression for :
Asymptotic Predictions. Writing (J.24) in vector form we find that
Further recall the matrix in (J.27).
Thus, what changes in the calculations above is in (J.18) and (J.35), where we now have instead