Learning Mixtures of Sparse Linear Regressions Using Sparse Graph Codes
Dong Yin, Ramtin Pedarsani, Yudong Chen, Kannan Ramchandran

TL;DR
This paper introduces a novel algorithm called Mixed-Coloring for efficiently estimating and demixing mixtures of sparse linear regressions, leveraging coding theory to achieve near-optimal sample and computational complexities, especially in noisy settings.
Contribution
The paper presents a new coding-theoretic approach and algorithm for mixture of sparse linear regressions that improves efficiency and accuracy over existing methods.
Findings
Achieves order-optimal sample and time complexity in noiseless settings.
Near-optimal sample and time complexity for two-component mixtures in noisy settings.
Significantly faster than EM algorithm in experiments with large dimensions.
Abstract
In this paper, we consider the mixture of sparse linear regressions model. Let be unknown sparse parameter vectors with a total of non-zero coefficients. Noisy linear measurements are obtained in the form , each of which is generated randomly from one of the sparse vectors with the label unknown. The goal is to estimate the parameter vectors efficiently with low sample and computational costs. This problem presents significant challenges as one needs to simultaneously solve the demixing problem of recovering the labels as well as the estimation problem of recovering the sparse vectors . Our solution to the problem leverages the connection between modern coding theory and statistical inference. We introduce a new algorithm, Mixed-Coloring,…
| Parameter | Description | |||
| error fraction | ||||
| left degree of bipartite graph | ||||
| number of type-I / type-II index measurements in each bin | ||||
| number of verification measurements in each bin | ||||
| number of bins | ||||
| total number of measurements, |
| Parameter | Description | Choice |
|---|---|---|
| error fraction | ||
| left degree of bipartite graph | ||
| number of repetitions of each query vector | ||
| number of binary indexing vectors in each bin | ||
| number of verification vectors in each bin | ||
| number of summation check vectors in each bin | ||
| number of bins | ||
| total number of measurements |
| Problem type | |||
|---|---|---|---|
| Sparse | |||
| Dense | |||
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ||
| 6.7 | 8.7 | 1.9 | 3.1 | 5.1 | 1.6 | 0.5 | 7.4 | ||
| 2.95 | 3.17 | 3.23 | 3.46 | 3.71 | 3.78 | 3.86 | 4.37 | ||
| 4 | 4 | 4 | 3 | 3 | 3 | 3 | 3 | ||
| 4 | 3 | 3 | 4 | 3 | 3 | 3 | 2 | ||
| 35.4 | 34.87 | 35.53 | 34.6 | 33.39 | 34.02 | 34.74 | 34.96 | ||
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ||
| 4.4 | 5.2 | 2.7 | 9.2 | 8.8 | 2.8 | 6.2 | 2.3 | ||
| 1.94 | 2.08 | 2.17 | 2.39 | 2.52 | 2.56 | 2.76 | 2.81 | ||
| 7 | 6 | 6 | 5 | 5 | 5 | 5 | 5 | ||
| 7 | 7 | 6 | 6 | 5 | 5 | 4 | 4 | ||
| 40.74 | 39.52 | 39.06 | 38.24 | 37.80 | 38.4 | 38.64 | 39.34 | ||
| 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | ||
| 7.8 | 8.7 | 8.1 | 5.6 | 4.2 | 3.3 | 4.0 | 5.0 | ||
| 1.48 | 1.59 | 1.68 | 1.76 | 1.85 | 1.93 | 2.04 | 2.16 | ||
| 9 | 9 | 8 | 8 | 7 | 7 | 7 | 6 | ||
| 11 | 8 | 8 | 7 | 8 | 7 | 6 | 7 | ||
| 42.92 | 41.34 | 40.32 | 40.48 | 40.7 | 40.53 | 40.8 | 41.04 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Sparse and Compressive Sensing Techniques · Advanced biosensing and bioanalysis techniques
Learning Mixtures of Sparse Linear Regressions Using Sparse Graph Codes
Dong Yin
Ramtin Pedarsani
Yudong Chen
and Kannan Ramchandran D. Yin and K. Ramchandran are with the Department of EECS at UC Berkeley, email: {dongyin, kannanr}@eecs.berkeley.edu.R. Pedarsani is with the Department of ECE at UC Santa Barbara, email: [email protected]. Chen is with the School of ORIE at Cornell University, email: [email protected] paper was presented in part at IEEE 55th Annual Allerton Conference on Communication, Control, and Computing, 2017.
Abstract
In this paper, we consider the mixture of sparse linear regressions model. Let be unknown sparse parameter vectors with a total of non-zero elements. Noisy linear measurements are obtained in the form , each of which is generated randomly from one of the sparse vectors with the label unknown. The goal is to estimate the parameter vectors efficiently with low sample and computational costs. This problem presents significant challenges as one needs to simultaneously solve the demixing problem of recovering the labels as well as the estimation problem of recovering the sparse vectors .
Our solution to the problem leverages the connection between modern coding theory and statistical inference. We introduce a new algorithm, Mixed-Coloring, which samples the mixture strategically using query vectors constructed based on ideas from sparse graph codes. Our novel code design allows for both efficient demixing and parameter estimation. To find non-zero elements, it is clear that we need at least measurements, and thus the time complexity is at least . In the noiseless setting, for a constant number of sparse parameter vectors, our algorithm achieves the order-optimal sample and time complexities of . In the presence of Gaussian noise,111The proposed algorithm works even when the noise is non-Gaussian in nature, but the guarantees on sample and time complexities are difficult to obtain. for the problem with two parameter vectors (i.e., ), we show that the Robust Mixed-Coloring algorithm achieves near-optimal sample and time complexities. When for some constant (i.e., is sublinear in ), we can achieve sample and time complexities both sublinear in the ambient dimension. In one of our experiments, to recover a mixture of two regressions with dimension and sparsity , our algorithm is more than times faster than EM algorithm, with about one third of its sample cost.
I Introduction
Mixture and latent variable models, such as Gaussian mixtures and subspace clustering, are expressive, flexible, and widely used in a broad range of problems including background modeling [1], speaker identification [2] and recommender systems [3]. However, parameter estimation in mixture models is notoriously difficult due to the non-convexity of the likelihood functions and the existence of local optima. In particular, it often requires a large sample size and many re-initializations of the algorithms to achieve an acceptable accuracy.
Our goal is to develop provably fast and efficient algorithms for mixture models—with sample and time complexities sublinear in the problem’s ambient dimension when the parameter vectors of interest are sparse—by leveraging the underlying low-dimensional structures.
In this paper we focus on a powerful class of models called mixtures of linear regressions [4]. We consider the sparse setting with a query-based algorithmic framework. In particular, we assume that each query-measurement pair is generated from a sparse linear model chosen randomly from possible models:222We use to denote the conjugate transpose of . In this paper, for any positive integer , denotes the set .
[TABLE]
where is noise. Here, the probability is also called the mixture weight of , and they satisfy . The total number of non-zero elements in the parameter vectors is assumed to be . The goal is to estimate the ’s, without knowing which generates each query-measurement pair. We also note that when , we recover the compressive sensing problem that has been extensively studied in recent years [5, 6].
A mixture of regressions provides a flexible model for various heterogeneous settings where the regression coefficients differ for different subsets of observations. This model has been applied to a broad range of tasks including medicine measurement design [7], behavioral health care [8] and music perception modeling [9]. Here, we study the problem when the query vectors can be designed by the user; in Section I-B we discuss several practical applications that motivate the study of this query-based setting. Our results show that by appropriately exploiting this design freedom, one can achieve significant reduction in the sample and computational costs.
To recover unknown non-zero elements, the number of linear measurements needed scales at least as . The corresponding time complexity is also at least , which is the time needed to write down numbers as the solution. We introduce a new algorithm, called the Mixed-Coloring algorithm, that matches these sublinear sample and time complexity lower bounds. The design of query vectors and decoding algorithm leverages ideas from sparse graph codes such as low-density parity-check (LDPC) codes [10]. For any , our algorithm recovers the parameter vectors with optimal sample and time complexities in the noiseless setting, both in theory and empirically. In the noisy setting, for compressive sensing problems (i.e., ), it is known from an information-theoretic point of view that the optimal sample complexity is [11, 12]. In this work, we show that when the noise is Gaussian distributed, , and the non-zero elements take value in a finite quantized set, the Robust Mixed-Coloring algorithm has sample and time complexities. Since our problem is harder than compressive sensing, the sample and time complexities of our algorithm are optimal up to polylogarithmic factors. When for some , the sample and time complexities are sublinear in the ambient dimension . In noisy setting with continuous-valued parameter vectors, we provide experimental results and show that our algorithm can successfully recover the best quantized approximation of the parameter vectors, provided that the continuous-valued parameter vectors are close to the quantized grid in norm333In Section VI, we formally define the perturbation of the continuous-valued parameter vector with respect to the quantized alphabet. The notion of perturbation essentially measures the distance between the continuous-valued parameter vector and the quantized grid in norm.. Prior literature on this problem that does not utilize the design freedom typically have sample and time complexities that are at least polynomial in ; we provide a survey of prior work and a more detailed comparison in Section III. Empirically, we find that our algorithm is orders of magnitude faster than standard Expectation-Maximization (EM) algorithms for mixture of regressions. For example, in one of our experiments, detailed in Section VI, we consider recovering a mixture of two regressions with dimension and sparsity ; our algorithm is more than times faster than EM algorithm, with about of its sample cost.
I-A Algorithm Overview
Our Mixed-Coloring algorithm solves two problems simultaneously: (i) rapid demixing, namely identifying the label of the vector that generates each measurement ; (ii) efficient identification of the location and value of the non-zero elements of the ’s. The main idea is to use a divide-and-conquer approach that iteratively reduces the original problem into simpler ones with much sparser parameter vectors. More specifically, we design sets of sparse query vectors, with each set only associated with a subset of all the non-zero elements. The design of the query vectors ensures that we can first identify the sets which are associated with a single non-zero element (called singletons), and recover the location and value of that element (motivated by a balls-and-bins model that we utilize for designing our measurements, we call them singleton balls, shown as shaded balls in Figure 1(b)). We further identify the pairs of singleton balls which have the same (but unknown) label, indicated by the edges in Figure 1(b). Results from random graph theory guarantee that, with high probability, the largest connected components (giant components) of the singleton graph have different labels, and thus we recover a fraction of the non-zero elements in each , as shown in Figure 1(c). We can then iteratively enlarge the recovered fraction with a guess-and-check method until finding all the non-zero elements. We revisit Figure 1 when describing the details of our algorithm in Section IV.
I-B Motivation
Our problem is a natural extension of the setting of compressive sensing, in which one often has full freedom of designing query vectors in order to estimate a sparse parameter vector. In many applications, the unknown sparse parameter vector can be affected by latent variables, leading to a mixture of sparse linear regressions, and these scenarios have been observed in neuroscience [13], genetics [14], psychology [7], etc. Here, we provide a concrete example motivated by neuroscience applications. In neural signal processing, sensors are used to measure the brain activities, represented by an unknown sparse vector . The sensors can be modeled as digital filters, and one can design the linear filter weights (’s) when measuring the neural signal. Multiple sensors are usually placed in a particular area of the brain in order to acquire enough compressed measurements. However, there may be more than one neuron affecting a particular area of the brain, as shown in Figure 2, and different neurons may have different activities, corresponding to the ’s. Consequently, each sensor may be measuring one of several different sparse signals. Further, if we use the sensors multiple times, a single sensor may even obtain measurements that are generated by different neurons, since neurons are different depths may be active during different time periods. Thus, the problem can be formulated as a mixture of sparse linear regressions. Variants of this problem, such as neural spike sorting [13], have been studied in neuroscience. While the common solution is to use clustering algorithms on the spike signals, we believe that our algorithm provides the potential of improving sensor design and reducing sample and time complexities.
In addition, our work adds the intellectual value of the power of design freedom in tackling sparse mixture problems by highlighting the significant performance gap between algorithms that can exploit the design freedom and those that cannot. We also believe that our ideas are applicable more broadly for other latent-variable problems that require experimental designs, such as survey designs in psychology with mixed type of respondents and biology experiments with mixed cell interior environments.
I-C Organization
We summarize our main results in Section II, discuss related works in Section III, present the details of our algorithm in the noiseless and noisy settings in Sections IV and V, respectively, provide experimental results in Section VI, and make conclusions in Section VII.
II Main Results
In this section, we present the recovery guarantees for the Mixed-Coloring algorithm, and provide bounds on its sample and time complexities. We assume there are unknown -dimensional parameter vectors . Each has non-zero elements, i.e., . Let be the total number of non-zero elements. Using the query vectors , the Mixed-Coloring algorithms obtains measurements , generated independently according to the model (1), and outputs an estimate , of the unknown parameter vectors. We defer more details to Sections IV and V.
Our results are stated in the asymptotic regime where and approach infinity. A constant is a quantity that does not depend on and , with the associated Big-O notations and . We assume that is a known and fixed constant, and the mixture weights satisfy for each and thus are of the same order. Similarly, the sparsity levels of the parameter vectors are also of the same order with .
II-A Guarantees for the Noiseless Setting
In the noiseless case, i.e., , we consider for generality the complex-valued setting with (our results can be easily applied to real case). We make a mild technical assumption, which stipulates that if any pair of parameter vectors have overlapping support, then the elements in the overlap are different.
Assumption 1**.**
For each pair , and each index , we have .
We need this assumption due to our element-wise recovery strategy. However, this assumption is mild in practice. In particular, in the noiseless case, if the non-zero elements are generated from some continuous distribution, it is a measure zero event that two elements at the same coordinate share exactly the same value. Under the above setting, we have the following recovery guarantees for the Mixed-Coloring algorithm.
Theorem 1**.**
Consider the asymptotic regime where and approach infinity. Under Assumption 1, for any fixed constant , there exists a constant such that if the number of measurements is , then the Mixed-Coloring algorithm guarantees the following three properties for each (up to a label permutation):
(No false discovery) For each , equals either or [math]; for each , . 2. 2.
(Support recovery)
[TABLE] 3. 3.
(Element-wise recovery) For each ,
[TABLE]
Moreover, the computational time of the Mixed-Coloring algorithm is .
As we can see, to recover an arbitrarily large fraction of the non-zero elements, our Mixed-Coloring algorithm has order-optimal sample and time complexities. More specifically, the first property ensures that Mixed-Coloring algorithm has no false discovery: for zero elements in the parameter vectors, our algorithm does not produce non-zero estimates, and for non-zero elements, our algorithm outputs either the true value or zero. The second property ensures that the Mixed-Coloring algorithm recovers fraction of the non-zero elements with high probability. The third property ensures that for each non-zero element, the probability that it can be recovered is asymptotically at least . In fact, the recovered fraction of the non-zero elements is uniformly distributed on the support of the parameter vectors.
The error fraction is an input parameter to algorithm, and can be made arbitrarily close to zero by adjusting the oversampling ratio . By more careful analysis, one can show that the dependence of on is (see the proof of Lemma 6 in Appendix A). Thus, when approaches [math], the sample and time complexities grow slowly as . Here, since we set as a constant, we hide this dependence in the constant . Given the number of components , mixture weights and the target , the value of the constant can be computed numerically. Table I gives some of the values for several and , under the setting . We see that the value of is quite modest. More details of computing the constants in the sample complexity can be found in Appendix B.
We can in fact boost the above guarantee to recover all the non-zero elements, by running the Mixed-Coloring algorithm times independently and aggregating the results by majority voting. By property 2 in Theorem 1 and a union bound argument, this procedure exactly recovers all the parameter vectors with probability with sample and time complexities.
II-B Guarantees for the Noisy Setting
An extension of the previous algorithm, Robust Mixed-Coloring, handles noise in the measurement model (1), in the case of two parameter vectors which appear equally likely, i.e., and , . Many interesting applications have binary latent factors: gene mutation present/not, gender, healthy/sick individual, children/adult, etc; see also the examples in [4, 9, 15]. We would like to mention that our goal is to design a query-based algorithm that can simultaneously conduct fast demixing and robust estimation in the presence of noise. Even if there are only two possible parameter vectors, achieving this goal is highly non-trivial, and we believe that our framework provides useful intellectual insights to this problem. Extending our results to the setting with is an important and interesting direction, and we leave it to future work.
The noise is assumed to be i.i.d. Gaussian with mean zero and constant variance . We note that the Gaussian noise assumption is mainly for theoretical reason. As one can see in Subsection V-B, our algorithm uses EM algorithm as a subroutine to estimate the component means of a mixture of two random variables. The analysis of EM algorithm is known to be hard due to the non-convexity of the likelihood functions. For simplicity, in this paper we assume that the noise is Gaussian and employ the recent convergence results on EM algorithm for two-component Gaussian mixtures in [16]. Since EM algorithm is widely used for non-Gaussian noise and is shown to have good performance in many applications, we believe that our algorithm can work well in practice even if the noise is not Gaussian distributed.
In the noisy setting, we make an additional assumption that the non-zero elements in the parameter vectors take value in a finite quantized set.
Assumption 2**.**
The non-zero elements of the parameter vectors satisfy , where
[TABLE]
The positive constants and are known to the algorithms.
Here, we note that this assumption is mild in practice. As mentioned in Theorem 2, the quantization step size can be as small as a constant multiple of the standard error of the noise, and this quantization step size should be small enough for most applications. In fact, for continuous-valued parameter vectors, in the noisy setting, it is fundamental that the non-zero elements can only be recovered up to certain precision. Moreover, in our empirical results in Section VI, the Robust Mixed-Coloring algorithm works even when the assumption is violated. In this case, the algorithm produces the best quantized approximation to the unknown parameter vectors, provided that they are not too far off the quantized set. We would also like to mention that it is a major challenge to develop algorithms with sublinear complexity and provable guarantees in noisy settings of sparse mixed regression, even with the assumption of quantized non-zero elements. Thus, even with this mild simplifying assumption, our work demonstrates a significant progress. Establishing strong theoretical guarantees for a fast recovery algorithm with sublinear sample and time complexities for the continuous alphabet setting remains to be an open problem..
When the quantization assumption holds, exact recovery is possible, as guaranteed in the following theorem. The Robust Mixed-Coloring algorithm maintains sublinear sample and time complexities, and recovers the parameter vectors in the presence of i.i.d. Gaussian noise.
Theorem 2**.**
Consider the asymptotic regime where and approach infinity. Suppose that the noise in the measurements are i.i.d. Gaussian distributed with mean [math] and variance , and that . When and Assumptions 1 and 2 hold, if the number of measurements is , then, the Robust Mixed-Coloring algorithm guarantees the following three properties for each (up to a label permutation):
(No false discovery) With probability at least , for each , equals either or [math]; for each , . 2. 2.
(Support recovery)
[TABLE] 3. 3.
(Element-wise recovery) For each ,
[TABLE]
Moreover, the computational time of the Robust Mixed-Coloring algorithm is .
We can make similar remarks as in the noiseless case: 1) with high probability, the Robust Mixed-Coloring has no false discovery, 2) the algorithm can recover an arbitrarily large fraction of the supports, and 3) each element is recovered with probability asymptotically at least . As we can see, the sample and time complexities of the Robust Mixed-Coloring algorithm are both , and thus, when for some , we can achieve sublinear sample and time complexities in the ambient dimension . We also note that, Assumption 1 is still needed in the noisy setting, i.e., the two parameter vectors differ at overlapping support. This assumption can still be mild in the sublinear regime where . In particular, if the supports of the two parameter vectors are independently drawn from certain distributions, then the probability that the two parameter vectors have overlapping supports vanishes as approaches infinity. As for the dependence on , we again note that when approaches [math], the sample and time complexities grow slowly as . Here, since we set as a constant, we hide this dependence in the big-O notation.
Similar to the noiseless case, by running the Robust Mixed-Coloring algorithm times, one can exactly recover the two parameter vectors with probability . In this case, the sample and time complexities are , and further, if we assume that for some constant , we can still conclude that the sample and time complexities for full recovery are .
III Related Work
III-A Mixture of Regressions
Parameter estimation using the expectation-maximization (EM) algorithm is studied empirically in [17]. In [18], an -penalized EM algorithm is proposed for the sparse setting. Theoretical analysis of the EM algorithm is difficult due to non-convexity. Progress was made in [19], [16], and [20] under stylized Gaussian settings with dense , for which a sample complexity of is proved given a suitable initialization of EM. The algorithm uses a grid search initialization step to guarantee that the EM algorithm can find the global optimal solution, with the assumption that the query vectors are i.i.d. Gaussian distributed. The time complexity is polynomial in . An alternative algorithm is proposed in [15], which achieves optimal sample complexity, but has high computational cost due to the use of semidefinite lifting. The algorithm in [21] makes use of tensor decomposing techniques, but suffers from a high sample complexity of . In comparison, our approach has near-optimal sample and time complexities by utilizing the potential design freedom. The classification version of this problem has also been studied in [22].
III-B Coding-theoretic Methods and Group Testing
Many modern error-correcting codes such as LDPC codes and polar codes [23] with their roots in communication problems, exploit redundancy to achieve robustness, and use structural design to allow for fast decoding. These properties of codes have recently found applications in statistical problems, including graph sketching [24], sparse covariance estimation [25], low-rank approximation [26], and discrete inference [27]. Most related to our approach is the work in [28, 29, 30, 31], which apply sparse graph codes with peeling-style decoding algorithms to compressive sensing and phase retrieval problems. In our setting we need to handle a mixture distribution, which requires more sophisticated query design and novel demixing algorithms that go beyond the standard peeling-style decoding.
Another line of work relevant to our scheme is designing measurements in group testing [32] via error correcting codes and expander graphs [33, 34, 35, 36]. These results bear some similarities to our algorithm as they also exploit linear sketches of data for efficient sparsity pattern recovery. Our scheme differs from these works since we tackle problems in real and complex fields, whereas in group testing problems one consideres binary OR operations. In addition, we aim to solve the demixing problem in sparse recovery, and this is a more challenging task that has not been studied in the context of group testing.
III-C Combinatorial and Dimension Reduction Techniques
Our results demonstrate the power of strategic query and coding theoretic tools in mixture problems, and can be considered as efficient linear sketching of a mixture of sparse vectors. In this sense, our work is in line with recent works that make use of combinatorial and dimension reduction techniques in high-dimensional and large scale statistical problems. These techniques, such as locality-sensitive hashing [37], sketching of convex optimization [38], and coding-theoretic methods [39], allow one to design highly efficient and robust algorithms applicable to computationally challenging datasets without compromising statistical accuracy.
IV Mixed-Coloring Algorithm for Noiseless Recovery
In this section, we provide details of the Mixed-Coloring algorithm in the noiseless setting. We first provide some primitives that serve as important ingredients in the algorithm, and then describe the design of query vectors and decoding algorithm in detail.
IV-A Primitives
The algorithm makes use of four basic primitives: summation check, indexing, guess-and-check, and peeling, which are described below.
Summation Check: Suppose that we generate two query vectors and independently from some continuous distribution on , and a third query vector of the form . Let , , and be the corresponding measurements. We check the sum of the measurements and in the noiseless case, if , then we know that these three measurements are generated from the same parameter vector almost surely. In this case we call a consistent pair of measurements as they are from the same (the third measurement is now redundant).
Indexing: The indexing procedure is to find the locations and values of the non-zero elements by carefully designed query vectors. In the noiseless case, this can be done by suitably designed ratio tests. We sketch the idea of ratio test here. Consider a consistent pair of measurements and corresponding query vectors . We design the query vectors such that the information of the locations of the non-zero elements is encoded in the relative phase between and . In particular, we generate i.i.d. random variables uniformly distributed on the unit circle. Letting where is the imaginary unit, we set the -th entries of and to be either , or and . (The locations of the zeros are determined using sparse-graph codes and discussed later.) Below is an example of such a consistent pair of measurements and the corresponding linear system:
[TABLE]
Suppose that is -sparse and of the form . There is only one non-zero element, , that contributes to the measurements and . In this case the consistent measurement pair is called a singleton. A singleton can be detected by testing the integrality of the relative phase of the ratio . In the above example, since and , we observe that and the relative phase is an integral multiple of . We therefore know that with probability one, this consistent pair is a singleton, and moreover the corresponding non-zero element is located at the -rd coordinate with value . In general, for a consistent measurement pair , if we observe that and the relative phase for some nonnegative integer , then, we know that this consistent pair is a singleton, and the corresponding non-zero element is located at the -th coordinate with value . We would like to remark that the indexing step can also be done using real-valued query vectors.
Guess-and-check and Peeling: After the ratio tests, we have already found some singletons, i.e., consistent pairs that are only associated with a single non-zero element. Ideally, we would like to iteratively reduce the problem by subtracting off recovered elements, in a Gaussian elimination-like manner, and find other non-zero elements. However, although we have recovered the locations and values of some non-zero elements, we still do not know their labels, and the uncertainty in the labels brings additional difficulty to the problem. To resolve this issue, we use a guess-and-check strategy. In the example above, suppose instead that is -sparse, i.e., , in which case the consistent pair
[TABLE]
is associated with two non-zero elements of . Suppose that, in a previous iteration of the algorithm we have recovered the location and value of . At this point, we only know that this non-zero element is located at the second coordinate, and has value (), but we do not know that this element belongs to the parameter vector , nor do we know that the consistent pair is generated by . Despite the uncertainty in the labels, we guess that, this non-zero element belongs to the parameter vector that generates . Then we can peel off (i.e., subtract) this recovered element by
[TABLE]
The updated measurement pair satisfies . Then, we can check whether our previous guess is correct, by doing ratio test on the updated pair. In this example, since the updated measurements are only associated with (i.e., this pair becomes a singleton), they can pass the ratio test. Then, we know that the peeling step is valid, and that the previous non-zero element at the second coordinate (with value ) and the newly recovered element at the third coordinate belong to the same parameter vector almost surely. If the updated measurement pair cannot pass the ratio test, there are two possibilities: 1) this pair is generated by some other parameter vector, or 2) this pair is associated with more than two non-zero elements. In this case, we keep both the measurement pairs before and after peeling for future usage. In general, the guess-and-check strategy and the peeling step can be combined to detect that two non-zero elements are from the same parameter vectors.
The continuing execution of these four primitives is made possible by the design of the query vectors using sparse-graph codes, which we describe next.
IV-B Design of Query Vectors
As illustrated in Figure 4, we construct sets of query vectors (called bins). The query vectors in each bin are associated with some coordinates of the parameter vectors (i.e., the query vectors are non-zero only on those coordinates). The association between the coordinates and bins is determined by a -left regular bipartite graph with left nodes (coordinates) and right nodes (bins), where each left node is connected to right nodes chosen independently uniformly at random. Here, we note that other designs of the bipartite graph may also be employed, such as expander graphs [40, 41]. As we see in later sections, as long as the bipartite graph structures allow for a density evolution analysis [42], we may be able to use such graphs. In this paper, we choose to use -left regular bipartite graph since it is amenable to a transparent analysis and already achieves order-optimal sample and time complexities in the noiseless setting. In our design, each bin consists of three query vectors. The values of the non-zero elements of the first two query vectors are in the form of (2), enabling the ratio test. The third query vectors equals the sum of the first two and is used for the summation check.
More precisely, we first design three random vectors , where consists of elements that are i.i.d. uniformly distributed on the unit circle , and is a vector with elements of being modulated by Fourier coefficients , , , and . Let be the biadjacency matrix of the bipartite graph, and be the -th row of . Then, the query vectors of the -th bin is , , and . We provide a concrete example with , , in Figure 3. The biadjacency matrix is given in (4).
[TABLE]
If the query vectors in each bin were used only once, then we would have very few bins passing the summation check and hence few consistent pairs. Instead, we use the first two query vectors repeatedly for times, obtaining two sets of measurements, each of size and called type-I and type-II index measurements. We use the third query vector times to obtain a set of verification measurements. We therefore have measurements associated with each of the bins, hence a total of measurements, as shown in Figure 4.
IV-C Decoding Algorithm
We provide an outline of the decoding algorithm in Algorithm 1. The decoding algorithm first finds consistent pairs (by summation check) in each bin, within which singletons are identified (by the ratio test). The ratio test also recovers the locations and values of several non-zero elements, some of which can then be associated with the same by guess-and-check. Using tools from random graph theory, we can separate part of the recovered non-zero elements from different parameter vectors. At this point, for each , we have recovered some of its non-zero elements (including their locations, values and labels). We iteratively conduct a combined operation of guess-and-check and peeling, so that we can subtract the recovered elements from the remaining consistent pairs, until no more non-zero elements can be found. Below we elaborate on these steps.
Finding Consistent Pairs: The decoding procedure starts by finding all the consistent pairs. In each bin, we perform summation checks on all triplets in which , , and are the type-I index measurement, type-II index measurement and verification measurement, respectively. If a triplet passes the summation check, then a consistent pair is found. Note that in each bin the number of triplets of the above form is a constant, so this step can be done in time. The subsequent steps of the algorithm are based on the consistent pairs found in this step. We also note that, since for every , the probability that each measurement is generated by the parameter vector is a constant , the probability that one can find a consistent pair in a particular bin is a constant.
We classify the consistent pairs into a few different types. As we have seen, each consistent pair is only associated with a subset of the non-zero elements of a particular parameter vector, due to the design of the bipartite graph. As before, a consistent pair associated with only one non-zero element is called a singleton, and we call this non-zero element a singleton ball. The consistent pairs associated with two non-zero elements are called doubletons; and those associated with more than one non-zero elements are called multitons444Doubletons are also multitons.. These terminologies are useful for our following discussions.
Finding Singletons: Each non-zero element of the parameter vectors can be identified by its label-location-value triplet . We visualize these triplets (i.e., non-zero elements) as balls, as shown in Figure 1(a), and initially their labels, locations and values are unknown555Note that the graph in Figure 1 differs from the bipartite graph that we use to design the query vectors.. We run the ratio test on the consistent pairs to identify singletons and their associated singleton balls. The singleton balls found are illustrated in Figure 1(b) as shaded balls. The ratio test also recovers the locations and values of these singleton balls, although at this point we do not know the label of the balls.
To better understand the algorithm, here we analyze the expected number of singleton balls that belong to parameter vector . We show that a constant fraction of the non-zero elements in can be found as singleton balls in this stage. First, we analyze the probability that a particular bin can produce a consistent pair that is generated by . According to our probabilistic model, the measurements are generated independently, and therefore, we have
[TABLE]
Denote by the probability of the event that a particular bin produces a consistent pair that is generated by , and is associated with non-zero elements in . Since each non-zero element is associated with bins among the bins independently and uniformly at random, for a consistent pair generated by , the number of non-zero elements associated with this pair is binomial distributed with parameters (recall that is the number of non-zero elements in ) and , and we have
[TABLE]
In addition, we can use Poisson distribution to approximate the binomial distribution when is a constant and approaches infinity, i.e., we have
[TABLE]
Let us ignore the zero elements in and consider the bipartite graph representing the association between the non-zero elements (left notes) in and the bins (right nodes). We know that the total number of edges in this bipartite graph is , and we denote by the expected fraction of the edges that are connected to a right node (bin) with degree . Thus, we have
[TABLE]
We then proceed to analyze the expected fraction of the singleton balls. Let be the probability that a non-zero element in becomes a singleton ball in a certain consistent pair. The event is equivalent to the event that at least one of its associated right nodes (bins) has degree . Then, when approaches infinity, we have asymptotically
[TABLE]
Thus, the expected number of non-zero elements in that are found as singleton balls in this stage of the algorithm is , and this implies that we can recover a constant fraction of the non-zero elements in each parameter vector, without knowing their labels. We can further prove high probability bounds for this fraction, and more details of this analysis are relegated to Lemma 2 in Appendix A.
Recovering a Subset of Non-zero Elements: The next step is crucial: for two singleton balls and a consistent pair associated with the locations of these two balls, we run the guess-and-check and peeling operations to detect if these two singleton balls indeed have the same label (or equivalently, the two non-zero elements are in the same parameter vector). If so, we call this consistent pair a strong doubleton (i.e., doubletons that contain two singleton balls that we find in the previous stage of the algorithm), and connect these two balls with an edge, as shown in Figure 1(b). Doing so creates a graph over the balls (i.e., non-zero elements), and each connected component of the graph is from a single parameter vector. Since each non-zero element is associated with a constant number of consistent pairs (due to using a -left regular bipartite graph with constant ), this step can in fact be done efficiently in time without enumerating all the combinations of singleton ball pairs. Similar to the analysis of singleton balls, we can analyze the number of strong doubletons. In fact, we can show that with high probability, a constant fraction of the consistent pairs are strong doubletons. More details are relegated to Lemma 3 in Appendix A.
By carefully choosing the parameters666To make our main sections concise, here we omit the condition on the design parameters , , , and in order to form giant components with sizes ; the precise statement of this condition is relegated to Lemma 4 in Appendix A. , , , and , and using tools from random graph theory, we can ensure that with high probability the largest connected components (called giant components) correspond to the parameter vectors, and each of these components has size . Then, the labels of the balls in these components are identified. This is illustrated in Figure 1(c) for , where colors represent the labels. More details of this demixing process are provided in Lemma 4 in Appendix A. In summary, at this point we have recovered the labels, locations and values of a constant fraction of the non-zero elements (i.e., balls) of each parameter vector.
Iterative Decoding: The decoding procedure proceeds by identifying the labels of the remaining balls via iteratively applying the guess-and-check and peeling primitives. The connected components in Figure 1(c) are therefore expanded, until no more changes can be made, as illustrated in Figure 1(d).
We provide an example of this iterative procedure in Figure 5. Recall that the association between the coordinates of the parameter vectors and the bins (or consistent pairs) is determined by a bipartite graph. Here, we only show one consistent pair for each bin and omit the zero elements. The non-zero elements and the consistent pairs are shown as balls and squares, respectively, as in Figure 5(a). The steps described in the last part recover a subset of these balls, which are shown in red and blue in Figure 5(b). For simplicity, let us call the corresponding ’s red and blue parameter vectors, respectively. If a consistent pair is generated by the red (blue) parameter vector, we say that this consistent pair is red (blue). Now consider the consistent pair 1, which is associated with the coordinates that the balls , and are located. Although we do not know whether this pair is red or blue, we can guess that this pair is blue, and peel the blue balls and off from consistent pair 1. Since this consistent pair is indeed blue, the updated measurements can pass the ratio test, and thus we can recover the label, location and value of the non-zero element represented by blue ball . Similarly, by guessing that the consistent pair 3 is red and peeling off the recovered red ball from the consistent pair , we can recover red ball , as illustrated in Figure 5(c). We continue this process iteratively, guessing the color of the consistent pairs and peeling off balls recovered in the previous iterations to recover more balls. For example, we peel off balls and from the measurement pair to recover ball , and ball from pair to recover ball , resulting in Figure 5(d).
IV-D Choice of Design Parameters
We have completed the description of the Mixed-Coloring algorithm for the noiseless case. The algorithm involves several design parameters including , , , and . We need to choose these parameters properly in order to guarantee successful decoding. The precise conditions that these parameters need to satisfy are somewhat technical, and they are relegated to Lemmas 4 and 6 in Appendix A. More specifically, Lemma 4 provides the condition that the giant components in Figure 1(c) correspond to the parameter vectors, and each of these components has size ; and Lemma 6 provides the condition that the iterative decoding process can find an arbitrarily large fraction of the non-zero elements, and the analysis is based on density evolution from modern coding theory [43]. In addition, Lemma 7 in Appendix A provides high probability bound on the recovered fraction of non-zero elements. For concrete settings, the optimal choices of these parameters can actually be computed numerically via the density evolution analysis. In particular, for any upper bound of the error fraction, we can find the proper values of , , , and for which the peeling process is guaranteed to proceed successfully and recover all but a fraction of the non-zero elements. As examples, in Table II we list the optimal values of the design parameters for or parameter vectors with equal probability (mixing weights), i.e., . The details of these numerical computations are provided in Appendix B.
V Robust Mixed-Coloring Algorithm for Noisy Recovery
The key idea of Robust Mixed-Coloring algorithm is to turn the noisy problem to a noiseless one. We keep the overall structure of the Robust Mixed-Coloring algorithm the same as its noiseless counterpart. We still use a balls-and-bins model to design the query vectors. In particular, we keep using a -left regular bipartite graph to represent the association between coordinates and bins (sets of measurements), and the algorithm still proceeds as shown in Algorithm 1. However, the steps in Mixed-Coloring algorithm that rely on the fact that there is no noise in the measurements should be robustified. In particular, in the presence of noise, the ratio test method for indexing (finding the location and value of non-zero elements) and the summation check for finding consistent measurements (measurements that are generated by the same parameter vector) need to be modified. To this end, we use a new design of query vectors, and employ an EM-based noise reduction scheme to effectively obtain the noiseless measurements of these query vectors. We provide more details of the Robust Mixed-Coloring algorithm in the following.
V-A Design of Query Vectors
We keep the high-level design of query vectors as in the noiseless setting. This means that we still use a -left regular bipartite graph with left nodes and right nodes to represent the association between the coordinates and the bins. However, we change the design of query vectors within each bin, and in particular, we design three types of query vectors. The first type, called binary indexing vectors, encodes the location information using binary representations with bits (as opposed to using the relative phases in the noiseless case). The second type is called verification vectors, which are used to verify the singleton balls (or equivalently, non-zero elements) found by the binary indexing vectors. We robustify the indexing process by replacing the ratio test query vectors with these two types of query vectors. A similar approach is considered in [31] for compressive phase retrieval. The third type of query vectors is used for consecutive summation check, which finds consistent sets of measurements, and robustifies the summation check step in the noiseless case.
We now provide details of the design. Let denote the biadjacency matrix of the bipartite graph. For a particular bin (we omit the label of the bin for simplicity), let denote the association between this bin and the coordinates. We design query vectors , for this bin as follows:
[TABLE]
where , , and correspond to the three types of new query vectors, meaning that they are used for binary indexing, verification, and consecutive summation check, respectively. The matrix has rows, and the -th column of is the binary representation of integer . The matrix has rows and consists of i.i.d. Rademacher entries, i.e., the entries of are equally likely to be either or . The matrix contains rows, and the rows of are indexed by pairs , . Let be a collection of the first two matrices. The row of indexed by (denoted by ) is the summation of the -th and the -th row of , i.e., . Here, we give a simple example with , , , and in Figure 6.
V-B Decoding Algorithm
We now describe the decoding part of the Robust Mixed-Coloring algorithm. As mentioned, we use an EM-based noise reduction scheme to find the noiseless measurements of the query vectors, and also conduct robustified summation check and indexing process. Other parts of the algorithm are kept the same. We elaborate the details in the following.
Noise Reduction: Due to the presence of noise, the first step that we need to take is a noise reduction operation. More specifically, we use each query vector times, repeatedly. According to our model, in the presence of Gaussian noise, one can see that if , the measurements are i.i.d. Gaussian distributed; otherwise the measurements are independently distributed as a mixture of two equally weighted Gaussian random variables. Therefore, the problem becomes a standard estimation problem for a one dimensional Gaussian mixture distribution. We propose an EM algorithm with an initialization step using method of moments to estimate the two centers of the mixture. The performance of our proposed EM algorithm can be characterized by Theorem 3, proved in Appendix E.
Theorem 3**.**
Suppose that . Then, by using measurements, the proposed EM algorithm, with initialization via method of moments, can recover the exact value of the two centers777Note that in our problem, the centers take quantized values and the quantization step is known to the decoder, so the estimation can take the exact value of the true centers. of the mixture of Gaussian distributions with probability at least .
In addition, we can see that since each query vector in each bin is repeated times, and there is query vectors in each bin, the total number of measurements we get for each bin is . Since there are bins, the total number of measurements of the Robust Mixed-Coloring algorithm is .
Consecutive Summation Check: After the noise reduction operations, for each query vector , , we get at most two “centers” (called denoised measurements), which correspond to the inner product of the query vector and the parameter vectors in the noiseless case. However, we do not know the correspondence between the denoised measurements and the two parameter vectors. This means that we can have either or . Therefore, we need to use the consecutive summation check method to find the denoised measurements which are generated by the same parameter vector.
We illustrate the consecutive summation check process using a simple example in Figure 7. Assume that we have three query vectors , , , and two summation check query vectors and . Suppose that the denoised measurements that we get for , are , , and , and the denoised measurements for the summation check query vectors are and . By matching summations, one can easily find that the only possible case that we can observe these denoised measurements is that and are generated by the same parameter vector (we call them consistent sets), respectively, as shown in different colors in Figure 7. In our algorithm, we need to conduct consecutive summation check on all the denoised indexing and verification measurements, using the denoised summation check measurements. We also mention that the reason that we need summations of all the pairs of the first query vectors is that we might have the two denoised measurements taking the same value, i.e., , and then we have to conduct summation check on two query vectors which are not adjacent. We provide the precise procedures of consecutive summation check in Algorithm 2.
Indexing: We conduct indexing process on the consistent sets. The purpose of the indexing process is to check whether there is a single non-zero element associated with a set of consistent measurements (i.e., whether these measurements form a singleton), and find the location and value of the non-zero element. Recall that after the swapping procedures in Algorithm 2, we obtain two consistent sets of denoised measurements and . Without loss of generality, we omit the second subscript and use to denote one of the consistent set of denoised measurements.
We check the first denoised measurements, which correspond to the binary indexing query vectors. We can see that for the consistent set to be a singleton, it is necessary that all the non-zero denoised binary indexing measurements take the same value in , say . The only possible location index of the non-zero element satisfies the fact that integer has binary representation . For instance, in the example in Figure 6, suppose that we find a consistent set of measurements generated by , and the quantization step size , i.e., the non-zero elements take integer values. Assume that we observe the denoised consistent measurements . Then, it is possible that this is a singleton, and is the only non-zero element associated with these consistent measurements.
However, the procedure above is not enough to guarantee that the consistent measurements form a singleton. We continue the example in Figure 6. Suppose that the bipartite graph gives us . Then, when we observe measurements , we can have either or ; and in the latter case, this set of measurements does not form a singleton any more. To verify that this consistent set is a singleton, we need to use the next denoised verification measurements. Recall that for the verification query vectors, we design a Rademacher matrix with elements , , and use the rows of as query vectors. Here, we make the following claim on the singleton verification procedure.
Lemma 1**.**
Suppose that all the denoised binary indexing measurements take value in , and the sequence form the binary representation of integer . Then, if the verification measurements satisfy for all , and , with probability , this consistent set is indeed a singleton with the non-zero element located at the -th coordinate and taking value .
This result is a corollary of the Johnson-Lindenstrauss Lemma [44], and we provide the proof in Appendix D. If the denoised measurements pass the verification in Lemma 1, we know that with high probability, the consistent set of measurement is indeed a singleton, and we also obtain the location and value of the non-zero element. We provide the precise procedures of the indexing algorithm in Algorithm 3.
So far, we have demonstrated how we robustify the summation check and indexing process. Once these two parts are robustified, other parts of the algorithm, such as finding giant components, guess-and-check, and peeling-style iterative decoding can proceed as in the noiseless case. We relegate the analysis of Robust Mixed-Coloring algorithm to Appendix C. Again, there are a few design parameters in the Robust Mixed-Coloring algorithm, and we summarize the choices of these parameters in Table III for a particular target error fraction .
Finally, we point out that extending the Robust Mixed-Coloring algorithm to cases where is an important future direction. Although the summation check technique does not provably work in the noisy setting when , we believe that using similar but more sophisticated design, we may still be able to obtain consistent sets of measurements.
VI Experimental Results
In this section, we test the sample and time complexities of the Mixed-Coloring algorithm in both noiseless and noisy cases to verify our theoretical results. All simulations are done on a laptop with 2.8 GHz Intel Core i7 CPU and 16 GB memory using Python.
We first investigate the sample complexity of Mixed-Coloring algorithm in the noiseless case. The goal of this experiment is to show that in numerical experiments, the number of measurements that we need to successfully recover the parameter vectors matches the predictions of the density evolution analysis. We use the optimal parameters from numerical calculations of the density evolution, presented in Table II. We generate instances with different number of measurements by choosing different number of bins . Recall that , and thus varying the number of bins is equivalent to varying the total number of measurements. The parameter vectors that we use have equal sparsity, i.e., , and the mixing weights are equal for all the parameter vectors, i.e., . The supports of the parameter vectors are chosen uniformly at random, and the values of the non-zero elements are generated from Gaussian distribution. We choose a few pairs of and , increase the total number of measurements, and record the empirical success probability and running time averaged over trials. Here, we use a sufficiently small so that the success event is equivalent to recovery of all the non-zero elements. The results are shown in Figure 8(a). The phase transition occurs at some that matches the values in Table I, predicted by our theory. More specifically, when , , and , we need about , , and measurements for successful recovery, respectively.
We also test the time complexity of our algorithm in the noiseless case. We use the design parameters that can guarantee successful recovery, as we find in the experiment on sample complexity. More specifically, for , we choose , and (i.e., ); for , we choose , and (i.e., ); and for , we choose , and (i.e., ). As shown in Figure 8(b), the running time is linear in and does not depend on .
Similar experiments are performed for the noisy case using the Robust Mixed-Coloring algorithm, under the quantization assumption. We still focus on the case where the two parameter vectors appear equally like and have the same sparsity. We use quantization step size and the quantized alphabet , and the values of the non-zero elements are chosen uniformly at random from . Figure 9(a) shows the minimum number of queries required for 100 consecutive successes, for different and . We observe that the sample complexity is linear in and sublinear in . The running time exhibits a similar behavior, as shown in Figure 9(b). Both observations agree with the prediction of our theory.
We also compare the Mixed-Coloring algorithm with a state-of-the-art EM-style algorithm (equivalent to alternating minimization in the noiseless setting) from [19]. These comparisons are not entirely fair, since our algorithm is based on carefully designed query vectors, while the algorithm in [19] uses random design, i.e., the entries of ’s are i.i.d. Gaussian. However, this is exactly where the intellectual value of our work lies: we expose the gains available by careful design. We consider four test cases with , with the first two cases being sparse problems and the last two being relatively dense problems. We find the minimum number of queries that leads to a 100% successful rate in 100 trials, and the average running time. For the Mixed-Coloring algorithm, we use , and . The parameters of the EM-style algorithm are chosen as suggested in the original paper [19]. As shown in Table IV, in both sparse and dense problems, our Mixed-Coloring algorithm is several orders of magnitude faster. As for the sample complexity, our algorithm requires smaller number of samples in the sparse cases, while in dense problems, the sample complexity of our algorithm is within a constant factor (about 3) of that of the alternating minimization algorithm. For the noisy setting, our algorithm is most powerful in the high dimensional setting, i.e., large , due to the factors. However, in this setting, it takes prohibitively long time for the state-of-the-art algorithms such as [18] to converge, and thus, we do not present the comparison in the noisy setting.
We further test the Robust Mixed-Coloring algorithm when the quantization assumption is violated. For any , we define , where denotes the indicator function. This means that is the element in which is the closest one to , when . For a vector , we define . We define the perturbation of a vector as .
In this experiment, we generate sparse parameter vectors , with a total number of non-zero elements. These non-zero elements are generated randomly while keeping the perturbation of the parameter vectors under a certain level by adding bounded noise to the quantized non-zero elements. We record the probability of success for different number of bins and different perturbation level. Here the success event is defined as recovery of for all . The result is shown in Figure 10. We see that the Robust Mixed-Coloring algorithm works without the quantization assumption as long as the perturbations are not too large.
VII Conclusions
We proposed the Mixed-Coloring algorithm as a query based learning algorithm for mixtures of sparse linear regressions. Our algorithm leverages the connection between modern coding theory and statistical inference. The design of the query vectors and the recovery algorithm are based on ideas from sparse graph codes. Our novel code design allows for both efficient demixing and parameter estimation. In the noiseless setting, for a constant number of sparse parameter vectors, our algorithm achieves the order-optimal sample and time complexities of . In the presence of Gaussian noise, for the problem with two parameter vectors (i.e., ), we show that the Robust Mixed-Coloring algorithm achieves near-optimal sample and time complexities. Our experiments justified the theoretical results, and we observe that the run-time of our algorithm can be orders of magnitudes smaller than that of the state-of-the-art algorithms. In the noisy scenario, studying the Robust Mixed-Coloring algorithm with more than two parameter vectors and obtaining theoretical results for the continuous alphabet case are two important future directions.
Appendix A Proof of Theorem 1
A-A Proof Outline
We prove Theorem 1 in this section. The proof includes two major steps: (i) show that the expectation of the fraction of non-zero elements which are not recovered can be arbitrarily small; (ii) show that this fraction concentrates around its mean with high probability. The first part mainly uses density evolution techniques which are commonly used in coding theory, and the second part uses Doob’s martingale argument.
A-B Notation
We briefly recall the Mixed-Coloring algorithm in the noiseless case and declare the notation that we use for the rest of the proof.
Recall that the parameter vector has non-zero elements. We call these non-zero elements balls in color . We design a -left regular bipartite graph with left nodes and right nodes, representing the coordinates and the bins, respectively. We denote the -th bin by . We use the matrix to represent the biadjacency matrix of the bipartite graph, i.e., if and only if the -th bin is associated with the -th coordinate. Recall that we design three query vectors in the form of (2), for the purpose of ratio test. The third query vectors is the summation of the first two and is used for summation check. We repeat the first two query vectors times, respectively, and get type-I and type-II index measurements. We repeat the third query vector times and get verification measurements. For the -th verification measurement of the -th bin, we define a sub-bin . If we can find one type-I index measurement and one type-II index measurement such that the summation of the two measurements is equal to the -th verification measurement, we know that these three measurements are generated by the same parameter vector, say . The two index measurements are called a consistent pair. Then, we say that the sub-bin has color . We define the color set of . If we can find a consistent pair corresponding to the -th verification measurement, we let , otherwise . We further define the color set of bin as .
A-C Number of Singleton Balls
In this section, we analyze the number of singleton balls in color found in the first stage of the algorithm. We can show that this number is concentrated around a constant fraction of with high probability.
Lemma 2**.**
Let be the number of singleton balls in color found in the first stage. Then, there exists a constant888Recall that in our paper, constants are defined as quantities which do not depend on and . such that for any constant ,
[TABLE]
Proof.
We first specify some terminologies here. For a bin , we say that this bin has color when . One should notice that if there are more than one sub-bins in color in bin , these sub-bins are identical. Therefore, we can say that a bin contains balls in color , when has at least one sub-bin in color , and the sub-bin is associated with non-zero elements in . Equivalently, the coded parameter vector satisfies , .
First, we analyze the probability that a particular bin has color . According to our model, the measurements are generated independently, therefore, we have
[TABLE]
Then, we use to denote the probability of the event that a particular bin contains balls in color . Since each ball is associated with bins among the bins independently and uniformly at random, the number of balls in color that a bin contains is binomial distributed with parameters and , and we have
[TABLE]
In addition, we can use Poisson distribution to approximate the binomial distribution when is a constant and approaches infinity. In the following analysis, we use the approximation
[TABLE]
Consider the bipartite graph representing the association between the balls in color and the bins. We know that there are edges connected to the balls in color , and we use to denote the expected fraction of these edges which are connected to a bin which contains balls in color , . Then, we have
[TABLE]
and equivalently, is also the probability that an edge, which is chosen from the edges uniformly at random, is connected to a bin containing balls in color .
Let be the probability that a ball in color is a singleton ball. The event that this ball is a singleton ball is equivalent to the event that at least one of its associated bins contains one ball with color . Then, when approaches infinity, we have
[TABLE]
and this is because in the limit , the correlations between the edges connected to a ball become negligible; this technique is often used in the theoretical analysis of density evolution in coding theory, and we use this type of asymptotic argument several times in the proofs. Let be the number of singleton balls in color , then we have . Using the asymptotic argument and by Hoeffding’s inequality, we also have for any constant ,
[TABLE]
and this means that the number of singleton balls in color is highly concentrated around . ∎
A-D Initial Fractions
We construct the graph whose nodes correspond to the singleton balls in color found in the previous stage, and analyze the number of edges in , which is equal to the number of strong doubletons in color . Here, for clarification, we emphasize that the graph corresponds to a sub-graph with the same color in Figure 1, rather than the bipartite graph that we use to design the query vectors. Then, we can show that the number of strong doubletons is concentrated around a constant fraction of with high probability.
Lemma 3**.**
Let be the number of strong doubletons in color found in the second stage. Then, there exists a constant such that for any constant ,
[TABLE]
Proof.
We know that the expected number of doubletons in color is . Then, we analyze the probability that a doubleton is a strong doubleton. Similar to the analysis in [30], for a particular ball in color , we let denote the event that this ball is in a singleton, and denote the event that this ball is in a doubleton. We have the conditional probability that a ball in a doubleton is also a singleton ball:
[TABLE]
Then we know the probability that a doubleton is a strong doubleton is , and the expected number of strong doubletons in color is . Let and be the number of edges in graph . The expectation of is , and according to Hoeffding’s inequality, we have for any
[TABLE]
meaning that the number of edges is highly concentrated around . ∎
Then, we get the following result on the size of the giant component of , using the asymptotic behavior of the Erdos-Renyi random graphs.
Lemma 4**.**
Let be the size of the largest connected component (giant component) of . If the parameters of the Mixed-Coloring algorithm satisfy
[TABLE]
then, for any constant , with probability , initial fraction of the balls in color which are recovered after the second stage satisfies
[TABLE]
where the constant is the unique solution of the equation
[TABLE]
and other connected components in are of sizes .
Proof.
This result is a direct corollary of the asymptotic behavior of the Erdos-Renyi random graphs [45], and we only give a brief proof here. First, we condition on the number of singleton balls that we find in the first stage, i.e., and the number of edges in , i.e., . By symmetry, we know that the edges are uniformly chosen from the possible edges. Therefore, the graph is an Erdos-Renyi random graph. According to the results on the giant component of Erdos-Renyi random graphs, we know that if the limit
[TABLE]
then with probability at least , the size of the giant component of graph is linear in , and other connected components have sizes . By (5) and (6), we know that for any constant , there exists a constant , such that, with probability at least ,
[TABLE]
and that, for any constant , there exists a constant , such that, with probability at least ,
[TABLE]
We also know that when and happen, the limit approaches . Let be the event that the size of the largest connected component (giant component) of , i.e., satisfies (8), and other connected components in are of sizes . Then, according to the aforementioned property of Erdos-Renyi random graphs, conditioned on and , we have
[TABLE]
Then, we have
[TABLE]
which completes the proof. ∎
A-E Tree-like Assumption
By Lemma 4, we know that we can recover a constant fraction of the non-zero elements with probability . Then, we study the iterative decoding process. The analysis is based on density evolution, which is a common and powerful technique in coding theory. Similar to the density evolution analysis of many modern error-correcting codes [46], our derivation of density evolution is based on a tree-like assumption. Here, we state the tree-like assumption first and provide the results on the probability that the tree-like assumption holds.
As we have mentioned, the association between the balls in color (non-zero elements in ) and the bins can be represented by a -left regular bipartite graph. We label the edges by an ordered pair of a ball and a bin , denoted by . We define the level- neighborhood of , denoted by as the subgraph of all the edges and nodes on paths with length less than or equal to , which start from and the first edge of the paths are not [30]. We have the following results on the probability that is a tree, or equivalently, cycle-free, for a constant .
Lemma 5**.**
[30]** For a fixed constant , is a tree with probability at least .
We conduct the density evolution analysis conditioned on the event that is a tree for an edge which is chosen from the edges uniformly at random. Then, we take the complementary event into consideration and complete the analysis.
A-F Density Evolution
Recall that in the first iteration, we find all the singletons, and in the second iteration, we find the strong doubletons and form the giant component. Let be the probability that at the th iteration of the learning algorithm, a ball in color , which is chosen from the balls uniformly at random, is not recovered, . Here, corresponds to the probability that after the second iteration, a randomly chosen ball in color is not in the giant component. According to the previous section, we know that by choosing parameters which satisfy (7), we have with probability . Now we analyze the relationship between and for .
Consider the iterative decoding process as a message passing process. First, we know that at iteration , a ball in color passes a message to a bin through an edge claiming that it is colored, if and only if at least one of the other neighborhood bins contains a resolvable multiton in color . Second, a sub-bin in color becomes a resolvable multiton if and only if all the other balls in this sub-bin are colored. This message passing process is illustrated in Figure 11. Under the tree-like assumption, the messages passed among the balls and bins are independent, we have
[TABLE]
which gives us
[TABLE]
As we can see, the major difference between the density evolution of the Mixed-Coloring algorithm and the PhaseCode algorithm in [30] (for compressive phase retrieval via sparse-graph codes) is that there is a constant probability that a bin has a sub-bin in color .
Next, we show that after a constant number of iterations, can be arbitrarily small.
Lemma 6**.**
If we choose parameters satisfying
[TABLE]
then for any constant , there exists a constant , such that .
Proof.
Let , then we have . It is easy to see that , , and is a monotonically increasing function. We also have
[TABLE]
We know that if there is
[TABLE]
then there exists at least one fixed point such that . We use to represent the largest fixed point of in . Now we argue that the fixed point can be made arbitrarily small by choosing proper parameters. Suppose that for a certain set of parameters and , the fixed point is , then if we keep and increase to , where is a constant, then we can see that the new fixed point is upper bounded by , and in this way, the fixed point can be made an arbitrarily small constant. As shown in [30], as long as we can choose parameters to make the fixed point , then, there exists a constant number of iterations , depending on , such that .
Then, we investigate how the sample complexity depends on . First, since is a fixed point of the iteration (9), we have
[TABLE]
Since is usually very small, we use the approximation , and thus we have
[TABLE]
which gives us . Further, since we keep as a constant, we know that as a function of .
∎
Then, we can prove the following lemma showing that the number of uncolored balls in color is concentrated around with high probability.
Lemma 7**.**
Let be the number of uncolored balls in color after iterations. Then for any , there exists constant , such that when conditioned on the event that , and is large enough,
[TABLE]
[TABLE]
The proof of Lemma 7 is the same as in [30], and uses Doob’s martingale argument and Azuma’s concentration bound. We should also notice that the event that the tree-like assumption does not hold is already considered in (12). Now combining Lemmas 4, 6, and 7, we have shown that for a specific , there exists proper parameters of the algorithm such that after a constant number of iterations, the Mixed-Coloring algorithm can recover an arbitrarily large fraction of the balls in color with probability . Since is a constant and , the results above implies that for an arbitrarily small constant ,
[TABLE]
Then, we turn to the first and the third properties in Theorem 1. According to our ratio test scheme, as long as we have a singleton, we find the exact location and value of the non-zero element, and thus our algorithm has no false discovery. As for the element-wise recovery, one can see that due to the use of -left regular random bipartite graph (each left node is connected to right nodes uniformly at random), the recovered fraction of the support is also uniformly distributed on the support of . Thus, for each , . Then, by total law of probability, we have
[TABLE]
Thus, we have proved the three properties in Theorem 1.
A-G Time Complexity
In this section, we analyze the time complexity of the algorithm. First, note that there are bins and each bin has a constant number of sub-bins. Since refining the measurements of each bin takes operations, the time complexity of refining measurements is . Next, to find all the singletons, we need to check all the colored sub-bins, and checking each sub-bin takes operations, the time complexity of this stage is . In the third stage, we find all the strong doubletons. We know that there are singleton balls and for each singleton ball, there are bins connected to it. For each of the bins, we subtract the measurements contributed by the singleton ball from the refined measurements in the sub-bins, and do the ratio test to see if it is a strong doubleton. Therefore, processing each bin takes operations and since is also a constant, the time complexity of finding strong doubletons is also . Then, we get the graph with nodes and edges, corresponding to the singleton balls and strong doubletons, respectively. Using breadth-first search algorithm, the time complexity of finding the connected components is . In the last stage, we iteratively find other uncolored balls. For each unprocessed sub-bin, since we do not know the color of the sub-bin, there are possible remaining measurements. Each time when we find a new ball, we update at most remaining measurements and do the ratio test. Therefore, it takes operations when coloring a new ball. Since there are uncolored balls after finding the giant components, the time complexity of the last stage is also . Thus, we have shown that the time complexity of Mixed-Coloring algorithm is , which completes the proof of Theorem 1.
Appendix B Computing the Constants in the Sample Complexity
In this section, we give exact constants in the sample complexity results. For simplicity, we assume that and for all . We let , and thus we have . We analyze the minimum number of measurements that we need to reach a certain reliability target. More precisely, we set the maximum error floor to be , and numerically calculate the error floor for different values of , , , and . Then, we minimize the number of total measurements, which is proportional to with the constraint that the error floor . As we have shown in previous parts, the parameters should also satisfy (7) and (10). We know that if (7) is satisfied, when is large enough, there should be a giant component with size linear in for each color, where is a threshold that we can choose. Therefore, we select optimal parameters with three constraints, which are (10), (7), and .
The results of the numerical calculation are shown in Table V. In these experiments, we set , , and we fix the left degree and choose different values of , , and to minimize the number of measurements with the three constraints. Then we compare the optimal number of measurements over different choices of and find the optimal . As we can see, to reach the same reliability level, for , the optimal number of measurements we need is , , and , respectively. The number of measurements we need only increases slightly with , and the optimal is around 13 and 15.
Appendix C Proof of Theorem 2
In this section, we analyze the performance of the Robust Mixed-Coloring algorithm and prove Theorem 2. Recall that the overall structure of the Robust Mixed-Coloring algorithm is the same as its noiseless counterpart. Suppose that one can always perfectly find the consistent sets of measurements, and the correct location and value of the non-zero elements, then, the recovery guarantee in the noisy setting will be exactly the same as in the noiseless setting. Further, in the noisy setting, finding the correct consistent sets of measurements, and the correct location and value of the non-zero elements relies on the success of two events: 1) the EM-based algorithm has to always find the correct denoised measurements, and 2) the verification procedure has to identify all the singletons, and cannot misclassify other consistent sets as singletons.
We provide details below. We define error events: , as the event that there exists one incidence that the EM algorithm does not find the correct denoised measurements, and , as the event that there exists one incidence where the verification query vectors make a misclassification between singleton and non-singleton. According to Theorem 3, the failure probability of each EM operation is . According to the proof in Appendix A-G, there are bin-level operations during the algorithm, and when processing each bin, we need EM operations, since there are query vectors in each bin. Therefore, the total amount of EM operations is . By union bound, we know that . According to Lemma 1, we know that each verification has failure probability , and using a similar union bound argument, we know that . When both error events and do not happen, the algorithm always find the correct location and value of the recovered elements, and in this case there is no false discovery. By union bound, we know that . Therefore, the probability that there is no false discovery is , which proves the first property in the theorem.
Then, we turn to prove the second property. We define the error event that fewer than fraction of the non-zero elements of the parameter vector are recovered by the algorithm. Suppose that none of and happens, then, the analysis of the robustified algorithm becomes exactly the same as in the noiseless setting. Therefore, according to Theorem 1, we know that . Then, we can apply total law of probability and get
[TABLE]
which proves the second property in the theorem. The third property in the theorem can be derived using the method in (14) in the proof of Theorem 1, and we omit the details here. Thus, we have proved the three properties in Theorem 2. The time complexity can be analyzed using the same method as in the noiseless case, provided in Appendix A-G. The only difference is that, the bin-level operation takes time in the noiseless setting, while in the noisy setting it takes time. Therefore, the time complexity of the Robust Mixed-Coloring algorithm is .
Appendix D Proof of Lemma 1
We first provide a simplified interpretation of Lemma 1.
Lemma 8**.**
Let be a Rademacher matrix with . Denote the -th column of by . Suppose that and , where . Let . Suppose that for some and canonical basis vector . Then, with probability , .
Here, is the parameter vector that generates the consistent set of measurements, and denotes the association between the bin and the coordinates. Define , and we have . Our goal is to justify that, when , with high probability, .
Suppose that but . Then we have . According to a corollary of the Johnson-Lindenstrauss Lemma [44] (one can also refer to Section 4 in [47]), we know that
[TABLE]
Therefore, we can see that by having verification query vectors, we can guarantee that with probability at least , we won’t identify as , and this means that we won’t misclassify a non-singleton as a singleton.
Appendix E Proof of Theorem 3
In this section, we provide a method to estimate the parameters of a mixture of two Gaussian random variables, and give the theoretical analysis to prove Theorem 3. This estimation method is based on EM algorithm with method of moments initialization.
Recall the setting of Theorem 3. Let ’s be i.i.d. samples of Bernoulli distribution, and ’s be i.i.d. samples of Gaussian distribution with mean zero and variance , independently of ’s, . Suppose that random variables ’s are generated in the following way:
[TABLE]
Then, we can consider as a mixture of two Gaussian random variables with means and , respectively. We assume that is known, and the parameters and are unknown and take value in a finite and quantized set , for some . Without loss of generality, we assume that . (Note that we allow here.) Our goal is to get accurate estimation of and .
The first step is to compute the sample mean of the first samples, i.e., . Since we know that the mean of ’s takes value in the set , we find the element in which is the closest one to as the estimator of the mean of , i.e., ,
[TABLE]
We have the following result on the accuracy of the estimator .
Lemma 9**.**
There exist universal constants and such that for any , if
[TABLE]
we have with probability at least .
We prove Lemma 9 in Appendix E-A. In the second step, we subtract from the other samples, and get centered random variables , . We assume that is the actual mean of the ’s, meaning that . Then, we know that if , the centered random variables ’s are i.i.d. distributed; otherwise ’s are i.i.d. mixtures of two Gaussian distributions
[TABLE]
where . Then, we make an initial estimation of using of the centered random variables. Specifically, we compute
[TABLE]
We have the following result on :
Lemma 10**.**
Condition on the event that . There exist universal constants and , such that for any , when
[TABLE]
*then satisfies:
(1) if , with probability at least ;
(2) if , with probability at least .*
We prove Lemma 10 in Appendix E-B. If , we claim that , and give estimators . Otherwise, we run a standard EM algorithm with the remaining samples using as an initialization to estimate . Here, we briefly review the procedures of standard EM algorithm for mixtures of Gaussian distributions. For , conduct the following two steps:
E step: compute the expected log-likelihood.
[TABLE]
where
[TABLE]
M step: compute
[TABLE]
We run the EM algorithm for iterations, and find the element in which is the closest one to as the estimator of the mean of , i.e., . Then, we output the estimation of and by and .
Here, we review the results in [16] which characterizes the performance of the EM algorithm.
Lemma 11**.**
[16]** Suppose that . Conditioned on the event that and the event that . Suppose that . Then, there exist universal constants , , and , such that when , for any , we have
[TABLE]
with probability at least , where .
Then, we have the direct corollary:
Corollary 1**.**
Under the same condition that , , and that as in Theorem 3, then, when
[TABLE]
and
[TABLE]
we have with probability at least , for any .
We prove Corollary 1 in Appendix E-C. We have the following theorem to characterize the performance of the proposed estimation algorithm.
Theorem 4**.**
If , , , and satisfy (15), (16), (17), and (18), respectively, and , then the proposed estimation algorithm outputs correct estimations and with probability at least , for any .
Proof.
Let and be the events that and that , respectively, and be the event that and . Then, by Lemma 9, we know that .
If , by Lemma 10, we know that . Then . If , by Lemma 10, we know that , and by Corollary 1, we know that . Then, . ∎
Then, we can derive Theorem 3 in the main paper by setting and .
E-A Proof of Lemma 9
First, we can see that to get an accurate estimation, it suffices to have . Let , and . We have
[TABLE]
By Hoeffding’s inequality, we have
[TABLE]
and similarly
[TABLE]
By Chernoff’s inequality, we have
[TABLE]
By triangle inequality and union bound, we get
[TABLE]
which completes the proof.
E-B Proof of Lemma 10
Let be the event that . In this lemma, all the probabilities are conditioned on the event .
First, consider the case when , i.e., . Let . Then, we know that is distributed with degrees of freedom. By the concentration result of distribution, we have for any ,
[TABLE]
Then, we have
[TABLE]
which implies that if
[TABLE]
conditioned on , the probability that is at least .
Then, we consider the case when . In this case, we have , and we study the probability that . We still define . We can see that has noncentral distribution with degrees of freedom and noncentrality parameter . According to the results of concentrations of non-central distribution, we have for all ,
[TABLE]
[TABLE]
We analyze the probability that . We substitute and in (23) with and , respectively. By some rearrangements, we get
[TABLE]
Then, we know that if is large enough such that and , then we have
[TABLE]
By simple algebra and the fact that , one can see that there exists universal constants such that if satisfies
[TABLE]
then the probability that conditioned on is at least . Similarly, using (24), we know that when (25) is satisfied, we can guarantee that with probability at least . We can complete the proof by union bound.
E-C Proof of Corollary 1
To guarantee that , we need . By Lemma 10, it suffices to guarantee two facts:
[TABLE]
and
[TABLE]
Conditioning on the event that and , we know that it is sufficient to have and .
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Harville, “A framework for high-level feedback to adaptive, per-pixel, mixture-of-Gaussian background models,” in Proceedings of the 7th European Conference on Computer Vision , pp. 543–560, Springer, 2002.
- 2[2] D. A. Reynolds, T. F. Quatieri, and R. B. Dunn, “Speaker verification using adapted Gaussian mixture models,” Digital Signal Processing , vol. 10, no. 1, pp. 19–41, 2000.
- 3[3] A. Zhang, N. Fawaz, S. Ioannidis, and A. Montanari, “Guess who rated this movie: identifying users through subspace clustering,” in Proceedings of the 28th Conference on Uncertainty in Artificial Intelligence , pp. 944–953, AUAI Press, 2012.
- 4[4] R. De Veaux, “Mixtures of linear regressions,” Computational Statistics and Data Analysis , vol. 8, no. 3, 1989.
- 5[5] E. J. Candès, J. Romberg, and T. Tao, “Robust uncertainty principles: Exact signal reconstruction from highly incomplete frequency information,” IEEE Transactions on Information Theory , vol. 52, no. 2, pp. 489–509, 2006.
- 6[6] E. J. Candès, J. K. Romberg, and T. Tao, “Stable signal recovery from incomplete and inaccurate measurements,” Communications on Pure and Applied Mathematics , vol. 59, no. 8, pp. 1207–1223, 2006.
- 7[7] E. Blackwell, C. F. M. de Leon, and G. E. Miller, “Applying mixed regression models to the analysis of repeated-measures data in psychosomatic medicine,” Psychosomatic Medicine , vol. 68, no. 6, 2006.
- 8[8] P. Deb and M. Holmes, “Estimates of use and costs of behavioural health care: a comparison of standard and finite mixture models,” Econometric Analysis of Health Data , pp. 87–99, 2002.
