# landmark_ordinal_embedding__c6628fb5.pdf Landmark Ordinal Embedding Nikhil Ghosh UC Berkeley nikhil_ghosh@berkeley.edu Yuxin Chen UChicago chenyuxin@uchicago.edu Yisong Yue Caltech yyue@caltech.edu In this paper, we aim to learn a low-dimensional Euclidean representation from a set of constraints of the form item j is closer to item i than item k . Existing approaches for this ordinal embedding problem require expensive optimization procedures, which cannot scale to handle increasingly larger datasets. To address this issue, we propose a landmark-based strategy, which we call Landmark Ordinal Embedding (LOE). Our approach trades off statistical efficiency for computational efficiency by exploiting the low-dimensionality of the latent embedding. We derive bounds establishing the statistical consistency of LOE under the popular Bradley Terry-Luce noise model. Through a rigorous analysis of the computational complexity, we show that LOE is significantly more efficient than conventional ordinal embedding approaches as the number of items grows. We validate these characterizations empirically on both synthetic and real datasets. We also present a practical approach that achieves the best of both worlds , by using LOE to warm-start existing methods that are more statistically efficient but computationally expensive. 1 Introduction Understanding similarities between data points is critical for numerous machine learning problems such as clustering and information retrieval. However, we usually do not have a good" notion of similarity for our data a priori. For example, we may have a collection of images of objects, but the natural Euclidean distance between the vectors of pixel values does not capture an interesting notion of similarity. To obtain a more natural similarity measure, we can rely on (weak) supervision from an oracle (e.g. a human expert). A popular form of weak supervision is ordinal feedback of the form item j is closer to item i than item k [8]. Such feedback has been shown to be substantially more reliable to elicit than cardinal feedback (i.e. how close item i is to item j), especially when the feedback is subjective [11]. Furthermore, ordinal feedback arises in a broad range of real-world domains, most notably in user interaction logs from digital systems such as search engines and recommender systems [10, 15, 2, 24, 19, 17]. We thus study the ordinal embedding problem [18, 22, 14, 13, 21], which pertains finding lowdimensional representations that respect ordinal feedback. One major limitation with current state-ofthe-art ordinal embedding methods is their high computational complexity, which often makes them unsuitable for large datasets. Given the dramatic growth in real-world dataset sizes, it is desirable to develop methods that can scale computationally. Our contribution. In this paper, we develop computationally efficient methods for ordinal embedding that are also statistically consistent (i.e. run on large datasets and converge to the true solution with enough data). Our method draws inspiration from Landmark Multidimensional Scaling [7], which approximately embeds points given distances to a set of landmark points. We adapt this technique to the ordinal feedback setting, by using results from ranking with pairwise comparisons Research done when Nikhil Ghosh and Yuxin Chen were at Caltech. 33rd Conference on Neural Information Processing Systems (Neur IPS 2019), Vancouver, Canada. and properties of Euclidean distance matrices. The result is a fast embedding algorithm, which we call Landmark Ordinal Embedding (LOE). We provide a thorough analysis of our algorithm, in terms of both the sample complexity and the computational complexity. We prove that LOE recovers the true latent embedding under the Bradley-Terry-Luce noise model [4, 16] with a sufficient number of data samples. The computational complexity of LOE scales linearly with respect to the number of items, which in the large data regime is orders of magnitude more efficient than conventional ordinal embedding approaches. We empirically validate these characterizations on both synthetic and real triplet comparison datasets, and demonstrate dramatically improved computational efficiency over state-of-the-art baselines. One trade-off from using LOE is that it is statistically less efficient than previous approaches (i.e. needs more data to precisely characterize the true solution). To offset this trade-off, we empirically demonstrate a best of both worlds solution by using LOE to warm-start existing state-of-the-art embedding approaches that are statistically more efficient but computationally more expensive. We thus holistically view LOE as a first step towards analyzing the statistical and computational trade-offs of ordinal embedding in the large data regime. 2 Related Work Multidimensional Scaling In general, the task of assigning low-dimensional Euclidean coordinates to a set of objects such that they approximately obey a given set of (dis)similarity relations, is known as Euclidean embedding. When given an input matrix D of pairwise dissimilarities, finding an embedding with inter-point distances aligning with D is the classical problem of (metric) Multidimensional Scaling (MDS). This problem has a classical solution that is guaranteed to find an embedding exactly preserving D, if D actually has a low-dimensional Euclidean structure [3]. The algorithm finds the global optimum of a sensible cost function in closed form, running in approximately O(dn2) time, where n is the number of objects and d is the dimension of the embedding. Landmark MDS When n becomes too large the MDS algorithm may be too expensive in practice. The bottleneck in the solution is the calculation of the top d eigenvalues of the n n matrix D. When n is very large, there exists a computationally efficient approximation known as Landmark MDS (LMDS) [7]. LMDS first selects a subset of l landmark points, where l n, and embeds these points using classical MDS. It then embeds the remaining points using their distances to the landmark points. This triangulation procedure corresponds to computing an affine map. If the affine dimension of the landmark points is at least d, this algorithm has the same guarantee as classical MDS in the noiseless scenario. However, it runs in time roughly O(dln + l3), which is linear in n. The main drawback is that it is more sensitive to noise, the sensitivity being heavily dependent on the quality of the chosen landmarks. Ordinal embedding Currently there exist several techniques for ordinal embedding. Generalized Non-metric Multidimensional Scaling (GNMDS) [1] takes a max-margin approach by minimizing hinge loss. Stochastic Triplet Embedding (STE) [22] assumes the Bradley-Terry-Luce (BTL) noise model [4, 16] and minimizes logistic loss. The Crowd Kernel [20] and t-STE [22] propose alternative non-convex loss measures based on probabilistic generative models. All of these approaches rely on expensive gradient or projection computations and are unsuitable for large datasets. The results in these papers are primarily empirical and focus on minimizing prediction error on unobserved triplets. Recently in Jain et al. (2016) [9], theoretical guarantees were made for recovery of the true distance matrix using the maximum likelihood estimator for the BTL model. 3 Problem Statement In this section, we formally state the ordinal embedding problem. Consider n objects [n] = {1, . . . , n} with respective unknown embeddings x1, . . . , xn Rd. The Euclidean distance matrix D is defined so that D ij = xi xj 2 2. Let T := { i, j, k : 1 i = j = k n, j < k} be the set of unique triplets. We have access to a noisy triplet comparison oracle O, which when given a triplet i, j, k T returns a binary label +1 or 1 indicating if D ij > D ik or not. We assume that O makes comparisons as follows: O( i, j, k ) = +1 w.p. f(D ij D ik) 1 w.p. 1 f(D ij D ik) , (3.1) where f : R [0, 1] is the known link function. In this paper, we consider the popular BTL model [16], where f corresponds to the logistic function: f (θ) = 1 1+exp( θ). In general, the ideas in this paper can be straightforwardly generalized to any linear triplet model which says j is farther from i than k with probability F(Dij Dik), where F is the CDF of some 0 symmetric random variable. The two most common models of this form are the BTL model, where F is the logistic CDF, and the Thurstone model, where F is the normal CDF [5]. Our goal is to recover the points x1, . . . , xn. However since distances are preserved by orthogonal transformations, we can only hope to recover the points up to an orthogonal transformation. For this reason, the error metric we will use is the Procrustes distance [12] defined as: d(X, b X) := min Q O(n) X Q b X F , (3.2) where O(n) is the group of n n orthogonal matrices. We now state our problem formally as follows: Problem 1 (Ordinal Embedding). Consider n points X = [x1, . . . , xn] Rd n centered about the origin. Given access to oracle O in (3.1) and budget of m oracle queries, output an embedding estimate b X = [bx1, . . . , bxn] minimizing the Procrustes distance d(X, b X) 4 Landmark Ordinal Embedding In this section, we present our algorithm Landmark Ordinal Embedding (LOE), for addressing the ordinal embedding problem as stated in Problem 1. Instead of directly optimizing a maximum likelihood objective, LOE recovers the embedding in two stages. First, LOE estimates ℓ= O(d) columns of D . Then it estimates the embedding X from these ℓcolumns via LMDS. We provide the pseudocode in Algorithm 1. In the remainder of this section, we focus on describing the first stage, which is our main algorithmic contribution. 4.1 Preliminaries Notation We establish some notation and conventions. For vectors the default norm is the ℓ2-norm. For matrices, the default inner product/norm is the Fröbenius inner product/norm. Table 1: List of Notation EDMℓ cone of ℓ ℓEuclidean distance matrices PC projection onto closed, convex set C dist(x, C) x PC(x) i.e. distance of point x to C X the pseudoinverse of X n 2 {(j, k) : 1 j < k n} J 1ℓ1 ℓ Iℓ J {X Rℓ ℓ: X, J = 0} Sℓ {X Rℓ ℓ: X = X} V Sℓ J σX X, J / J 2 Consistent estimation We will say that for some estimator ba and quantity a that ba a with respect to a random variable ϵ if ba a g(ϵ) for some g : R R which is monotonically increasing and g(x) 0 as x 0. Note that is an equivalence relation. If ba a, we say ba approximates or estimates a, with the approximation improving to an equality as ϵ 0. Prelude: Ranking via pairwise comparisons Before describing the main algorithm, we discuss some results associated to the related problem of ranking via pairwise comparisons which we will use later. We consider the parametric BTL model for binary comparisons. Assume there are n items [n] of interest. We have access to a pairwise comparison oracle O parametrized by an unknown score vector θ Rn. Given j, k n 2 the oracle O returns: O( j, k ) = 1 w.p. f(θ j θ k) 1 w.p. 1 f(θ j θ k) , Algorithm 1 Landmark Ordinal Embedding (LOE) 1: Input: # of items n; # of landmarks ℓ; # of samples per column m; dimension d; triplet comparison oracle O; regularization parameter λ; 2: Randomly select ℓlandmarks from [n] and relabel them so that landmarks are [ℓ] 3: for all i [ℓ] do 4: Form comparison oracle Oi( j, k ) in Eq. (4.3) 5: Ri regularized MLE estimate Eq. (4.1) 6: for ranking from Oi using m comparisons 7: end for 8: R [R1, . . . , Rℓ] 9: f W R(1 : ℓ 1, 1 : ℓ) ( f Wi,j 1(j>i) i = j 0 i = j i, j [ℓ] 11: J 1ℓ1 ℓ Iℓ 12: bσ least-squares solution to (4.8) 13: bσE λ2(PSℓ(W + J diag(s))) 14: bs bσ + bσE 15: b E PEDMℓ(W + J diag(bs)) 16: b F R(ℓ: n 1, 1 : ℓ) + 1n ℓ bs 17: b X LMDS( b E, b F) 18: Output: Embedding b X rank landmark columns form associated W estimate column shifts bs estimate first ℓcolumns of D estimate ordinal embedding where as before f is the logistic function. We call the oracle O a θ -oracle. Given access to a θ -oracle O, our goal is to estimate θ from a set of m pairwise comparisons made uniformly at random labeled, that are labeled by O. Namely, we wish to estimate θ from the comparison set Ω= {(j1, k1, O( j1, k1 ), . . . , (jm, km, O( jm, km )} where the pairs ji, ki are chosen i.i.d uniformly from n 2 . We refer to this task as ranking from a θ -oracle using m comparisons. To estimate θ , we use the ℓ2-regularized maximum likelihood estimator: bθ = arg max θ Lλ(θ; Ω), (4.1) where Lλ(θ; Ω) := P (i,j) Ω+ log(f(θi θj)) + P (i,j) Ω log(1 f(θi θj)) 1 2λ θ 2 2 for some regularization parameter λ > 0 and Ω := {(i, j) : (i, j, 1) Ω}. Observe that [θ] = {θ + s1n : s R} forms an equivalence class of score vectors in the sense that each score vector in [θ] forms an identical comparison oracle. In order to ensure identifiability for recovery, we assume P i θ i = 0 and enforce the constraint P i bθi = 0. Now we state the central result about bθ that we rely upon. Theorem 2 (Adapted from Theorem 6 of [6]). Given m = Ω(n log n) observations of the form (j, k, O( j, k ) where j, k are drawn uniformly at random from n 2 and O is a θ -oracle, with probability exceeding 1 O(n 5) the regularized MLE bθ with λ = Θ( p n3 log n/m) satisfies: If it is not the case that P i θ i = 0, we can still apply Theorem 2 to the equivalent score vector θ θ 1, where θ = 1 n1 n θ . In place of Eq. (4.2) this yields θ (bθ + θ 1) = O q where it is not possible to directly estimate the unknown shift θ . 4.2 Estimating Landmark Columns up to Columnwise Constant Shifts Ranking landmark columns LOE starts by choosing ℓitems as landmark items. Upon relabeling the items, we can assume these are the first ℓitems. We utilize the ranking results from the previous section to compute (shifted) estimates of the first ℓcolumns of D . Let D i Rn 1 denote the ith column of D with the ith entry removed (in MATLAB notation D i := D ([1:i 1, i+1:n], i). We identify [n]\{i} with [n 1] via the bijection j 7 j 1{j > i}. Observe that using our triplet oracle O, we can query the D i-oracle Oi which compares items [n] \ {i} by their distance to xi. Namely for j, k n 1 2 : Oi( j, k ) := O( i, j + 1{j i}, k + 1{k i} ). (4.3) By Theorem 2, using m comparisons from Oi we compute an MLE estimate Ri on Line 6 such that: D i = Ri + s i 1n 1 + ϵi, i [ℓ], (4.4) with shift s i = 1 n 11 n 1D i. Define the ranking error ϵ as: ϵ := max i [ℓ] ϵi . (4.5) Assuming that Eq. (4.2) in Theorem 2 occurs for each Ri, we see that ϵ 0 as m at a rate O(1/ m). From now on we use with respect to this ϵ. The use of this notation is make the exposition and motivation for the algorithm more clear. We will keep track of the suppressed g carefully in our theoretical sample complexity bounds detailed in Appendix A of the supplementary. 4.3 Recovering Landmark Column Shifts s Estimating the shifts s : A motivating strategy After solving ℓranking problems and computing estimates Ri for each i [ℓ], we wish to estimate the unknown shifts s i so that we can approximate the first ℓcolumns of D using the fact that D i Ri + s i 1 and D i,i = 0. As remarked before, we cannot recover such s i purely from ranking information alone. To circumvent this issue, we incorporate known structural information about the distance matrix to estimate s i . Let E := D (1:ℓ, 1:ℓ) and F := D (ℓ+ 1:n, 1:ℓ) be the first ℓrows and last n ℓ rows of the landmark columns D (1:n, 1:ℓ) respectively. Observe that E is simply the distance matrix of the ℓlandmark objects. Consider the (n 1) ℓranking matrix R = [R1, . . . , Rℓ] and let W be its upper (ℓ 1) ℓsubmatrix with a diagonal of zeroes inserted (see Fig. 1a). After shifting column i of R by s i , column i of W is shifted by s i with the diagonal unchanged. The resulting shift of W is equivalent to adding J diag(s ), so for shorthand we will define: shift(X, y) := X + J diag(y). By definition of R, we have shift(W, s ) E EDMℓ(see Fig. 1b). This motivates an initial strategy for estimating s i : choose bs such that shift(W, s) is approximately a Euclidean distance matrix. Concretely, we choose: bs arg min s Rℓdist(shift(W, s), EDMℓ). (4.6) However, it is not obvious how to solve this optimization problem to compute bs or if bs s . We address these issues by modifying this motivating strategy in the next section. Estimating the shifts s using properties of EDMs Let σE := 1 ℓ(ℓ 1) E , J be the average of the non-diagonal entries of E . Consider the orthogonal decomposition of E : E = E c σE J where the centered distance matrix E c := E σE J is the projection of E onto J and consequently lies in the linear subspace V := Sℓ J . Letting σ := s σE 1 we see: shift(W, σ ) = shift(W, s ) σE J E σE J = E c V 666666666666666666664 777777777777777777775 B B B B B B B B B B B B B @ 0 . . . f W1,j . . . f W1, ... ... ... f Wj 1,j f Wj,1 . . . 0 . . . f Wj, ... f Wj,j ... ... f W 1,1 f W 1,j . . . 0 C C C C C C C C C C C C C A (a) Obtaining W from R (c.f. Line 9 and Line 10). Left: The entries of f W are unshifted estimates of the off-diagonal entries E . Right: We add a diagonal of zeroes to f W to match the diagonal of zeroes in E . 666666666666666666664 777777777777777777775 B B B B B B B B B B B @ 0 . . . f W1,j + s j . . . f W1, + s ... ... f Wj 1,j + s j f Wj,1 + s 1 . . . 0 . . . f Wj, + s j ... ... f W 1,1 + s 1 f W 1,j + s C C C C C C C C C C C A 1 . . . R , + s ... ... ... ... ... ... Rn 1,1 + s 1 . . . Rn 1, + s W + J diag(s ) E Rshifted( : n 1, 1 : ) = R( : n 1, 1 : ) + 1n s > (b) Shifting each Ri by s i to get E and F . Figure 1: Shifting the rankings Ri to estimate the first ℓcolumns of D (see Algorithm 1). Since the space V is more tractable than EDMℓit will turn out to be simpler to estimate σ than to estimate s directly. We will see later that we can in fact estimate s using an estimate of σ . In analogy with (4.6) we choose bσ such that: bσ arg min s Rℓdist(shift(W, s), V) (4.7) This time bσ is easy to compute. Using basic linear algebra one can verify that the least-squares solution sls to the system of linear equations: si sj = Wij Wji, i < j [ℓ] (4.8a) X i [ℓ] si = 1 ℓ 1 i =j [ℓ] Wij (4.8b) solves the optimization problem (4.7), so we can take bσ := sls (c.f. Line 12). It is not hard to show that bσ σ and a proof is given in the appendix (c.f. first half of Appendix A.1 of the supplementary.). Now it remains to see how to estimate s using bσ. To do so we will make use of Theorem 4 of [9] which states that if ℓ d + 3, then σE = λ2(E c ) i.e. the second largest eigenvalue of E c . If we estimate σE by bσE := λ2(PV(shift(W, bσ))), then by the theorem bσE σE (c.f. Line 13). Now we can take bs := bσ + bσE 1 (c.f. Line 14) which will satisfy bs s . After computing bs, we use it to shift our rankings Ri to estimate columns of the distance matrix. We take b E = PEDMℓ(shift(W, bs)) and b F to be the last n ℓrows of R with the columns shifted by bs (c.f. Line 15 and Line 16). Together, b E and b F estimate the first ℓcolumns of D . We finish by applying LMDS to this estimate (c.f. Line 17). More generally, the ideas in this section show that if we can estimate the difference of distances D ij D ik, i.e. estimate the distances up to some constant, then the additional Euclidean distance structure actually allows us to estimate this constant. 5 Theoretical Analysis We now analyze both the sample complexity and computational complexity of LOE. 5.1 Sample Complexity We first present the key lemma which is required to bound the sample complexity of LOE. Lemma 3. Consider n objects x1, . . . , xn Rd with distance matrix D = [D 1, . . . , D n] Rn n. Let ℓ= d+3 and define ϵ as in Eq. (4.5). Let b E, b F be as in Line 15 and Line 16, of LOE (Algorithm 1) respectively. If E = D (1 : ℓ, 1 : ℓ), F = D (ℓ+ 1 : n, 1 : ℓ) then, b E E = O(ϵℓ2 ℓ), b F F = O ϵℓ2 The proof of Lemma 3 is deferred to the appendix. Lemma 3 gives a bound for the propagated error of the landmark columns estimate in terms of the ranking error ϵ. Combined with a perturbation bound for LMDS, we use this result to prove the following sample complexity bound. Theorem 4. Let b X be the output of LOE with ℓ= d + 3 landmarks and let X Rd n be the true embedding. Then Ω(d8n log n) triplets queried in LOE is sufficient to recover the embedding i.e. with probability at least 1 O(dn 5): nd d( b X, X) = O(1). Although the dependence on d in our given bound is high, we believe it can be significantly improved. Nonetheless, the rate we obtain is still polynomial in d and O(n log n), and most importantly proves the statistical consistency of our method. For most ordinal embedding problems, d is small (often 2 or 3), so there is not a drastic loss in statistical efficiency. Moreover, we are concerned primarily with the large-data regime where n and m are very large and computation is the primary bottle-neck. In this setting, LOE arrives at a reasonable embedding much more quickly than other ordinal embedding methods. This can be seen in Figure 2 and is supported by computational complexity analysis in the following section. LOE can be used to warm-start other more accurate methods to achieve a more balanced trade-off as demonstrated empirically in Figure 3. We choose the number of landmarks ℓ= d + 3 since these are the fewest landmarks for which Theorem 4 from [9] applies. An interesting direction for further work would be to refine the theoretical analysis to better understand the dependence of the error on the number of samples and landmarks. Increasing the number of landmarks decreases the accuracy of the ranking of each column since m/ℓ decreases, but increases the stability of the LMDS procedure. A quantitative understanding of this trade-off would be useful for choosing an appropriate ℓ. 5.2 Computational Complexity Computing the regularized MLE for a ranking problem amounts to solving a regularized logistic regression problem. Since the loss function for this problem is strongly convex, the optimization can be done via gradient descent in time O(C log 1 ϵ ) where C is the cost of a computing a single gradient and ϵ is the desired optimization error. If m total triplets are used so that each ranking uses m/ℓtriplets, then C = O(m/ℓ+ n). Since ℓ= O(d), solving all ℓranking problems (c.f. Line 6) with error ϵ takes time O((m + nd) log 1 Let us consider the complexity of the steps following the ranking problems. A series of O(nd + d3) operations are performed in order to compute b E and b F (c.f. Line 16). The LMDS procedure then takes O(d3 + nd2) time. Thus overall, these steps take O(d3 + nd2) time. If we treat d and log(1/ϵ) as constants, we see that LOE takes time linear in n and m. Other ordinal embedding methods, such as STE, GNMDS, and CKL require gradient or projection operations that take at least Ω(n2 + m) time and need to be done multiple times. (a) (n, d, c) = (105, 2, 200) 2 4 6 8 10 n 104 (b) Time to LOE error vs n Figure 2: Scalability (a) (n, d, c) = (105, 2, 50) (b) (n, d, c) = (2 104, 10, 200) Figure 3: Warm-start (a) Time to completion vs n (b) Purity vs n Figure 4: MNIST 6 Experiments 6.1 Synthetic Experiments We tested the performance of LOE on synthetic datasets orders of magnitude larger than any dataset in previous work. The points of the latent embedding were generated by a normal distribution: xi N(0, 1 2d Id) for 1 i n. Triplet comparisons were made by a noisy BTL oracle. The total number of triplet queries m for embedding n items was set to be cn log n for various values of c. To evaluate performance, we measured the Procrustes error (3.2) with respect to the ground truth embedding. We compared the performance of LOE with the non-convex versions of STE and GNMDS. For fairness, we did not compare against methods which assume different noise models. We did not compare against other versions of STE and GNMDS since, as demonstrated in the appendix, they are much less computationally efficient than their non-convex versions. Scalability with respect to n In this series of experiments, the number of items n ranged over [20, 40, 60, 80, 100] 103. The embedding dimension d = 2 was fixed and c was set to 200. For each n, we ran 3 trials. In Figure 2a we plot time versus error for n = 105. In Figure 2b, for each n we plotted the time for LOE to finish and the time for each baseline to achieve the error of LOE. See appendix for remaining plots. From Figure 2a we see that LOE reaches a solution very quickly. The solution is also fairly accurate and it takes the baseline methods around 6 times as long to achieve a similar accuracy. In Figure 2b we observe that the running time of LOE grows at a modest linear rate. In fact, we were able to compute embeddings of n = 106 items in reasonable time using LOE, but were unable to compare with the baselines since we did not have enough memory. The additional running time for the baseline methods to achieve the same accuracy however grows at a significant linear rate and we see that for large n, LOE is orders of magnitude faster. Warm start In these experiments we used LOE to warm start STE. We refer to this warm-start method as LOE-STE. To obtain the warm start, LOE-STE first uses ϵm triplets to obtain a solution using LOE. This solution is then used to initialize STE, which uses the remaining (1 ϵ)m triplets to reach a final solution. Since the warm start triplets are not drawn from a uniform distribution on T , they are not used for STE which requires uniformly sampled triplets. We chose ϵ to be small enough so that the final solution of LOE-STE is not much worse than a solution obtained by STE using m samples, but large enough so that the initial solution from LOE is close enough to the final solution for there to be significant computational savings. For d = 2 we set n = 105, c = 50, and ϵ = 0.3. For d = 10 we set n = 2 104, c = 200, and ϵ = 0.2. For each setting, we ran 3 trials. The results are shown in Figure 3. We see that LOE-STE is able to reach lower error much more rapidly than the baselines and yields final solutions that are competitive with the slower baselines. This demonstrates the utility of LOE-STE in settings where the number of triplets is not too large and accurate solutions are desired. 6.2 MNIST Dataset To evaluate our approach on less synthetic data, we followed the experiment conducted in [14] on the MNIST data set. For n = 100, 500, and 1000, we chose n MNIST digits uniformly at random and generated 200n log n triplets comparisons drawn uniformly at random, based on the Euclidean distances between the digits, with each comparison being incorrect independently with probability ep = 0.15. We then generated an ordinal embedding with d = 5 and computed a k-means clustering of the embedding. To evaluate the embedding, we measure the purity of the clustering, defined as purity(Ω, C) = 1 k maxj |ωk cj| where Ω= {ω1, ω2, . . . , ωk} are the clusters and C = {c1, c2, . . . , cj} are the classes. The higher the purity, the better the embedding. The correct number of clusters was always provided as input. We set the number of replicates in k-means to 5 and the maximum number of iterations to 100. For LOE-STE we set ϵ = 0.5. The results are shown in Figure 4. Even in a non-synthetic setting with a misspecified noise model, we observe that LOE-STE achieves faster running times than vanilla STE, with only a slight loss in embedding quality. 6.3 Food Dataset To evaluate our method on a real data set and qualitatively assess embeddings, we used the food relative similarity dataset from [23] to compute two-dimensional embeddings of food images. The embedding methods we considered were STE and LOE-STE. For LOE-STE, the warm start solution was computed with ℓ= 25 landmarks, using all available landmark comparisons. STE was then ran using the entire dataset. The cold-start STE method used the entire dataset as well. For each method, we repeatedly computed an embedding 30 times and recorded the time taken. We observed that the warm start solution always converged to the same solution as the cold start (as can be seen in the appendix) suggesting that LOE warm-starts do not provide poor initializations for STE. On average, STE took 9.8770 0.2566 seconds and LOE-STE took 8.0432 0.1227, which is a 22% speedup. Note however that this experiment is not an ideal setting for LOE-STE since n is small and the data set consists of triplets sampled uniformly, resulting in very few usable triplets for LOE. 7 Conclusion We proposed a novel ordinal embedding procedure which avoids a direct optimization approach and instead leverages the low-dimensionality of the embedding to learn a low-rank factorization. This leads to a multi-stage approach in which each stage is computationally efficient, depending linearly on n, but results in a loss of statistical efficiency. However, through experimental results we show that this method can still be advantageous in settings where one may wish to sacrifice a small amount of accuracy for significant computational savings. This can be the case if either (i) data is highly abundant so that the accuracy of LOE is comparable to other expensive methods, or (ii) data is less abundant and LOE is used to warm-start more accurate methods. Furthermore, we showed that LOE is guaranteed to recover the embedding and gave sample complexity rates for learning the embedding. Understanding these rates more carefully by more precisely understanding the effects of varying the number of landmarks may be interesting since more landmarks leads to better stability, but at the cost of less triplets per column. Additionally, extending work on active ranking into our framework may provide a useful method for active ordinal embedding. Applying our method to massive real world data-sets such as those arising in NLP or networks may provide interesting insights into these dataset for which previous ordinal embedding methods would be infeasible. Acknowledgements Nikhil Ghosh was supported in part by a Caltech Summer Undergraduate Research Fellowship. Yuxin Chen was supported in part by a Swiss NSF Early Mobility Postdoctoral Fellowship. This work was also supported in part by gifts from PIMCO and Bloomberg. [1] Sameer Agarwal, Josh Wills, Lawrence Cayton, Gert Lanckriet, David Kriegman, and Serge Belongie. Generalized non-metric multidimensional scaling. In Artificial Intelligence and Statistics, pages 11 18, 2007. [2] Eugene Agichtein, Eric Brill, and Susan Dumais. Improving web search ranking by incorporating user behavior information. In Proceedings of the 29th annual international ACM SIGIR conference on Research and development in information retrieval, pages 19 26. ACM, 2006. [3] Ingwer Borg and Patrick Groenen. Modern multidimensional scaling: Theory and applications. Journal of Educational Measurement, 40(3):277 280, 2003. [4] Ralph Allan Bradley and Milton E Terry. Rank analysis of incomplete block designs: I. the method of paired comparisons. Biometrika, 39(3/4):324 345, 1952. [5] Manuela Cattelan. Models for paired comparison data: A review with emphasis on dependent data. Statistical Science, pages 412 433, 2012. [6] Yuxin Chen, Jianqing Fan, Cong Ma, and Kaizheng Wang. Spectral method and regularized mle are both optimal for top-k ranking. ar Xiv preprint ar Xiv:1707.09971, 2017. [7] Vin De Silva and Joshua B Tenenbaum. Sparse multidimensional scaling using landmark points. Technical report, Technical report, Stanford University, 2004. [8] Johannes Fürnkranz and Eyke Hüllermeier. Preference learning. Springer, 2010. [9] Lalit Jain, Kevin G Jamieson, and Rob Nowak. Finite sample prediction and recovery bounds for ordinal embedding. In Advances In Neural Information Processing Systems, pages 2711 2719, 2016. [10] Thorsten Joachims. Optimizing search engines using clickthrough data. In Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, pages 133 142. ACM, 2002. [11] Thorsten Joachims, Laura A Granka, Bing Pan, Helene Hembrooke, and Geri Gay. Accurately interpreting clickthrough data as implicit feedback. In Sigir, volume 5, pages 154 161, 2005. [12] I. L. Dryden K. V. Mardia. Statistical Shape Analysis. Wiley, 2016. [13] Matthäus Kleindessner and Ulrike Luxburg. Uniqueness of ordinal embedding. In Conference on Learning Theory, pages 40 67, 2014. [14] Matthäus Kleindessner and Ulrike von Luxburg. Kernel functions based on triplet comparisons. In Advances in Neural Information Processing Systems, pages 6807 6817, 2017. [15] Tie-Yan Liu et al. Learning to rank for information retrieval. Foundations and Trends R in Information Retrieval, 3(3):225 331, 2009. [16] R Duncan Luce. Individual choice behavior. 1959. [17] Julian Mc Auley, Rahul Pandey, and Jure Leskovec. Inferring networks of substitutable and complementary products. In Proceedings of the 21th ACM SIGKDD international conference on knowledge discovery and data mining, pages 785 794. ACM, 2015. [18] Dohyung Park, Joe Neeman, Jin Zhang, Sujay Sanghavi, and Inderjit Dhillon. Preference completion: Large-scale collaborative ranking from pairwise comparisons. In International Conference on Machine Learning, pages 1907 1916, 2015. [19] Seung-Taek Park and Wei Chu. Pairwise preference regression for cold-start recommendation. In Proceedings of the third ACM conference on Recommender systems, pages 21 28. ACM, 2009. [20] Omer Tamuz, Ce Liu, Serge Belongie, Ohad Shamir, and Adam Tauman Kalai. Adaptively learning the crowd kernel. In Proceedings of the 28th International Conference on International Conference on Machine Learning, pages 673 680, 2011. [21] Yoshikazu Terada and Ulrike Luxburg. Local ordinal embedding. In International Conference on Machine Learning, pages 847 855, 2014. [22] Laurens Van Der Maaten and Kilian Weinberger. Stochastic triplet embedding. In Machine Learning for Signal Processing (MLSP), 2012 IEEE International Workshop on, pages 1 6, 2012. [23] Michael J Wilber, Iljung S Kwak, and Serge J Belongie. Cost-effective hits for relative similarity comparisons. In Second AAAI conference on human computation and crowdsourcing, 2014. [24] Yisong Yue, Chong Wang, Khalid El-Arini, and Carlos Guestrin. Personalized collaborative clustering. In Proceedings of the 23rd international conference on World wide web, pages 75 84. ACM, 2014.