<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>IMPROVED ACTIVE LEARNING VIA DEPENDENT LEVERAGE SCORE SAMPLING</title></titleStmt>
			<publicationStmt>
				<publisher>The Twelfth International Conference on Learning Representations</publisher>
				<date>01/16/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10539458</idno>
					<idno type="doi"></idno>
					
					<author>Atsushi Shimizu</author><author>Xiaoou Cheng</author><author>Christopher Musco</author><author>Jonathan Weare</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We show how to obtain improved active learning methods in the agnostic (adversarial noise) setting by combining marginal leverage score sampling with non- independent sampling strategies that promote spatial coverage. In particular, we propose an easily implemented method based on the pivotal sampling algorithm, which we test on problems motivated by learning-based methods for parametric PDEs and uncertainty quantification. In comparison to independent sampling, our method reduces the number of samples needed to reach a given target accuracy by up to 50%. We support our findings with two theoretical results. First, we show that any non-independent leverage score sampling method that obeys a weak one-sided l∞ independence condition (which includes pivotal sampling) can actively learn d dimensional linear functions with O(d log d) samples, matching independent sampling. This result extends recent work on matrix Chernoff bounds under l∞ independence, and may be of interest for analyzing other sampling strategies beyond pivotal sampling. Second, we show that, for the important case of polynomial regression, our pivotal method obtains an improved bound on O(d) samples.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>In the active linear regression problem, we are given a data matrix A &#8712; R n&#215;d with n k d rows and query access to a target vector b &#8712; R n . The goal is to learn parameters x &#8712; R d such that Ax &#8776; b while observing as few entries in b as possible. We study this problem in the challenging agnostic learning or "adversarial noise" setting, where we do not assume any underlying relationship between A and b. Instead, our goal is to find parameters competitive with the best possible fit, good or bad. Specifically, considering &#8467; 2 loss, let x * = arg min x &#8741;Ax -b&#8741; 2 2 be optimal model parameters. We want to find x * using a small number of queried target values in b such that &#8741;Ax * -b&#8741; 2 2 f (1 + &#1013;)&#8741;Ax * -b&#8741; 2 2 , (1.1) for some error parameter &#1013; &gt; 0. Beyond being a fundamental learning problem, active regression has emerged as a fundamental tool in learning based methods for the solution and uncertainty analysis of parametric partial differential equations (PDEs) <ref type="bibr">(Chkifa et al., 2015;</ref><ref type="bibr">Guo et al., 2020)</ref>. For such applications, the agnostic setting is crucial, as a potentially complex quantity of interest is approximated by a simple surrogate model (e.g. polynomials, sparse polynomials, single layer neural networks, etc.) <ref type="bibr">(L&#252;then et al., 2021;</ref><ref type="bibr">Hokanson and Constantine, 2018)</ref>. Additionally, reducing the number of labels used for learning is crucial, as each label usually requires the computationally expensive numerical solution of a PDE for a new set of parameters <ref type="bibr">(Cohen and DeVore, 2015)</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">LEVERAGE SCORE SAMPLING</head><p>Active linear regression has been studied for decades in the statistical model where b is assumed to equal Ax * plus i.i.d. random noise. In this case, the problem can be addressed using tools from optimal experimental design <ref type="bibr">(Pukelsheim, 2006)</ref>. In the agnostic case, near-optimal sample complexity results were only obtained relatively recently using tools from non-asymptotic matrix concentration <ref type="bibr">(Tropp, 2012)</ref>. In particular, it was shown independently in several papers that collecting entries from b randomly with probability proportional to the statistical leverage scores of rows in A can achieve (1.1) with O(d log d + d/&#1013;) samples <ref type="bibr">(Sarl&#243;s, 2006;</ref><ref type="bibr">Rauhut and Ward, 2012;</ref><ref type="bibr">Hampton and Doostan, 2015;</ref><ref type="bibr">Cohen and Migliorati, 2017)</ref>. The leverage scores are defined as follows:</p><p>(a) Target Function (b) Bernoulli Sampling (c) Pivotal Sampling (our method)</p><p>Figure <ref type="figure">1</ref>: Polynomial approximations to the maximum displacement of a damped harmonic oscillator, as a function of driving frequency and spring constant. (a) is the target value, and samples can be obtained through the numerical solution of a differential equation governing the oscillator. Both (b) and (c) draw 250 samples using leverage score sampling and perform polynomial regression of degree 20. (b) uses Bernoulli sampling while (c) uses our pivotal sampling method. Our method gives a better approximation, avoiding artifacts that result from gaps between the Bernoulli samples.</p><p>Definition 1.1 (Leverage Score). Let U &#8712; R n&#215;r be any orthogonal basis for the column span of a matrix A &#8712; R n&#215;d . Let a i and u i be the i-th rows of A and U, respectively. The leverage score &#196; i of the i-th row in A can be equivalently written as:</p><p>(1.2) Notice that &#196; i = &#8741;u i &#8741; 2 2 , n i=1 &#196; i = d when A is full-rank and thus U has r = d columns. See <ref type="bibr">(Avron et al., 2017)</ref> for a short proof of the final equality in (1.2). This last definition, based on a maximization problem, gives an intuitive understanding of the leverage scores. The score of row a i is higher if it is more "exceptional", meaning that we can find a vector x that has large inner product with a i relative to its average inner product (captured by &#8741;Ax&#8741; 2</p><p>2 ) with all other rows in the matrix. Based on leverage score, rows that are more exceptional are sampled with higher probability.</p><p>Prior work considers independent leverage score sampling, either with or without replacement. The typical approach for sampling without replacement, which we call "Bernoulli sampling" is as follows: Each row a i is assigned a probability p i = min(1, c &#8226; &#196; i ) for an oversampling parameter c g 1. Then each row is sampled independently with probability p i . We construct a subsampled data matrix &#195; and subsampled target vector b by adding a i / &#8730; p i to &#195; and b i / &#8730; p i to b for any index i that is sampled. To solve the active regression problem, we return x * = arg min x &#8741; &#195;x -b&#8741; 2 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">OUR CONTRIBUTIONS</head><p>In applications to PDEs, the goal is often to approximate a function over a low dimensional distribution X . E.g. X might be uniform over an interval [-1, 1] &#162; R or over a box [-1, 1]&#215;. . .&#215;[-1, 1] &#162; R q . In this setting, the length d rows of A correspond to feature transformations of samples from X . For example, in the ubiquitous task of polynomial regression, we start with x &#8764; X and add to A a row containing all combinations of entries in x with total degree p, i.e., x &#8467;1 1 x &#8467;2 2 . . . x &#8467;q q for all non-negative integers &#8467; 1 , . . . , &#8467; q such that q i=1 &#8467; i f p. For such problems, "grid" based interpolation is often used in place of randomized methods like leverage scores sampling, i.e., the target b is queried on a deterministic grid tailored to X . For example, when X is uniform on a box, the standard approach is to use a grid based on the Chebyshev nodes <ref type="bibr">(Xiu, 2016)</ref>. Pictured in Figure <ref type="figure">2</ref>, the Cheybshev grid concentrates samples near the boundaries of the box, avoiding the well known issue of Runge's phenomenon for uniform grids. Leverage score sampling does the same. In fact, the methods are closely related: in the high degree limit, the leverage scores for polynomial regression over the box match the asymptotic density of the Chebyshev nodes <ref type="bibr">(L&#252;then et al., 2021)</ref>.</p><p>So how do the deterministic and randomized methods compare? The advantage of randomized methods based on leverage score sampling is that they yield strong provable approximation guarantees, and easily generalize to any distribution X .<ref type="foot">foot_0</ref> Deterministic methods are less flexible on the . The image on the left was obtained by collecting points independently at random with probability according to their statistical leverage scores. The image on the right was obtained by collecting samples at the 2-dimensional Chebyshev nodes. The image in the middle shows our method, which collects samples according to leverage scores, but using a non-independent pivotal sampling strategy that ensures samples are evenly spread in spatially.</p><p>other hand, and do not yield provable guarantees. However, the advantage of grid based methods is that they more "evenly" distribute samples over the original data domain, which can lead to better performance in practice. Randomized methods are prone to "missing" larger regions of X 's support, as shown in Figure <ref type="figure">2</ref>. The driving question behind our work is:</p><p>Is it possible to obtain the "best of both worlds" for fitting functions over low-dimensional domains? I.e., can we match or improve on the strong theoretical guarantees of leverage score sampling with a method that produces spatially well-distributed samples?</p><p>We answer this question in the affirmative. Instead of sampling rows from A independently with probability proportional to the leverage scores, we adopt a tool from survey sampling known as pivotal sampling <ref type="bibr">(Deville and Tille, 1998)</ref>. Our specific version of pivotal sampling is spatiallyaware, meaning that it covers the domain in a well-balanced manner, while the marginal probabilities remain proportional to the leverage score. At a high-level, the pivotal method is a "competition" based sampling approach, where candidate rows compete in a binary tree tournament. By structuring the tournament so that spatially close points compete at lower levels (we use a novel recursive PCA procedure to build the tree), we ensure better spatial spread than Bernoulli leverage score sampling.</p><p>We show that our pivotal sampling method matches or beats the complexity of independent leverage score sampling in theory, while performing significantly better in practice. On the practice side, we offer Figure <ref type="figure">1</ref> as an example from a PDE test problem. In comparison to independent sampling, our spatially-aware method obtains a much better approximation to the target for a fixed number of samples (more details in Section 4). On the theory side, we prove two results. The first is general: we show that, as long as it samples rows from A with marginal probabilities proportional to the leverage scores, any sampling strategy that obeys a weak "one-sided &#8467; &#8734; independence" condition (which includes pivotal sampling) matches the complexity of independent leverage score sampling:</p><p>Theorem 1.1. Let A &#8712; R n&#215;d be a data matrix and b &#8712; R n be a target vector. Consider any algorithm which samples exactly k rows from A (and observes the corresponding entries in b) from a distribution that 1) satisfies one-sided &#8467; &#8734; independence (Defn. 3.1) with parameter D inf and 2) the marginal probability of sampling any row a i is proportional to &#196; i .<ref type="foot">foot_2</ref> Let &#195; and b be the scaled sampled data and target, as defined in Section 1.1, and let x * = arg min</p><p>One-sided &#8467; &#8734; independence was introduced in a recent paper by <ref type="bibr">Kaufman et al. (2022)</ref> on matrix Chernoff bounds (we provide a formal definition in Sec. 3). It is the weakest condition under which a tight matrix Chernoff bound is known to hold. For example, the condition is implied with constant D inf = O(1) by almost all existing notions of negative dependence between random variables, including conditional negative association (CNA) and the strongly Rayleigh property <ref type="bibr">(Pemantle, 2000)</ref>. As discussed in Sec. 3, a tight matrix Chernoff bound is a prerequisite for proving relative error active learning results like Equation (1.3), however does not imply such a result alone. Our proof of Theorem 1.1 requires adapting an approximate matrix-multiplication method from <ref type="bibr">(Drineas et al., 2006)</ref> to non-independent sampling. It can be viewed as extending the work of <ref type="bibr">Kaufman et al. (2022)</ref> to show that essentially all sampling distributions known to yield tight matrix Chernoff bounds also yield near optimal active regression bounds in the agnostic setting. Importantly, this includes binary-tree-based pivotal sampling methods like those introduced in this work. Such methods are known to satisfy the strongly Rayleigh property <ref type="bibr">(Br&#228;nd&#233;n and Jonasson, 2012)</ref>, and thus one-sided &#8467; &#8734; independence with D inf = O(1). So, as a corollary of Theorem 1.1, we obtain: Corollary 1.1. The spatially-aware pivotal sampling methods introduced in Section 2 (which use a fixed binary tree) return with probability 99/100 a vector x * satisfying &#8741;Ax * -b&#8741;</p><p>We hope that Theorem 1.1 will be valuable in obtaining similar results for other sampling methods beyond our own. However, the result falls short of justifying why pivotal sampling performs better than independent leverage score sampling in experiments. Towards that end, we prove a second result specific to pivotal sampling, which shows that the method actually improves on the complexity of independent sampling by a log factor in the important special case of polynomial regression:</p><p>Theorem 1.2. Consider any function b : [&#8467;, u] &#8594; R defined on an interval [&#8467;, u] &#162; R, and consider fitting b with a degree d polynomial based on evaluations of the function at x 1 , . . . , x k &#8712; [&#8467;, u]. If x 1 , . . . , x k are collected via pivotal sampling with leverage score marginals (see Appendix C for details), then as long as k g c &#8226; (d + d &#1013; ) for a fixed positive constant c, there is a procedure that uses these samples to construct a degree d polynomial p which, with probability 99/100, satisfies:</p><p>Here &#8741;f &#8741; 2 2 denotes the average squared magnitude u &#8467; f (x) 2 dx of a function f . The problem of finding a polynomial approximation to a real-valued function that minimizes the average square error &#8741;p -b&#8741; 2 2 can be modeled as an active regression problem involving a matrix A with d + 1 columns and an infinite number of rows. In fact, polynomial approximation is one of the primary applications of prior work on leverage score-based active learning methods <ref type="bibr">(Cohen and Migliorati, 2017;</ref><ref type="bibr">Avron et al., 2019)</ref>. Such methods require O d log d + d &#1013; samples, so Theorem 1.2 is better by a log d factor. Since polynomial approximation is a representative problem where spatially-distributed samples are important, Theorem 1.2 provides theoretical justification for the strong performance of pivotal sampling in experiments. Our proof is inspired by a result of <ref type="bibr">Kane et al. (2017)</ref>, and relies on showing a tight relation between the leverage scores of the polynomial regression problem and the orthogonality measure of the Chebyshev polynomials on [&#8467;, u].</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.3">RELATED WORK</head><p>The application of leverage score sampling to the agnostic active regression problem has received significant recent attention. Beyond the results discussed above, extensions of leverage score sampling have been studied for norms beyond &#8467; 2 <ref type="bibr">(Chen and Derezinski, 2021;</ref><ref type="bibr">Musco et al.;</ref><ref type="bibr">Meyer et al., 2023;</ref><ref type="bibr">Parulekar et al., 2021)</ref>, in the context where the sample space is infinite (i.e. A is an operator with infinite rows) <ref type="bibr">(Erd&#233;lyi et al., 2020;</ref><ref type="bibr">Avron et al., 2019)</ref>, and for functions that involve non-linear transformations <ref type="bibr">(Gajjar et al., 2023;</ref><ref type="bibr">Mai et al., 2021;</ref><ref type="bibr">Munteanu et al., 2018)</ref>.</p><p>Theoretical improvements on leverage score sampling have also been studied. Notable is a recent result that improves on the O(d log d + d/&#1013;) bound by a log d factor, showing that the active least squares regression problem can be solved with O(d/&#1013;) samples <ref type="bibr">(Chen and Price, 2019)</ref>. This is provably optimal. However, the algorithm in (Chen and Price, 2019) is complex, and appears to involve large constant factors: in our initial experiments, it did not empirically improve on independent leverage score sampling. In contrast, by Theorem 1.2, our pivotal sampling method matches the theoretical sample complexity of <ref type="bibr">(Chen and Price, 2019)</ref> for the special case of polynomial regression, but performs well in experiments (significantly better than independent leverage score sampling). There have been a few other efforts to develop practical improvements on leverage score sampling. Similar to our work, <ref type="bibr">Derezi&#324;ski et al. (2018)</ref> study a variant of volume sampling that matches the theoretical guarantees of leverage score sampling, but performs better experimentally. However, this method does not explicitly take into account spatial-structure in the underlying regression problem. While the method from <ref type="bibr">(Derezi&#324;ski et al., 2018)</ref> does not quite fit our Theorem 1.1 (e.g., it samples indices with replacement) we expect similar methods could be analyzed as a special case of our result, as volume sampling induces a strongly Rayleigh distribution.</p><p>While pivotal sampling has not been studied in the context of agnostic active regression, it is widely used in other applications, and its negative dependence properties have been studied extensively. <ref type="bibr">(Dubhashi et al., 2007)</ref> proves that pivotal sampling satisfies the negative association (NA) property. <ref type="bibr">(Borcea et al., 2009)</ref> introduced the notion of a strongly Rayleigh distribution and proved that it implies a stronger notion of conditional negative association (CNA), and <ref type="bibr">(Br&#228;nd&#233;n and Jonasson, 2012)</ref> showed that pivotal sampling run with an arbitrary binary tree is strongly Rayleigh. It follows that the method satisfies CNA. <ref type="bibr">(Greene et al., 2022)</ref> discusses an efficient algorithm for pivotal sampling by parallelization and careful manipulation of inclusion probabilities. Another variant of pivotal sampling that is spatially-aware is proposed in <ref type="bibr">(Grafstr&#246;m et al., 2011)</ref>. Though their approach is out of the scope of our analysis as it involves randomness in the competition order used during sampling, our method is inspired by their work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.4">NOTATION AND PRELIMINARIES</head><p>Notation. We let [n] denote {1, &#8226; &#8226; &#8226; , n}. E[X] denotes the expectation of a random variable X. We use bold lower-case letters for vectors and bold upper-case letters for matrices. For a vector z &#8712; R n with entries</p><p>denotes the Euclidean norm of z. Given a matrix A &#8712; R n&#215;d , we let a i denote the i-th row, and a ij denote the entry in the i-th row and j-th column.</p><p>Importance sampling. All of the methods studied in this paper solve the active regression problem by collecting a single random sample of rows in A and corresponding entries in b. We introduce a vector of binary random variables &#958; = {&#192; 1 , &#8226; &#8226; &#8226; , &#192; n }, where &#192; i is 1 if a i (and thus b i ) is selected, and 0 otherwise. &#192; 1 , &#8226; &#8226; &#8226; , &#192; n will not necessarily be independent depending on our sampling method. Given a sampling method, let p i = E[&#192; i ] denote the marginal probability that row i is selected. We return an approximate regression solution as follows: let &#195; &#8712; R k&#215;d contain a i / &#8730; p i for all i such that &#192; i = 1, and similarly let b &#8712; R k contain b i / &#8730; p i for the same values of i. This scaling ensures that, for any fixed x, E&#8741; &#195;x -b&#8741; 2 2 = &#8741;Ax -b&#8741; 2 2 . To solve the active regression problem, we return x * = arg min x&#8712;R d &#8741; &#195;x -b&#8741; 2 2 . Computing x * only requires querying k target values in b. Leverage Score Sampling. We consider methods that choose the marginal probabilities proportional to A's leverage scores. Specifically, our methods sample row a i with marginal probability pi = min(1, c k &#8226; &#196; i ), where c k is chosen so that n i=1 pi = k. Details of how to find c k are discussed in Appendix A. We note that we always have</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">OUR METHODS</head><p>In this section, we present our sampling scheme which consists of two steps; deterministically constructing a binary tree, and choosing samples by running the pivotal method on this tree. The pivotal method is described in Algorithm 1. It takes as input a binary tree with n leaf nodes, each corresponding to a single index i to be sampled. For each index, we also have an associated probability pi . The algorithm collects a set of exactly k samples S where k = n i=1 pi . It does so by percolating up the tree and performing repeated head-to-head comparisons of the indices at sibling nodes in the tree. After each comparison, one node promotes to the parent node with updated inclusion probability, and the other node is determined to be sampled or not to be sampled.</p><p>It can be checked that, after running Algorithm 1, index i is always sampled with probability pi , regardless of the choice of T . However, the samples collected by the pivotal method are not independent, but rather negatively correlated: siblings in T are unlikely to both be sampled, and in general, the events that close neighbors in the tree are both sampled are negatively correlated. In particular, if index i could at some point compete with an index j in the pivotal process, the chance of selecting j decreases if we condition on i being selected. We take advantage of this property to generate spatially distributed samples by constructing a binary tree that matches the underlying geometry of our data. In particular, assume we are given a set of points X &#8712; R n&#215;d &#8242; . X will eventually be used to construct a regression matrix A &#8712; R n&#215;d via feature transformation (e.g. by adding polynomial features). However, we construct the sampling tree using X alone.</p><p>Algorithm 1 Binary Tree Based Pivotal Sampling <ref type="bibr">(Deville and Tille, 1998)</ref> Input: Depth t full binary tree T with n leaves, inclusion probabilities {p 1 , &#8226; &#8226; &#8226; , pn } for each leaf. Output: Set of k sampled indices S.</p><p>1: Initialize S = &#8709;. 2: while T has at least two remaining children nodes do 3:</p><p>Select any pair of sibling nodes S 1 , S 2 with parent P . Let i, j be the indices stored at S 1 , S 2 .</p><p>4:</p><p>With probability pi pi+ pj , set pi &#8592; pi + pj , pj &#8592; 0. Store i at P .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>6:</head><p>Otherwise, set pj &#8592; pi + pj , pi &#8592; 0. Store j at P .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>7:</head><p>else if pi + pj &gt; 1 then 8:</p><p>With probability 1-pi 2-pi-pj , set pi &#8592; pi + pj -1, pj = 1. Store i at P and set S &#8592; S &#8746;{j}.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>9:</head><p>Otherwise, set pj &#8592; pi + pj -1, pi &#8592; 1. Store j at P and set S &#8592; S &#8746; {i}.</p><p>10:</p><p>Remove S 1 , S 2 from T . 11: return S Algorithm 2 Binary Tree Construction by Coordinate or PCA Splitting</p><p>Output: Binary tree T where each leaf corresponds to a row in X.</p><p>1: Create a tree T with a single root node. Assign set R to the root where R = {i &#8712; [n]; pi &lt; 1}.</p><p>2: while There exists a node in T that holds set K such that |K| &gt; 1 do 3:</p><p>Select any such node N and let t be its level in the tree. Construct X (K) &#8712; R |K|&#215;d &#8242; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:</head><p>if split method = PCA then 5:</p><p>Sort X (K) according to the direction of the maximum variance.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>6:</head><p>else if split method = coordinate then 7:</p><p>Sort X (K) according to values in its ((t mod d &#8242; ) + 1)-th column.</p><p>8:</p><p>Create a left child of N . Assign to it all indices associated with the first + |K| 2 , rows of X (K) . 9:</p><p>Create a right child of N . Assign to it the all remaining indices in X (K) . Delete K from N .</p><p>10: return T Our tree construction method is given as Algorithm 2. X K denotes the subset of rows of X with indices in the set K. First, the algorithm eliminates all data points with inclusion probability pi = 1.</p><p>Next, it recursively partitions the remaining data points into two subgroups of the same size until all the subgroups have only one data point. Our two methods, PCA-based and coordinate-wise, only differ in how to partition. The PCA-based method performs principal component analysis to find the direction of the maximum variance and splits the space by a hyperplane orthogonal to the direction so that the numbers of data points on both sides are equal. The coordinate-wise version takes a coordinate (corresponding to a column in X) in cyclic order and divides the space by a hyperplane orthogonal to the chosen coordinate. An illustration of the PCA-based binary tree construction run on a fine uniform grid of data points in R 2 is shown in Figure <ref type="figure">3</ref>. Note that our tree construction method ensures the the number of indices assigned to each subgroup (color) at each level is equal to with &#177;1 point. As such, we end of with an even partition of data points into spatially correlated sets. Two indices will be more negatively correlated if they lie in the same set at a higher depth number.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">THEORETICAL ANALYSIS</head><p>As will be shown experimentally, when using probabilities p1 , . . . , pn proportional to the statistical leverage scores of A, our tree-based pivotal methods significantly outperform its Bernoulli counterpart for active regression. We provide two results theoretically justifying this operation. We first show that, no matter what our original data matrix X is, and what feature transformation is used to construct A, our methods never perform worse than Bernoulli sampling. In particular, they match the O(d log d+d/&#1013;) sample complexity of independent leverage score sampling. This result is stated as Theorem 1.1. Its proof is given to Appendix B, but we outline our main approach here.</p><p>Following existing proofs for independent random sampling (e.g. (Woodruff, 2014) Theorem 1.1 requires two main ingredients: a subspace embedding result, and an approximate matrix-vector multiplication result. In particular, let U &#8712; R n&#215;d be any orthogonal span for the columns of A. Let S &#8712; R k&#215;n be a subsampling matrix that contains a row for every index i selected by our sampling Figure <ref type="figure">3</ref>: Visualization of a binary tree constructed via our Algorithm 2 using the PCA method for a matrix X &#8712; R n&#215;2 containing points on a uniform square grid. For each depth, data points are given the same color if they compose a subtree with root at that depth. As we can see, the method produces uniform recursive spatial partitions, which encourage spatially separated samples.</p><p>scheme, which has value 1/ &#8730; pi at entry i, and is 0 everywhere else. So, in the notation of Theorem 1.1, &#195; = SA and b = Sb. To prove the theorem, it suffices to show that with high probability,</p><p>The first property is equivalent to &#8741;U T S T SU-I&#8741; 2 f 1/2. I.e., after subsampling, U should remain nearly orthogonal. The second property requires that after subsampling with S, the optimal residual, b-Ax * , should have small product with U. Note that without subsampling, &#8741;U T (b-Ax * )&#8741; 2 2 = 0. We show that both of the above bounds can be established for any sampling method that 1) samples index i with marginal probability proportional to its leverage score 2) is homogeneous, meaning that it takes a fixed number of samples k, and 3) produces a distribution over binary vectors satisfying the following property: Definition 3.1 (One-sided &#8467; &#8734; -independence). Let &#192; 1 , &#8226; &#8226; &#8226; , &#192; n &#8712; {0, 1} n be random variables with joint distribution &#181;. Let S &#166; [n] and let i, j &#8712; [n]\S. Define the one-sided influence matrix I S &#181; as:</p><p>To prove Theorem 1.1, our required subspace embedding property follows immediately from recently established matrix Chernoff-type bounds for sums of random matrices involving one-sided &#8467; &#8734; -independent random variables in <ref type="bibr">(Kaufman et al., 2022)</ref>. In fact, this work is what inspired us to consider this property, as it is the minimal condition under which such bounds are known to hold.</p><p>Our main theoretical contribution is thus to prove the matrix-vector multiplication property. We do this by generalizing the approach of <ref type="bibr">(Drineas et al., 2006)</ref> (which holds for independent random samples) to any distribution that satisfies one-sided &#8467; &#8734; -independence.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">IMPROVED BOUNDS FOR POLYNOMIAL REGRESSION</head><p>We do not believe that Theorem 1.1 can be strengthened in general, as spatially well-spread samples may not be valuable in all settings. For example, in the case when A = X, the points in X live in d dimensional space, and we are only collecting O(d log d) samples, so intuitively any set of points is well-spread. However, we can show that better spatial distribution does offer provably better bounds in some settings where X is low-dimensional and A is a high dimensional feature transformation. In particular, consider the case when X is a (quasi) matrix containing just one column, with an infinite number of rows corresponding to every point</p><p>t in an interval [&#8467;, u]. Every row of A is a polynomial feature transformation, meaning of the form a t = [1, t, t 2 , . . . , t d ] for degree d. Now, consider a target vector b that can be indexed by real numbers in [&#8467;, u]. Solving the infinite dimensional regression problem min x &#8741;Ax -b&#8741; 2 2 = min x u &#8467; (a T t xb t ) 2 dt is equivalent to finding the best polynomial approximation to b in the &#8467; 2 norm, a well studied application of leverage score sampling <ref type="bibr">Cohen and Migliorati (2017)</ref>. For this problem, we show that pivotal sampling obtains a sample complexity of O(d/&#1013;), improving on independent leverage score sampling by a log d factor.</p><p>This result is stated as Theorem 1.2 and proven in Appendix C. Importantly, we note that the dependence on d log d in the general active regression analysis comes from the proof of the subspace embedding guarantee -the required approximate matrix-multiplication guarantee already follows with O(d/&#1013;) samples. Our proof eliminates the log d by avoiding the use of a matrix Chernoff bound entirely. Instead, by taking advantage of connections between leverage scores of the polynomial regression problem and the orthogonality measure of the Chebyshev polynomials, we directly use tools from polynomial approximation theory to prove a subspace embedding bound that holds deterministically with just O(d) samples. Our approach is similar to a recently result of <ref type="bibr">Kane et al. (2017)</ref>, which also obtains O(d/&#1013;) sample complexity for active degree-d polynomial regression, albeit with a sampling method not based on leverage scores.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">EXPERIMENTS</head><p>We experimentally evaluate our pivotal sampling methods on active regression problems with lowdimensional structure. The benefits of leverage score sampling over uniform sampling for such problems has already been established (see e.g. <ref type="bibr">(Hampton and Doostan, 2015)</ref> or <ref type="bibr">(Gajjar et al., 2023)</ref>) and we provide additional evidence in Appendix D. So, we focus on comparing our pivotal methods to the widely used baseline of independent Bernoulli leverage score sampling.</p><p>Test Problems. We consider several test problems inspired by applications to parametric PDEs. In these problems, we are given a differential equation with parameters, and seek to compute some observable quantity of interest (QoI) for different choices of parameters. This can be done directly by solving the PDE, but doing so is computationally expensive. Instead, the goal is to use a small number of solutions to the PDE to fit a surrogate model (in our case, a low-degree polynomial) that approximates the QoI well, either over a given parameter range, or on average for parameters drawn from a distribution (e.g., Gaussian). The problem is naturally an active regression problem because we can choose exactly what parameters to solve the PDE for. The first equation we consider models the displacement x of a damped harmonic oscillator with a sinusoidal force over time t.</p><p>The equation has four parameters; damping coefficient c, spring constant k, forcing amplitude f , and frequency &#201;. As a QoI, we consider the maximum oscillator displacement after 20 seconds. We fix c, f = 0.5, and seek to approximate this displacement over the range domain</p><p>We also consider the heat equation for values of x &#8712; [0, 1] with a time-dependent boundary equation and sinusoidal initial condition parameterized by a frequency &#201;. The heat equation that we consider describes the temperature f (x, t) by the partial differential equation.  (a) Target Function. (b) Bernoulli Sampling. (c) Pivotal Sampling (our method). (a) Leverage Score. (b) Target Function. (c) Bernoulli Sampling. (d) Pivotal Sampling. Data Matrix. For both problems, we construct A by uniformly selecting n = 10 5 data points in the 2-dimensional parameter range of interest. We then add all polynomial features of degree p = 12 as discussed in Section 1.2. We compute sampled entries from the target vector b using standard MATLAB routines. Results comparing our PCA-based pivotal method and Bernoulli leverage score sampling are show in Figure <ref type="figure">4</ref>. We report median normalized error &#8741;Ax * -b&#8741; 2 2 /&#8741;b&#8741; 2 2 after 1000 trials. By drawing more samples from b, the errors of all methods eventually converge to the optimal error &#8741;Ax * -b&#8741; 2 2 /&#8741;b&#8741; 2 2 , but clearly the pivotal method requires less samples to achieve a given level of accuracy, confirming the benefits of spatially-aware sampling. We also visualize results for the damped harmonic oscillator in Figure <ref type="figure">1</ref>, showing approximations obtained with 250 samples. Visualizations for the heat equation are given in Figure <ref type="figure">5</ref>. For both targets, one can directly see that pivotal sampling improves the performance over Bernoulli sampling.</p><p>We also consider a chemical surface coverage problem from <ref type="bibr">(Hampton and Doostan, 2015)</ref>. Details are relegated to Appendix D. Again, we vary two parameters and seek to fit a surrogate model using a small number of example pairs of parameters. Instead of a uniform distribution, for this problem, the rows of X are drawn from a Gaussian distribution with 0-mean and 7.5 standard deviation. We construct A using polynomial features of varying degrees. Convergence results are shown in Figure <ref type="figure">4</ref> and the fit visualized for data near the origin in Figure <ref type="figure">6</ref>. This is a challenging problem since the target function has sharp threshold behavior that is difficult to approximate with a polynomial. However, our pivotal based leverage score sampling performs well, providing a better fit than Bernoulli sampling. Additional experiments, including on 3D problems are reported in Appendix D.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">CONCLUSION AND FUTURE WORK</head><p>In this paper, we introduce a spatially-aware pivotal sampling method and empirically demonstrate its effectiveness for active linear regression for spatially-structured problems. We prove a general theorem that can be used to analyze the number of samples required in the agnostic setting for any similar method that samples with marginal probabilities proportional to the leverage scores using a distribution that satisfies one-sided &#8467; &#8734; independence. We provide a stronger bound for the important special case of polynomial regression, showing that our method can obtain a sample complexity of O(d/&#1013;), removing a log(d) factor from independent leverage score sampling. This result provides initial theoretical evidence for the strong performance of pivotal sampling in practice. Extending it to other spatially structured function classes would be an interesting direction for future work.</p><p>Tam&#225;s Sarl&#243;s. Improved approximation algorithms for large matrices via random projections. In Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS), 2006. Keeve M. Siegel. Bounds of the Legendre function. Journal of Mathematics and Physics, 34(1-4): 43-49, 1955. Lloyd N. Trefethen. Householder triangularization of a quasimatrix. IMA Journal of Numerical Analysis, 30(4):887-897, 2009. Joel A. Tropp. User-friendly tail bounds for sums of random matrices. Foundations of Computational Mathematics, 12(4):389-434, 2012. David P. Woodruff. Sketching as a tool for numerical linear algebra. Foundations and Trends in Theoretical Computer Science, 10(1-2):1-157, 2014. Dongbin Xiu. Stochastic Collocation Methods: A Survey, pages 1-18. Springer International Publishing, 2016.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A PROBABILITY PRE-PROCESSING</head><p>As discussed in Section 1.4, our sampling methods require computing probabilities p1 , . . . , pn where pi = min(1, c k &#8226; &#196; i ) for some fixed constant c k chosen so that n i=1 pi = k. We can find such probabilities using a simple iterative method, which takes as input initial "probabilities" p i = k d &#196; i that are proportional to the leverage scores &#196; 1 , . . . , &#196; n of A. Note that p i could be larger than 1 if k &gt; d. Pseudocode for how to adjust these probabilities is included in Algorithm 3. pi &#8592; 1 for all i &#8712; S.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm 3 Probability Ceiling</head><p>4:</p><p>To see that the method returns pi with the desired properties, first note that k-|D| i&#8712;R pi is always greater than 1. In particular, at the beginning of the while loop, we always have the invariant that n i=1 pi = k. Accordingly, i&#8712;R pi = k -i&#8712;D pi &lt; k -|D|. As a result, at the end of the algorithm, pi certainly equals min(1, c &#8226; &#196; i ) for some constant c g 1. And in fact, it must be that c = c k by the invariant that n i=1 pi = k. The main loop in Algorithm 3 terminates as soon as S is empty, which happens after at most k steps. In practice however, the method usually converges in 2 or 3 iterations. Nevertheless, our primary objective is to minimize the number of samples required for an accurate regression solution -we do not consider runtime costs in detail.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B PROOF OF THEOREM 1.1</head><p>In this section, we prove our first theoretical result, which holds for any row sampling distribution whose marginal probabilities are proportional to the leverage scores of A, and which satisfies a few additional conditions. In particular, we require that the distribution is both k-homogeneous and is &#8467; &#8734; -independent with constant parameter D. We define the first requirement below, and recall the definition of &#8467; &#8734; -independence from Section 3. For both definitions, we view our subsampling process as a method that randomly selects a binary vector &#958; = {&#192; 1 , &#8226; &#8226; &#8226; , &#192; n } from {0, 1} n . Entries of 1 in the vector correspond to rows that are sampled from A (and thus labels that are observed in b). Under this notation, our requirement on marginal probabilities is equivalent to requiring that E[&#192; i ] = min(1, c &#8226; &#196; i ) = pi for some fixed constant c, where &#196; i is the i-th leverage score of A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition B.1 (Homogeneity). A distribution over binary vectors</head><p>1} n be random variables with joint distribution &#181;. Let S &#166; [n] and let i, j &#8712; [n]\S. Define the one-sided influence matrix I S &#181; as:</p><p>With these definitions in place, we are ready for our proof:</p><p>Proof of Theorem 1.1. As outlined in Section 3, we need to establish two results: a subspace embedding guarantee and an approximate matrix-vector multiplication result. We prove these separately below, then combine the results to complete the proof of the theorem.</p><p>Subspace Embedding. Let S be a subsampling matrix corresponding to a vector &#958; selected from a distribution with the properties above. That is, S &#8712; R k&#215;n contains a row for every index i where &#192; i = 1. That row has value 1/ &#8730; pi at entry i, and is 0 everywhere else. Let U &#8712; R n&#215;d be an orthonormal span for A's columns. We will show that, if</p><p>We establish (B.1) using the following matrix Chernoff bound from <ref type="bibr">(Kaufman et al., 2022)</ref>:</p><p>Lemma B.1 (Matrix Chernoff for &#8467; &#8734; -independent Distributions). Let &#192; 1 , &#8226; &#8226; &#8226; , &#192; n be binary random variables with joint distribution &#181; that is z-homogeneous for any positive integer z and &#8467; &#8734;independent with parameter D inf . Let Y 1 , . . . , Y n &#8712; R d&#215;d be positive semidefinite (PSD) matrices with spectral norm</p><p>Then, for any &#179; &#8712; (0, 1) and a fixed constant c,</p><p>Letting u i denote the i-th row of U, U T S T SU can be decomposed as:</p><p>Recall that pi = min(1, c &#8226; &#196; i ) for some constant c, and in fact, since</p><p>For each i &#8712; D, let m i be an integer such that m i g p i . For i &#8712; D, p i = k d &#196; i g 1, so m i g 1. Additionally let &#192; 1 i , . . . , &#192; mi i = &#192; i be variables that are deterministically 1. Then we can trivially split up the second sum above so that:</p><p>It is easy to see that {&#192; i : i &#8712; R} &#8746; {&#192; j i : i &#8712; D, j &#8712; [m i ]} are &#8467; &#8734; -independent random variables with parameter D inf and form a distribution that is k homogeneous for k = k + i&#8712;D (m i -1). So, noting that u i u T i is PSD, we can apply Lemma B.1 to (B.2). We are left to bound R and &#181; max .</p><p>For such i, we have that pi g p i . So,</p><p>Since we chose m i g p i , by the same argument, we have that</p><p>Next, we bound &#181; max by simply noting that</p><p>where I denotes the d &#215; d identity matrix. It follows that &#181; max = &#181; min = 1.</p><p>Plugging into Lemma B.1 and applying a union bound, we obtain</p><p>,</p><p>&#8226; D 2 inf ), we have &#8741;U T S T SU -I&#8741; 2 f &#179; with probability at least 1 - &#182;. This establishes (B.1).</p><p>Approximate Matrix-Vector Multiplication. With our subspace embedding result in place, we move onto proving the necessary approximate matrix-vector multiplication result introduced in Section 3. In particular, we wish to show that, with good probability,</p><p>2 where x * = arg min x &#8741;Ax -b&#8741; 2 2 . Since the residual of the optimal solution, b -Ax * , is the same under any column transformation of A, we have b -Ax * = b -Uy * where y * = arg min y &#8741;Uy -b&#8741; 2 2 . We can then equivalently show that, if we take k = O d &#1013; &#182; &#8226; D inf samples, with probability 1 - &#182;,</p><p>As in the proof for independent random samples <ref type="bibr">(Drineas et al., 2006)</ref>, we will prove (B.3) by bounding the expected squared error and applying Markov's inequality. In particular, we have</p><p>Let z = b -Uy * and note that U T z = 0. The numerator on the right side can be transformed as</p><p>Note that above S T S -I is a diagonal matrix with i-th diagonal entry equal to 1 pi -1 if &#192; i = 1 and -1 if &#192; i = 0. Expanding the &#8467; 2 -norm and using that &#192; i = 1 and pi = 1 for i / &#8712; R, we have</p><p>where</p><p>where D inf is the &#8467; &#8734; -independence parameter. It suffices to show that for every j, we have</p><p>and a vector v &#8712; R |R| with entries v i = uij zi &#8730; pi . The desired result in (B.5) can be expressed as</p><p>Equivalently, if we define a diagonal matrix &#923; &#8712; R |R|&#215;|R| such that &#923; ii = &#8730; pi , we have shown:</p><p>where for a matrix B, &#8741;B&#8741; &#8734; denotes max i l |B il | = max x &#8741;Bx&#8741;&#8734; &#8741;x&#8741;&#8734; . It follows that the largest eigenvalue of &#923; -1 M&#923; is at most D inf and thus, the largest eigenvalue of M is also at most D inf . Therefore, we have</p><p>Recalling that z = Uy *b, we can plug into (B.4) with k = O d &#1013; &#182; &#8226; D inf samples, which proves that (B.3) holds with probability at least 1 - &#182;.</p><p>Putting it all together. With (B.1) and (B.3) in place, we can prove our main result, (1.3) of Theorem 1.1. We follow a similar approach to <ref type="bibr">(Woodruff, 2014)</ref>. By reparameterization, proving this inequality is equivalent to showing that &#8741;U&#7929; * -b&#8741; 2 2 f (1 + &#1013;)&#8741;Uy * -b&#8741; 2 2 , (B.6)</p><p>where &#7929; * = arg min y &#8741;SUy -Sb&#8741; 2 2 and y * = arg min y &#8741;Uy -b&#8741; 2 2 . Since y * is the minimizer of &#8741;Uy -b&#8741; 2 2 , we have &#8711; y &#8741;Uy -b&#8741; 2 2 = 2U T (Uyb) = 0 at y * . This indicates that Uy *b is orthogonal to any vector in the column span of U. Particularly, Uy * -b is orthogonal to U&#7929; * -Uy * . Therefore, by the Pythagorean theorem, we have</p><p>) and &#182; = 1/200, we have that, with probability 99.5/100, &#8741;U T S T SU -I&#8741; 2 f 1 2 . Then, by triangle inequality,</p><p>3) with &#182; = 1/200 and combining with (B.8) using union bound, we thus have that with probability 99/100,</p><p>(B.9) Plugging into (B.7) and adjusting &#1013; by a constant factor completes the proof of Theorem 1.1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.1 PROOF OF COROLLARY 1.1</head><p>We briefly comment on how to derive Corollary 1.1 from our main result. By definition of the method, we immediately have that our binary-tree-based pivotal sampling is k-homogeneous, so we just need to show that it produces a distribution over samples that is &#8467; &#8734; -independent with constant parameter D inf . This fact can be derived directly from a line of prior work. In particular, <ref type="bibr">(Br&#228;nd&#233;n and Jonasson, 2012)</ref> proves that binary-tree-based pivotal sampling satisfies negative association, <ref type="bibr">(Pemantle and Peres, 2014)</ref> proves that negative association implies a stochastic covering property, and <ref type="bibr">(Kaufman et al., 2022)</ref> shows that any distribution satisfying the stochastic covering property has &#8467; &#8734; -independence parameter at most D = 2. We also give an arguably more direct alternative proof below based on a natural conditional variant of negative correlation.</p><p>Proof of Corollary 1.1. <ref type="bibr">(Br&#228;nd&#233;n and Jonasson, 2012)</ref> proves that binary-tree-based pivotal sampling is conditionally negatively associated (CNA). Given a set C &#166; [n] and a vector c &#8712; {0, 1} |C| , we denote the condition &#192; c = c i for all i &#8712; C by C. Conditional negative association asserts that, for all C, any disjoint subsets S and T of {&#192; 1 , &#8226; &#8226; &#8226; , &#192; n }, and any non-decreasing functions f and g,</p><p>When S and T are singletons and f and g are the identity functions, we have</p><p>we also have</p><p>In words, the entries of our vector &#958; are negatively correlated, even conditioned on fixing any subset of entries in the vector. We will use this fact to show that j&#8712;</p><p>, where I S &#181; is as defined in Definition 3.1. For a fixed i, let</p><p>. Then, we have |I S &#181; (i, j)| = 0 for j &#8712; S, |I S &#181; (i, j)| = 1q i for j = i, and j&#8712;[n]\S&#8746;{i} |I S &#181; (i, j)| = 1q i . The last fact follows from k-homogeneity, i.e. that n i=1 q i = k, and (B.11), which implies that</p><p>C PROOF OF THEOREM 1.2</p><p>In this section we prove Theorem 1.2, which shows that pivotal obtains a better sample complexity for polynomial regression on an interval than independent leverage score sampling. Since we can always shift and scale our target function, without loss of generality we can take [&#8467;, u] to be the interval [-1, 1]. We will sample from the infinite set of points on this interval. Each point t &#8712; [-1, 1] will correspond to a row in a regression matrix A with d+1 columns and an infinite number of rows. Such an object is sometimes referred to as a quasimatrix <ref type="bibr">(Trefethen, 2009)</ref>. <ref type="foot">3</ref> The row with index t equals a t = [1, t, t 2 , . . . , t d ]. The leverage score for the row with index t is defined analogously to Equation (1.2) as:</p><p>) since A has d + 1 columns. We will sample k points from [-1, 1] interval with the probability of sampling point t to be proportional to &#196; (t). To do so, we renormalize &#196; (t) and consider sampling point t with probability proportional to k&#196; (t)  d+1 . This is the analog of sampling with probability pi in the discrete case, since</p><p>d+1 dt = k. Then we apply pivotal sampling in the infinite point limit, where we choose the pivotal competition order so that points in [-1, 1] compete with each other from left to right across the interval. In this limit, the probability carried along in the competition will, at one point, accumulate to exactly 1. This defines the interval I 1 whose left endpoint is -1 and its right endpoint is defined so that I1 k&#196; (t) d+1 dt = 1. This means that the winner in the last competition in I 1 will be sampled. A new competition then starts for the next point, until the renormalized leverage score accumulates to 1 again and the winner is sampled. We can define I i (i = 1, 2, . . . , k) to be adjacent intervals with Ii k&#196; (t) d+1 dt = 1. It can be seen that pivotal sampling in the infinite point limit will always sample exactly one point from each of I 1 , . . . , I k . This is actually the only property of pivotal sampling we will need to prove Theorem 1.2, although we note that, within an interval I i , point t is selected with probability proportional to &#196; (t)/ Ii &#196; (s)ds.</p><p>To prove a sample complexity bound on O(d/&#1013;) for polynomial regression, it suffices to prove that a constant factor subspace embedding guarantee holds when selecting O(d) samples from [-1, 1] using the pivotal sampling process above. Observe that the required &#1013;-error approximate matrix multiplication guarantee from Section 3 already holds with O(d/&#1013;) samples collected via the pivotal method with leverage score marginals, and this analysis extends to the infinite quasi-matrix setting (see Appendix C.1). It is only the subspace embedding guarantee that adds an extra log d factor to the sample complexity. Since this factor is inherent to our use of a matrix Chernoff bound in analyzing the general case, to prove a tighter bound for polynomial regression we use a direct analysis that avoids matrix Chernoff entirely. In particular, our main result of this section is as follows:</p><p>. . , t k be selected from [-1, 1] via pivotal sampling. Specifically, exactly one point t i is sampled from each interval I 1 , . . . , I k with probability proportional to its leverage score. We have (deterministically) that for any degree d polynomial p, with</p><p>To translate from the notation above to the notation used in (B.1), note that</p><p>where U is an orthogonal span for the quasi-matrix A defined above, and x is a d + 1 dimensional vector containing coefficients of the polynomial p in the basis U. Correspondingly,</p><p>Proof of Theorem 1.2. With Theorem C.1 providing the required subspace embedding guarantee from (B.1), the proof of Theorem 1.2 is essentially identical to the proof for the discrete case (Theorem 1.1). The only remaining requirement is the required approximate matrix-vector multiplication guarantee from (B.3). For completeness, we provide a direct proof in the polynomial regression case in Appendix C.1.</p><p>We build up to the proof of Theorem C.1 by introducing several intermediate results. Our approach is inspired by a result of <ref type="bibr">Kane et al. (2017)</ref>, which also obtains O(d/&#1013;) sample complexity for active degree-d polynomial regression, albeit with a sampling distribution not based on leverage scores. In particular, they prove the same guarantees as Theorem C.1, but where points are selected uniformly from k intervals that evenly partition the Chebyshev polynomial weight function 1/ &#8730; 1t 2 . As we will see, the leverage scores for polynomials closely approximate this weight function. This connection is well known, as the leverage score function from (C.1) is exactly proportional to the inverse of the polynomial "Christoffel function" under the uniform measure, a well-studied function in approximation theory.</p><p>For simplicity, from now on we denote f (t) = p(t) 2 and describe the main structure of the proof of Theorem C.1. The left hand side of (C.2) can be decomposed into a sum of errors in individual intervals as</p><p>In each interval I i , noting that by the definition of</p><p>Then, proving the upper bound in Theorem C.1 boils down to establishing a lower bound for w(t), an upper bound for |w &#8242; (t)|, and the connection between</p><p>w(t) dt and 1 -1 f (t)dt, which is related to the lower bound for w(t).</p><p>Both f (t) and w(t) are polynomials. This is key to providing both pointwise and (weighted) integral upper bounds of their derivatives by their function values and integrals. In polynomial approximation theory, Markov-Bernstein inequalities address exactly this point.</p><p>We begin with the integral form of the Markov-Bernstein inequalities from <ref type="bibr">Borwein and Erd&#233;lyi (1995)</ref> and <ref type="bibr">Nevai (1979)</ref>.</p><p>Proposition C.2 (L 1 Bernstein's inequality). For any degree d polynomial p(t), with a universal constant C 0 ,</p><p>(C.6)</p><p>Proposition C.3 (L 1 Markov's inequality). For any degree d polynomial p(t), with a universal constant C 1 ,</p><p>The integral on the left hand side of (C.6) is weighted by &#8730; 1t 2 . This weight is negligible near the boundary of the interval [-1, 1], which, to some extent, explains the milder O(d) dependence on the right hand side of (C.6) compared to the O(d 2 ) dependence in (C.7).</p><p>(C.6) and (C.7) also indicate that a lower bound on w(t) of the form 1 &#8730; 1-t 2 or a constant can cooperate with |f &#8242; (t)| to yield an integral bound. This is indeed realizable, and we will prove that the lower bound on w(t) is of the two different forms in different parts of the interval [-1, 1]. It is roughly the minimum of these two, as 1 &#8730; 1-t 2 blows up near the boundary. We define the middle region to be a centered subinterval in [-1, 1] that is &#8764; 1 d 2 away from the boundary, and the boundary region to be the two subintervals of length &#8764; 1 d 2 near the boundary. The exact expression of these two regions will be clear when we state different lower bounds of w(t). There we note that these two regions are overlapping so that we get a lower bound on w(t) on the whole interval. Matching this pattern of lower bounds, we will also apply different upper bounds of w &#8242; (t) in these two regions.</p><p>Lower bound on w(t) in the middle region. <ref type="bibr">Erd&#233;lyi and Nevai (1992)</ref> states the following bound on &#196; (t), which shows the relation between the leverage score and the Chebyshev polynomial weight function. See Section 4.3 in <ref type="bibr">Meyer et al. (2023)</ref> for further discussion of this result.</p><p>Lower bound on w(t) in the boundary region. This requires a bit more effort than the case of the middle region. Inspired by (C.7), we aim for the following bound on &#196; (t) and w(t). Proposition C.5. With constants</p><p>We specify c &gt; 9 2 because this implies that, at least for d large enough, the middle region, defined as -1 -9 (d-1) 2 , 1 -9 (d-1) 2 , and the boundary region, defined as -1, -1</p><p>To prove Proposition C.5, we need to employ the explicit expression for &#196; (t) in terms of Legendre polynomials and apply properties of Legendre polynomials. We denote the unnormalized degree d Legendre polynomial by P d (t) and we fix P d (1) = 1. We use L d (t) to denote the normalized Legendre polynomials satisfying</p><p>1 -1 L 2 d (t)dt = 1. There are classical, explicit bounds for L d (t) and its derivative on the interval [-1, 1]. Lemma C.6 (See e.g. Siegel (1955)). For |t| f 1, the normalized degree d Legendre polynomials L d , satisfy</p><p>Proof of Proposition C.5: Since &#196; (t) and w(t) are related as w(t) = &#196; (t) d+1 , we only need to prove the bound for &#196; (t). The proof follows from the fact that, &#196; (t) can be equivalently written as the squared norm of the t-th row in any orthonormal basis for A,</p><p>See e.g. Equation (4) in <ref type="bibr">Meyer et al. (2023)</ref> for this equivalency. We will then lower bound &#196; (t) by deriving lower bounds for the individual summands, ultimately arguing that for |t| &gt; 1 -c d 2 , &#196; (t) &#8819; d 2 . Lower bounds on individual L 2 i (t) can be derived with an upper bound on the derivative, since we know at the boundary L i (1) = i + 1 2 exactly and L 2 i (t) is an even function. In particular, by Lemma C.6,</p><p>Therefore, for any c &gt; 0 and |t|</p><p>For a given c, L 2 i (t) is thus positive and of order &#8819; i as long as i f d/c &#8242; for a sufficiently large constant c &#8242; &gt; 1. A careful algebraic manipulation will show that we can choose c &gt; 9 2 . With the classical formula for summing a linear growth sequence, we have for some constant C 3 ,</p><p>Now we move on to upper bounds on w &#8242; (t) in the two regions matching the form of w(t) so that some cancellation can occur to leave a clean integral Ii f (t)dt in (C.5). The classical Markov-Bernstein inequalities in <ref type="bibr">Borwein and Erd&#233;lyi (1995)</ref> bound the pointwise value of the derivative of a polynomial by its maximum function value. Lemma C.7 (Bernstein's inequality). For any degree d real polynomial p(t),</p><p>12) Lemma C.8 (Markov's inequality). For any degree d real polynomial p(t), |p &#8242; (t)| f d 2 sup t&#8712;[-1,1] |p(t)|, for -1 &lt; t &lt; 1. (C.13) Both Lemma C.7 and Lemma C.8 are valid on the whole interval [-1, 1], but one of them is tighter than the other depending on where t sits. Although w &#8242; (t) itself is a degree 2d -1 polynomial, it turns out that the bounds directly given by Lemma C.7 and Lemma C.8 are too crude. However, we can unwrap more structure in &#196; &#8242; (t) by applying the recurrence relation of Legendre polynomials. Proposition C.9 (Neat expression of &#196; &#8242; (t)). &#196; &#8242; (t) = P &#8242; d+1 (t)P &#8242; d (t). (C.14)</p><p>Proof. We write &#196; (t) in terms of the unnormalized Legendre polynomials P n as</p><p>P n and P &#8242; n are related by the recurrence relation (2n + 1)P n = P &#8242; n+1 -P &#8242; n-1 with P &#8242; 0 = 0, so</p><p>Upper bound on w &#8242; (t) in the middle region.</p><p>Proposition C.10.</p><p>Proof. This follows from Proposition C.9 and Bernstein's inequality in Lemma C.7 for Legendre polynomials P d and P d+1 by noting that the maximum of these polynomials are P i (1) = 1, &#8704;i.</p><p>Upper bound on w &#8242; (t) in the boundary region. The bound in Proposition C.10 will blow up near the boundary. This is caused by the blowing up of Bernstein's inequality in Lemma C.7. We should use the tighter upper bound offered by Markov's inequality in Lemma C.8 and a similar proof will give the following bound.</p><p>Proposition C.11.</p><p>As mentioned, Proposition C.10 and Proposition C.11 cannot be obtained by treating &#196; (t) as a general 2d -1 polynomial. In fact, directly applying Lemma C.7 and Lemma C.8 to &#196; (t), we will get instead</p><p>which is significantly worse in the middle region.</p><p>With the previous intermediate results in place, we are now ready to prove our main claim, following the proof of Lemma 2.1 in <ref type="bibr">Kane et al. (2017)</ref> for intervals defined by the Chebyshev measure.</p><p>Proof of Theorem C.1. Recall we start with (C.5) as</p><p>(C.17)</p><p>We will use different pointwise bounds of w(t) and w &#8242; (t) in different parts of the interval. For the middle region, by Proposition C.4 and Proposition C.2 we have</p><p>dt. (C.18) Also, by Proposition C.4 and Proposition C.10, |w &#8242;</p><p>For the boundary region, by Proposition C.5 and Proposition C.3 we have</p><p>t)|dt. (C.20) Also, by Proposition C.5 and Proposition C.11, we have |w &#8242;</p><p>Finally, noticing that the middle region -1 -9 (d-1) 2 , 1 -9 (d-1) 2 and the boundary region</p><p>1 are overlapping, we can further upper bound the right hand side of (C.17    (a) 3D Damped Harmonic Oscillator. (b) Leverage Score v.s. Uniform Sampling. (c) Randomized BSS. Figure <ref type="figure">8</ref> (a) shows the relative error of Bernoulli sampling and our pivotal sampling both using the leverage score. As expected, our method shows a better fit than Bernoulli sampling again.</p><p>Samples Needed for a Certain Error. Table <ref type="table">1</ref> and 2 summarize the number of samples required to achieve 2 &#215; OPT error and 1.1 &#215; OPT error where OPT is the error we could obtain when all the data are labeled. In all four test problems, pivotal sampling achieves the target error with fewer samples than the existing method (independent leverlage scores sampling), which is denoted by Bernoulli in the tables. Our method is especially efficient when we aim at the target error close to OPT. For instance, to achieve the 1.1 &#215; OPT error in the 2D damped harmonic oscillator model, our method requires less than half samples that Bernoulli sampling requires, showing a significant reduction in terms of the number of samples needed.</p><p>Leverage Score Sampling vs. Uniform Sampling. We also conduct a complementary experiment to show empirically that leverage score sampling is much more powerful than uniform sampling. We extend the simulation in Figure <ref type="figure">1</ref> to a uniform inclusion probability setting. This time, we draw 350 samples, repeat the simulation 100 times, and report the approximation with a median error in Figure <ref type="figure">9</ref>. The result shows poor performance of the uniform sampling. Table 2: Number of samples needed to achieve 1.1 &#215; OPT error.  </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>As discussed in(Chen and Price,  </p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" xml:id="foot_1"><p>2019), no deterministic method can provably solve the agnostic regression problem with few samples. Since we make no assumptions on b, all error in Ax * -b could be concentrated only at the deterministic indices to be selected. Randomization is needed to avoid high error outliers in b.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="2" xml:id="foot_2"><p>Formally, we assume that the marginal probability of sampling ai equals min(1, c&#964;i) for a fixed constant c &#8805; 1. Our proof easily generalizes to the case when some probabilities exceed this bound (since sampling more never hurts) although the total sample complexity will depend on the sum of the marginal probabilities.</p></note>
			<note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="3" xml:id="foot_3"><p>We refer the reader to<ref type="bibr">Avron et al. (2019)</ref>,<ref type="bibr">Erd&#233;lyi et al. (2020)</ref>, or Chen and Price (2019) for a more in depth treatment of leverage score sampling and active linear regression for quasimatrices.</p></note>
		</body>
		</text>
</TEI>
