<?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'>The Gain from Ordering in Online Learning</title></titleStmt>
			<publicationStmt>
				<publisher>37th Annual Conference on Neural Information Processing Systems, 2023</publisher>
				<date>12/01/2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10494776</idno>
					<idno type="doi"></idno>
					
					<author>Mingchen Ma</author><author>Kontonis</author><author>Vasilis</author><author>Christos Tzamos</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We study fixed-design online learning where the learner is allowed to choose the order of the datapoints in order to minimize their regret (aka self-directed online learning). We focus on the fundamental task of online linear regression: the learner is given a dataset X with n examples in d dimensions and at step t they select a point x t ∈ X, predict a value y t , and suffer loss ( y tw * • x t ) 2 . The goal is to design algorithms that order the examples and achieve better regret than randomor worst-order online algorithms. For an arbitrary dataset X, we show that, under the Exponential Time Hypothesis, no efficient algorithm can approximate the optimal (best-order) regret within a factor of d 1/poly(log log d) . We then show that, for structured datasets, we can bypass the above hardness result and achieve nearly optimal regret. When the examples of X are drawn i.i.d. from the uniform distribution on the sphere, we present an algorithm based on the greedy heuristic of selecting ªeasiestº examples first that achieves a log d-approximation of the optimal regret.]]></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 online learning [Rob51, Han57, B + 54, CBL06] the learner receives an example and outputs a prediction about its label. The true label of the example is then revealed and the learner suffers loss depending on the &#170;distance&#186; of their prediction from the true label. The goal is to minimize the total loss over all learning rounds given the knowledge of the correct labels of previous rounds. Under worst-case assumptions, where an adversary controls the sequence of examples and labels presented to the learner, a wide range of algorithms based on exponential reweighting [Vov90, LW94, FS97, Vov95, CBL06] and online convex optimization <ref type="bibr">[Haz16,</ref><ref type="bibr">Ora19]</ref> have been developed.</p><p>Beyond Worst-Case Online Learning A less adversarial setting is fixed-design (aka transductive) online learning first considered in <ref type="bibr">[BDKM97]</ref> and subsequently studied in <ref type="bibr">[KK05,</ref><ref type="bibr">CBS13,</ref><ref type="bibr">WHGS22]</ref>. In fixed-design online learning the pool of potential examples that the learner is going to face during the learning phase is fixed in advance and known to the learner. There are three main variants of fixeddesign online learning considered in the literature (see, <ref type="bibr">[BDKM97]</ref>): the worst or adversarial order setting, i.e., when an adversary controls the order of examples presented to the learner, the random order, i.e., when the examples are presented to the learner in a random order, and the best-order or self-directed setting <ref type="bibr">[GS94]</ref>, where the learner can choose the next example to predict its label at every round. Ordering examples during learning is common in practice: in the context of deeplearning, designing the order of examples when training a model is known as curriculum learning <ref type="bibr">[BLCW09,</ref><ref type="bibr">HW19,</ref><ref type="bibr">WCZ21]</ref>, where the focus is on finding ways to rank the training examples from &#170;easy&#186; to &#170;hard&#186;, as well as using the right pacing function for introducing more difficult data. Another application is direct marketing <ref type="bibr">[LL98,</ref><ref type="bibr">NL11]</ref>, one common business intelligence task, which is a process of identifying likely buyers to market products accordingly. In particular, an agent must study customers' characteristics and needs, and select customers to market their products. For example, a streaming service or social media platform may want to learn the content preferences of customers without making too many bad recommendations. In this application, the platform chooses the order in which to present the content (from a pool of available videos) in order to minimize the &#170;regret&#186; (and keep the user engaged). Finally, other non-adverserial online learning variants assume that the order of examples is chosen by a teacher who knows the ground-truth and presents the examples to help the learner [GM93, Mat97, DSZ10, MSSZ22] or make regularity assumptions about the dataset of examples <ref type="bibr">[RS13,</ref><ref type="bibr">JRSS15]</ref>.</p><p>Self-Directed Learning and Gain from Ordering In this work, we focus on the best-order or self-directed version of fixed-design online learning. We first formally define the self-directed online prediction model <ref type="bibr">[GS94]</ref> and its random-and worst-order variants that we consider in this work. Definition 1.1 (Self-Directed Online Learning <ref type="bibr">[GS94]</ref>). Let f &#8712; C be an unknown target concept from some concept class C of functions from R d to R and let X = {x (1) , . . . , x (n) } be a subset of n &#8712; N points in R d . The learner has access to the full set of (unlabeled) points X. Until the labels of all examples of X have been predicted:</p><p>&#8226; The learning algorithm picks a point x &#8712; X and makes a prediction z &#8712; R about its label.</p><p>&#8226; The true label f (x) of x is revealed and the learner suffers loss (zf (x)) 2 .</p><p>We say that the learner suffers L loss (or regret) to label X if, with probability at least 99%, it holds that the total loss suffered by learner over all rounds is at most L. In what follows, given a self-directed learner A self we shall denote by L(A self , X, f ) its total loss L.</p><p>In this work, we investigate whether we can design efficient self-directed algorithms that exploit the power of ordering to improve the regret compared to the worst-and random-order settings. Remark 1.2 (Random-order and Worst-order Online Learning). We shall refer to the setting where the example during the training phase is picked uniformly at random (without replacement) from the unlabeled data X as random-order learning. Moreover, we shall refer to the setting where the next example is chosen by an adversary as worst-order learning.</p><p>Before we continue, we remark that we will also consider &#170;average-case&#186; (Bayesian) settings where the target concept f is sampled from some prior distribution F over concepts. Remark 1.3 (Average and Worst-Case Targets). In Definition 1.1, we will also consider the case where the ground-truth f is drawn from some distribution over targets F , in which case the total cost is defined to be the average cost over F , i.e., L(A self , X, F ) := E f &#8764;F L(A self , X, f ). In the worst case setting we will simply write L(A self , X) := max f &#8712;C L(A self , X, f ).</p><p>To formalize the notion of how much self-directed learners &#170;improve over worst or random settings&#186; in a compact way, we introduce the &#170;Gain from Ordering&#186; (or simply gain) that is defined to be the ratio between the minimum possible total loss of an algorithm that works in the random-order setting and that of an algorithm that can order the examples.</p><p>Definition 1.4 (Gain from Ordering). Let f &#8712; C be a target concept. Let X = {x (1) , . . . , x (n) } be a dataset of points in R d . We define the Gain from Ordering of a self-directed learner A self as</p><p>Moreover, we denote by G * (X, F ) := max A self G(A self , X, F ) the maximum possible Gain from Ordering. Similarly, we define the Gain from Ordering in the worst-case (where the target f is chosen adversarially, see Remark 1.3) by setting G(A self , X) :=</p><p>, and</p><p>We remark that in the above definition, we do not compare against worst-order algorithms as they always perform worse than the best random-order algorithm, and therefore, our results readily generalize when considering the Gain from Ordering with respect to worst-order algorithms.</p><p>Whether ordering the examples can improve the total loss suffered by the learner was first studied in the context of online classification, i.e., when the predictions of the algorithm and the ground truth labels are binary z, f (x) &#8712; {&#177;1}. For the class of one-dimensional threhsolds over the real line, in <ref type="bibr">[GS94]</ref> it was shown that, in the best-order setting, one mistake suffices. On the other hand in the random-and worst-order settings it is known <ref type="bibr">[Lit88,</ref><ref type="bibr">Lit89]</ref> that the total loss (or equivalently the number of mistakes) is &#920;(log n), where n is the size of the dataset. Therefore, for thresholds on the real-line the Gain from Ordering is known to be &#920;(log n). Positive results on the Gain from Ordering exist for other concept classes as well (e.g., for monotone monomials and axis-aligned rectangles) but there are also known concepts where ordering the examples does not help, see <ref type="bibr">[GS94,</ref><ref type="bibr">BDEK95]</ref>.</p><p>Online Linear Regression In this paper, we focus on perhaps the most fundamental problem in online learning, namely online linear regression. An unknown target vector w * &#8712; R d is picked by an adversary (or sampled from some prior distribution, see Remark 1.3). The true label of an example x corresponds to f (x) = w * &#8226; x. In the adversarial/worst-order setting there are numerous results studying online linear regression going back to the seminal work of Widrow and Hoff [WH60, LLW91, KW97, CBLW96, Byl97, AW01, Vov01, OCCB15]. In this setting, the optimal regret is well-understood and tight (even with respect to constant factors) upper and lower bounds exist <ref type="bibr">[AW01,</ref><ref type="bibr">Vov01,</ref><ref type="bibr">CBL06]</ref>. The self-directed setting is much less understood both informationtheoretically, i.e., what is the best possible Gain from Ordering, and computationally, i.e., whether there exist efficient self-directed algorithms that can achieve the optimal Gain from Ordering. In this work, we aim to make progress in this direction and ask the following fundamental question.</p><p>Is there an efficient, self-directed learning algorithm for linear regression that achieves (approximately) optimal Gain from Ordering?</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.1">Our Results and Techniques</head><p>Our first result is an impossibility result showing that for unstructured datasets it is computationally intractable to compute an ordering that approximates the optimal Gain from Ordering under the Exponential Time Hypothesis (ETH). More precisely, we show that, even for the &#170;easier&#186; version of the problem where the target vector is drawn uniformly at random from the unit sphere, no efficient self-directed learner can achieve better than d 1/poly(log log d) -approximation of the optimal Gain from Ordering.</p><p>Theorem 1.5 (Hardness of Approximation for the Optimal Gain from Ordering). Let X be an arbitrary set of n unit-norm examples and denote by S d the uniform distribution over the unit sphere. Under the Exponential Time Hypothesis (ETH), there is no polynomial time self-directed learner</p><p>where c &gt; 0 is some universal constant.</p><p>Our hardness result follows by a reduction to the Densest k-Subgraph (DkS) problem (see Definition 3.1) that was shown in <ref type="bibr">[Man17]</ref> to be ETH-hard to approximate. To go from our learning problem to the combinatorial DkS problem we perform a sequence of approximation preserving reductions. At a high-level, we first show that selecting the best order for online linear regression is equivalent to an offline geometric problem where we need to sort the examples so that the sum of the distances of every example from the subspace spanned by the previous examples in the ordering is minimized, see Definition 3.3). We then show that this problem can be further reduced to a specific edge packing problem on graphs (see Definition 3.7) by only worsening the achieved approximation guarantee by a factor of 2. Finally, we show that any &#945;-approximate algorithm for the k-packing problem yields an O(&#945; 2 )-approximate algorithm for the Densest k-Subgraph problem. For more details, we refer to Section 3.</p><p>As our hardness result suggests, without any assumption over the structure of the data, there is no hope to design an efficient self-directed learner with &#170;good&#186; approximation guarantee &#177; especially in high-dimensional settings, i.e., when d is large. This motivates us to study self-directed learning over structured datasets. We focus on the fundamental setting where the dataset X is i.i.d. drawn uniformly from the unit sphere, S d . In this case, we design an algorithm based on a greedy heuristic that picks the example that is &#170;most similar&#186; to the examples already seen achieves a log d-approximation of the optimal Gain from Ordering.</p><p>Theorem 1.6 (Efficient Self-Directed Learner under Spherical Data). Let X be a set of n examples drawn i.i.d. from S d . There exists an efficient self-directed learner A such that, with probability at least 99%, it holds G(A, X,</p><p>We remark that, apart from presenting an efficient algorithm for approximating the Gain of Ordering, Theorem 1.6, gives the first information-theoretic bound for the optimal gain under spherical data, showing that G * (X, S d ) is roughly n 2/d . At a high level, the fact that the optimal gain increases slower as the dimension increases is explained by the fact that, n samples from the uniform distribution on the sphere will be almost orthogonal (unless n is very large). Therefore, observing the labels of a subset of them reveals little information about the remaining points. See Section 4 for more details.</p><p>Apart from showing that, under structured datasets, singnificantly improved approximation guarantees can be achieved our upper bound of Theorem 1.6 serves as a formalization of the popular greedy heuristic of picking the &#170;easiest examples first&#186; used in curriculum learning ([BLCW09]) for linear regression. In particular, assuming that we have already observed the labels of the points x (1) , . . . , x (i) we pick the example that is closest to the subspace spanned by x (1) , . . . , x (i) , see Algorithm 1.</p><p>As an extension, we also study the self-directed ReLU regression problem, where the concept class is</p><p>ReLU regression is a very popular non-convex optimization task that has recently received significant attention both in online and offline settings, [KS09, Sol17, GKKT17, GKK, DGK + 20, DKKZ20, DKZ20, FCG20, DKTZ22, DKR23], due to the fact that ReLU is a very common activation in deep learning models. In Section 5, we present an efficient algorithm that achieves Gain of Ordering roughly min(d, n 2/d / log d + log n/ log d), see Theorem 5.1, assuming a &#170;warm-start&#186; labeled example. We observe that, even though ReLU regression is typically a harder task than linear regression, the Gain of Ordering that we achieve is larger (by a term of log n/ log d) than that of linear regression. At a high-level this interesting phenomenon has to do with the the ReLU being constant on a large region of the space: a fact that the self-directed learner can exploit to improve its gain. It is an interesting direction for future research to further investigate the properties of the activation and the dataset that allow for improved gains by self directed learners.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.2">Related Work</head><p>Related to the setting of self-directed learning is active learning <ref type="bibr">[CAL94]</ref>, where the learner has access to a large pool of unlabeled examples and chooses the &#170;most informative&#186; to ask for their labels.</p><p>The goal is to find a classifier with good generalization while minimizing the number of label queries.</p><p>There is a long line of research on active linear classification in the distribution-specific setting (e.g., under the uniform distribution on the unit sphere) <ref type="bibr">[DKM05,</ref><ref type="bibr">Han11,</ref><ref type="bibr">BU16]</ref>. We remark that our goal of minimizing the number of mistakes is orthogonal to that of active learning: at a high-level, our algorithms pick the examples for which the current hypothesis is most confident (&#170;easiest examples&#186;) while in active learning one typically asks for the labels of the &#170;hardest examples&#186;, e.g., those with the smallest margin with respect to the current guess (see, e.g., [ABHU15, ABHZ16, ZSA20]).</p><p>In deep learning, stochastic gradient descent typically trains models by considering the examples in a random order. In the influential work of <ref type="bibr">[BLCW09]</ref> the authors proposed curriculum learning: training machine learning models in a &#170;meaningful order&#186; &#177; from easy examples to harder ones. There is a long line of research (see the surveys [HW19, WCZ21, SIRS22] and references therein) giving empirical evidence that curriculum learning provides significant benefits in convergence speed and generalization over training with random order. Our results provide theoretical evidence that ordering the examples from easier to harder significantly reduces the mistakes made by the learner.</p><p>There has been a long line of work studying online linear regression. We first review the results in the realizable setting, which means y(x) = w * &#8226; x. In this case, the problem is also called the adaptive filtering problem by <ref type="bibr">[KWH06]</ref>. Online gradient descent was shown to be a minimax optimal method by <ref type="bibr">[KWH06,</ref><ref type="bibr">CBLW96]</ref>. These works show if &#8741;x&#8741; &#8804; B and &#8741;w * &#8741; &#8804; W , then online gradient descent achieves a regret bound O(B 2 W 2 ). A matching lower bound &#8486;(B 2 W 2 ) was given by [CBLW96] using a dataset that contains only one example. In the adversarial setting, online gradient descent and exponentiated gradient were studied by <ref type="bibr">[CBLW96,</ref><ref type="bibr">KW97]</ref>. Given the knowledge of B, by suitable tuning the learning rate, the two algorithms achieve a regret bound O(L(w * )), which grows linearly with T in the worst case. Furthermore, if the algorithms know an error bound E for L(w * ) and a bound W for &#8741;w * &#8741;, then these algorithms can achieve a regret bound O( &#8730; E), which is O( &#8730; T ) in the worst case. These regret bounds cannot be further improved for such types of algorithms. On the other hand, assuming y(x) &#8804; Y and &#8741;x&#8741; &#8804; B for any x &#8712; X, [Vov01, AW01] obtained a regret bound of O &#8741;w * &#8741; 2 + dY 2 log(T X 2 /d) using a so called online nonlinear ridge regression method.</p><p>A matching lower bound of &#8486;(&#8741;w * &#8741; 2 + Y 2 d log T ) were given by <ref type="bibr">[CL06,</ref><ref type="bibr">Vov01]</ref>. Recently better lower bound of &#8486;(dY 2 log T ) were given by [BKM + 15, GGHS19]. Another interesting setting is the stochastic setting studied by <ref type="bibr">[OMP21]</ref>, where y(x) = w * &#8226; x + &#958;, &#958; is a zero-mean sub-gaussian noise with variance &#963; 2 . In particular, in such a setting, the label y can be unbounded. <ref type="bibr">Ouhamma et al.</ref> showed that the online (nonlinear) ridge regression with high probability has a regret bound of O(d&#963; 2 log T log log T ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Notation and Preliminaries</head><p>In this section, we introduce the notations we will use in the paper. Let X &#8838; R d be the set of n examples Denote by w * &#8712; R d the target vector that labels each x &#8712; X by y(x) = w * &#8226; x. Let A be a self-directed learner. For i &#8712; [n], we use random vector x (i) &#8712; R d to denote the example in X that is selected by A in the i-th round. We denote by L i be subspace spanned by examples x (1) , . . . , x (i)  and L &#8869; i the subspace that is orthogonal to L i . For every v &#8712; R d and for every subspace L &#8838; R d , we denote by v L = proj L (v), the projection of v onto L. Furthermore, we will use S d to denote the unit sphere in R d and use S d to denote the uniform distribution over S d 3 Optimal Gain from Ordering under Arbitrary Data is Hard</p><p>In this section, we show that self-directed linear regression, in general, is hard to approximate, even when X &#8838; S d and w * is drawn uniformly from S d .</p><p>In the rest of this section, we will give a high-level overview of the proof of Theorem 1.5. The full proof of results in this section can be found in Appendix A. The key idea is that if we have a good efficient self-directed learner, then we can obtain an efficient algorithm that approximately solves the k-densest subgraph problem (DkS), which has been shown hard to approximate by <ref type="bibr">[Man17]</ref>. 2 is maximized, where E(S) denotes the set of all edges among the vertices in S. We define opt to be the maximum density over all possible subsets of k vertices. Given G and k, an &#945;-approximate algorithm for DkS problem outputs a subset of k vertices S such that &#945;&#961;(S) &#8805; opt in polynomial time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>The Sequential Spanning Problem (SSP)</head><p>To begin with, we observe that every self-directed learner has two parts, selecting examples and making predictions. The first observation, which is stated as Lemma 3.2, is that with a prior distribution of w * , it is easy to obtain a Bayesian optimal prediction in each round. Lemma 3.2. Let X = {x (1) , . . . , x (n) } &#8838; R d be a set of n examples and w * be a target vector drawn uniformly from S d that labels y (i) = w * &#8226; x (i) for each x (i) &#8712; X. Given given any set of labeled examples (x (1) , y (1) ), . . . , (x (i-1) , y (i-1) ), denote by L i-1 the subspace spanned by x (1) , . . . , x (i-1) and w * Li-1 the projection of w * onto L i-1 . Let A be a self-directed learner, denote by &#375;(i) be the prediction of A for the next example x (i) , then we have</p><p>With the Bayesian optimal prediction, the problem becomes how to select a good ordering. We show in Proposition 3.4, the problem can be equivalent to formulate as the following Sequential Spanning Problem. Definition 3.3 (k-Sequential Spanning Problem (k-SSP)). Let X = {x (1) , . . . , x (m) } on R d be a set of m points with unit norm and let k &#8712; N. Consider an ordered sequence &#963; of k points of X, i.e., &#963; = x (i1) , x (i2) , . . . , x (i k ) and define L j to be the sub-space spanned by the first j-elements of &#963; i.e., L j = span(x (i1) , . . . x (ij ) ) = span(x (&#963;(1)) , . . . x (&#963;(j)) ) and V 0 = &#8709;. Define the following cost, called spanning cost,</p><p>We define opt to be the minimum cost over all sequences of k-elements of X. Given X and k, an &#945;-approximate algorithm for k-SSP Problem outputs an ordered sequence of k points from X so that C(&#963;, k) &#8804; &#945; opt in polynomial time.</p><p>We shall refer to the special case of the problem where k = m simply as the Sequential Spanning Problem. Proposition 3.4 (From SSP to Self-Directed Learning). Let X = {x (1) , . . . , x (m) } &#8838; R d be a set of examples. For every self-directed linear regression algorithm A over X, with expected learning loss L(A, S d ), we can use it to get a randomized algorithm A &#8242; for SSP over X with expected cost E(C(&#963;, m)) &#8804; d L(A, S d ). Moreover, given a randomized algorithm A &#8242; for SSP over X, we can get a self-directed linear regression algorithm A over X, with expected learning loss L(A, S d ) = E(C(&#963;, m))/d. In particular, the construction can be done efficiently.</p><p>With the intuition above, we only need to show it is ETH-hard to approximate the SSP. The key technical result we obtain is the following proposition. Proposition 3.5 (From DkS to SSP). For every function &#945;(d, m) : R + &#215; R + &#8594; R + , if there is an &#945;(d, m)-approximate algorithm for the SSP, then there is a 64&#945; 2 (n 3 , n 3 )-approximate algorithm for the DkS problem.</p><p>As a direct corollary of Proposition 3.5, we obtain the computational hardness of SSP. Corollary 3.6 (ETH-hardness of SSP). Assuming the Exponential Time Hypothesis (ETH) is true, then there is no algorithm that outputs an d 1/ log log c d -approximate solution to the SSP in poly(d, m) time, where c &gt; 0 is a universal constant.</p><p>Proof of Corollary 3.6. By Corollary 1.3 in <ref type="bibr">[Man17]</ref> if the Exponential Time Hypothesis (ETH) is true, then there is no polynomial time n 1/ log log c n -approximate algorithm for k-densest subgraph problem. By Proposition 3.5, if there is a polynomial time d 1/poly log log d -approximate algorithm for SSP, we can obtain an efficient n 1/ log log c n approximate algorithm for k-densest subgraph problem. Thus, if ETH is true it is hard to approximate SSP within a d 1/poly log log d factor in polynomial time.</p><p>In the rest of the section, we introduce the high-level of the proof of Proposition 3.5 by breaking it down into two steps. The key idea in this step is to show Lemma 3.8, if we can approximate k-SSP efficiently, then we can approximate k-edge packing efficiently. Lemma 3.8. For every function &#945; : R + &#215; R + &#8594; R + , if there is an &#945;(d, m)-approxiate algorithm for k-SSP problem, then there is a 2&#945;(n, m)-approximate algorithm for k-edge packing problem</p><p>To build a connection between a geometric problem and a combinatorial problem, we have the following construction. Given a graph G = (V, E) with n vertice and m edges, we will map every edge (u, v) to a sparse n-dimensional vector x uv such that the only non-zero entries are x u = 1,</p><p>In this way, we obtain a dataset X as the input of A, the approximate algorithm for k-SSP.</p><p>Intuitively, if we select k edges in G that are disjoint, then no matter how to order the corresponding vectors of these k edges, the spanning cost is &#8486;(k). But if we select k edges that form a clique, the corresponding vectors span a subspace of dimension O( &#8730; k), so it is easy to order these vectors to get a very small spanning cost. With such an intuition, the key structure result we use here is that if a solution to the k-SSP problem has a sufficiently small cost, then the corresponding edges to these k vectors must be sufficiently connected to each other and thus cover a sufficiently small number of vertices.</p><p>However, now we are only able to approximate the k-edge packing problem with an algorithm that approximately solves the k-SSP problem. To finish this step, we should also be able to use an algorithm for SSP as a subroutine to solve the k-SSP problem. We show this is possible in Lemma 3.9. Lemma 3.9. Assume that an algorithm for SSP in d dimensions exists that finds an &#945;(d, m)approximate solution in poly(d, m) time for some function &#945; : R + &#215; R + &#8594; R + . Then an algorithm that finds a 4&#945;(m(d + m), m(d + m))-approximate solution for k-SSP for every value of k in poly(d, m) time exists.</p><p>The intuition here is that if the dataset X is in general position (every set of d examples are linearly independent) then SSP is actually a d-SSP. Given any dataset X with m points, we are able to map X to a dataset X &#8242; in f (k, d, m) &gt; d dimension that is in the general position. Such a map is done by making multiple copies for each example, lifting them to high dimension and adding tiny structured noise to each of them. We will show that such a transformation well preserves the information in the original dataset so that if we run A over X &#8242; , we can extract a good approximate solution to the original k-SSP from the first f (k, d, m) terms of the output solution.</p><p>From DkS to k-Edge Packing So far we have shown how to use an algorithm for SSP to solve the k-edge packing problem. Our final step is to show Lemma 3.10, which implies that if we can approximately solve the k-edge packing problem then we can also solve the k densest subgraph problem.</p><p>Lemma 3.10 (k-edge packing and DkS). For &#945; &gt; 0, if there is an &#945;-approximate algorithm for k-edge packing problem, then there is an &#945; 2 -approximate algorithm for DkS problem.</p><p>Notice that k-edge packing is seeking k edges that cover as few vertices as possible, which can be thought as a dual problem of DkS. If we are able to find the largest number f (k) such that f (k) edges can cover at most k vertices, then these f (k) edges induce the densest subgraph with k-vertices. The idea behind Lemma 3.10 is that we can approximately find such f (k) using an approximate algorithm for k-edge packing and thus can approximately find the k-densest subgraph.</p><p>With the above three lemmas, we can prove Proposition 3.5.</p><p>Proof of Proposition 3.5 Assume we have an &#945;(d, m)-approximate algorithm for SSP problem, then by Lemma 3.9, we get an efficient 4&#945;((d + m)m, (d + m)m)-algorithm for k-SSP problem. By Lemma 3.8, we get an efficient 8&#945;((m + n)m, (m + n)m)-approximate algorithm for k-edge packing problem. Since (m + n)m &#8804; n 3 always holds, we get an efficient 8&#945;(n 3 , n 3 )-approximate algorithm for k-edge packing problem. By Lemma 3.10, this gives us an efficient 64&#945; 2 (n 3 , n 3 )-approximate algorithm for k-densest subgraph problem.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">A O(log d)-Approximation for Spherical Data</head><p>Theorem 1.5, suggests that without any assumption on the structure of the data, it is hard to obtain an efficient self-directed learners that approximates the best possible improvement over learning in random order. This motivates us to study the learning problem over datasets with natural structures. In this section, we consider perhaps the most natural setting, where the dataset X is drawn i.i.d. from S d . Our main result in this section shows a simple greedy heuristic, Algorithm 1, which selects the &#170;easiest&#186; example in each round, and has a nearly (i.e., off by a log d-factor) optimal gain of ordering.</p><p>We first bound the Gain of Ordering achieved by the greedy heuristic described in Algorithm 1.</p><p>Proposition 4.1. Let X be a set of n &#8805; poly(d) examples drawn i.i.d. from S d and let A denote Algorithm 1, then over the randomness of the dataset X, in expectation, G(A, X,</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>. , d do</head><p>Set L i-1 = span{x (1) , . . . , x (i-1) }. Find w (i) &#8712; L i-1 consistent with (x (1) , y (1) ), . . . , (x (i-1) , y (i-1) ). Select x (i) = argmin x&#8712;Xi proj Li-1 (x) .</p><p>Predict &#375;(i) = w (i) &#8226; x (i) and receive y (i) . Label all unlabeled examples in X using w (d) .</p><p>We start with some intuition for Algorithm 1. Since the observed labels y (i) are consistent with w * , after selecting examples x (1) , . . . , x (i) , our guess w (i) at step i coincides with the projection w * Li of w * onto the subspace L i spanned by these examples. If we choose any x (i+1) and predict w * Li &#8226; x (i+1) , then we will pay</p><p>. Since we make a random partition of the data in advance, we are able to show that in expectation &#8467; 2 i /( w *</p><p>This suggests the cost we pay in each round is proportional to</p><p>and we should choose the example that is closest to L i greedily. Our key technical lemma shows that in the i + 1-th round, for a greedily chosen example and a randomly chosen example, the expected ratio of the loss is O(n -2/(d-i) ).</p><p>We next show that the optimal Gain from Ordering can only be O(log d) times larger than that of Algorithm 1. Recall that in Section 3, we showed that if w * &#8764; S d , then the expected learning cost is proportional to the optimal spanning cost of a sequence of examples. This implies analyzing the best learner is equivalent to analyzing the sequence of examples in X with the smallest spanning cost. The key of our proof is to show that the distribution of S d is very concentrated and unless the size of X is very large there is no sequence of examples whose spanning cost is much smaller than the average spanning cost.</p><p>As a direct corollary, we are able to show Algorithm 1 has a gaining that is at most O(1/ log d)G * (X, S d ), which is an exponential improvement of the hardness of approximation obtained by Theorem 1.5.</p><p>Proof of Theorem 1.6 By Proposition 4.1 and Proposition 4.2, we know that with probability at least 99%, G(A, X,</p><p>Here we ignore the hidden constant within the bound obtained from Proposition 4.1 and Proposition 4.2 because it will only add some multiplicative constant factor in our final result. It remains to tune the parameter &#948; to show that 1/d+n -2/d 1/d+&#948;n -(2+2&#948;)/d is at most O(log d). To do this, we write s d/2 and we consider different ranges for s. We consider the following two cases.</p><p>Case 1: If s &#8805; d, then we have we have</p><p>&#948; n 2&#948;/d = 2 &#948; s &#948; . We set &#948; = 1/ log s and we obtain that 1 &#948; s &#948; = s 1/ log s log s = O(log s) &#8804; O(log d). This implies that G(A, X, S d ) &#8805; &#8486;(1/ log d)G * (X, S d ).</p><p>Remark 4.3. We remark that although the statement of Proposition 4.1 and Proposition 4.2 are about the average performance of the algorithm, the same results also hold under the worst-case setting because, with a dataset from a spherical distribution, the learning cost of A random under these two settings are asymptotically the same in expectation. A detailed discussion about this and the proof of Proposition 4.1 and Proposition 4.2 are deferred to Appendix B. Remark 4.4. Although according to Theorem 1.6, Algorithm 1 approximates the optimal gaining within a O(log d) factor, when n &#8804; s d for some constant s that doesn't depend on d or n &#8805; d d/2 Algorithm 1 approximates the optimal gaining within a constant factor and thus is nearly optimal.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Self-Directed ReLU Regression</head><p>Finally, we study the problem of self-directed ReLU regression, which shares a similar spirit to the one of self-directed linear regression. According to Proposition 4.1, given a dataset X that is drawn from S d , we are able to design an efficient learner with gaining G(A, X) &#8805; min(&#8486;(d), &#8486;(n 2/d )) if each x is labeled by y(x) = w * &#8226; x. In fact, the bound of min(&#8486;(d), &#8486;(n 2/d )) can also be obtained by the following Algorithm 2, when each x is labeled by a ReLU function Relu(w * &#8226; x). However, an interesting phenomenon we found is that if we give Algorithm 2 some reference example (x (0) , y (0) ) as a warm start such that &#952;(x (0) , w * ) = &#952; 0 &lt; &#960;/2, then we are able to improve the gaining to min(&#8486;(d), &#8486;(n 2/d / log d + log n/ log d)), which is a huge improvement when the dimension of the problem is large.</p><p>Algorithm 2 SELFDIRECTEDRELUREGRESSION(X) Let (x (0) , y (0) ) be a pair of reference example such that &#952;(x (0) , w * ) = &#952; 0 &#8804; &#960;/2. (Assume (x (0) , y (0) ) = (0, 0) if there is no such a warm start) Randomly partition X into d subsets X 1 , . . . , X d such that X i contains n/d examples. for i = 1, . . . , d do Set L i-1 = span{x (0) , . . . , x (i-1) }, where x (j) is example that has been selected with positive label for j &#8712; {0, . . . , i -1}.</p><p>Find w (i) &#8712; L i-1 consistent with (x (0) , y (0) ), . . . , (x (i-1) , y (i-1) ). Keep selecting x &#8712; X i such that w (i) &#8226; x &#8712; argmin x &#8242; &#8712;Xi w (i) &#8226; x &#8242; and predict Relu(w (i) &#8226; x) until we see some (x (i) , y (i) ) such that y (i) &gt; 0. Label all unlabeled examples in X using w (d+1) .  The main difference between ReLU regression and linear regression is that in ReLU regression, with a good warm start, we are able to start from the region that is labeled 0 by the target to seek the decision boundary. Before we see a positive example, we pay nothing. The first time we see a positive example x, we pay (w * &#8226; x) 2 . The key technical lemma, Lemma 5.2 shows that as we keep selecting the most &#170;negative&#186; example with respect to our current guess, the first positive example we see must have a very small margin with respect to w * . In this way, Algorithm 2 learns w * with a very small cost. We refer to Appendix C for more details and proofs. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">Conclusion, Limitations, and Broader Impact</head><p>In this work, we study the self-directed learning problem for linear regression. Our work presents novel results both computational and information-theoretic. Our first result shows that approxi-mating the optimal self-directed regret within a d 1/poly log log d factor is ETH-hard under arbitrary datasets. Our second result yields a novel characterization of the Gain of Ordering for data that are uniformly distributed on the sphere and gives an efficient approximation algorithm that bypasses the aforementioned hardness result and achieves close to optimal regret by exploiting the structure of the data. A limitation of our work is that our algorithms can currently handle linear (or ReLU regression). Moreover, our presented results assume that the labels are realizable &#177; even in this fundamental setting, nothing was known prior to our work. Generalizing our results to other concept classes and investigating the effect of adding noise to the labels are natural questions for future investigation. Designing robust self-directed learning algorithms for broader concept classes under broader distributional assumptions are interesting direction for future work.</p></div></body>
		</text>
</TEI>
