{"title": "Generalization Error Analysis of Quantized Compressive Learning", "book": "Advances in Neural Information Processing Systems", "page_first": 15150, "page_last": 15160, "abstract": "Compressive learning is an effective method to deal with very high dimensional datasets by applying learning algorithms in a randomly projected lower dimensional space. In this paper, we consider the learning problem where the projected data is further compressed by scalar quantization, which is called quantized compressive learning. Generalization error bounds are derived for three models: nearest neighbor (NN) classifier, linear classifier and least squares regression. Besides studying finite sample setting, our asymptotic analysis shows that the inner product estimators have deep connection with NN and linear classification problem through the variance of their debiased counterparts. By analyzing the extra error term brought by quantization, our results provide useful implications to the choice of quantizers in applications involving different learning tasks. Empirical study is also conducted to validate our theoretical findings.", "full_text": "Generalization Error Analysis of Quantized\n\nCompressive Learning\n\nXiaoyun Li\n\nDepartment of Statistics\n\nRutgers University\n\nPiscataway, NJ 08854, USA\nxiaoyun.li@rutgers.edu\n\nPing Li\n\nCognitive Computing Lab\n\nBaidu Research\n\nBellevue, WA 98004, USA\n\nliping11@baidu.com\n\nAbstract\n\nCompressive1 learning is an effective method to deal with very high dimensional\ndatasets by applying learning algorithms in a randomly projected lower dimensional\nspace. In this paper, we consider the learning problem where the projected data\nis further compressed by scalar quantization, which is called quantized compres-\nsive learning. Generalization error bounds are derived for three models: nearest\nneighbor (NN) classi\ufb01er, linear classi\ufb01er and least squares regression. Besides\nstudying \ufb01nite sample setting, our asymptotic analysis shows that the inner product\nestimators have deep connection with NN and linear classi\ufb01cation problem through\nthe variance of their debiased counterparts. By analyzing the extra error term\nbrought by quantization, our results provide useful implications to the choice of\nquantizers in applications involving different learning tasks. Empirical study is\nalso conducted to validate our theoretical \ufb01ndings.\n\nIntroduction\n\n1\nRandom projection (RP) method [36] has become a popular tool for dimensionality reduction in\nmany machine learning and database applications, e.g., [14, 2, 11, 4, 38, 9], including classi\ufb01cation,\nmatrix sketching, compressive sensing, regression, bioinformatics, matrix factorization, etc. The\ngreat success of random projection lies in the favorable distance preserving property with fairly\nelegant statement given by the famous Johnson-Lindenstrauss Lemma [19, 10]. In short, under some\nconditions we can always project a set of n points X \u2208 Rn\u00d7d in a high-dimensional space onto a lower\nk-dimensional space such that pair-wise distances are approximately preserved, with high probability.\nHere k (cid:28) d is the number of random projections. This nice theoretical guarantee has originated\nthe study of generalization performance of learning in the reduced dimensional space instead of the\noriginal space. This line of work is called compressive learning [16, 3, 30, 13, 20, 34, 35, 21].\nIn many cases, it is useful to further condense the projected data, due to storage saving, privacy con-\nsideration, etc. Consequently, research on quantized random projections (QRP) has been conducted\nfor a while, i.e., [24, 25]. QRP itself has been developed into many promising \ufb01elds in computer\nscience, such as 1-bit compressive sensing, simhash and so on [32, 1, 6, 23]. More recently, it is\nshown that quantized random projection is also very convenient for cosine estimation and similarity\nsearch [27, 26, 28]. However, to the best of our knowledge, theoretical analysis of QRP in learning\nmechanisms is still missing in literature. In this paper, we investigate the generalization error bounds\nof applying QRP in three models: nearest neighbor classi\ufb01er, linear classi\ufb01er and least squares\nregression. Apart from \ufb01nite k analysis, we also consider the case where k is asymptotically large.\n\nContributions. An important implication of our analysis is to answer the following question\u2014The\ngeneralization performance using quantized random projections is determined by what factors of a\nquantizer? Our theoretical analysis illustrates that for nearest neighbor and linear classi\ufb01cation, the\n\n1The work of Xiaoyun Li was conducted during the internship at Baidu Research.\n\n33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada.\n\n\fextra loss of quantization decreases as k gets large, and the learning performance is determined by\nthe variance of debiased inner product estimator when data samples are allocated on the unit sphere.\nFor regression problems, the distortion of a quantizer becomes crucial. Our theoretical \ufb01ndings are\nvalidated by empirical study. Practically, our results also suggest appropriate quantizing strategies for\ndifferent learning models, which would be helpful for various applications.\n\n2 Preliminaries\nProblem setting. Assume dataset X, Y \u223c Dn with X = [x1, ..., xn]T \u2208 Rn\u00d7d, and xi, i =\n1, ..., n are i.i.d. drawn from some marginal distribution X . Throughout this paper, we assume that\nevery sample in X is standardized to have unit Euclidean norm2. Therefore, the domain of X is\nthe unit Euclidean sphere Sd, which allows us to call \u201cinner product\u201d and \u201dcosine\u201d interchangeably.\nFor classi\ufb01cation problems, Y \u2208 [0, 1]n, while in regression model Y \u2208 Rn. We will focus on the\nGaussian random projection matrix R = [r1, ..., rk] \u2208 Rd\u00d7k with i.i.d. standard normal entries.\nRandom projection is realized by XR = 1\u221a\nis for the ease of presentation.\nQuantized RP\u2019s. An M-level scalar quantizer Q(\u00b7) : A \u2192 C is speci\ufb01ed by M + 1 decision borders\nt0 < t1 < \u00b7\u00b7\u00b7 < tM and M reconstruction levels (or codes) \u00b5i, i = 1, ..., M. Given a signal v, the\nquantizing operator is de\ufb01ned as Qb(v) = \u00b5i \u2208 C, such that ti\u22121 < v \u2264 ti. Here, A is the domain of\nthe original signal and C is the set of codes. The number of bits is de\ufb01ned as b = log2 M \u2265 1. We\nnote that t0 and tM can be either \ufb01nite or in\ufb01nite depending on the support of signal. For generality,\nin this paper we do not restrict our analysis to any speci\ufb01c quantizer, but cast basic assumption of\nincreasing and bounded codes, i.e., \u00b51 < \u00b7\u00b7\u00b7 < \u00b5M and ti\u22121 < \u00b5i < ti for all i = 1, ..., M.\nDe\ufb01nition 1. (Maximal gap) For an M-level quantizer Q de\ufb01ned above and an interval [a, b],\ndenote \u03b1 = {i : ti\u22121 < a \u2264 ti} and \u03b2 = {i : ti < b \u2264 ti+1}. The maximal gap on a\ninterval [a, b] is de\ufb01ned as the largest distance between any two nearby borders in [a, b], gQ(a, b) =\nmax{ max\n\n|ti+1 \u2212 ti|,|t\u03b1 \u2212 a|,|b \u2212 t\u03b2|}, if t\u03b1 \u2208 [a, b], and gQ(a, b) = |b \u2212 a| otherwise.\n\nXR, where the factor 1\u221a\n\nk\n\nk\n\ni:\u03b1\u2264i\u2264\u03b2\u22121\n\nIn a random signal model, v is assumed to be generated from a probability density V \u223c f. In this\ncase, the following is an important quantity measuring the information loss of a quantizer.\nDe\ufb01nition 2. (Distortion) The distortion of a b-bit quantizer Qb with respect to distribution f is\n\nDb = EV \u223cf [(V \u2212 Qb(v))2] =\n\n(v \u2212 Qb(v))2f (v)dv.\n\n(1)\n\n(cid:90)\n\nQ(XR). We are interested in using XQ for learning problems instead of X.\n\nUniform quantizer is the most simple quantizer, whose partitions are equal size bins with length (cid:52)\n(i.e., ti+1 \u2212 ti = (cid:52),\u2200i with \ufb01nite ti, ti+1) and the reconstruction levels are simply the mid points of\nthe bins. Lloyd-Max (LM) quantizer [29, 31] is designed to minimize the distortion with respect to\na given distribution. In this present paper, we optimize LM quantizer with respect to standard normal\ni x with i = 1, .., k, x \u2208 X is marginally N (0, 1) under Gaussian RP\u2019s. Now\ndistribution, since any rT\nsuppose Q is a quantizing function that operates element-wise on matrix. The quantized RP is de\ufb01ned\nas XQ = 1\u221a\nThe inner product estimate. It is easy to show that for x1, x2 \u223c X with \u03c112 = cos(x1, x2), the\nprojections (RT x1, RT x2) consist of k i.i.d. samples from N\n. One important\napplication is to use the projections to estimate \u03c112. It is well-known that the inner product of two\nprojected vectors is an unbiased estimator of \u03c112, i.e., E[\u02c6\u03c1R] = E[ xT\n] = \u03c112. This estimator is\ncalled the full-precision estimator. For quantized RP\u2019s, we analogously de\ufb01ne the quantized estimator\nas \u02c6\u03c1Q = Q(RT x1)T Q(RT x2)\n, whose statistical property is studied in [27, 28]. In most cases, \u02c6\u03c1Q is\nbiased. The following analytical concept is considered in [28], which is also helpful in our analysis.\nDe\ufb01nition 3. (Debiased variance) Denote the space of expectation of estimator \u02c6\u03c1Q as E. If there\nexists a map g : [\u22121, 1] \u2192 E, the debiased estimator is de\ufb01ned by applying the inverse map\nQ = g\u22121(\u02c6\u03c1) to correct for the bias. The variance of \u02c6\u03c1db\n\u02c6\u03c1db\n2Instance normalization is a standard data preprocessing step for many learning models. In this paper, this\nassumption is mainly for convenience. Our analysis can be modi\ufb01ed for scenarios without data normalization.\n\nQ is called the debiased variance.\n\n(cid:19)\n(cid:18)(cid:18)0\n\n(cid:18)1 \u03c1\n\n(cid:19)(cid:19)\n\n,\n\n0\n\n1 RRT x2\n\nk\n\n\u03c1 1\n\nk\n\nk\n\n2\n\n\f3 Quantized Compressive Nearest Neighbor Classi\ufb01cation\n\nWe \ufb01rst look at the generalization error incurred by learning using XQ instead of X on nearest\nneighbor (NN) classi\ufb01cation problem, which is a simple but powerful non-parametric algorithm\nthat is popular in practice. Given a dataset S = (X, Y ) and a test sample (x, y) \u223c D where\ny is unknown, the algorithm \ufb01nds the nearest neighbors of x in X, denoted by (x(1), y(1)), and\nclassi\ufb01es x as \u02c6y = y(1). We denote the classi\ufb01er of NN as hS(x) = y(1), in the original sample\nspace. Denote the conditional distribution of y given x \u223c X as \u03b7(x) = P (y = 1|x). A Bayes\nclassi\ufb01er, h\u2217(x) = 1{\u03b7(x) > 1/2}, is well known as the optimal solution in minimizing the risk\nL(h(x)) = Ex[1{h(x) (cid:54)= y}] over all hypothesis. [8] showed that the risk of NN classi\ufb01er converges\nto 2L(h\u2217(x)) as sample size n \u2192 \u221e. See additional asymptotic analysis in [15, 37, 18]. In \ufb01nite\nn case, [33, 17, 7] studied the error bounds and convergence rate of NN classi\ufb01er, all of which\nrequire the sample size n increases exponentially in dimensionality d, under some Lipschitz-type\nassumptions on the conditional probability function \u03b7(x). As discussed in [33, 21], by the celebrated\nNo-Free-Lunch Theorem [39], this exponential sample complexity comes from the nature of this\nproblem and cannot be reduced in general.\n\nClassical \ufb01nite sample analysis. Yet, the work [21] demonstrates that when data has small \u201cmetric\nsize\u201d measured by metric entropy integral \u03b3 (which will be de\ufb01ned later), it is possible to reduce\nthe sample complexity from O(ed) to O(e\u03b3) by working in the randomly projected space using XR.\nThis is called compressive NN classi\ufb01cation. The following de\ufb01nitions are necessary for our analysis.\nDe\ufb01nition 4. Let (T ,(cid:107) \u00b7 (cid:107)) be a totally bounded metric space, and \u03b1 > 0. T is \u03b1-separated if\n\u2200a \u2212 b \u2208 T , a (cid:54)= b, (cid:107)a \u2212 b(cid:107) \u2265 \u03b1 holds. The \u03b1-packing number of T is N(cid:107)\u00b7(cid:107)(\u03b1,T ) = max{|T (cid:48)| :\nT (cid:48) is \u03b1-separable,T (cid:48) \u2282 T }.\nDe\ufb01nition 5. The \u03b1-entropy of T is de\ufb01ned as Z(\u03b1,T ) = log N (\u03b1,T ), and function Z(\u00b7,T ) is\ncalled the metric entropy of T .\nTheorem 1. [22]. Let X \u2282 Rd, and R \u2208 Rd\u00d7k a random matrix with i.i.d. Gaussian or Rademacher\n(cid:107)a\u2212b(cid:107) : a, b \u2208 X} be the set of all pair-wise normalized\nentries with mean 0 and variance \u03c32. T = { a\u2212b\nconstant c, such that \u2200\u03c9, \u03b4 \u2208 (0, 1), if k \u2265 c\u03c9\u22122(\u03b3(T )2 + log(2/\u03b4)), then with probability at least\n1 \u2212 \u03b4, R is \u03c9-isometry on X , namely,\n\nchords. De\ufb01ne metric entropy integral as \u03b3(T ) =(cid:82) 1\n\n(cid:112)Z(\u03b1,T )d\u03b1, then there exists an absolute\n\n0\n\n(1 \u2212 \u03c9)k\u03c32(cid:107)x \u2212 y(cid:107)2 \u2264 (cid:107)RT x \u2212 RT y(cid:107)2 \u2264 (1 + \u03c9)k\u03c32(cid:107)x \u2212 y(cid:107)2,\u2200x, y \u2208 X .\n\nTheorem 1 is a generalization of Johnson-Lindenstrauss Lemma, which characterizes the probability\nof getting a \u201cgood\u201d projection matrix with nice isometry property. By a careful analysis under a\nslightly different assumption on the domain X , we present the generalization bound on compressive\nNN classi\ufb01er (learning with XR) in [21] as follows.\nTheorem 2. X \u223c X n, Y \u223c {0, 1}n with X = [x1, ..., xn]T \u2208 Rn\u00d7d, x is on the unit sphere. Assume\nthat \u03b7(x) = P r(y = 1|x) is L-Lipschitz. Let R \u2208d\u00d7k, k < d a random matrix with i.i.d. Gaussian\nR ) \u2208 (X, Y )\nentries following N (0, 1). (x, y) is a test sample with unknown y. Denote (x(1)\nthe training sample such that 1\u221a\nRT x in the projected space,\nk\nR . Denote L(h\u2217) the risk of Bayes classi\ufb01er. Then\nand the compressive NN classi\ufb01er hR(x) = y(1)\n\u2200\u03c9, \u03b4 \u2208 (0, 1), if k = O(\u03c9\u22122(\u03b3(T )2 + log(2/\u03b4)), with probability 1 \u2212 \u03b4 we have the risk of\ncompressive NN classi\ufb01er\n\nR is the nearest neighbor of 1\u221a\n\nR , y(1)\n\nRT x(1)\n\nk\n\nEX,Y [L(hR(x))] \u2264 2L(h\u2217(x)) + 2\n\n2(L\n\nk\n\nk+1 (ne)\u2212 1\n\nk+1\n\n)\n\nk.\n\n(2)\n\n\u221a\n\n(cid:114) 1 + \u03c9\n\n1 \u2212 \u03c9\n\n\u221a\n\nEquipped with above tools, we are now ready to state our \ufb01rst result on the risk of uniformly quantized\ncompressive nearest neighbor classi\ufb01er, with \ufb01nite n and k.\nTheorem 3. Let X, Y, R and \u03b7(x) be the same as in Theorem 2. Q is a b-bit uniform quantizer with\nbin width (cid:52). Suppose (x, y) is a test sample with unknown y. Denote (x(1)\nQ ) \u2208 (X, Y ) the\ntraining sample such that 1\u221a\nQ(RT x) in the quantized\nk\nQ . Let L(h\u2217) be the risk of Bayes\nspace, and the quantized compressive NN classi\ufb01er hQ(x) = y(1)\n\nQ ) is the nearest neighbor of 1\u221a\n\nQ(RT x(1)\n\nQ , y(1)\n\nk\n\n3\n\n\frule. Then \u2200\u03c9, \u03b4 \u2208 (0, 1), if k = O(\u03c9\u22122(\u03b3(T )2 + log(2/\u03b4)), [\u2212\u221a\nthe maximal gap gQ (cid:44) gQ(\u2212\u221a\n\n\u221a\n1 + \u03c9) < 2\n\n1 + \u03c9] \u2282 [t0, t2b ] and\n1 + \u03c9, then with probability 1\u2212\u03b4 over random\n\n1 + \u03c9,\n\n1 + \u03c9,\n\n\u221a\n\n\u221a\n\ndraws of R, the risk of quantized compressive NN classi\ufb01er is bounded by\n\n(cid:114) 1 + \u03c9\n\n1 \u2212 \u03c9\n\n\u221a\n\nL(cid:52)\ngQ\n\n2(\n\n\u221a\n\nk +\n\n2L(cid:52)\u221a\n\u221a\nk\n1 \u2212 \u03c9\n\n.\n\n(3)\n\nEX,Y [L(hQ(x))] \u2264 2L(h\u2217(x)) + 2\n\nk\n\nk+1 (ne)\u2212 1\n\nk+1\n\n)\n\nRemark. The assumption that Q is uniform quantizer is only for the ease of presentation. For an\narbitrary quantizer, the bound also holds with (cid:52) replaced by a more complicated term.\nThe proof involves two interleaving covers of the projected space, which, by Theorem 1, has bounded\ndiameter with high probability. Now we compare Theorem 3 with Theorem 2. Denote the second\nterm in (3) as the random projection error and the last term as quantization error. We observe: 1) The\nbound preserves sample complexity of O(ek), which is favorable. 2) The extra quantization error\ndecreases with smaller bin length (cid:52), which is reasonable since small (cid:52) implies better approximation\nto the full-precision RP\u2019s in general. 3) When (cid:52) \u2192 0 which means no quantization applied, we have\ngQ = (cid:52) and the bound reduces to (2) in Theorem 2. Note that, although the factor\nk in quantization\nerror term also appears in the RP error term, it implies that the error incurred by quantization becomes\nlarger as k increases. Intuitively, however, large k provides better estimation of the pair-wise angle and\nthus pair-wise distance (since X has domain Sd), which should actually reduce the extra loss, since\nnearest neighbors would be more accurately estimated. This unsatisfactory pattern of quantization\nerror in Theorem 3 comes from the \ufb01nite sample setting and proof methodology, since the bound is a\nworst case bound with n and k both \ufb01nite. Thus, this bound is less meaningful for practical purposes.\n\n\u221a\n\nAsymptotic analysis. Notice that the key difference between NN classi\ufb01er, compressive NN and\nquantized compressive NN is simply the space in which we look for the neighbors. More importantly,\nthis procedure essentially depends on the distance estimation. Given that X is de\ufb01ned on the unit\nsphere, \ufb01nding NN in projected or quantized space is identical to \ufb01nding xi \u2208 X that has largest\nestimated cosine between test example x. In this case, we do not need to care about the speci\ufb01c space\nfrom which we derive the estimator, while the statistical property becomes the major concern.\nTheorem 4. (Asymptotic k). Let data X, Y and projection matrix R be same as Theorem 3. Let\n(x, y) be a test sample with unknown y. Q is any arbitrary quantizer with increasing reconstruction\nlevels. We estimate the cosine between any two points s, t \u2208 X with (cid:104)s, t(cid:105) = \u03c1s,t in the quantized\n. Assume that \u2200s, t \u223c X , E[\u02c6\u03c1Q(s, t)] = \u03b1\u03c1s,t for some \u03b1 > 0.\nspace by \u02c6\u03c1Q(s, t) = Q(RT s)T Q(RT t)\nDenote (x(1)\nQ ) is the nearest neighbor of\nQ . Then we have as k \u2192 \u221e,\n1\u221a\nk\n\nQ(RT x(1)\nQ(RT x), and the quantized compressive NN classi\ufb01er hQ(x) = y(1)\nEX,Y,R[L(hQ(x))] \u2264 EX,Y [L(hS(x))] + rk,\n\nQ ) \u2208 (X, Y ) the training sample such that 1\u221a\n\nQ , y(1)\n\nk\n\nk\n\n(cid:88)\n\ni:xi\u2208G\n\n\u03a6(cid:0)\n\n(cid:113)\n\n\u221a\n\nk(cos(x, xi) \u2212 cos(x, x(1)))\n\n\u03be2\nx,xi\n\n+ \u03be2\n\nx,x(1) \u2212 2Corr(\u02c6\u03c1Q(x, xi), \u02c6\u03c1Q(x, x(1)))\u03bex,xi\u03bex,x(1)\n\n(cid:1)],\n\nwhere rk = EX,x[\n\nx,y/k the debiased variance of \u02c6\u03c1Q(x, y) and G = X/x(1). L(hS(x)) is the risk of data space\nwith \u03be2\nNN classi\ufb01er, hS(x) = y(1) with (x(1), y(1)) the nearest neighbor of x. \u03a6(\u00b7) is the CDF of N (0, 1).\nRemark. We express the bound in terms of EX,Y [L(hS(x))] to highlight the extra quantization error.\nThe assumption that \u02c6\u03c1Q has expectation linear in \u03c1 is mainly for the ease of analytical consideration.\nSimilar result also holds in general situations, under additional minor assumptions.\n\nThe bound is intuitive, in the sense that the quantization error term rk represents the probability of\npicking different nearest neighbor in data space and quantized space. The bene\ufb01t of Theorem 4 is\nthat, we factor out L(hS(x)), instead of L(hR(x)) as in Theorem 3. Conceptually, we get rid of the\nerror incurred by using the projected space as an intermediate step. The quantization error term rk\nis interesting\u2014Note that for \u2200i \u2208 G = X/x(1), cos(x, xi) \u2212 cos(x, x(1)) < 0 holds. Consequently,\nwhen k \u2192 \u221e, all the \u03a6(\u00b7) terms in rk would decrease towards 0 (since \u03a6(t) \u2192 0 as t \u2192 \u2212\u221e).\nTherefore, we derive a well behaving quantization error term in the asymptotic case: the quantization\nerror indeed decreases with k and converges to that of the data space nearest neighbor classi\ufb01er.\n\n4\n\n\fChoice of Q. It can be shown that under some mild conditions, small debiased variance (\u03bex,xi and\n\u03bex,x(1)) reduces the quantization error rk in Theorem 3. In addition, by the asymptotic normality\nof \u02c6\u03c1Q, given a large k and a query x, points near x(1) (i.e., with small | cos(x, xi) \u2212 cos(x, x(1))|)\ntend to affect the quantization error more substantially due to the light tail of Gaussian distribution.\nHence, for 1-NN classi\ufb01cation, we should ideally choose quantizers with low debiased variance\naround \u03c1\u2217 = cos(x, x(1)\n), provided that it can be known (or estimated) a priori. In particular, if a\nquantized estimator has lower debiased variance than the full-precision estimator, then learning with\nXQ would outperform learning with XR in 1-NN classi\ufb01cation.\nIs there a way to reduce the debiased variance of inner product estimates, for better generalization in\nNN classi\ufb01cation? Recent progress on quantized random projections [28] shows that normalizing the\nrandomly projected vectors (i.e., RT xi, i = 1, ..., n) can provide smaller debiased variance, especially\nin high similarity region (large |\u03c1|). This is exactly the situation for most of the NN classi\ufb01cations\nwhere \u03c1\u2217 = cos(x, x(1)\n\n) is high. More speci\ufb01cally, we can use the estimator\n\ni\n\ni\n\n\u02c6\u03c1Q,n =\n\nQ(RT x1)T Q(RT x2)\n(cid:107)Q(RT x1)(cid:107)(cid:107)Q(RT x2)(cid:107) ,\n\n(4)\n\nto estimate \u03c1(x1, x2), instead of the simple inner product estimator \u02c6\u03c1Q = Q(RT x1)T Q(RT x2)\nTheorem 4. We refer interested readers to [28] for more detailed discussions on this topic.\nIn the following, we derive a corollary regarding the error of compressive NN classi\ufb01er hR(x) by\nnoticing that the full-precision RP corresponds to applying quantization with in\ufb01nite bits.\n, \u2200x1, x2 \u2208 X .\nLemma 1. Let full-precision linear estimator \u02c6\u03c1R be de\ufb01ned as \u02c6\u03c1R(x1, x2) = xT\nSuppose x, y, z \u2208 Rd are three data points on a unit sphere with inner products \u03c1xy, \u03c1xz and \u03c1yz\nrespectively. Then the covariance\n\nused in\n\n1 RRT x2\n\nk\n\nk\n\nCov(\u02c6\u03c1R(x, y), \u02c6\u03c1R(x, z)) =\n\n(\u03c1yz + \u03c1xy\u03c1xz).\n\n1\nk\n\nCorollary 1. Let the data (X, Y ), (x, y) and projection matrix R be same as Theorem 3, with Q a\nquantizer with increasing reconstruction levels. We estimate the cosine between any two points s, t \u2208\nX with (cid:104)s, t(cid:105) = \u03c1s,t in the projected space by \u02c6\u03c1R(s, t) = sT RRT t\nR ) \u2208 (X, Y ) the\ntraining sample such that RT x(1)\nQ is the nearest neighbor of RT x in the projected space, and the NN\nclassi\ufb01er hR(x) = y(1)\n\n. Denote (x(1)\n\nR , y(1)\n\nk\n\nR . Then as k \u2192 \u221e,\n\u221a\n\ni:xi\u2208G \u03a6(cid:0)\n\n\u221a\n\nEX,Y,R[L(hR(x))] \u2264 EX,Y [L(hS(x))] + rk,\n\nk(cos(x,xi)\u2212cos(x,x(1)))\n\n(cos(x,xi)\u2212cos(x,x(1)))2+2(1\u2212cos(xi,x(1)))\n\n(cid:1)], with G = X/x(1).\n\nwhere rk = EX,x[(cid:80)\n\n4 Quantized Compressive Linear Classi\ufb01cation with (0,1)-loss\n\nIn this section, we consider the generalization error for binary linear classi\ufb01ers, which include some\nof the most popular learning models, e.g., logistic regression, linear SVM, etc. Let H be a hypothesis\nclass of functions on X \u2192 {0, 1}. For original data, we assume that a function H \u2208 H separates S\nby a hyperplane, and classify each side as a distinct class. Hence, for a test data point x, the predicted\nlabel returned by H is\n\nH(x) = 1{hT x > 0},\n\nwhere h is a vector in Rd and orthogonal to the separating plane. Since all xi\u2019s are normalized to\nunit norm, we may assume that h also lies on the unit sphere passing though the origin. The optimal\nclassi\ufb01er, \u02c6H, is the minimizer of (0,1)-loss, de\ufb01ned as\n\n\u02c6L(0,1)(S, h) =\n\n1\nn\n\nn(cid:88)\n\ni=1\n\nL(0,1)(H(xi), yi), L(0,1)(H(xi), yi) =\n\n(5)\n\nWe denote \u02c6h \u2208 Rd the learned vector associated with \u02c6H. ( \u02c6H, \u02c6h) is called the empirical risk\nminimization (ERM) classi\ufb01er. In projected space and quantized space, the ERM classi\ufb01ers are\ndenoted by similar notation with corresponding subscripts as \u02c6HR, \u02c6hR \u2208 Rk, \u02c6HQ and \u02c6hQ \u2208 Rk,\n\n\u02c6H(x) = 1{\u02c6hT x > 0},\n\n\u02c6HR(x) = 1{\u02c6hT\n\nRRT x > 0},\n\n\u02c6HQ(x) = 1{\u02c6hT\n\nQQ(RT x) > 0}.\n\n(6)\n\n(cid:26)0, if H(xi) = yi,\n\n1, otherwise.\n\n5\n\n\fFigure 1: Sign \ufb02ipping in quantized space. Points on the right of black decision boundary are\nclassi\ufb01ed as 1, and 0 otherwise. Green dashed lines are boarders of the quantizer. Left: data space\nclassi\ufb01er predicts 1. Right: quantized space prediction (using Q(\u02c6hT R) as predictor) changes to 0.\n\nNow suppose x is a test sample with unknown class y, we are interested in the probability of making\na wrong prediction by training the classi\ufb01er in the quantized space,\nP r[ \u02c6HQ(x)) (cid:54)= y] = E[L( \u02c6HQ(x), y)].\n\nExisting results on such compressive linear classi\ufb01er have studied bounds on the same type of\nobjective in the projected space, under \ufb01nite k setting [13]. Here, we look at this problem in the\nasymptotic domain. When studying the error incurred by learning in the projected space, an important\ntool is the following de\ufb01nition.\nDe\ufb01nition 6. Let \u02c6h, x \u2208 Rd be de\ufb01ned above, (cid:107)\u02c6h(cid:107) = (cid:107)x(cid:107) = 1. Let (cid:104)\u02c6h, x(cid:105) = cos(\u02c6h, x) = \u03c1 > 0,\n. R \u2208 Rd\u00d7k an i.i.d. standard Gaussian random matrix. The \ufb02ipping probability\nand \u02c6\u03c1R = \u02c6hT RRT x\nis de\ufb01ned as\n\nk\n\nfk(\u03c1) = P r[\u03c1R < 0|\u03c1 > 0].\n\n(7)\n\nIntuitively, this quantity measures the probability of changed prediction with the compressed model\nwhich learns in the space projected by R when RT \u02c6h is the classi\ufb01er. [13] gives the exact formula of\nthis quantity, which reads as\n\nfk(\u03c1) =\n\n\u0393(k)\n\n\u0393(k/2)2\n\n0\n\nz(k\u22122)/2\n(1 + z)k dz = Fk,k(\n\n1 \u2212 \u03c1\n1 + \u03c1\n\n),\n\n(8)\n\n(cid:90) 1\u2212\u03c1\n\n1+\u03c1\n\nwhere F is the cumulative distribution function (CDF) of F-distribution with (k, k) degrees of\nfreedom. This formula also holds for \u03c1 < 0 by simply plugging in \u03c1 = \u2212\u03c1. By symmetry, it\nsuf\ufb01ces to consider \u03c1 > 0. As it is well-known that E[\u02c6\u03c1R] = \u03c1 and V ar[\u02c6\u03c1R] = 1+\u03c12\nk , \u02c6\u03c1R should\nasymptotically follow N (\u03c1, 1+\u03c12\n\nk ) as k \u2192 \u221e. So the asymptotic \ufb02ipping probability should be\n\n\u02dcfk(\u03c1) = \u03a6(\u2212\n\n\u221a\n\nk\u03c1(cid:112)1 + \u03c12\n\n).\n\n(9)\n\nThe following proposition con\ufb01rms this asymptotic convergence.\nProposition 1. As k \u2192 \u221e, we have fk(\u03c1) \u2192 \u02dcfk(\u03c1) for \u03c1 > 0.\nFor quantized compressive classi\ufb01er, sign \ufb02ipping may also happen (an illustrative example is given\nin Figure 1). By analyzing this event, in the following we state the asymptotic generalization error\n(cid:80)n\nbound for linear classi\ufb01ers when working in quantized space instead of data space.\nTheorem 5. Let the (0,1)-loss and ERM classi\ufb01er be de\ufb01ned as (5) and (6). R \u2208 Rd\u00d7k is i.i.d\nstandard normal random matrix. Let \u02c6L(0,1)(S, \u02c6h) = 1\ni=1 L(0,1)(H(xi), yi) be the empirical loss\nin the data space. Q is a quantizer and the quantized estimator \u02c6\u03c1Q = Q(RT s)T Q(RT t)\nhas mean \u03b1\u03c1,\n\nn\n\nk\n\n6\n\n\f\u03b1 > 0, and debiased variance \u03be2\nunknown, when k \u2192 \u221e, with probability at least 1 \u2212 2\u03b4 we have\n\n\u03c1/k at \u03c1 = cos(s, t), \u2200s, t \u223c X . Given (x, y) a test sample with y\n\n(cid:115)\n\n(k + 1) log 2en\n\nk+1 + log 1\nn\n\n\u03b4\n\n(cid:26)(cid:114)\n\n(cid:118)(cid:117)(cid:117)(cid:116) 1\n\nn\n\n1\n\u03b4\n\nn(cid:88)\n\ni=1\n\n(cid:27)\n\nfk,Q(\u03c1i)\n\n,\n\nn(cid:88)\n\ni=1\n\n1 \u2212 \u03b4\n\u03b4n\n\nP r[ \u02c6HQ(x) (cid:54)= y] \u2264 \u02c6L(0,1)(S, \u02c6h) + 2\n\nn(cid:88)\n\ni=1\n\n+\n\n1\nn\n\nfk,Q(\u03c1i) + min\n\n3 log\n\nfk,Q(\u03c1i),\n\nwhere the \ufb02ipping probability fk,Q(\u03c1i) = \u03a6(\u2212\nxi and ERM classi\ufb01er \u02c6h in the data space.\n\n\u221a\n\nk|\u03c1i|\n\u03be\u03c1i\n\n), with \u03c1i the cosine between training sample\n\nIn Theorem 5, the \ufb01rst term is the empirical loss in the data space, and the second term is the generic\nsample complexity in learning theory. The last two terms are called the quantization error. When\nb \u2192 \u221e (full-precision RP\u2019s), the bound reduces to that derived in [13] for compressive linear\nclassi\ufb01er, according to Proposition 1. One important observation is that the quantization error again\ndepends on the debiased variance of the quantized inner product estimator, at different \u03c1i, i = 1, ..., n.\nThis result provides some insights on the in\ufb02uence of quantization for linear classi\ufb01cation.\n\nChoice of Q. Unlike NN classi\ufb01er, the extra generalization error depends more on the region near\n0 for linear classi\ufb01er. To see this, we notice that the \ufb02ipping probabilities (8) and (9) decrease as \u03c1\nincreases. Intuitively, label \ufb02ipping is much more likely to occur for the points near the boundary (i.e.,\nwith small \u02c6hT x). As a result, one may choose a quantizer with small debiased variance around \u03c1 = 0\nfor linear classi\ufb01cation. In fact, by the analysis and results from [28], one can show that Lloyd-Max\n(LM) quantizer gives minimal debiased variance of \u02c6\u03c1Q at \u03c1 = 0, among all quantizers with same bits.\nHence, LM quantization is recommended for linear classi\ufb01cation problems.\n\n5 Quantized Compressive Least Squares Regression\n\nCompressive least squares (CLS) regression has been studied in several papers, e.g., [30, 20]. [34]\nshows that in many cases, CLS can match the performance of principle component regression (PCR)\nbut runs faster by avoiding large scale SVD or optimization, especially on high-dimensional data. In\nCLS, the projected design matrix XR, instead of the original X, is used for ordinary least squares\n(OLS) regression. We are interested in the extra error brought by further quantizing the projections,\nwhere XQ is used as the new design matrix. We call this approach QCLS. In particular, we consider\na \ufb01x design problem where data X \u2208 Rn\u00d7d is determinant and Y \u2208 Rn are treated as random. OLS\nregression with Gaussian error is modeled by\n\n(10)\nwith \u03b2 \u2208 Rd and \u0001 \u2208 Rn contains i.i.d. Gaussian noise with mean 0 and variance \u03b3. For projected\ndata and quantized data, we also \ufb01t a OLS with same response Y , while the predictors becomes\n1\u221a\nk\n\nQ(RT xi) respectively. Furthermore, de\ufb01ne the expected squared losses as\n\nRT xi and 1\u221a\n\nY = X\u03b2 + \u0001,\n\nk\n\nL(\u03b2) =\n\n1\nn\n\nEY [(cid:107)Y \u2212X\u03b2(cid:107)2], LR(\u03b2R) =\nEY |R[(cid:107)Y \u2212 1\u221a\nk\n\nLQ(\u03b2Q) =\n\n1\nn\n\nXR\u03b2R(cid:107)2],\n\nEY |R[(cid:107)Y \u2212 1\u221a\n1\nn\nk\nQ(XR)\u03b2Q(cid:107)2].\n\n(11)\n\nNote that in the above the expectation is taken w.r.t. Y , and R is given. Denote the true minimizers\nof above losses as \u03b2\u2217, \u03b2\u2217\nQ, respectively. The risk of an estimator in the data space is de\ufb01ned\nas r(w) = L(w) \u2212 L(\u03b2\u2217), and analogues rR(wR) and rQ(wQ) can be also de\ufb01ned in projected and\nquantized spaces. On the other hand, we have the empirical losses\n\nR and \u03b2\u2217\n\n\u02c6L(\u03b2) =\n\n(cid:107)Y \u2212X\u03b2(cid:107)2,\n\n1\nn\n\n\u02c6LR(\u03b2R) =\n\n1\nn\n\n(cid:107)Y \u2212 1\u221a\nk\n\nXR\u03b2R(cid:107)2,\n\n\u02c6LQ(\u03b2Q) =\n\n1\nn\n\n(cid:107)Y \u2212 1\u221a\nk\n\nQ(XR)\u03b2Q(cid:107)2,\n(12)\n\n7\n\n\f\u02c6\u03b2\u2217 = argmin\n\u03b2\u2208Rd\n\n\u02c6L(\u03b2),\n\n\u02c6LR(\u03b2),\n\n\u02c6\u03b2\u2217\nR = argmin\n\u03b2\u2208Rk\nR and \u02c6\u03b2\u2217\n\n\u02c6\u03b2\u2217\nQ = argmin\n\u03b2\u2208Rk\n\n\u02c6LQ(\u03b2).\n\n(13)\n\nwhich are computed from the data. The least squares estimates minimize the empirical losses in a\ngiven space, namely,\n\nIn particular, \u02c6\u03b2 is the OLS estimator, and \u02c6\u03b2\u2217\nestimator, respectively. The following result bounds the expected loss of \u02c6\u03b2\u2217\nTheorem 6. Let the regression problems be de\ufb01ned as in (10), (11), (12) and (13), with \u03b3 being the\nvariance of Gaussian noise. Suppose all samples in X has unit norm, \u03a3 = X T X/n, and R \u2208 Rd\u00d7k\nare i.i.d. standard normal with k < n. Q is a Lloyd-Max quantizer with distortion DQ w.r.t.\nstandard Gaussian. Further de\ufb01ne \u03be2,2 = E[Q(x)2x2] with x \u223c N (0, 1). Then, the expected QCLS\nrisk over loss of data space learner is bounded by\n\nQ are called the CLS estimator and QCLS\n\nQ, over Y and R.\n\nEY,R[LQ( \u02c6\u03b2\u2217\n\nQ)] \u2212 L(\u03b2\u2217) \u2264 \u03b3\nk\n\u221a\nn\nId, with (cid:107)w(cid:107)\u2126 =\nwT \u2126w the Mahalanobis norm and Id the\n\n(1\u2212DQ)2 \u2212 1]\u03a3 + 1\n1\u2212DQ\n\nwhere \u2126 = [ \u03be2,2\u22121+DQ\nidentity matrix with rank d.\nRemark. Lloyd-Max quantizer is considered for the ease of presentation. Similar result can be\nderived for general quantizers under extra technical assumptions. When DQ = 0 (no quantization is\napplied), \u03be2,2 = 3 holds and the bound reduces to the classical bound [20] for CLS.\n\n(14)\n\n+\n\n(cid:107)\u03b2\u2217(cid:107)2\n\u2126,\n\n1\nk\n\nChoice of Q.\nIn Theorem 6, we see that the distortion in general controls the excess risk. In\nparticular, smaller DQ would reduce expected loss. Although the bound is for LM quantizer, we\nexpect similar results for other quantizers, since smaller distortion in general implies less deviation\nfrom the compressed signals. Hence, with a \ufb01x number of bits, Lloyd-Max (LM) quantizer, which is\nbuilt naturally for the purpose of distortion minimization, should be the \ufb01rst choice for QCLS.\n\n6 Numerical study\nIn this section, we validate the theoretical \ufb01ndings through experiments on real-world datasets from\nUCI repository [12]. Table 1 provides summary statistics, where mean \u03c1 is the average pair-wise\ncosine of all pairs of samples. Mean 1-NN \u03c1 is the average cosine of each point to its nearest neighbor.\n\nTable 1: Summary statistics of datasets, all standardized to unit norm.\n\nDataset\narcene\n\nBASEHOCK\norlraws10P\n\n# samples\n\n200\n1993\n100\n\n# features\n\n10000\n4862\n10304\n\n# classes Mean \u03c1 Mean 1-NN \u03c1\n\n2\n2\n10\n\n0.63\n0.33\n0.80\n\n0.86\n0.59\n0.89\n\nClassi\ufb01cation setup. We test three quantizers: 1-bit\nLloyd-Max quantizer, 3-bit Lloyd-Max quantizer and 3-\nbit uniform quantizer. LM quantizers are optimized w.r.t.\nstandard normal distribution, and the uniform quantizer\nis symmetric about 0 with (cid:52) = 1, and cut-off points\nx = \u22123.5 if x < \u22123; x = 3.5 if x > 3. As discussed\nin [28], the debiased variance of \u02c6\u03c1Q = Q(XR)T Q(XR)\ncannot be computed exactly. Here we approximate it by\nsimulation as in Figure 2. For 1-NN classi\ufb01cation, we take\neach data point as test sample and the rest as training data\nover all the examples, and report the mean test accuracy.\nFor linear classi\ufb01er, we feed the inner product estimation\nmatrix XQX T\nQ as the kernel matrix into a linear SVM\nsolver [5]. We randomly split the data to 60% for training and 40% for testing, and the best test\naccuracy among all hyper-parameter C is reported, averaged over 5 repetition\u2019s.\n\nFigure 2: Empirical debiased variance.\nTo be divided by k.\n\nk\n\nLinear SVM. At \u03c1 = 0, Figure 2 shows that the debiased variances of estimators using different\nquantizers admit the order 1-bit LM>3-bit uniform>3-bit LM>full-precision. Therefore, following\nthe discussion in Theorem 5, we expect test error in the same order, which is con\ufb01rmed by Figure 5.\n\n8\n\n0.20.40.60.810123Debiased VarianceFull-precisionLM b=1LM b=3Uniform b=3\fFigure 4: Test accuracy of quantized compressive nearest neighbor classi\ufb01cation.\n\nFigure 5: Test accuracy of quantized compressive linear SVM.\n\nFigure 3: Test MSE of QCLS.\n\nNN classi\ufb01cation. Theorem 4 states that small debi-\nased variance around the \u201cmean 1-NN \u03c1\u201d should be\nbene\ufb01cial for 1-NN classi\ufb01cation. BASEHOCK dataset\nhas mean 1-NN \u03c1 = 0.59, the point at which the debi-\nased variance is compared as 1-bit LM > 3-bit uniform\n> full-precision \u2248 3-bit LM. Hence, we see in Figure 4\nthat the NN classi\ufb01cation error is in the same sequence\non this dataset. On the other hand, the mean 1-NN \u03c1\nof arcene and orlraws10P is high (around 0.9). At this\npoint, 1-bit LM quantizer has much smaller debiased\nvariance than others. Therefore, we expect 1-bit LM\nto provide highest test accuracy on these two datasets,\nwhich is again consistent with Figure 4. In conclusion,\nour empirical observations validate the theoretical results and analysis in Theorem 4 and Theorem 5\non the in\ufb02uence of debiased estimator variance on NN and linear classi\ufb01ers, at different \u03c1 level.\nSimulated QCLS. We simulate data X \u2208 R3000\u00d71200 and \u03b2 both following i.i.d. N (0, 1), and\nnoise \u0001 \u223c N (0, 0.2). We compare LM quantizers with equal-bit uniform quantizers, for b = 3, 4, 5.\nThe distortion is (0.035, 0.009, 0.002) for LM quantizers and (0.043, 0.026, 0.019) for uniform\nquantizers. In Figure 3, we see that the order of test MSE perfectly agrees with the order of distortion\nfrom high to low, and LM quantizers always outperform uniform quantizers with same bits. As the\ndistortion gets smaller, the performance of QCLS approaches that of CLS. These observations verify\nthe conclusion in Theorem 6 that quantizers with smaller distortion generalize better for QCLS.\n7 Concluding Remarks\nThis paper studies the generalization error of various quantized compressive learning models, includ-\ning nearest neighbor classi\ufb01er, linear classi\ufb01er and linear regression. Our theoretical results provide\nuseful guidance for choosing appropriate quantizers for different models, which in particular depicts\nan interesting connection between debiased variance of inner product estimates and the generalization\nperformance on classi\ufb01cation tasks. Quantizers with small debiased variance are favorable for NN\nclassi\ufb01er and linear classi\ufb01er, in high similarity region and around \u03c1 = 0, respectively. For linear\nregression, quantizers with smaller distortion tend to perform better. As a consequence, Lloyd-Max\n(LM) quantizer is recommended for both linear classi\ufb01cation and regression, and normalizing the\nprojections may help with nearest neighbor classi\ufb01cation. Our work contributes to understanding\nthe underlying statistical aspects of learning with quantized random projections, and provides useful\nimplications to various machine learning applications where data compression is useful.\n\n9\n\n 26 27 28 29210211212Number of Projections65%70%75%80%85%90%Test AccuracyarceneFull-precisionLM b=1LM b=3Uniform b=3 26 27 28 29210211212Number of Projections80%85%90%95%100%Test AccuracyBASEHOCKFull-precisionLM b=1LM b=3Uniform b=3 26 27 28 29210211212Number of Projections40%60%80%100%Test Accuracyorlraws10PFull-precisionLM b=1LM b=3Uniform b=3 26 27 28 29210211212Number of Projections65%70%75%80%85%90%Test AccuracyarceneFull-precisionLM b=1LM b=3Uniform b=3 26 27 28 29210211212Number of Projections70%80%90%100%Test AccuracyBASEHOCKFull-precisionLM b=1LM b=3Uniform b=3 26 27 28 29210211212Number of Projections60%70%80%90%100%Test Accuracyorlraws10PFull-precisionLM b=1LM b=3Uniform b=32004006008001000Number of Projections0.60.70.80.911.1Test MSE\fReferences\n[1] Petros Boufounos and Richard G. Baraniuk. 1-bit compressive sensing.\n\nIn 42nd Annual\n\nConference on Information Sciences and Systems (CISS), pages 16\u201321, Princeton, NJ, 2008.\n\n[2] Jeremy Buhler. Ef\ufb01cient large-scale sequence comparison by locality-sensitive hashing. Bioin-\n\nformatics, 17(5):419\u2013428, 2001.\n\n[3] Robert Calderbank, Sina Jafarpour, and Robert Schapire. Compressed learning: Universal\n\nsparse dimensionality reduction and learning in the measurement domain. preprint, 2009.\n\n[4] Emmanuel J. Cand\u00e8s and Terence Tao. Near-optimal signal recovery from random projections:\n\nUniversal encoding strategies? IEEE Trans. Information Theory, 52(12):5406\u20135425, 2006.\n\n[5] Chih-Chung Chang and Chih-Jen Lin. LIBSVM: A library for support vector machines. ACM\n\nTransactions on Intelligent Systems and Technology, 2:27:1\u201327:27, 2011.\n\n[6] Moses S. Charikar. Similarity estimation techniques from rounding algorithms. In Proceedings\non 34th Annual ACM Symposium on Theory of Computing (STOC), pages 380\u2013388, Montreal,\nCanada, 2002.\n\n[7] Kamalika Chaudhuri and Sanjoy Dasgupta. Rates of convergence for nearest neighbor clas-\nsi\ufb01cation. In Advances in Neural Information Processing Systems (NIPS), pages 3437\u20133445,\nMontreal, Canada, 2014.\n\n[8] Thomas M. Cover and Peter E. Hart. Nearest neighbor pattern classi\ufb01cation. IEEE Trans.\n\nInformation Theory, 13(1):21\u201327, 1967.\n\n[9] George E. Dahl, Jack W. Stokes, Li Deng, and Dong Yu. Large-scale malware classi\ufb01cation\nusing random projections and neural networks. In IEEE International Conference on Acoustics,\nSpeech and Signal Processing (ICASSP), pages 3422\u20133426, Vancouver, Canada, 2013.\n\n[10] Sanjoy Dasgupta and Anupam Gupta.\n\nAn elementary proof of a theorem of\n\nJohnson and Lindenstrauss. Random Structures and Algorithms, 22(1):60 \u2013 65, 2003.\n\n[11] David L. Donoho. Compressed sensing. IEEE Transactions on Information Theory, 52(4):1289\u2013\n\n1306, April 2006.\n\n[12] Dheeru Dua and Casey Graff. UCI machine learning repository, 2017.\n\n[13] Robert J. Durrant and Ata Kab\u00e1n. Sharp generalization error bounds for randomly-projected\n\nclassi\ufb01ers. In ICML, pages 693\u2013701, 2013.\n\n[14] Ronald Fagin, Ravi Kumar, and D. Sivakumar. Ef\ufb01cient similarity search and classi\ufb01cation\nvia rank aggregation. In Proceedings of the 2003 ACM SIGMOD International Conference on\nManagement of Data (SIGMOD), pages 301\u2013312, San Diego, CA, 2003.\n\n[15] Jozsef Fritz. Distribution-free exponential error bound for nearest neighbor pattern classi\ufb01cation.\n\nIEEE Trans. on Information Theory, 21(5):552\u2013557, 1975.\n\n[16] Ashutosh Garg, Sariel Har-Peled, and Dan Roth. On generalization bounds, projection pro\ufb01le,\n\nand margin distribution. In ICML, pages 171\u2013178, 2002.\n\n[17] Lee-Ad Gottlieb, Aryeh Kontorovich, and Pinhas Nisnevitch. Near-optimal sample compression\nfor nearest neighbors. In Advances in Neural Information Processing Systems (NIPS), pages\n370\u2013378, Montreal, Canada, 2014.\n\n[18] L\u00e1szl\u00f3 Gy\u00f6r\ufb01 and Zolt\u00e1n Gy\u00f6r\ufb01. An upper bound on the asymptotic error probability on\nthe k-nearest neighbor rule for multiple classes (corresp.). IEEE Trans. Information Theory,\n24(4):512\u2013514, 1978.\n\n[19] William B. Johnson and Joram Lindenstrauss. Extensions of Lipschitz mapping into Hilbert\n\nspace. Contemporary Mathematics, 26:189\u2013206, 1984.\n\n10\n\n\f[20] Ata Kab\u00e1n. New bounds on compressive linear least squares regression. In Proceedings of\nthe 17th International Conference on Arti\ufb01cial Intelligence and Statistics (AISTATS), pages\n448\u2013456, Reykjavik, Iceland, 2014.\n\n[21] Ata Kab\u00e1n. A new look at nearest neighbours: Identifying benign input geometries via random\nprojections. In Proceedings of The 7th Asian Conference on Machine Learning (ACML), pages\n65\u201380, Hong Kong, China, 2015.\n\n[22] B Klartag and Shahar Mendelson. Empirical processes and random projections. Journal of\n\nFunctional Analysis, 225(1):229\u2013245, 2005.\n\n[23] Ping Li. One scan 1-bit compressed sensing. In Proceedings of the 19th International Conference\n\non Arti\ufb01cial Intelligence and Statistics (AISTATS), pages 1515\u20131523, Cadiz, Spain, 2016.\n\n[24] Ping Li. Binary and multi-bit coding for stable random projections. In Proceedings of the 20th\nInternational Conference on Arti\ufb01cial Intelligence and Statistics (AISTATS), pages 1430\u20131438,\nFort Lauderdale, FL, 2017.\n\n[25] Ping Li, Michael Mitzenmacher, and Anshumali Shrivastava. Coding for random projections.\nIn Proceedings of the 31th International Conference on Machine Learning (ICML), Beijing,\nChina, 2014.\n\n[26] Ping Li, Michael Mitzenmacher, and Martin Slawski. Quantized random projections and non-\nlinear estimation of cosine similarity. In Advances in Neural Information Processing Systems\n(NIPS), pages 2748\u20132756, Barcelona, Spain, 2016.\n\n[27] Ping Li and Martin Slawski. Simple strategies for recovering inner products from coarsely\nquantized random projections. In Advances in Neural Information Processing Systems (NIPS),\npages 4567\u20134576, Long Beach, CA, 2017.\n\n[28] Xiaoyun Li and Ping Li. Random projections with asymmetric quantization. In Advances in\n\nNeural Information Processing Systems (NeurIPS), Vancouver, Canada, 2019.\n\n[29] Stuart P. Lloyd. Least squares quantization in PCM. IEEE Trans. Information Theory, 28(2):129\u2013\n\n136, 1982.\n\n[30] Odalric-Ambrym Maillard and R\u00e9mi Munos. Compressed least-squares regression. In Advances\n\nin Neural Information Processing Systems (NIPS), pages 1213\u20131221, 2009.\n\n[31] Joel Max. Quantizing for minimum distortion. IRE Trans. Information Theory, 6(1):7\u201312, 1960.\n\n[32] Yaniv Plan and Roman Vershynin. Robust 1-bit compressed sensing and sparse logistic regres-\nsion: A convex programming approach. IEEE Transactions on Information Theory, 59(1):482\u2013\n494, 2013.\n\n[33] Shai Shalev-Shwartz and Ben-David. Understanding machine learning: From theory to\n\nalgorithms. Cambridge university press, 2014.\n\n[34] Martin Slawski. Compressed least squares regression revisited. In Proceedings of the 20th\nInternational Conference on Arti\ufb01cial Intelligence and Statistics (AISTATS), pages 1207\u20131215,\nFort Lauderdale, FL, 2017.\n\n[35] Gian-Andrea Thanei, Christina Heinze, and Nicolai Meinshausen. Random projections for\n\nlarge-scale regression. In Big and complex data analysis, pages 51\u201368. Springer, 2017.\n\n[36] Santosh S. Vempala. The Random Projection Method. American Mathematical Society, 2004.\n[37] Terry J. Wagner. Convergence of the nearest neighbor rule. IEEE Trans. Information Theory,\n\n17(5):566\u2013571, 1971.\n\n[38] Fei Wang and Ping Li. Ef\ufb01cient nonnegative matrix factorization with random projections. In\nProceedings of the SIAM International Conference on Data Mining (SDM), pages 281\u2013292,\nColumbus, Ohio, 2010.\n\n[39] David H. Wolpert and William G. Macready. No free lunch theorems for optimization. IEEE\n\nTrans. Evolutionary Computation, 1(1):67\u201382, 1997.\n\n11\n\n\f", "award": [], "sourceid": 8674, "authors": [{"given_name": "Xiaoyun", "family_name": "Li", "institution": "Rutgers University"}, {"given_name": "Ping", "family_name": "Li", "institution": "Baidu Research USA"}]}