                  Recommendations with Sparse Comparison Data:
            Provably Fast Convergence for Nonconvex Matrix Factorization


                         Suryanarayana Sankagiri 1 Jalal Etesami 2 Matthias Grossglauser 1


                         Abstract                                   learn users’ preferences based on the feedback that they
                                                                    provide, e.g., the ratings on the items they have consumed.
     In this paper, we consider a recommender system
                                                                    A classical method of learning from ratings data is ma-
     that elicits user feedback through pairwise com-
                                                                    trix completion, which is based on the following modeling
     parisons instead of ratings. We study the problem
                                                                    assumptions. Each user and item is endowed with a low-
     of learning personalised preferences from such
                                                                    dimensional feature vector, and their inner product is taken
     comparison data via collaborative filtering. Simi-
                                                                    to be the user-item utility. The ratings are assumed to be
     lar to the classical matrix completion setting, we
                                                                    noisy reflections of this utility. By fitting this model to the
     assume that users and items are endowed with
                                                                    available rating data, the system can learn to predict users’
     low-dimensional latent features. These features
                                                                    preferences over unseen items as well. This approach has
     give rise to user-item utilities, and the comparison
                                                                    been immensely successful in practice (Koren et al., 2009)
     outcomes are governed by a discrete choice model
                                                                    and is also supported by strong theoretical foundations (Ge
     over these utilities. The task of learning these fea-
                                                                    et al., 2016).
     tures is then formulated as a maximum likelihood
     problem over the comparison dataset. Despite the               This work focuses on recommender systems that learn from
     resulting optimization problem being nonconvex,                pairwise preference comparisons instead of ratings. One
     we show that gradient-based methods converge                   reason to consider such a setting is that comparison data are
     exponentially to the latent features, given a warm             widely available as implicit feedback—for instance, when a
     start. Importantly, this result holds in a sparse              user clicks on one of four options, it suggests a preference
     data regime, where each user compares only a few               for the selected item over the others. Additionally, we be-
     pairs of items. Our main technical contribution                lieve explicitly collecting comparison feedback instead of
     is to extend key concentration results commonly                ratings can be beneficial for several reasons: (i) comparisons
     used in matrix completion to our model. Simu-                  naturally cancel out user biases in ratings (Shah et al., 2013);
     lations reveal that the empirical performance of               (ii) they avoid the discretization issues of rating-based meth-
     the method exceeds theoretical predictions, even               ods, where responses are typically binary or lie on a 1–5
     when some assumptions are relaxed. Our work                    star scale (Davenport et al., 2014); and (iii) comparing two
     demonstrates that learning personalised recom-                 items is cognitively easier than rating them on an abstract
     mendations from comparison data is both compu-                 scale (Stewart et al., 2005). In fact, the advantages of ordi-
     tationally and statistically efficient.                        nal (comparison) feedback over cardinal (rating) feedback
                                                                    have been empirically demonstrated in small-scale tasks
                                                                    (Shah et al., 2016). We ask whether it is possible to learn
1. Introduction                                                     personalized preferences from such comparison data in a
                                                                    computationally and statistically efficient manner.
Recommender systems are central to modern streaming
platforms and digital marketplaces, where they curate per-          To answer this question, it is natural to consider the fol-
sonalized selections for each user from the vast set of items       lowing comparison-based recommender system model that
these platforms host. Algorithms powering such systems              arises by combining the matrix completion assumptions
                                                                    with a discrete choice model. Specifically, assume each user
   1
     School of Computer and Communication Sciences, EPFL,           u has a utility xu,i for every item i, where xu,i is defined as
Switzerland 2 Department of Computer Science, TU Munich, Ger-       the inner product of a low-dimensional user feature vector
many. Correspondence to: Suryanarayana Sankagiri <surya-            u and item feature vector v. Thus the utility matrix X can
narayana.sankagiri@epfl.ch>.
                                                                    be factorized into feature matrices as follows: X = U V T .
Proceedings of the 42 nd International Conference on Machine        Comparisons follow a noisy oracle: when presented with
Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025         two items i and j, the user u picks i over j with probability
by the author(s).

                                                                1
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

g(xu,i − xu,j ) for some known link function g(·). Given a             convergence rate—are quite conservative. Our work sug-
dataset that is generated from this model with some ground-            gests that explicitly asking users to compare pairs of items
truth features (U ∗ , V ∗ ), one can learn these features by op-       (instead of rating them) can be a viable approach to learn-
timizing the likelihood of the model over the dataset. These           ing user preferences. To the best of our knowledge, such
learned features can then be used to predict each user’s pref-         a dataset is not publicly available. Note that prior works
erences over unseen items. The key theoretical question of             using near-identical methods on real datasets, such as Ren-
interest is whether there exists an efficient algorithm that           dle et al. (2009) and Park et al. (2015), infer comparisons
can provably recover the ground-truth features.                        from other forms of data. We hope our work will motivate
                                                                       practitioners to collect a large comparison dataset similar
There has been some progress towards this question, no-
                                                                       to the Netflix dataset, on which our method can be tested.
tably by Park et al. (2015) and Negahban et al. (2018). They
                                                                       An interesting direction of future research is to empirically
prove sample complexity guarantees, showing that it is in-
                                                                       test whether comparison-based feedback leads to better rec-
deed possible to estimate the ground-truth features, even
                                                                       ommendations than rating-based feedback, possibly due to
when each user makes only a few comparisons. However,
                                                                       lower noise.
their analysis rests on a convex problem posed in terms of
the entire utility matrix X, and is therefore inefficient to
solve. In contrast, the optimization problem posed in terms            2. RELATED WORK
of the feature matrices (U, V ) is computationally much eas-
                                                                       2.1. On Matrix Completion
ier to solve, despite being nonconvex. Indeed, the noncon-
vex approach has been applied to large-scale, real-world               The matrix completion problem can be stated as follows:
comparison datasets, where the convex approach would be                recover a low-rank matrix given a small subset of its entries,
infeasible (Rendle et al., 2009; Park et al., 2015). While this        possibly corrupted by noise. There are two approaches
approach is computationally faster, the nonconvexity in the            that provide theoretically optimal solutions for this problem.
problem makes it harder to provide theoretical guarantees.             One approach involves posing a nuclear norm minimization
Proving recovery guarantees for this nonconvex approach                program, subject to the constraints that some select entries
has been highlighted as an important open problem by Ne-               must match the observation. Candès & Recht (2009) was
gahban et al. (2018). Our work aims to plug this gap in the            the first to theoretically establish that a low rank matrix
literature.                                                            can be recovered exactly, given a small, randomly sampled,
                                                                       subset of its entries (without noise). Later work extended
In this work, we provide the first theoretical recovery guar-
                                                                       these results to the setting with noisy observations (Candes
antees for the nonconvex learning-from-comparisons prob-
                                                                       & Plan, 2010; Negahban & Wainwright, 2012).
lem. Our guarantees stem from a careful analysis of the
loss landscape. We show that within a neighborhood of the              An alternate approach is to pose the problem in its matrix
true solution, the negative log-likelihood function exhibits a         factorization form. This is based on the observation that a
strong convexity-like property. Therefore, with a warm start,          low-rank matrix X admits a factorization into two smaller
(projected) gradient descent converges exponentially fast to           matrices (U, V ): X = U V T . One can pose a squared-loss
the global minimum (see Theorem 4.1). Our proof of this                minimization problem in terms of the factors (U, V ) (Mnih
result involves two broad steps. First, we demonstrate that            & Salakhutdinov, 2007). While this alternate formulation
the expected log likelihood function satisfies this desirable          leads to a nonconvex objective function, it is much faster
structural property. Second, we show that the empirical log            to solve and yields good results on real data (Koren et al.,
likelihood function is close to its expected value, even when          2009). This empirical success spurred a long line of theo-
the dataset is sparse. Showing the latter requires strong              retical research on analyzing this nonconvex optimization
concentration results. Our work introduces new techniques              problem. The work of Keshavan et al. (2010a) was the first
to establish these results, extending the methods developed            to provide theoretical guarantees for this nonconvex formu-
for the matrix completion problem. Our guarantees are                  lation. They propose a two-step method. First, they show
qualitatively similar to those established for matrix comple-          that performing the singular value decomposition of the par-
tion, notably the work of Zheng & Lafferty (2016). Further             tially observed matrix leads to a candidate solution close to
details of our technical contributions are presented after a           the ground-truth. Next, using this matrix as a starting point,
review of related literature.                                          they show that a gradient-descent like method converges to
                                                                       the true solution.
Our simulation results corroborate our theoretical findings.
Importantly, they show that some of the assumptions (such              Other works have built upon this initial result to show
as the warm start) needed for our theoretical result are not           slightly stronger theoretical guarantees with improved proof
necessary in practice. They also show that the constants               techniques (Chen & Wainwright, 2015; Sun & Luo, 2016;
in our theoretical results—the sample complexity and the               Zheng & Lafferty, 2016). Following the two-step approach


                                                                   2
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

prescribed by Keshavan et al. (2010a), all these works focus           efficient nonconvex method which is nearly identical to ours.
on proving that there exists a basin of attraction around the          They applied this method to a comparison dataset derived
true solution. Notably, all these papers use a key concentra-          from movie ratings (higher rated movie is preferred over
tion result developed by Candès & Recht (2009) (Theorem               a lower rated one), getting recommendations of a quality
4.1). This result, in turn, relies on the following assumptions        similar to processing ratings directly, thereby establishing
(i) the ground-truth matrix is incoherent (no row or column            the efficacy of this method.
of the matrix dominates the rest) and (ii) the observed en-
                                                                       Negahban et al. (2018) studies this problem in much greater
tries are chosen uniformly at random from all the entries
                                                                       detail, providing matrix recovery guarantees with optimal
of the matrix. Furthermore, these methods require that the
                                                                       sample complexity. It also analyzes more complex settings
iterates always remain incoherent throughout; to this end,
                                                                       such as sampling item pairs in a nonuniform fashion and
they use a regularizer (Sun & Luo, 2016) or a projection
                                                                       learning from one-out-of-k choices. Ultimately, the paper
step (Chen & Wainwright, 2015; Zheng & Lafferty, 2016).
                                                                       focuses only on the convex formulation, stating that the
Further work on this problem has led to significant relax-             analysis of the corresponding nonconvex formulation is an
ations in the assumptions needed to prove theoretical guaran-          important open problem.
tees. Firstly, Ge et al. (2016) and Ge et al. (2017) show that
all local minima are global in the nonconvex formulation.              2.3. Our Technical Contributions
This implies gradient-based methods are guaranteed to con-
verge to a global optimum, even without the initialization             In this work, we provide a theoretical analysis of the non-
procedure. Secondly, Ma et al. (2020) shows that gradient              convex formulation for the problem of learning a low-rank
descent has implicit regularization and thus can converge              matrix from comparison data. The modeling assumptions
to the optimal solution without an explicit regularizer or a           we make, such as the incoherence of the ground-truth matrix
projection operation.                                                  and the uniform sampling of datapoints, are very similar to
                                                                       prior work on matrix factorization. Our proof strategy is
                                                                       also inspired by prior work on this subject; most notably,
2.2. On Learning From Comparisons
                                                                       that of Zheng & Lafferty (2016). In particular, we follow
The central problem in learning from comparison data is                their approach of using a regularizer to translate an asym-
to estimate the preference order/rank of all the items given           metric matrix factorization problem (X = U V T ) into a
a dataset. A popular approach to solve this problem is to              symmetric one (Y = ZZ T ). We also follow their idea of
assume the comparisons arise from a probabilistic choice               using projected gradient descent to ensure the iterates stay
model, such as the Bradley-Terry-Luce choice model. Theo-              incoherent.
retical guarantees for learning the parameters of this model
                                                                       The key difference between our work and prior work is
have been established in the literature (Negahban et al.,
                                                                       the method used to develop the necessary concentration in-
2012; Maystre & Grossglauser, 2015; Shah et al., 2016). In
                                                                       equalities. Most of the papers analyzing matrix completion
addition to the offline setting, the corresponding active learn-
                                                                       build upon some fundamental results from Candès & Recht
ing problem has also been well-studied, especially in the
                                                                       (2009) and Keshavan et al. (2010a).However, these results
framework of dueling bandits (Bengs et al., 2021). In partic-
                                                                       do not apply to our problem, because the structure of the
ular, the contextual dueling bandit model is quite similar to
                                                                       sampling matrix is different. To elaborate, in matrix com-
our model; however, with the ‘collaborative filtering’ aspect
                                                                       pletion, a data point consists of a single user and a single
missing, the basic estimation problem there reduces to that
                                                                       item, while here, a datapoint consists of a single user and
of logistic regression (Saha, 2021; Bengs et al., 2022).
                                                                       an item-pair. This seemingly minor difference makes us
The problem of learning a low-rank user-item score matrix              lose the interpretation of the set of samples acting like a
from comparison data was first formulated by Rendle et al.             projection operator (Candès & Recht, 2009), or the samples
(2009). This work applied a model and algorithm very                   being edges of a bipartite graph (Keshavan et al., 2010a). In
similar to ours to a comparison dataset derived from implicit          this work, we derive the necessary concentration results by
user feedback such as views, clicks, and purchases. Rendle             using the matrix Bernstein inequality (Tropp, 2015) as the
et al. (2009) demonstrated that such data is better treated as         main tool. Further details are given in Section 5.
ordinal information (a preference of the viewed item over
                                                                       We make two major simplifying assumptions in this work.
the rest) instead of cardinal information (a positive rating of
                                                                       First, we assume that our comparisons are noiseless. That
the viewed item).
                                                                       is, instead of observing a binary preference outcome, we
Park et al. (2015) was the first work to provide theoretical           observe the expected value of this outcome. Extending our
guarantees for this problem, albeit for convex version. This           analysis to the more realistic setting of noisy, binary com-
work also noted the similarity of this problem to the matrix
completion setting, prompting them to also develop a more

                                                                   3
                                   Nonconvex Matrix Factorization with Sparse Comparison Data

parisons is an important direction of future work.1 Second,                distinct items. The item pair (i, j) is sampled independently
we assume we are given an initial point that is suitably close             from u. The triplets for different datapoints are sampled
to the ground truth solution. In the matrix completion litera-             independently of each other.
ture, such an initial solution can be obtained by performing
                                                                           In this work, we assume that comparisons are noiseless,
a singular value decomposition on the partially observed
                                                                           i.e., instead of a binary outcome, we observe the expected
matrix, as shown by (Keshavan et al., 2010a). However, this
                                                                           value of the comparison outcome w (that is, g(x∗u,i − x∗u,j )).
initialization method does not work here. Our simulations in
                                                                           Although this assumption is not a reflection of practice, we
Section 6 suggest that this warm start may not be a necessity.
                                                                           make this assumption for the simplicity of exposition. By
Proving convergence from a random point, as done by (Ge
                                                                           making this assumption, we can show that with sufficient
et al., 2016), remains an open problem.
                                                                           data, we can estimate the ground-truth matrix to arbitrary
                                                                           precision. The binary outcome setting can be viewed as a
3. Model                                                                   noisy setting, as any random variable w can be expressed as
                                                                           the sum of its mean E[w] and some mean-zero noise. We
3.1. The Data Generation Process
                                                                           believe it is possible to extend our results to the noisy case,
Let there be a fixed set of users and items. Let n1 denote the             except that the recovery guarantees will contain a residual
number of users and n2 the number of items. We assume                      estimation error due to the noise.
that each user u has a certain utility x∗u,i for every item i.
Each user u and each item i has a r-dimensional feature                    3.2. Notation
vector. Further, we assume that the score matrix X ∗ ∈
Rn1 ×n2 has rank r. Although our analysis holds for any                    We now introduce some additional notation that we will use
rank r ≤ min n1 , n2 , the results are interesting when the                throughout the rest of this paper. This notation is useful not
matrix is low rank, i.e., the r is much smaller than n1 and                only to succinctly represent the loss function (see Section
n2 . We call X ∗ the ground-truth utility matrix.                          3.3), but also to argue about the desired concentration results
                                                                           (see Section 5).
When a user u is asked to choose which option they prefer
between two items i and j, we assume the user makes a                      In Section 3.1, we assumed that the score matrix X ∗ ∈
choice by comparing their utilities. To be precise, let w = 1              Rn1 ×n2 has rank r. This implies that it admits the follow-
denote the event that the user picks i over j and w = 0 the                ing rank-r SVD: X ∗ = U ∗ Σ∗ V ∗T . Here, U ∗ ∈ Rn1 ×r
complementary event. We assume                                             and V ∗ ∈ Rn2 ×r are orthonormal matrices (satisfying
                                                                           U ∗T U ∗ = V ∗T V ∗ = Ir ), and Σ∗ ∈ Rr×r is a diagonal
                 P (w = 1) = g(x∗u,i − x∗u,j ),                 (1)        matrix with entries σ1∗ ≥ . . . ≥ σr∗ > 0.
                                                                           Let n = n1 + n2 . Define Z ∗ ∈ Rn×r and Y ∗ ∈ Rn×n as
where g : R → (0, 1) is called the link function. This model               follows:
captures the intuition that the user is certain in their choices                        ∗
among items that differ significantly in their utility, but                         ∗   U
                                                                                  Z =         Σ∗1/2 ,                         (2)
is more ambiguous when choosing between similar utility                                 V∗
                                                                                                   ∗ ∗ ∗T
                                                                                                                  X∗
                                                                                                                          
items. A special case is the classical Plackett-Luce choice                                         U Σ U
                                                                                 Y ∗ = Z ∗ Z ∗T =                           . (3)
model, where the link function is the sigmoid function:                                               X ∗T    V ∗ Σ∗ V ∗T
g(x) = 1/(1 + exp(−x)). In general, the link function
is a smooth, strictly increasing function and is symmetric                 We can interpret U ∗ Σ∗1/2 as the matrix of user feature
around zero in the following sense: g(−x) = 1 − g(x).                      vectors, with row u corresponding to user u. Similarly,
                                                                           V ∗ Σ∗1/2 can be viewed the matrix of item feature vectors.
We assume we are given a dataset D where each data point
                                                                           Both user and item features are r-dimensional vectors. Note
represents a comparison made by a user between two items.
                                                                           that X ∗ = (U ∗ Σ∗1/2 )(V ∗ Σ∗1/2 )T . Thus, the user-item
The size of the dataset, i.e., the number of data points, is
                                                                           utility x∗ u, i can be viewed as the inner product of the
represented by m. We index the dataset by k. Each data
                                                                           corresponding user and item feature vectors.
point Dk is of the form ((u; i, j), w) and is sampled ran-
domly as follows. The user index u is chosen uniformly at                  Given the relation between matrices X ∗ , Y ∗ , and Z ∗ , esti-
random from [n1 ]. The pair of item indices (i, j) is chosen               mating the ground-truth utility matrix X ∗ is equivalent to
uniformly at random from the set of n2 (n2 − 1) pairs of                   estimating Z ∗ (barring the symmetries discussed in Section
   1
                                                                           3.5). The major advantage of this reduction is that it reduces
     Indeed, in the matrix completion literature as well, the noise-       the number of parameters from n1 n2 (in X ∗ ) to (n1 + n2 )r
less case has been addressed first and the noisy case in a follow
up work (e.g., Candès & Recht (2009) followed by Candes &                 (in Z ∗ ). This significant reduction in parameters (when
Plan (2010), Keshavan et al. (2010a) followed by Keshavan et al.           r is small) leads to corresponding gains in computational
(2010b)).                                                                  efficiency. Thus, from here on, the goal of the learning

                                                                       4
                                    Nonconvex Matrix Factorization with Sparse Comparison Data

problem is to estimate Z ∗ . Before we present the precise               pw (1 − p)1−w . Therefore, the negative log-likelihood of
learning problem in subsequent subsections, we introduce                 this observation is −w log(p) − (1 − w) log(1 − p). Next,
some more notation that will make the presentation concise.              consider a datapoint ((u; i, j), w) with the corresponding
                                                                         sampling matrix A. The negative log-likelihood of this
Let e1 , e2 , . . . en1 denote unit vectors in Rn1 and let
                                                 n2                      observation with parameters Z is
  1 , ẽ2 , . . . , ẽn2 denote unit vectors in R . Let ⟨⟨C, D⟩⟩ =
ẽP
     i,j ci,j di,j denote the matrix inner product between two           −w log(g(⟨⟨A, ZZ T ⟩⟩)) − (1 − w) log(1 − g(⟨⟨A, ZZ T ⟩⟩)).
matrices of the same size. Therefore:
                                                                         Then, for the entire dataset, the (normalized) negative log
            ⟨⟨eu (ẽi − ẽj )T , X ∗ ⟩⟩ = x∗u,i − x∗u,j .     (4)        likelihood is given by:
                                                                                             m
For any triplet (u; i, j), define the corresponding sampling                             1 X
matrix A ∈ Rn×n to be:                                                         L(Z) =        −wk log(g(⟨⟨Ak , ZZ T ⟩⟩))
                                                                                         m
                                                                                            k=1
                          0 eu (ẽi − ẽj )T
                                            
                 A=                            .         (5)                            − (1 − wk ) log(1 − g(⟨⟨Ak , ZZ T ⟩⟩)).           (8)
                          0         0
                                                                         The gradient of L(Z) is
In the equation above, 0 denotes matrices with all entries
                                                                                            m
zero of the appropriate size. With this notation, for any data                          1 X
                                                                            ∇L(Z) =         hk (Ak + ATk )Z, where                        (9)
point ((u; i, j), w), we have:                                                          m
                                                                                           k=1
                ⟨⟨A, Y ∗ ⟩⟩ = ⟨⟨AT , Y ∗ ⟩⟩ = x∗u,i − x∗u,j   (6)                       g ′ (zk ) (g(zk ) − wk )
                                                                                 hk ≜                            , zk ≜ ⟨⟨Ak , ZZ T ⟩⟩.
 ⇒ P (w = 1 | (u; i, j)) = P (w = 1 | A) = g(⟨⟨A, Y ∗ ⟩⟩).                                g(zk )(1 − g(zk ))
                                                                         Here, ∇L(Z) is a matrix of the same size as Z while hk
Let Ak denote the sampling matrix corresponding to the dat-              and zk are scalars. Finally, note that with the noiseless
apoint Dk . By our modeling assumptions above, A1 , A2 , . . .           assumption, we can substitute wk by g(⟨⟨Ak , Z ∗ Z ∗T ⟩⟩).
are i.i.d. random matrices of the same form as (5), with the
index u being chosen uniformly at random from [n1 ], and                 3.4. Important Parameters
the indices (i, j) being chosen uniformly at random from
[n2 ] (with the condition i ̸= j).                                       Condition Number Let σ1∗ , σ2∗ , . . . σr∗ denote the singular
                                                                         values of X ∗ . Denote the ratio σ1∗ /σr∗ , called the condition
Lastly, for any matrix Y ∈ Rn×n , define                                 number of the data, by κ. Also note κ is also the condi-
                                                                                             ∗
                              m
                                                                         p number
                                                                         tion    p ∗of Z √     , because the singular values of Z ∗ are
                         1 X                  2                               ∗
              D(Y ) ≜        ⟨⟨Ak + ATk , Y ⟩⟩ .              (7)           2σ1 , 2σ2 , . . . 2σr∗ .
                         m
                             k=1
                                                                         Incoherence For any matrix Z, let ∥Z∥2,∞ denote the
We overload this notation to highlight the fact that the oper-
                                                                         maximum of the ℓ2 norm of its rows and let ∥Z∥F denote
ator D(·) captures the collective action of all the sampling
                                                                         the Frobenius norm of Z. Define the incoherence parameter
matrices of the dataset D. We shall encounter such terms
                                                                         of the ground-truth matrix as
repeatedly in our analysis. Observe that D(Y ) is the empir-
                                                                                                        2           2
ical mean of i.i.d. random terms. Thus, it is reasonable to                              µ ≜ n(∥Z ∗ ∥2,∞ / ∥Z ∗ ∥F ).                (10)
expect that D(Y ) ≈ E[D(Y )], if the number of datapoints
m is sufficiently large. Our analysis rests on proving such              In principle, µ can take values from 1 to n. However, the
concentration results; see Section 5 for more details.                   sample complexity worsens with µ, as the concentration
                                                                         bounds weaken with µ.
3.3. The Loss Function
                                                                         Link Function Bounds Let I denote the interval
                                                                                     2                 2
Recall, from the previous section, that our goal is to estimate          [−24µ(∥Z ∗ ∥F /n), 24µ(∥Z ∗ ∥F /n)]. Let ξ and Ξ be lower
the matrix Z ∗ . We do so by maximizing the likelihood as a              and upper bounds for the following expression:
function of matrices Z ∈ Rn×r over the dataset D. In other
                                                                                                     g ′ (x)g ′ (y)
words, we formulate a loss function in terms of the negative                             ξ ≜ min                    ,                (11)
                                                                                           x∈I,y∈I g(x)(1 − g(x))
log likelihood, and minimize this function using a gradient
descent-like method. This section presents the expressions                                           g ′ (x)g ′ (y)
                                                                                        Ξ ≜ max                     .                (12)
for the log likelihood and its gradient, using the notation                                x∈I,y∈I g(x)(1 − g(x))
developed in the previous section.
                                                                         By the assumptions on g(·) stated above, ξ is strictly positive
Given a binary outcome w, the likelihood of the out-                     and Ξ is finite. These terms are used to bound the term hk
come under a Bernoulli distribution with parameter p is                  in (9) above.

                                                                     5
                                   Nonconvex Matrix Factorization with Sparse Comparison Data

3.5. Symmetries in the Problem                                         Shift Invariance Under our model, all comparisons in-
                                                                       volve computing the difference between the utilities of two
The generative model, and consequently the log likelihood
                                                                       items. Therefore, adding a constant vector to each item’s
function, is invariant to certain transformations in the param-
                                                                       feature vector does not affect the scores. Mathematically,
eters. We explore these symmetries and their consequences
                                                                       this can be seen as follows. Let Ṽ ∗ = V ∗ + 1v T , where
in this section.
                                                                       v ∈ Rr and 1 ∈ Rn2 is the vector of all ones. Let X̃ ∗ , Ỹ ∗ ,
                                                                       and Z̃ ∗ denote the corresponding quantities derived from
Scale Invariance For any score matrix X, the mapping                   (U ∗ , Ṽ ∗ ). Then for any triplet (u; i, j) and the correspond-
to Z = (U, V ) is not unique. Indeed, for any invertible               ing sampling matrix A, we have ⟨⟨eu (ẽi − ẽj )T , X̃ ∗ ⟩⟩ =
r × r matrix P , the matrix Z ′ = (U P T , V P −1 ) is indistin-       ⟨⟨eu (ẽi − ẽj )T , X ∗ ⟩⟩, which implies ⟨⟨A, Ỹ ∗ ⟩⟩ = ⟨⟨A, Y ∗ ⟩⟩.
guishable from (U, V ), as they both lead to the same score            Because of this invariance, we assume, without loss of gen-
matrix X and hence the same likelihood. However, we can                erality, that 1T V ∗ = 0. In words, we assume that the item
distinguish ‘imbalanced’ matrices from ‘balanced’ ones by              features of all matrices in Φ sum to zero.
                                                2
by adding a regularizer term U T U − V T V F to the loss
function. Minimizing this regularizer while keeping the                The shift invariance also manifests itself in our objective
log-likelihood constant leads to a pair of feature matrices            function L(Z). It is important to factor out the shift invari-
that are balanced in the norms. In more compact terms, the             ance in order to establish a strong-convexity like property
regularizer can be written as follows:                                 (i.e., a curvature) for L(Z). Therefore, we restrict our atten-
                                                                       tion to the following subspace:
                                                
                          2         I         0
      R(Z) ≜ Z T DZ F ; D ≜ n1                      .      (13)              H = {Z ∈ Rn×r : Z = (U, V ), 1T V = 0}.                   (19)
                                     0 −In2
                                                                       For any Z = (U, V ), we shall work with the projection of
Note that the ground-truth matrix Z ∗ satisfies R(Z ∗ ) = 0.
                                                                       Z onto H, denoted by PH (Z). This projection is given by
Combining the regularizer with the negative log likelihood,
                                                                       (U, JV ), where J ≜ In2 − 11T /(n2 ). Finally, note that by
the objective function becomes:
                                                                       the assumption stated before, Φ ⊆ H.
               f (Z) ≜ L(Z) + (λ/4)R(Z),                   (14)
                                                                       4. Algorithm and Result
where λ is a positive constant. In this work, we set
λ = ξγ/4; however, in practice, it should be treated as                A naive approach to minimize the loss function (14) is to
a hyperparameter. In summary, adding the regularizer R(Z)              simply apply the gradient descent method until one is suffi-
factors out the scale-invariance of the problem.                       ciently close to convergence. Indeed, in Section 6, we show
                                                                       this works well in practice. However, for proving theoreti-
                                                                       cal guarantees, we need to use projected gradient descent.
Rotational Invariance Beyond the scale invariance, the
                                                                       Notably, the projection step involves two successive projec-
problem at hand also exhibits rotational invariance. Let R
                                                                       tions, first onto a set of ‘incoherent matrices’ C and then
be any orthogonal matrix in r dimensions, i.e., R ∈ Rr×r
                                                                       onto H (defined in (19)). The set C is defined as follows:
such that RRT = RT R = I. The matrix ZR = (U R, V R)
give rise to the same scores as Z = (U, V ). Thus, one can                                                  r           
                                                                                         n×r               4 µ       0
identify the ground-truth features only up to an orthogonal               C≜ Z∈R              : ∥Z∥2,∞ ≤           Z F . (20)
                                                                                                           3 n
transformation. Denote this equivalence class of the ground-
truth feature matrices by Φ:                                            Thus, C contains matrices that are ‘nearly as incoherent’
                                                                       as Z ∗ (if Z 0 F ≈ ∥Z ∗ ∥F ). For any Z ∈ Rn×r , the
  Φ ≜ {Z̃ ∗ : Z̃ ∗ = Z ∗ R for some orthonormal R}. (15)               projection of Z onto C, PC (Z), is a matrix
                                                                                                                pin R
                                                                                                                       n×r
                                                                                                                           obtained
                                                                       by clipping the rows of Z to β = (4/3) (µ/n) Z 0 F :
This equivalence class of solutions naturally gives rise to a                                  (
new distance metric ∆ that measures how close a candidate                                        Zj                if ∥Zj ∥2 ≤ β
solution Z is to Φ. Define                                              ∀ j ∈ [n], PC (Z)j =                                     .
                                                                                                 Zj (β/ ∥Zj ∥2 ) otherwise
      R(Z) ≜ arg             min        ∥Z − Z ∗ R∥F ,     (16)
                   R:RT R=RRT =Ir                                      The rationale for the projections is the following. One, the
                                    ∗          ∗                       objective function displays a strong-convexity like property
      Φ(Z) ≜ arg min Z − Z̃                 = Z R(Z),      (17)
                   Z̃ ∗ ∈Φ              F                              only within the region of incoherent matrices. The projec-
     ∆(Z) ≜ Z − Φ(Z).                                      (18)        tion operation PC ensures that we stay in this region, which
                                                                       is crucial for proving the theoretical results. The second
We measure the quality of a solution Z by ∥∆(Z)∥F .                    projection, PH factors out the shift invariance in the loss

                                                                   6
                                    Nonconvex Matrix Factorization with Sparse Comparison Data

function. This is essential in order to establish strong con-               O((τ /µrκ)2 ). Although the constants in the sample com-
vexity; otherwise, there is no curvature in the direction of                plexity result and convergence rate are quite large in the
invariance. Here, there is a caveat: this second projection                 statement of Theorem 4.1, our experimental results in Sec-
may push the iterates out of the set C. However, we show                    tion 6 show that in practice, these constants are moderate.
(in Lemma A.3) that the iterates remain incoherent enough,                  The following section gives a sketch of the proof of Theorem
i.e., they remain in the set C, where                                       4.1. The full proof is provided in the appendix.
         n                          p                o
   C ≜ Z ∈ Rn×r : ∥Z∥2,∞ ≤ 12µ/n ∥Z ∗ ∥F                 (21)               5. Proof Outline
                                                                            Theorem 4.1 is nearly identical to the convergence guaran-
Algorithm 1 Projected Gradient Descent                                      tees of gradient descent for a strongly convex and smooth
                                                                            function, notwithstanding the projection step and the sym-
   Input: Objective function f , initial solution Z 0 ∈ Rn×r ,
                                                                            metries. Lemmas 5.1 and 5.2 establish properties akin to
   stepsize η
                                                                            strong-convexity and smoothness respectively. Note that
   t←0                                                                    we have dropped the dependence on Z for brevity; e.g., we
   Z 0 ← PH PC Z 0
                                                                            denote ∇f (Z) by ∇f .
   repeat
      Z t+1 ← PH (PC (Z t − η∇f (Z t )))                                    Lemma 5.1. Suppose the number of samples m is at least
                                                                                         2
      t←t+1                                                                 107 (µrκ/τ ) n log (2n/δ), for some δ ∈ (0, 1). Then, with
   until convergence                                                        probability at least 1 − δ, ∀ Z ∈ H ∩ B(τ /50) ∩ C,
   Output: Z t
                                                                                                    ξγ    2   ξγ       2
                                                                                      ⟨⟨∇f, ∆⟩⟩ ≥      ∥∆∥F +    ∆T DΦ F .
Our main theorem states that in the noiseless setting, given                                         4         8
a sufficiently large dataset and a warm start, Algorithm
1 converges exponentially fast to a solution equivalent to                  Lemma 5.2. Suppose the number of samples m is at least
the ground-truth matrix. For the sake of conciseness, we                    2n log(4n/δ), for some δ ∈ (0, 1). Then, with probability
introduce the following constants:                                          at least 1 − δ, ∀ Z ∈ B(1) ∩ C,

      γ ≜ 2/(n1 (n2 − 1)),         τ ≜ ξ/Ξ,      α ≜ ξγσr∗ .                      2                         2    (ξγ)2 ∗ T    2
                                                                            ∥∇f ∥F ≤ 105 (Ξγµrσ1∗ )2 ∥∆∥F +           σ1 Φ D∆ F .
                                                                                                                   2
                              2
Let B(ε) = {Z : ∥∆(Z)∥F ≤ εσr∗ } denote a ‘ball’ around
the true solution. With this notation in place, we state the                The lemmas are easy to interpret as strong convexity and
                                                                                                                                   2
main result of this paper.                                                  smoothness conditions if we ignore the terms ∆T DΦ F
Theorem 4.1. Suppose the following conditions hold:                         (which stem from the regularizer).
                                                                            At a high level, the method for proving both these lemmas
   • The dataset D consists of m i.i.d. samples generated                   is similar. First, the expressions to be bounded, namely
     according to the model presented in Section 3.1.                                             2
                                                                            ⟨⟨∇f, ∆⟩⟩ and ∥∇f ∥F , are written out as the sum and prod-
   • The number of samples m is at least                                    uct of D(Y ) terms (recall the definition of D(Y ) from (7)).
                 2
     107 (µrκ/τ ) n log (8n/δ) for some δ ∈ (0, 1).                         Second, we demonstrate that these terms, which capture
                                                                            an empirical mean of i.i.d. random variables, are close to
   • The initial point Z 0 lies in B(τ /50).                                their statistical mean. Specifically, we show that with high
                                                                            probability, D(Y ) ≈ E[D(Y )], uniformly for all Y in some
   • The stepsize η in Algorithm 1 satisfies ηα ≤ 2.5 ·                     appropriate set. Finally, we put these results together with
     10−6 (τ /µrκ)2 .                                                       the appropriate parameters to ensure that the bounds pre-
                                                                            sented in Lemmas 5.1 and 5.2 hold. The following sections
Then, with probability at least 1 − δ, the iterates Z 1 , Z 2 , . . .       flesh out more details.
of Algorithm 1 satisfy:
              2
                          αη t             2                              Showing Strong Convexity The proof of Lemma 5.1 can
      ∆(Z t ) F ≤ 1 −              ∆(Z 0 ) F ∀ t ∈ N.                       be split into the following three lemmas.
                            4
                                                                            Lemma 5.3. For any Z ∈ C,
We highlight two important points from the above theorem.
First, the dependence on the problem size is O(nr2 log n),                                          ξ       5Ξ
                                                                                                      D ∆ΦT −   D ∆∆T
                                                                                                                      
                                                                                      ⟨⟨∇L, ∆⟩⟩ ≥
which is near-optimal. Second, for a well-chosen step-                                              2         8
size, the algorithm convergences exponentially at rate

                                                                        7
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

Lemma 5.4. Let some ϵ, δ ∈ (0, 1) be given. Suppose                    which we split into the mean (expectation) term and the
                                              2
the number of samples m exceeds 96µr (κ/ϵ) n log (n/δ).                deviation from the mean. We show that:
Then, with probability at least 1 − δ, ∀ Z ∈ H,
                                                                       D(∆∆T ) = y T BD y = y T E[BD ]y + y T (BD − E[BD ])y;
                                                   
                                2
D ∆ΦT ≥ γ (1 − ϵ)σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ .                                       2            1 X
                                                                       y ∈ Rn : yj = ∥∆j ∥2 ∀j, BD =              eu (ẽi + ẽj ).
                                                                                                       m
                                                                                                                      (u;i,j)∈D

In the above lemma, we use the notation Φ = (ΦU , ΦV )                 The first term is bounded above with the warm-start assump-
and ∆ = (∆U , ∆V ).                                                                2
                                                                       tion: ∥∆∥F ≤ O(1)σr∗ . The second term is bounded using
Lemma 5.5. Let some ϵ, δ ∈ (0, 1) be given. Suppose the                the matrix Bernstein inequality (see Lemma D.5).
                                              2
number of samples m exceeds 845 (µrκ/ϵ) n log (n/δ).
Then, with probability at least 1 − δ, ∀ Z ∈ C ∩ B(ϵ),                 Showing Smoothness Our method of proving Lemma 5.2
                                                                       follows the proof style of Zheng & Lafferty (2016). We start
                                            2
                D(∆∆T ) ≤ 10ϵγσr∗ ∥∆∥F .                               by observing that
                                                                                       2                                          2
                                                                                ∥∇L∥F =             sup               ⟨⟨∇L, W ⟩⟩ .
Using these three lemmas, Lemma 5.1 can be derived in                                        W ∈Rn×r :∥W ∥   F =1
a straightforward manner (proof in Appendix E). Indeed,
if we ignore the cross-term ⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ in Lemma              Therefore, it suffices to find a bound for the term on the right
5.4, it is not hard to see that the three lemmas combined              hand side of the above equation. The following lemmas,
                                                      2
lead to the lower bound ⟨⟨∇L, ∆⟩⟩ ≥ O(1)γσr∗ ∥∆∥F . The                proven in Appendix D, provide the requisite bound.
gradient of the regularizer helps cancel out this cross-term,          Lemma 5.6. For any Z ∈ C and any W ∈ Rn×r ,
                                     2
but leads to the additional ∥∆DΦ∥F term.                                                                    
                                                                                 2                  1
The steps in the proof of Lemma 5.3 are algebraic in nature            ⟨⟨∇L, W ⟩⟩ ≤ 2Ξ2 D(∆ΦT ) + D(∆∆T ) D(W Z T ).
                                                                                                    4
and largely follow the pattern presented in Zheng & Lafferty
(2016); the proof is given in Appendix B. The main technical           Lemma 5.7. Suppose the number of samples m is at least
contribution of our work lies in the proof of Lemmas 5.4 and           2n log(4n/δ). Then, with probability at least 1 − δ, the
5.5. Although the statements of these lemmas are similar to            following inequalities hold uniformly for all Z ∈ C:
Lemmas 10 and 8 respectively of Zheng & Lafferty (2016),
                                                                                                              2
we prove these results in different ways. We outline the                     D(∆ΦT ) ≤ 16γ(µrσ1∗ ) ∥∆∥F ,
broad steps taken to prove these results, filling in the details                                                  2
                                                                             D(∆∆T ) ≤ 416γ(µrσ1∗ ) ∥∆∥F ,
in Appendices C and D respectively.
                                                                                                                  2
                                                                            D(W Z T ) ≤ 192γ(µrσ1∗ ) ∥W ∥F ∀ W ∈ Rn×r .
A key step to prove Lemma 5.4 is to show the identity:

  D ∆ΦT = v T SD v, where v ≜ vec(∆RT ),
                                                                      Lemma 5.2 follows by combining these lemmas and ac-
                m                                                      counting for the gradient of the regularizer (see Appendix
            1 X                                                        E).
    SD ≜          ak aTk , ak ≜ vec((Ak + ATk )Z ∗ ). (22)
            m
               k=1
                                                                       6. Simulations
Here, we use the notion of vectorization of a matrix, i.e.,
stacking the columns of a matrix to form a vector. Thus, for           Data Generation: We generated a random ground truth
a matrix Z ∈ Rn×r , vec(Z) is a vector in Rnr .                        matrix X ∗ ∈ Rn1 ×n2 with entries selected independently
                                                                       at random according to normal distribution and calculated
Given this quadratic form, it follows that:
                                                                       its rank-r SVD, U ∗ Σ∗ V ∗T . We have two settings: a low-
  |D ∆ΦT − E D ∆ΦT | ≤ ∥SD − E[SD ]∥2 ∥v∥2
                                        2                          dimensional setting with (n1 , n2 ) = (200, 300) and a high-
                                                                       dimensional setting with (n1 , n2 ) = (2000, 3000). In both
The term ∥SD − E[SD ]∥2 can be bounded with high prob-                 settings, we had r = 3, µ ≈ 1.01, κ = 1.1. Using this
ability using the matrix Bernstein inequality (see Lemma               matrix, we randomly and independently collected m com-
C.6). To complete    the 
                         proof of Lemma 5.4, it remains                parison data points. Specifically, for each setting, the com-
                                                                       parison dataset took the form {(Ak , wk ) : k = 1, . . . , m},
                
to calculate E D ∆ΦT . In Lemma C.2, we show that
                                    2                               where Ak represents the k th sampling matrix as in (5) and
E D ∆ΦT = γ ∆U ΦTV + ΦU ∆TV F .
                                                                       and wk = g(⟨⟨Ak , Z ∗ Z ∗T ⟩⟩). In this work, we set the reg-
The proof of Lemma 5.5, just like the one for Lemma 5.4,               ularizer coefficient to be λ = γ/40. Subsequently, we
involves analyzing a quadratic form around a random matrix,            applied Algorithm 1 using the stepsize η as recommended

                                                                   8
                                   Nonconvex Matrix Factorization with Sparse Comparison Data




                          (a) Different initializations                               (b) Varying dataset size




                          (c) Different initializations                               (d) Varying dataset size

Figure 1. The top row and bottom row show the results for (n1 , n2 ) = (200, 300) and (n1 , n2 ) = (2000, 3000), respectively. (a) and (c)
illustrate the effect of different initializations with a fixed number of data points, while the remaining plots demonstrate the effect of
varying dataset size m. Y-axes are in log scale.


by Theorem 4.1. The quality of the algorithm’s output at                verges rate for m computed by c0 (µrκ)2 n log(n/δ) with
                                         √
iteration t is measured by ||∆(Z t )||F / n1 n2 . Our code              δ = 0.05 and c0 being 1/4 for low-dimensional and 1/2
can be found here. Figure 1 presents the resulting plots.               for high-dimensional setting. In Appendix F, we present an
                                                                        additional plot that highlights the dependence of m on r.
Initialization: We initialize the algorithm with Z 0 = Z ∗T +
ϑ(N1 , N2 J), where N1 ∈ Rn1 ×r and N2 ∈ Rn2 ×r , with
their entries drawn from a standard normal distribution. For            7. Conclusion
our experiments, we use ϑ ∈ {0.5, 1, 2}. Figures 1 (a) and
                                                                        In this paper, we consider a mathematical model for a
(c) show the effect of different initial solutions and also
                                                                        comparison-based recommender system: the concatena-
the projection steps in low and high dimensional settings,
                                                                        tion of the classical matrix factorization framework with
respectively. In both settings, the number of data points
                                                                        a Plackett-Luce-style comparison oracle. We proved that,
m and also the stepsize were chosen as recommended in
                                                                        given a relatively sparse dataset, the parameters of the model
Theorem 4.1. This result confirms the linear convergence of
                                                                        can be recovered through an efficient, gradient descent based
Algorithm 1 as predicted by our theoretical analysis. It is
                                                                        algorithm, despite the loss function being nonconvex. Our
important to emphasize that while both a warm start and the
                                                                        proof rests on establishing that the loss function satisfies
projection step are required for our theoretical guarantees,
                                                                        properties akin to strong convexity and smoothness in a
these simulation results suggest that they are not needed in
                                                                        neighborhood around the optimal solution. For our analysis,
practice.
                                                                        we made two assumptions: we are given a warm start and
Dataset size: We examine the impact of dataset size m on                we observe the exact choice probabilities (rather than binary
the algorithm’s performance. Figures 1 (b) and (d) demon-               outcomes). We hope that our work will form the basis of
strate the resulting normalized errors in low and high dimen-           further analysis of this problem that performs a global anal-
sional settings, respectively. As depicted in these plots, a            ysis or provides guarantees for data with noisy comparisons.
large enough m leads to linear convergence of the algorithm             Finally, we believe that this work is an important contri-
while for a small m, the error ∥∆(Z t )∥F does not go to zero           bution in establishing the viability of comparison-based
as t increases. In both plots, the red curves show the con-             recommender systems.

                                                                    9
                                Nonconvex Matrix Factorization with Sparse Comparison Data

Acknowledgements                                                      Koren, Y., Bell, R., and Volinsky, C. Matrix factorization
                                                                        techniques for recommender systems. Computer, 42(8):
This research has been supported in part by the                         30–37, 2009.
Swiss National Science Foundation (SNSF) under grant
IZBRZ2 186313.                                                        Ma, C., Wang, K., Chi, Y., and Chen, Y. Implicit regulariza-
                                                                       tion in nonconvex statistical estimation: Gradient descent
Impact Statement                                                       converges linearly for phase retrieval, matrix completion,
                                                                       and blind deconvolution. Foundations of Computational
This paper presents work whose goal is to advance the field            Mathematics, 20:451–632, 2020.
of Machine Learning. There are many potential societal
consequences of our work, none which we feel must be                  Maystre, L. and Grossglauser, M. Fast and accurate infer-
specifically highlighted here.                                         ence of Plackett-Luce models. In Advances in Neural
                                                                       Information Processing Systems, volume 28, 2015.

References                                                            Mnih, A. and Salakhutdinov, R. Probabilistic matrix factor-
                                                                       ization. In Advances in Neural Information Processing
Bengs, V., Busa-Fekete, R., Mesaoudi-Paul, A. E., and                  Systems, volume 20, 2007.
  Hüllermeier, E. Preference-based online learning with
  dueling bandits: A survey. Journal of Machine Learning              Negahban, S. and Wainwright, M. J. Restricted strong con-
  Research (JMLR), 22(7):1–108, 2021.                                   vexity and weighted matrix completion: Optimal bounds
                                                                        with noise. The Journal of Machine Learning Research,
Bengs, V., Saha, A., and Hüllermeier, E. Stochastic con-              13(1):1665–1697, 2012.
  textual dueling bandits under linear stochastic transitivity
  models. In Proceedings of the 39th International Confer-            Negahban, S., Oh, S., and Shah, D. Iterative ranking from
  ence on Machine Learning, 2022.                                       pair-wise comparisons. In Advances in Neural Informa-
                                                                        tion Processing Systems, volume 25, 2012.
Candès, E. and Recht, B. Exact matrix completion via con-
  vex optimization. Foundations of Computational Mathe-               Negahban, S., Oh, S., Thekumparampil, K. K., and Xu,
  matics, 9:717–772, 2009.                                              J. Learning from comparisons and choices. Journal of
                                                                        Machine Learning Research, 19(40):1–95, 2018.
Candes, E. J. and Plan, Y. Matrix completion with noise.
                                                                      Park, D., Neeman, J., Zhang, J., Sanghavi, S., and Dhillon, I.
  Proceedings of the IEEE, 98(6):925–936, 2010.
                                                                        Preference completion: Large-scale collaborative ranking
Chen, Y. and Wainwright, M. J. Fast low-rank estimation                 from pairwise comparisons. In Proceedings of the 32nd
  by projected gradient descent: General statistical and                International Conference on Machine Learning, 2015.
  algorithmic guarantees. arXiv preprint arXiv:1509.03025,            Rendle, S., Freudenthaler, C., Gantner, Z., and Schmidt-
  2015.                                                                 Thieme, L. BPR: Bayesian personalized ranking from
Davenport, M. A., Plan, Y., Van Den Berg, E., and Wootters,             implicit feedback. In Proceedings of the 25th Conference
  M. 1-bit matrix completion. Information and Inference:                on Uncertainty in Artificial Intelligence, 2009.
  A Journal of the IMA, 3:189–223, 2014.                              Saha, A. Optimal algorithms for stochastic contextual pref-
                                                                        erence bandits. In Advances in Neural Information Pro-
Ge, R., Lee, J. D., and Ma, T. Matrix completion has no spu-
                                                                        cessing Systems, volume 34, 2021.
  rious local minimum. In Advances in Neural Information
  Processing Systems, volume 29, 2016.                                Shah, N. B., Bradley, J. K., Parekh, A., Wainwright, M.,
                                                                        and Ramchandran, K. A case for ordinal peer-evaluation
Ge, R., Jin, C., and Zheng, Y. No spurious local minima in              in moocs. In NIPS workshop on data driven education,
  nonconvex low rank problems: A unified geometric anal-                2013.
  ysis. In Proceedings of the 34th International Conference
  on Machine Learning, 2017.                                          Shah, N. B., Balakrishnan, S., Bradley, J., Parekh, A., Ram-
                                                                        chandran, K., and Wainwright, M. J. Estimation from
Keshavan, R. H., Montanari, A., and Oh, S. Matrix comple-               pairwise comparisons: Sharp minimax bounds with topol-
  tion from a few entries. IEEE Transactions on Informa-                ogy dependence. Journal of Machine Learning Research,
  tion Theory, 56(6):2980–2998, 2010a.                                  17(58):1–47, 2016.
Keshavan, R. H., Montanari, A., and Oh, S. Matrix com-                Stewart, N., Brown, G. D., and Chater, N. Absolute identifi-
  pletion from noisy entries. Journal of Machine Learning               cation by relative judgment. Psychological Review, 112,
  Research, 11:2057–2078, 2010b.                                        2005.

                                                                 10
                               Nonconvex Matrix Factorization with Sparse Comparison Data

Sun, R. and Luo, Z.-Q. Guaranteed matrix completion via
  non-convex factorization. IEEE Transactions on Informa-
  tion Theory, 62(11):6535–6579, 2016.
Tropp, J. A. An introduction to matrix concentration inequal-
  ities. Foundations and Trends® in Machine Learning, 8
  (1-2):1–230, 2015.

Zheng, Q. and Lafferty, J. Convergence analysis for
  rectangular matrix completion using Burer-Monteiro
  factorization and gradient descent. arXiv preprint
  arXiv:1605.07051, 2016.




                                                                11
                                Nonconvex Matrix Factorization with Sparse Comparison Data

A. Helper Lemmas
A.1. Matrix Inner Product Identities
We state some basic identities of the matrix inner product operator, which are trivial to verify but are used frequently in the
paper. In the following identities, D, E, and F are arbitrary matrices so long as their sizes are compatible with the equations.

                      ⟨⟨E, F ⟩⟩ = Tr(EF T ) = Tr(F E T )                                                                     (23)
                                                       T        T
                      ⟨⟨E, F ⟩⟩ = ⟨⟨F, E⟩⟩ = ⟨⟨E , F ⟩⟩                                                                      (24)
                                             T                      T                                     T        T
                    ⟨⟨DE, F ⟩⟩ = ⟨⟨D, F E ⟩⟩ = ⟨⟨E, D F ⟩⟩,                      ⟨⟨D, EF ⟩⟩ = ⟨⟨DF , E⟩⟩ = ⟨⟨E D, F ⟩⟩       (25)

From these identities, we get that for any sampling matrix A (defined in (5)) and any Y, Z ∈ Rn×r :

                                       ⟨⟨(A + AT )Y, Z⟩⟩ = ⟨⟨AY, Z⟩⟩ + ⟨⟨AT Y, Z⟩⟩
                                                                     = ⟨⟨A, ZY T ⟩⟩ + ⟨⟨AT , ZY T ⟩⟩
                                                                     = ⟨⟨A, ZY T + Y Z T ⟩⟩                                  (26)

Let W and Z be two matrices in Rn×r . Recall the notation convention introduced in Section 5. Using the above identity
and (5), we get that for any sampling matrix A corresponding to the triplet (u; i, j),

                                 ⟨⟨(A + AT ), W Z T ⟩⟩ = ⟨⟨eu (ẽi − ẽj )T , WU ZV + ZU WV ⟩⟩                               (27)
                                                                = ⟨⟨Wu , Zi − Zj ⟩⟩ + ⟨⟨Zu , Wi − Wj ⟩⟩                      (28)

A.2. The Frobenius Norm of the Product of Two Matrices
Let X be any matrix and let σmax (X) and σmin (X) denote the largest and smallest singular values of X. Let v be any
vector such that the product Xv is compatible. By the definition of singular values:

                                          σmin (X) ∥v∥2 ≤ ∥V x∥2 ≤ σmax (X) ∥v∥2

Using this basic fact, we can prove the following result.
Lemma A.1. Let U ∈ Rn1 ×r and V ∈ Rn2 ×r be any two matrices. Let σ1 (U ) ≥ . . . ≥ σr (U ) denote the singular values
                                                                                2
of U and σ1 (V ) ≥ . . . ≥ σr (V ) denote the singular values of V . Then U V T F satisfies the following bounds:

                                                            2                        2                2
                                         σr (U )2 ∥V ∥F ≤ U V T                      F
                                                                                       ≤ σ1 (U )2 ∥V ∥F
                                                            2                        2                2
                                         σr (V )2 ∥U ∥F ≤ U V T                      F
                                                                                       ≤ σ1 (V )2 ∥U ∥F

                                                  2                          2
Proof. We first prove the inequality U V T F ≥ σr (U )2 ∥V ∥F . Let Vj denote the j th row of V , written as a column vector
(r × 1 matrix). Let (U V T )j denote the j th column of U V T . Finally, note that the squared Frobenius norm of a matrix is the
sum of the squared ℓ2 norms of its rows or of its columns. Stitching together these simple facts, we get.
                                                      n2                                 n2
                                                 2   X                           2       X            2
                                      UV T       F
                                                   =                (U V T )j 2 =              ∥U Vj ∥2
                                                     j=1                                 j=1
                                                     Xn2                                            n2
                                                                                                    X
                                                                                     2                         2
                                                      ≥         σr (U )2 ∥Vj ∥2 = σr (U )2                ∥Vj ∥2
                                                          j=1                                       j=1
                                                                     2       2
                                                      = σr (D)           ∥V ∥F
                           2                     2
The upper bound U V T F ≤ σ1 (U )2 ∥V ∥F can be derived using the same steps, except we use the inequality ∥U Vj ∥2 ≤
σ1 (U ) ∥Vj ∥2 instead of ∥U Vj ∥2 ≥ σr (U ) ∥Vj ∥2 . Finally, the second set of bounds follow by applying the first set of bounds
to the matrix V U T , and noting that U V T F = V U T F .

                                                                            12
                                  Nonconvex Matrix Factorization with Sparse Comparison Data

A.3. The Incoherence of the Iterates
                                                                                                   2
Recall that we have assumed that the initial point Z 0 satisfies the bound ∆(Z 0 ) F ≤ σr∗ /16, i.e., we are given a warm
start (see Section 4). With this assumption, we can prove the following lemmas.
Lemma A.2. Let C be the set defined in (20), i.e.,
                                                                  r       
                                                   n×r            4 µ
                                   C≜ Z∈R              : ∥Z∥2,∞ ≤     Z0 F
                                                                  3 n
Then all the equivalent ground-truth matrices lie in C, i.e. Φ ⊆ C.

Proof. Start with the identity Z 0 = Φ(Z 0 ) + ∆(Z 0 ) (which follows from (18)). By the triangle inequality, we get

                              Φ(Z 0 ) F − ∆(Z 0 ) F ≤ Z 0 F ≤ Φ(Z 0 ) F + ∆(Z 0 ) F .

Note that all matrices in Φ have the same Frobenius norm. This implies that Φ(Z 0 ) F = ∥Z ∗ ∥F . Combining this with the
bound on ∆(Z 0 ) F , we get

                                      ∥Z ∗ ∥F − σr∗ /4 ≤ Z 0 F ≤ ∥Z ∗ ∥F + σr∗ /4
                                                p                                p
                                                                                                                         (29)
                                                                √
Recall that the singular values of Z ∗ are 2σ1∗ , 2σ2∗ , . . . , 2σr∗ . We know that the Frobenius norm of a matrix is the ℓ2
                                           p     p

norm of the vector of its singular values. Therefore:
                                                                       √ ∗
                                                      v
                                                      u r
                                              ∗
                                                      u X
                                                                 ∗       σr   ∥Z ∗ ∥F
                                            ∥Z ∥F = 2 t         σi ⇒        ≤
                                                          i=1
                                                                        4        4
                                                                      3
                                             ⇒ Z 0 F ≥ ∥Z ∗ ∥F −        ∥Z ∗ ∥F
                                                                                p
                                                                                    σr∗ /4 ≥
                                                                      4
                                                     p              4p
                                        ⇒ ∥Z ∗ ∥2,∞ = µ/n ∥Z ∗ ∥F ≤   µ/n Z 0 F
                                                                    3
Thus, we see that Z ∗ ∈ C. Because all Z ∈ Φ have the same ℓ2 /ℓ∞ norm, it follows that Φ ⊆ C.

Before proceeding further, we introduce some new notation. Recall the convention (established in Section 5) that any matrix
Z can be viewed as a concatenation of two matrices: Z = (ZU , ZV ). To index the rows of Z, we use Zu , u ∈ [n1 ] for the
user features and Zi , Zj , j ∈ [n2 ] for the item features. In expressions involving matrix multiplication, we view Zu , Zi , Zj
as row vectors, i.e., as 1 × r matrices. By the definition of ∥Z∥2,∞ , we get:

                                             ∥Z∥2,∞ = max{ max ∥Zu ∥2 , max ∥Zi ∥2 }.                                       (30)
                                                                      u∈[n1 ]            i∈[n2 ]


Equipped with this new notation, we can state and prove the next result.
Lemma A.3. For any Z ∈ C, let W = PH (Z). Then W ∈ C, i.e., W satisfies

                                                                 2          12µ       2
                                                           ∥W ∥2,∞ ≤            ∥Z ∗ ∥F
                                                                             n

Proof. Let z denote the mean of the rows of ZV , i.e.,
                                                                        1 X
                                                               z≜           Zi
                                                                        n2
                                                                            i∈[n2 ]

It follows that

                             1      X                     1 X          1 X
                  ⇒ ∥z∥2 =                   Zi       ≤       ∥Zi ∥2 ≤     ∥Z∥2,∞ = ∥Z∥2,∞             (by (30))
                             n2                           n2           n2
                                   i∈[n2 ]                  i∈[n2 ]                     i∈[n2 ]
                                                  2


                                                                          13
                               Nonconvex Matrix Factorization with Sparse Comparison Data

The operation of projecting onto the subspace H is such that WU = ZU and Wi = Zi − v for all item rows i (see Section
3.5). By the triangle inequality, we get:

                                       ∥Wi ∥2 = ∥Zi − z∥2 ≤ ∥Zi ∥2 + ∥z∥2
                           ⇒ max ∥Wi ∥2 ≤ max ∥Zi ∥2 + ∥z∥2 ≤ ∥Z∥2,∞ + ∥z∥2 ≤ 2 ∥Z∥2,∞
                             i∈[n2 ]               i∈[n2 ]


Because the rows of U remain unchanged, we have ∥W ∥2,∞ ≤ 2 ∥Z∥2,∞ .
Next, note that Z ∈ C. Therefore,
                                                                 r                r
                                                         4           µ        5       µ
                                                ∥Z∥2,∞ ≤               Z0 F ≤           ∥Z ∗ ∥F
                                                         3           n        3       n

The last step uses the inequality Z 0 F ≤ (5/4) ∥Z ∗ ∥F , which follows from (29) in the derivation of Lemma A.2. By
combining the above inequalities, we get the desired result:
                                            2                          25 µ           12µ
                                                             2                    2             2
                                       Ẑ         ≤ 4 ∥Z∥2,∞ ≤ 4            ∥Z ∗ ∥F ≤     ∥Z ∗ ∥F .
                                            2,∞                         9 n            n




The above result is important because it establishes a useful bound that holds for all iterates Z t , t ∈ Z+ . (Recall that
Algorithm 1 takes successive projections, first on to C and then onto H.)

A.4. Bounds on the Scores
In this subsection, we derive two related bounds on any Z ∈ Rn×r and any sampling matrix A:
                                                                                   2
                                                             |⟨⟨A, ZZ T ⟩⟩| ≤ 2 ∥Z∥2,∞                                    (31)
                                                                        2        2
                                                       (A + AT )Z       F
                                                                          ≤ 6 ∥Z∥2,∞                                      (32)

Before we prove these bounds, let us explore its consequence. By the definition of the incoherence parameter µ (10),
      2                 2
∥Z ∗ ∥2,∞ = (µ/n) ∥Z ∗ ∥F . Therefore,

                                                                      2µ       2
                                                                         ∥Z ∗ ∥F
                                                       |⟨⟨A, Z ∗ Z ∗T ⟩⟩| ≤                                               (33)
                                                                       n
                                                                  2   6µ       2
                                                     (A + AT )Z ∗ F ≤    ∥Z ∗ ∥F                                          (34)
                                                                       n

Moreover, for all Z ∈ C,

                                                                    24µ       2
                                                        |⟨⟨A, ZZ T ⟩⟩| ≤∥Z ∗ ∥F                                           (35)
                                                                     n
                                                                2   72µ       2
                                                     (A + AT )Z F ≤     ∥Z ∗ ∥F                                           (36)
                                                                     n

As argued in the previous subsection, all iterates (Z t )t∈Z+ of Algorithm 1 lie in C and consequently satisfy the above bound.
We now proceed to the derivation of (31). Let Z ∈ Rn×r be some candidate feature matrix and let X = ZU ZVT be the
corresponding score matrix. Let (u; i, j) be an arbitrary triplet and let A denote the corresponding sampling matrix. Recall
the definition of the sampling matrix A corresponding to a triplet (u; i, j) from (4) and (5). We have

                                                                                                                      2
    |⟨⟨A, ZZ T ⟩⟩| = |xu,i − xu,j | = |⟨Zu , (Zi − Zj )⟩| ≤ ∥Zu ∥2 ∥Zi − Zj ∥2 ≤ ∥Zu ∥2 (∥Zi ∥2 + ∥Zj ∥2 ) ≤ 2 ∥Z∥2,∞

The last inequality follows from the definition of ∥Z∥2,∞ (see (30)).

                                                                       14
                                  Nonconvex Matrix Factorization with Sparse Comparison Data

The derivation of (32) proceeds as follows.

                             0 eu (ẽi − ẽj )T
                                                  
                      A=
                             0            0
                                                eu (ẽi − ẽj )T
                                                                
                      T             0
            ⇒A+A =
                             (ẽi − ẽj )eTu            0
                                                eu (ẽi − ẽj )T
                                                                     
                    T               0                               ZU
        ⇒ (A + A )Z =
                             (ẽi − ẽj )eTu            0          Zv V
                                             T
                                                 
                             e (ẽ − ẽj ) ZV
                         = u i
                              (ẽi − ẽj )eTu ZU
                                             
                             eu (Zi − Zj )
                         =
                             (ẽi − ẽj )Zu
                        2                            2                           2
    ⇒ (A + AT )Z F = ∥eu (Zi − Zj )∥F + ∥(ẽi − ẽj )Zu ∥F
                                   2                     2                 2          2
                            = ∥eu ∥2 ∥Zi − Zj ∥2 + ∥ẽi − ẽj ∥2 ∥Zu ∥2
                                               2             2              2                          2
                            = ∥Zi − Zj ∥2 + 2 ∥Zu ∥2              (∥eu ∥2 = 1, ∥ẽi − ẽj ∥2 = 2)
                                           2             2             2                      2                            2        2
                            ≤ 2(∥Zi ∥2 + ∥Zj ∥2 ) + 2 ∥Zu ∥2                   (∥Zi − Zj ∥2 ≤ (∥Zi ∥2 + ∥Zj ∥2 )2 ≤ 2(∥Zi ∥2 + ∥Zj ∥2 ))
                                       2
                            ≤ 6 ∥Z∥2,∞             (by definition of ∥Z∥2,∞ (30))

This establishes the second inequality.

A.5. The Matrix Bernstein Inequality
Here, we state a special version of the matrix Bernstein inequality that we use in our proofs. The statement is identical to
Corollary 6.2.1 in (Tropp, 2015), barring a change in notation.
This concentration result is stated in terms of the operator norm of a matrix X, which we denote as ∥X∥2 and is defined as
follows:

                                                             ∥X∥2 ≜            sup     ∥Xv∥2                                            (37)
                                                                           v:∥v∥2 =1


It follows that ∥X∥2 = σmax (X). For square matrices X, an alternate definition of the operator norm is:

                                                             ∥X∥2 ≜             sup       v T Xv                                        (38)
                                                                           v:∥v∥2 =1


Lemma A.4 (Matrix Bernstein Inequality). Consider a random matrix X of shape n1 × n2 that satisfies:

                                               E[X] = X̄         and        ∥X∥2 ≤ L almost surely.

Let b be an upper bound on the second moment of X:

                                                   E[XX T ] 2 ≤ b          and            E[X T X] 2 ≤ b.
         1
               Pm
Let XD = m        k=1 Xk , where each Xk is an i.i.d. copy of X. Then, for all t ≥ 0,

                                                                                                        −mt2 /2
                                                                                                                  
                                       P ( XD − X̄ 2 ≥ t) ≤ (n1 + n2 ) exp
                                                                                                       b + 2Lt/3




                                                                               15
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

B. Initial Lemmas
Following the convention of the main paper, we drop the explicit dependence on Z wherever it is obvious.

B.1. Proof of Lemma 5.3
Lemma 5.3. For any Z ∈ C,
                                                                   ξ       5Ξ
                                                                     D ∆ΦT −   D ∆∆T
                                                                                     
                                                   ⟨⟨∇L, ∆⟩⟩ ≥
                                                                   2         8

Proof. From the expression of ∇L (see (9)), we get that:
                                m
                            1 X                                   g ′ (zk ) (g(zk ) − wk )
             ⟨⟨∇L, ∆⟩⟩ =        hk ⟨⟨(Ak + ATk )Z, ∆⟩⟩ where hk =                          , zk = ⟨⟨Ak , ZZ T ⟩⟩.
                            m                                       g(zk )(1 − g(zk ))
                               k=1

Recall, by definition (see (18)), that Z = Φ + ∆. Therefore. the term ⟨⟨(Ak + ATk )Z, ∆⟩⟩ can be expanded as follows:

                         ⟨⟨(Ak + ATk )Z, ∆⟩⟩ = ⟨⟨(Ak + ATk )Φ, ∆⟩⟩ + ⟨⟨(Ak + ATk )∆, ∆⟩⟩
                                                       = ⟨⟨Ak + ATk , ∆ΦT ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩ (by (25))

Since we have assumed that our observations are noiseless, we have the identity wk = g(⟨⟨Ak , Z ∗ Z ∗T ⟩⟩). Plugging this
equation in the expression of hk , we get:
                                          g ′ (zk ) (g(zk ) − g(zk∗ ))
                            hk =                                       ;   zk∗ = ⟨⟨Ak , Z ∗ Z ∗T ⟩⟩ = ⟨⟨Ak , ΦΦT ⟩⟩
                                               g(zk )(1 − g(zk ))
By the mean value theorem,

                 g(zk ) − g(zk∗ ) = g ′ (yk )(zk − zk∗ ) for some yk in the interval between zk and zk∗
                                  = g ′ (yk ) ⟨⟨Ak , ZZ T ⟩⟩ − ⟨⟨Ak , ΦΦT ⟩⟩
                                                                            

                                  = g ′ (yk ) ⟨⟨Ak , Φ∆T + ∆ΦT ⟩⟩ + ⟨⟨Ak , ∆∆T ⟩⟩
                                                                                    
                                                                                        (because Z = Φ + ∆)
                                                                                          
                                      ′                  T       T     1         T      T
                                  = g (yk ) ⟨⟨Ak + Ak , ∆Φ ⟩⟩ + ⟨⟨Ak + Ak , ∆∆ ⟩⟩              (by (26))
                                                                       2
Putting the above equations together, we get:

   hk ⟨⟨(Ak + ATk )Z, ∆⟩⟩
         g ′ (zk )g ′ (yk )
                                                                      
                                                     1
                                       T      T             T       T
                             ⟨⟨Ak + Ak , ∆Φ ⟩⟩ + ⟨⟨Ak + Ak , ∆∆ ⟩⟩ ⟨⟨Ak + ATk , ∆ΦT ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩
                                                                                                            
     =
       g(zk )(1 − g(zk ))                            2
         g ′ (zk )g ′ (yk )
                                                                                                            
                                       T      T 2     3      T       T       T   T     1         T      T 2
     =                       ⟨⟨Ak + Ak , ∆Φ ⟩⟩ + ⟨⟨Ak + Ak , ∆Φ ⟩⟩⟨⟨Ak + Ak , ∆∆ ⟩⟩ + ⟨⟨Ak + Ak , ∆∆ ⟩⟩
       g(zk )(1 − g(zk ))                             2                                2
         g ′ (zk )g ′ (yk )
                                                                          
                              1                    2    5                2
     ≥                          ⟨⟨Ak + ATk , ∆ΦT ⟩⟩ − ⟨⟨Ak + ATk , ∆∆T ⟩⟩
       g(zk )(1 − g(zk )) 2                             8
                                                                       2
The last step uses the inequality 2a2 + 3ab + b2 ≥ a2 − 5b4 , which can be derived from the trivial inequality (a + 3b/2)2 ≥ 0.
                                      ′        ′
                                g (zk )g (yk )
Note also that the coefficient g(zk )(1−g(zk ))
                                                is positive.

Finally, observe that we have assumed Z ∈ C. The bounds in (33) and (35) imply
                                                   2                        2                                         2
                                  µ ∥Z ∗ ∥F              µ ∥Z ∗ ∥F                            µ ∥Z ∗ ∥F
                         |zk∗ | ≤ 2         , |zk | ≤ 24           , which implies |yk | ≤ 24
                                     n                      n                                    n
                                   h                                   i
                                                   2               2
Thus, yk and zk lie in the interval −24µ ∥Z ∗ ∥F /n, 24µ ∥Z ∗ ∥F /n . By the definition of ξ and Ξ in (11) and (12), as well
as the definition of the operator D(·) in (7), the desired expression follows.

                                                                           16
                                Nonconvex Matrix Factorization with Sparse Comparison Data

B.2. Proof of Lemma 5.6
Lemma 5.6. For any Z ∈ C and any W ∈ Rn×r ,
                                                              
                                            2           1
                                                    T  2     T
                                ⟨⟨∇L, W ⟩⟩ ≤ 2Ξ D(∆Φ ) + D(∆∆ ) D(W Z T ).
                                                        4

Proof. The proof of this lemma is similar to the proof of Lemma 5.3. One major difference is that we work with terms of
the form ⟨⟨A + AT , Y ⟩⟩ instead of terms ⟨⟨A, Y ⟩⟩.
Following the steps of the proof of Lemma 5.3, we get:
                            m
                       1 X                                      g ′ (zk ) (g(zk ) − wk )
         ⟨⟨∇L, H⟩⟩ =          hk ⟨⟨(Ak + ATk )Z, H⟩⟩ where hk =                          , zk = ⟨⟨Ak , ZZ T ⟩⟩.
                      m                                           g(zk )(1 − g(zk ))
                         k=1
                ∗      ′
    g(zk ) − g(zk ) = g (yk ) ⟨⟨Ak , Φ∆T + ∆ΦT ⟩⟩ + ⟨⟨Ak , ∆∆T ⟩⟩        for some yk in the interval between zk and zk∗
                                                                   


By (24) and (25), we get:

                                     ⟨⟨(Ak + ATk )Z, H⟩⟩ = ⟨⟨Ak + ATk , HZ T ⟩⟩
                                                                               1
                    ⟨⟨Ak , Φ∆T + ∆ΦT ⟩⟩ + ⟨⟨Ak , ∆∆T ⟩⟩ = ⟨⟨Ak + ATk , Φ∆T ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩
                                                                               2
Putting together the equations above, we get:
                       m
                   1 X g ′ (zk )g ′ (yk )
                                                                                            
                                                                         1
                                                    ⟨⟨Ak + ATk , Φ∆T ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩ ⟨⟨Ak + ATk , HZ T ⟩⟩
                                                                                                                  
    ⟨⟨∇L, H⟩⟩ =                                                                                                           (39)
                   m  g(zk )(1 − g(zk ))                                 2
                      k=1

Next,     we invoke two straightforward inequalities                   which    apply   to   any    sequence    of    scalars
(ak )k∈[m] , (bk )k∈[m] , and (ck )k∈[m] with ak ≥ 0 ∀ k:

                                        m
                                                       !2  m
                                                                    !     m
                                                                                   !
                                    1 X                 1 X       2    1 X       2
                                        ak bk ck    ≤         ak bk          ak ck
                                    m                  m               m
                                       k=1                k=1            k=1
                                           m
                                                   !                 m
                                                                            !
                                        1 X      2                   1 X 2
                                             ak bk ≤ max ak              bk
                                       m               k∈[m]        m
                                            k=1                                k=1

The first inequality can be viewed as a form of the Cauchy-Schwarz inequality and the second, a form of Hölder’s inequality.
Squaring both sides of the equation in (39) and applying these inequalities with

                   g ′ (zk )g ′ (yk )                             1
          ak =                        , bk = ⟨⟨Ak + ATk , Φ∆T ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩, ck = ⟨⟨Ak + ATk , HZ T ⟩⟩,
                 g(zk )(1 − g(zk ))                               2

and observing that maxk∈[m] ak ≤ Ξ (using arguments similar to those in Lemma 5.3), we get

                     m
                                                                    !       m
                                                                                                    !
          2       1 X                         1                          1 X                      2
⟨⟨∇L, H⟩⟩ ≤ Ξ2         (⟨⟨Ak + ATk , Φ∆T ⟩⟩ + ⟨⟨Ak + ATk , ∆∆T ⟩⟩)2           ⟨⟨Ak + ATk , HZ T ⟩⟩
                  m                           2                         m
                    k=1                                                    k=1
                        m
                                              !           m
                                                                                 !!        m
                                                                                                               !
               2     1 X
                                    T     T 2    1 1     X
                                                                      T      T 2       1 X            T    T 2
          ≤ 2Ξ            ⟨⟨Ak + Ak , Φ∆ ⟩⟩ +                ⟨⟨Ak + Ak , ∆∆ ⟩⟩               ⟨⟨Ak + Ak , HZ ⟩⟩
                    m                            4 m                                  m
                       k=1                               k=1                              k=1
                                       
                             1
          = 2Ξ2 D̃(∆ΦT ) + D̃(∆∆T ) D̃(HZ T ),
                             4

giving us the bound we want.

                                                                17
                                    Nonconvex Matrix Factorization with Sparse Comparison Data

C. A Lower Bound for Strong Convexity
                                    of Lemma 5.4, following the approach presented in Section 5. Recall that the goal is to
In this section, we present the proof
                                 T
find
    a lower   bound
                   for D   ∆Φ     that holdswith high probability. Our approach will be to first derive an expression for
E D ∆ΦT and then show that D ∆ΦT is close enough to its expected value. Crucially, we want this result to hold
with high probability uniformly for all Z ∈ C.

C.1. Computing Expectations
Recall the definition of the sampling matrix A corresponding to a triplet (u; i, j) from (4) and (5). In this section, we view
the triplet (u; i, j) as a random variable where u is chosen uniformly at random from [n1 ] and the pair of item indices (i, j)
is chosen uniformly at random from the set of n2 (n2 − 1) pairs of distinct items, independent from u. Consequently, eu is a
random vector in Rn1 , ẽi − ẽj is a random vector in Rn2 , and the sampling matrix A is a random matrix in Rn×n . With this
interpretation, we can compute:

                                    1                                              2                      1 T
                     E[eu eTu ] =     In ,    E[(ẽi − ẽj )(ẽi − ẽj )T ] =          J, where J = In2 −    11                        (40)
                                    n1 1                                        n2 − 1                    n2

Also recall that γ denotes the constant 2/(n1 (n2 − 1)).
Using these identities, we can show the following result.
Lemma C.1. For any matrix X ∈ Rn1 ×n2 ,
                                                h                          i
                                                                         2        2
                                               E ⟨⟨eu (ẽi − ẽj )T , X⟩⟩ = γ ∥XJ∥F


Proof. This proof makes repeated use of the following properties of the trace operator:

   • the trace is invariant under cyclic shifts, i.e., Tr(ABC) = Tr(CAB) = Tr(BCA)

   • the trace of a scalar is the scalar itself

   • the trace is a linear operator which commutes with the expectation

We also use the fact that the indices u and (i, j) are independent, so the expectation E[·] can be decomposed into Ei,j [Eu [·]].

         ⟨⟨eu (ẽi − ẽj )T , X⟩⟩ = Tr(eu (ẽi − ẽj )T X T ) = Tr((ẽi − ẽj )T X T eu ) = (ẽi − ẽj )T X T eu = eTu X(ẽi − ẽj )
                              2
    ⇒ ⟨⟨eu (ẽi − ẽj )T , X⟩⟩ = (ẽi − ẽj )T X T eu eTu X(ẽi − ẽj )
                              2
 ⇒ E[⟨⟨eu (ẽi − ẽj )T , X⟩⟩ ] = E[(ẽi − ẽj )T X T eu eTu X(ẽi − ẽj )] = Ei,j [Eu [(ẽi − ẽj )T X T eu eTu X(ẽi − ẽj )]]
                                                                                        1
                                = Ei,j [(ẽi − ẽj )T X T Eu [eu eTu ]X(ẽi − ẽj )] =     Ei,j [(ẽi − ẽj )T X T X(ẽi − ẽj )] (by (40))
                                                                                        n1
                                   1                                                  1
                                =    Ei,j [Tr((ẽi − ẽj )T X T X(ẽi − ẽj ))] =       Ei,j [Tr(X T X(ẽi − ẽj )(ẽi − ẽj )T )]
                                  n1                                                 n1
                                   1                                                       2
                                =    Tr(X T XEi,j [(ẽi − ẽj )(ẽi − ẽj )T ]) =                  Tr(X T XJ) (by (40))
                                  n1                                                 n1 (n2 − 1)
                                         2                                   2
                                =                Tr(X T XJJ T ) =                    Tr((JX)T XJ)
                                  n1 (n2 − 1)                          n1 (n2 − 1)
                                         2               2              2
                                =                 ∥XJ∥F = γ ∥XJ∥F
                                  n1 (n2 − 1)

In the last but one step, we make use of the fact that J is a projection matrix, which implies J = JJ T .

We use Lemma C.1 to prove the next result.

                                                                    18
                               Nonconvex Matrix Factorization with Sparse Comparison Data

Lemma C.2. For any Z ∈ H,
                                                                                    2
                                          E D ∆ΦT = γ ∆U ΦTV + ΦU ∆TV
                                                
                                                                                    F
                                                                                      ,

where Φ = (ΦU , ΦV ) and ∆ = (∆U , ∆V ) denote the split of Φ and ∆ into the first n1 and last n2 rows.

Proof.
                                                "    m
                                                                               #
                                                 1 X                       T 2
                          E D ∆ΦT = E                               T
                                
                                                         ⟨⟨Ak + Ak , ∆Φ ⟩⟩
                                                m
                                                   k=1
                                              h                         i
                                                                      2
                                           = E ⟨⟨A + AT , ∆ΦT ⟩⟩
                                              h                                         i
                                                                                      2
                                           = E ⟨⟨eu (ẽi − ẽj )T , ΦU ∆TV + ∆U ΦTV ⟩⟩      (by (27))
                                                                         2
                                           = γ (ΦU ∆TV + ∆U ΦTV )J F          (by Lemma C.1)
                                                                     2
                                           = γ ΦU ∆TV + ∆U ΦTV       F

The last step uses the fact that ΦTV J = ΦTV and ∆TV J = ∆TV . These identities can be shown as follows. By our assumption
on Z ∗ , we know that Z ∗ ∈ H. It follows that the entire equivalence class of solutions Φ lies in H. In particular, Φ(Z) ∈ H.
We are given some Z ∈ H. This implies ∆(Z) ∈ H, because ∆(Z) = Z −Φ(Z) and H is a vector space. A characterization
of H is that for any Z = (U, V ) in H, JV = V , or equivalently, V T J = V T (J is symmetric). Thus, it follows that
ΦTV J = ΦTV and ∆TV J = ∆TV .

We end this section by bounding the expression in Lemma C.2 from below.
Lemma C.3. For any Z ∈ H,
                                                                             
                                                     2
                                  E D ∆ΦT ≥ γ σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩
                                        


Proof. By Lemma C.2,
                                                 2
                 E D ∆ΦT = γ ∆U ΦTV + ΦU ∆TV F
                       
                                        2              2
                                                                               
                           = γ ∆U ΦTV F + ΦU ∆TV F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩
                                                                             
                                        2             2
                           ≥ γ σr∗ ∥∆U ∥F + σr∗ ∥∆V ∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ (by Lemma A.1)
                                                              
                                      2
                           = γ σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩
                                                  √
Here, we use the fact that σr (ΦU ) = σr (ΦV ) = σr∗ . This can be shown as follows. Recall Z ∗ = (U ∗ Σ∗1/2 , V ∗ Σ∗1/2 )
and Φ = Z ∗ R for some orthogonal matrix R. Therefore, ΦU = U ∗ Σ∗1/2 R and ΦV = V ∗ Σ∗1/2 R. These expressions are
p ∗ in √
already        SVD form. Therefore, the singular values for both ΦU and ΦV are the diagonal elements of Σ∗1/2 , namely,
   σ1 , . . . , σr∗ .

C.2. Vectorization and a Quadratic Form
                                            
In this section, we shall show that D ∆ΦT can be expressed as a quadratic form around a random matrix. This identity
will help us prove the desired concentration result in the next section. Let us establish the following notation.
                                                                                                 m
                                                                                             1 X
                        v ≜ vec(∆R   T
                                         ), ak ≜ vec((Ak + ATk )Z ∗ ), Sk ≜ ak aTk , SD ≜        Sk                      (41)
                                                                                             m
                                                                                                k=1

where for any matrix Z ∈ Rn×r , vec(Z) is a vector in Rnr , obtained by stacking the columns of the matrix one after another.
This operation is called ‘vectorization of a matrix’. With this notation in place, we proceed to establish the following
identities:

                                                               19
                                Nonconvex Matrix Factorization with Sparse Comparison Data

Lemma C.4.

                                                        D ∆ΦT = v T SD v
                                                             

                                                                  2          2
                                                             ∥v∥2 = ∥∆∥F

                                            ˜ ≜ ∆RT . Then
Proof. Recall from (17) that Φ = Z ∗ R. Let ∆

                                                                ˜ ∗T + Z ∗ ∆
                                            ˜ ∗T ⇒ ∆ΦT + Φ∆T = (∆Z
                           ∆ΦT = ∆RT Z ∗T = ∆Z                             ˜T)
                                                            
                                                                                                                             (42)

Next, invoking the notion of vectorization, we get that for any k ∈ m:

                                     ˜ ∗T + Z ∗ ∆
                              ⟨⟨Ak , ∆Z                                     ˜
                                                ˜ T ⟩⟩ = ⟨⟨(Ak + ATk )Z ∗ , ∆⟩⟩ (by (26))
                                                                                   ˜
                                                       = ⟨vec((Ak + AT )Z ∗ ), vec(∆)⟩
                                                                              k
                                                         = ⟨ak , v⟩ (by (7))
                                              ˜ T ⟩⟩2 = ⟨v, ak ⟩ ⟨ak , v⟩
                                   ˜ ∗T + Z ∗ ∆
                          ∴ ⟨⟨Ak , ∆Z
                                               = v T Sk v
                                                                   
                                ∴ D ∆ΦT + Φ∆T = D ∆Z             ˜T
                                                      ˜ ∗T + Z ∗ ∆
                                             
                                                                                         (by (42))
                                                                  m
                                                             1    X
                                                                                     ˜ T ⟩⟩2
                                                                          ˜ ∗T + Z ∗ ∆
                                                         =         ⟨⟨Ak , ∆Z                         (by (7))
                                                             m i=1
                                                                  m
                                                           1 X T
                                                         =       v Sk v
                                                           m i=1
                                                                         m
                                                                                 !
                                                              T       1 X
                                                         =v                 Sk       v
                                                                      m i=1
                                                         = v T SD v

The second statement can be derived easily as shown below:

                                2                   2
                            ∥v∥2 = vec(∆RT ) 2
                                    = ⟨vec(∆RT ), vec(∆RT )⟩
                                    = ⟨⟨∆RT , ∆RT ⟩⟩
                                    = ⟨⟨∆RT R, ∆⟩⟩ (by (25))
                                    = ⟨⟨∆, ∆⟩⟩ (because R is an orthonormal matrix, RT R = I)
                                          2
                                    = ∥∆∥F



C.3. A Concentration Result on SD
Recall, from (41), that SD is the empirical mean of i.i.d. random matrices (Sk )k∈m . Let S denote the prototype random
matrix of which (Sk )k∈[m] are i.i.d. copies, and let S̄ denote E[S]. In this section, we will use the matrix Bernstein inequality
(Lemma A.4) to establish an upper bound on SD − S̄ 2 . (Recall from (37) that ∥X∥2 denotes the operator norm of X.)
In order to apply the matrix Bernstein inequality, we need to compute two parameters, b and L, that satisfy:

                                         ∥S∥2 ≤ L almost surely,             E[SS T ] 2 ≤ b

Here, S is symmetric, so E[SS T ] = E[S T S]).

                                                                  20
                               Nonconvex Matrix Factorization with Sparse Comparison Data
                                                                          2
For any rank-one symmetric matrix Y = yy T , ∥Y ∥2 = ∥y∥2 . Here, S = aaT where a = vec((A + AT )Z ∗ ) for some
sampling matrix A. Using this formula, we get

                       2                              2                                  2   6µ       2
           ∥S∥2 = ∥a∥2 = vec((A + AT )Z ∗ ) 2 = (A + AT )Z ∗ F ≤                                ∥Z ∗ ∥F almost surely (by (34))
                                                                                              n
                           2
Thus, L = 6(µ/n) ∥Z ∗ ∥F . Moving on to the calculation for b, we get:

                                     2                                               2                        2
  E[SS T ] = E[aaT aaT ] = E[∥a∥2 aaT ] ⇒ E[SS T ] 2 = E[∥a∥2 aaT ]                                  ≤ sup(∥a∥2 ) E[aaT ] 2 ≤ L E[aaT ] 2
                                                                                                 2      a

                                                           2
Where, in the last step, we use the fact that ∥a∥2 ≤ L almost surely. The following lemma establishes the bound
                 4σ ∗
 E[aaT ] 2 ≤ n1 (n21−1) . Thus, we can choose b = 2γσ1∗ L.
Lemma C.5. Let a ∈ Rnr denote a random vector such that a = vec((A + AT )Z ∗ ), with A being the random sampling
matrix defined in Section C.1. Then

                                                               E[aaT ] 2 ≤ 2γσ1∗

Proof. We adapt the definition of the operator norm of a matrix as follows:

                               E[aaT ] 2 =           sup           v T E[aaT ]v
                                               v∈Rnr :∥v∥2 =1

                                           =          sup               vec(Z)T E[aaT ]vec(Z)
                                               Z∈Rn×r :∥Z∥       F =1

                                           =          sup               E[vec(Z)T aaT vec(Z)]
                                               Z∈Rn×r :∥Z∥F =1

                                           =          sup               E[⟨vec((A + AT )Z ∗ ), vec(Z)⟩2 ]
                                               Z∈Rn×r :∥Z∥F =1
                                                                                                        2
                                           =          sup               E[⟨⟨(A + AT )Z ∗ , Z⟩⟩ ].
                                               Z∈Rn×r :∥Z∥F =1

Following the same reasoning as given in the proof of Lemma C.2, we see that:
                               2                                         2
        E[⟨⟨(A + AT )Z ∗ , Z⟩⟩ ] = γ ZU∗ ZVT J + ZU ZV∗T J F
                                   ≤ γ( ZU∗ ZVT J F + ZU ZV∗T J F )2 (by triangle inequality)
                                                       2                            2
                                   ≤ 2γ( ZU∗ ZVT J F + ZU ZV∗T J F ) (by (a + b)2 ≤ 2(a2 + b2 )
                                                       2                          2
                                   = 2γ( ZU∗ ZVT J F + ZU ZV∗T                    F
                                                                                    ) (because ZV∗T J = ZV∗T )
                                                      2                       2
                                   ≤ 2γ(σ1∗ ZVT J F + σ1∗ ∥ZU ∥F ) (by Lemma A.1; σ1 (ZU∗ ) = σ1 (ZV∗ ) =
                                                                                                                              p
                                                                                                                                  σ1∗ )
                                                     2        2
                                   ≤ 2γσ1∗ ( ZVT     F
                                                       + ∥ZU ∥F ) (by Lemma A.1; σ1 (J) = 1)
                                                 2
                                   = 2γσ1∗ ∥Z∥F

Plugging this bound into the expression above, we get

                                     E[aaT ] 2 =                 sup              E[⟨⟨(A + AT )Z ∗ , Z⟩2 ]
                                                     Z∈Rn×r :∥Z∥F =1
                                                                                             2
                                                 ≤               sup              2γσ1∗ ∥Z∥F
                                                     Z∈Rn×r :∥Z∥        F =1

                                                 = 2γσ1∗



We now have all the ingredients to prove the bound on SD − S̄ 2 .

                                                                        21
                                   Nonconvex Matrix Factorization with Sparse Comparison Data
                                                                                                                                            2
Lemma C.6. Let ϵ ∈ (0, 1) and δ ∈ (0, 1) be given. Suppose the number of samples m is at least 96µrn (κ/ϵ) log (n/δ).
Then, with probability at least 1 − δ,

                                                                   SD − S̄ 2 ≤ γϵσr∗


Proof. Let the amount of deviation we wish to tolerate be denoted by t, i.e., t = γϵσr∗ . We have already established the
bounds

                                                                                                   6µ       2
                          ∥S∥2 ≤ L almost surely,                E[SS T ] 2 ≤ b;          L=          ∥Z ∗ ∥F , b = 2γσ1∗ L
                                                                                                    n

Note that b = (2Ltκ/ϵ), since κ = σ1∗ /σr∗ .
By Lemma A.4,

                                                                                               −mt2 /2
                                                                                                             
                                             P ( SD − S̄ 2 ≥ t) ≤ 2nr exp
                                                                                              b + 2Lt/3

We would like the right hand side to be less than δ. I.e.,

                                                 −mt2 /2
                                                          
                                       2nr exp               ≤δ
                                                b + 2Lt/3
                                                    mt2 /2
                                                                        
                                                                     2nr
                                               ⇔             ≥ log
                                                  b + 2Lt/3           δ
                                                 mt2 /2
                                                                        
                                                                     2nr
                                         ⇔                   ≥ log            (∵ b = 2Ltκ/ϵ)
                                             2Lt(κ/ϵ + 1/3)           δ
                                                                                     
                                                               4L κ 1               2nr
                                                       ⇔m≥              +     log
                                                                 t   ϵ    3          δ

Next, note that n = n1 + n2 , which implies n1 (n2 − 1) ≤ n2 . Further, the Frobenius     norm of a matrix is the ℓ2 norm of
                                                                                           √                       2
its singular values. We have noted before that the singular values of Z ∗ are 2σ1∗ , . . . 2σr∗ . Therefore ∥Z ∗ ∥F ≤ 2rσ1∗ .
                                                                             p

Using these inequalities, we get
                                                                                                                                     !
                                                                                                                                2
                                                                                                                           ∥Z ∗ ∥F
                                                                                                              
 4L          6µ       2         1                   6µ       2          n1 (n2 − 1)            µ         n1 (n2 − 1)                             µrκn 
    =4          ∥Z ∗ ∥F                    =4          ∥Z ∗ ∥F                            = 12                                           ≤ 24
  t           n                γϵσr∗                 n                      2ϵσr∗              ϵ              n              σr∗                   ϵ

Also note that κ > 1 and ϵ < 1, so κ/ϵ + 1/3 is bounded above by 2κ/ϵ. Finally, note that r ≤ n1 and r ≤ n2 , so
2r ≤ n1 + n2 = n. Therefore, 2nr/δ ≤ n2 /δ ≤ (n/δ)2 . Putting these inequalities together, we get:

                                                     κ 2         n                                          
                                                                             4L       κ 1                    2nr
                                           96µrn             log         ≥              +          log
                                                        ϵ           δ         t       ϵ   3                   δ

Thus, the desired concentration result holds with probability at least 1 − δ if the number of samples m exceeds
           2
96µrn (κ/ϵ) log (n/δ).

C.4. Completing the Proof of Lemma 5.4
                                                                                                                                2
Lemma 5.4. Let some ϵ, δ ∈ (0, 1) be given. Suppose the number of samples m exceeds 96µr (κ/ϵ) n log (n/δ). Then,
with probability at least 1 − δ, ∀ Z ∈ H,
                                                                                       
                                                               2
                                       D ∆ΦT ≥ γ (1 − ϵ)σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ .
                                            


                                                                             22
                                 Nonconvex Matrix Factorization with Sparse Comparison Data
                                                                               
Proof. In Lemma C.4, we established that D ∆ΦT = v T SD v. Consequently, E[D ∆ΦT ] = v T S̄v. Therefore,

     |D ∆ΦT − E D ∆ΦT | = |v T SD v − v T S̄v| (by Lemma C.4)
                   

                                         = |v T (SD − S̄)v|
                                                              2
                                         ≤ SD − S̄ 2 ∥v∥2           (by (38))
                                                             2
                                         = SD − S̄      2
                                                          ∥∆∥F(by Lemma C.4)
                                   T
                                                      T
                                                                         2
                      ⇒ D ∆Φ             ≥ E D ∆Φ        − SD − S̄ 2 ∥∆∥F
                                                                            
                                                    2                                         2
                                         ≥ γ σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ − SD − S̄ 2 ∥∆∥F (by Lemma C.3)
                                                                                   
                                                           2
                                         ≥ γ (1 − ϵ)σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩  (by Lemma C.6)




D. Upper Bounds for Strong Convexity and Smoothness
D.1. The Dual Sampling Matrix
Associated with each triplet (u; i, j), we define the dual sampling matrix as follows:

                                                 B ∈ Rn1 ×n2 : B = eu (e˜i + ẽj )T                                       (43)

If we endow the triplets with randomness, B is a random matrix, whose mean is:

                                                                                                   2
                               B̄ ≜ E[B] = E[eu (ẽi + ẽj )T ] = E[eu ]E[(ẽi + ẽj )T ] =             11T               (44)
                                                                                                  n1 n2

Here, 11T is a matrix of all ones of shape n1 × n2 .
Let B1 , . . . , BD denote the dual sampling matrices for each of the datapoints, similar to the notation for A. Define the
empirical mean of the dual sampling matrices, BD , as follows:

                                                                          m
                                                                     1 X
                                                          BD =           Bk                                               (45)
                                                                     m
                                                                          k=1


In our analysis, we will use the fact that this empirical mean BD is close to the statistical mean B̄, in a manner made precise
by Lemma D.5. In preparation for this concentration result, we two parameters, L and b. (The same notation was used
to denote related terms for the random matrix SD in the previous section; however, the correct interpretation should be
clear from context.)√L is a uniform bound on    √∥B∥2 . For each triplet (u; i, j), the operator norm of the corresponding dual
sampling matrix is 2. It follows that L = 2. The definition and bound for v is given in the lemma below.
Lemma D.1. Let B be the random dual sampling matrix as defined above. Let b1 ≜ E[B T B] 2 , b2 ≜ E[BB T ] 2 , and
b = max{b1 , b2 }. Then
                                                                      4
                                                          b≤                    .
                                                                  min{n1 , n2 }


                           2                        2
Proof. We know that ∥eu ∥2 = 1 and ∥ẽi + ẽj ∥2 = 2 almost surely. Further,

                                      1                                               1
                       E[eu eTu ] =     In ,        E[(ẽi + ẽj )(ẽi + ẽj )T ] =   n2
                                                                                            (11T + (n2 − 2)In2 )
                                      n1 1                                            2


                                                                     23
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

Using these identities, we get

                                       E[B T B] = E[(ẽi + ẽj )eTu eu (ẽi + ẽj )T ]
                                                 = Ei,j [(ẽi + ẽj )Eu [eTu eu ]wT ]
                                                 = Ei,j [(ẽi + ẽj )(ẽi + ẽj )T ]
                                                    1
                                                 = n2  (11T + (n2 − 2)In2 )
                                                        2
                                       E[BB T ] = E[eu (ẽi + ẽj )T (ẽi + ẽj )eTu ]
                                                 = Eu [eu Ei,j [(ẽi + ẽj )T (ẽi + ẽj )]eTu ]
                                                 = 2Eu [eu eTu ]
                                                    2
                                                 =    In
                                                   n1 1

Computing the operator norms of these matrices is straightforward:

                         1                                  1                                              1                          4
b1 = E[B T B] 2 =             11T + (n2 − 2)In2 2 ≤                      11T
                                                                                                      
                        n2                                  n2
                                                                               2
                                                                                    + (n2 − 2) ∥In2 ∥2 =   n2
                                                                                                                 (n2 + (n2 − 2)) =
                        2                                   2                                              2
                                                                                                                                      n2
                       2            2    4
b2 = E[BB T ] 2 =         ∥In1 ∥2 =    ≤
                       n1           n1   n1


                                                                                4
                                             ∴ b = max{b1 , b2 } ≤
                                                                            min{n1 , n2 }



D.2. Algebraic Upper Bounds on D(W Z T )
This subsection contains three lemmas that we shall use in the proof of Lemmas 5.5 and 5.7. The first of these three lemmas,
Lemma D.2, gives an upper bound on D(W Z T ) as a quadratic form around the random matrix BD that we defined earlier
in the section.
Before we state the result, we introduce some additional notation. Corresponding to any matrix Z ∈ Rn×r , define the vector
z ∈ Rn as follows:

                                                       zj = ∥Zj ∥2 ∀ j ∈ [n]                                                          (46)

It follows from the definition that

                                                             2                          2
                                              ∥z∥1 = ∥Z∥F , ∥z∥∞ = ∥Z∥2,∞                                                             (47)

Following the convention of splitting the matrix Z into user and item components Z = (ZU , ZV ), we split the vector z into
vectors zU ∈ Rn1 and zV ∈ Rn2 (z = (zU , zV )). The norms of these vectors satisfy the following relations:

                                                   2             2              2
                   ∥z∥1 = ∥zU ∥1 + ∥zV ∥1 , ∥z∥2 = ∥zU ∥2 + ∥zV ∥2 , ∥z∥∞ = max{∥zU ∥∞ , ∥zV ∥∞ }                                     (48)


With these notations and identities in place, we proceed to establish the following result.
Lemma D.2. For any two matrices W and Z in Rn×r ,

                                                         T
                                           D(W Z T ) ≤4(wU          T
                                                           BD zV + zU BD w V )

                                                                     24
                                   Nonconvex Matrix Factorization with Sparse Comparison Data

Proof.


                         m
             T 1 X                       2
     D(W Z ) =      ⟨⟨Ak + ATk , W Z T ⟩⟩ (by (7))
               m
                 k=1
               1 X
             =           (⟨⟨Wu , Zi − Zj ⟩⟩ + ⟨⟨Zu , Wi − Wj ⟩⟩)2                                      (by (28))
               m
                         (u;i,j)∈D
                     2     X                             2                                      2
                 ≤                   ⟨⟨Wu , Zi − Zj ⟩⟩ + ⟨⟨Zu , Wi − Wj ⟩⟩                            (by (a + b)2 ≤ 2(a2 + b2 ))
                     m
                         (u;i,j)∈D
                     2     X               2                     2               2                      2
                 ≤                   ∥Wu ∥2 ∥Zi − Zj ∥2 + ∥Zu ∥2 ∥Wi − Wj ∥2                                (by Cauchy-Schwarz inequality)
                     m
                         (u;i,j)∈D
                     2     X               2                                                2
                 ≤                   ∥Wu ∥2 (∥Zi ∥2 + ∥Zj ∥2 )2 + ∥Zu ∥2 (∥Wi ∥2 + ∥Wj ∥2 )2                                 (by triangle inequality)
                     m
                         (u;i,j)∈D
                     4     X               2         2                   2              2               2             2
                 ≤                   ∥Wu ∥2 (∥Zi ∥2 + ∥Zj ∥2 ) + ∥Zu ∥2 (∥Wi ∥2 + ∥Wj ∥2 )                                 (by (a + b)2 ≤ 2(a2 + b2 ))
                     m
                         (u;i,j)∈D
                     4     X                             4            X
                 =                   wu (zi + zj ) +                             zu (wi + wj )
                     m                                   m
                         (u;i,j)∈D                               (u;i,j)∈D
                   4       X
                                      T                      T               4        X
                                                                                                     T
                                                                                                       eu (e˜i + ẽj )T wV
                                                                                                                      
                 =                   wU   eu (e˜i + ẽj )            zV +                           zU
                   m                                                         m
                         (u;i,j)∈D                                                (u;i,j)∈D
                                                                                                                            
                     T        1      X                                                         1      X
                 = 4wU                                                   T 
                                               eu (e˜i + ẽj )T  zV + 4zU                                       eu (e˜i + ẽj )T  wV
                               m                                                                m
                                   (u;i,j)∈D                                                         (u;i,j)∈D
                     T           T
                 = 4wU BD zV + 4zU BD wV




The next lemma builds upon the previous result to obtain an upper bound in terms of BD − B̄ 2 .

Lemma D.3. For any Z ∈ Rn×r ,

                                                                             
                                                        2                  2      2
                                      D(ZZ T ) ≤ 2 γ ∥Z∥F + 2 BD − B̄ 2 ∥Z∥2,∞ ∥Z∥F




Proof. We start by using the relations in (48) along with the arithmetic mean-geometric mean (AM-GM) inequality to
obtain the following bound

                                                        2                  2                                                        2          2
                                     ∥zU ∥1 + ∥zV ∥1                   ∥z∥1                                          ∥zU ∥2 + ∥zV ∥2            ∥z∥2
           ∥zU ∥1 ∥zV ∥1 ≤                                           =      ,         ∥zU ∥2 ∥zV ∥2 ≤                                       ≤            (49)
                                            2                           4                                                   2                    2

                                                                                 25
                                Nonconvex Matrix Factorization with Sparse Comparison Data

Using the bound in (49), we can show the desired result as follows.

                D(ZZ T )    T
                         ≤ zU BD zV (by Lemma D.2)
                   8
                            T         T
                         = zU B̄zV + zU (BD − B̄)zV
                              T
                           ≤ zU B̄zV + ∥zU ∥2 (BD − B̄)zV              2
                                                                           (by the Cauchy-Schwarz inequality)
                              T
                           ≤ zU B̄zV + BD − B̄ 2 ∥zU ∥2 ∥zV ∥2 (by definition of the operator norm)
                               2 T T
                           =       z 11 zV + BD − B̄ 2 ∥zU ∥2 ∥zV ∥2 (by (44))
                             n1 n2 U
                                T
                           ≤ γzU  11T zV + BD − B̄ 2 ∥zU ∥2 ∥zV ∥2 (2/(n1 n2 ) ≤ 2/(n1 (n2 − 1)) = γ)
                           ≤ γ ∥zU ∥1 ∥zV ∥1 + BD − B̄ 2 ∥zU ∥2 ∥zV ∥2 (1T z ≤ ∥z∥1 )
                             1        2                  2
                                                            
                           ≤     γ ∥z∥1 + 2 BD − B̄ 2 ∥z∥2     (by (49))
                             4
                             1 
                                       2
                                                                 
                           ≤     γ ∥z∥1 + 2 BD − B̄ 2 ∥z∥∞ ∥z∥1      (by Hölder’s inequality)
                             4
                             1 
                                        2                   2
                                                               
                                                                     2
                           =     γ ∥Z∥F + 2 BD − B̄ 2 ∥Z∥2,∞ ∥Z∥F (by (47))
                             4                               
                                        2                          2                2
              ∴ D(ZZ T ) ≤ 2 γ ∥Z∥F + 2 BD − B̄ 2 ∥Z∥2,∞ ∥Z∥F



The third and final result of this section builds on Lemma D.2 in a different way as compared to the previous one. Here, we
obtain a bound in terms of the ℓ1 operator norm of BD . For any matrix X ∈ Rn1 ×n2 ,

                                                    ∥X∥1 ≜        sup      ∥Xv∥1                                      (50)
                                                             v:∥v∥1 =1

It follows that for any v ∈ Rn2 ,

                                                     ∥Xv∥1 ≤ ∥X∥1 ∥v∥1                                                (51)

It can be easily shown that
                                                                           X
                                                    ∥X∥1 = max                   |xij |                               (52)
                                                             j∈[n2 ]
                                                                       i∈[n1 ]

In addition, we will need Hölder’s inequality, which states that for any vectors a, b,
                                                                           2
                                         ⟨a, b⟩ ≤ ∥a∥∞ ∥b∥1 ⇒ ∥a∥2 ≤ ∥a∥∞ ∥a∥1                                        (53)

Using these inequalities, we get the next result.
Lemma D.4. For any matrices W, Z ∈ Rn×r ,
                                                                                          2   2
                                    D(W Z T ) ≤ 4(max{∥BD ∥1 , BD
                                                                T
                                                                  1
                                                                    }) ∥Z∥2,∞ ∥W ∥F ,

Proof. We start by invoking Lemma D.2, we get:
                                                          T
                                            D(W Z T ) ≤ 4wU           T
                                                            BD zV + 4zU BD wV
                                                              T
                                                      = 4zVT BD        T
                                                                wU + 4zU BD wV

Applying (48), (51) and (53), we get:
                T
           zVT BD             T
                  wU = ⟨zV , BD                T
                                wU ⟩ ≤ ∥zV ∥∞ BD                T
                                                 wU 1 ≤ ∥zV ∥∞ BD 1
                                                                                   T
                                                                    ∥wU ∥1 ≤ ∥z∥∞ BD 1
                                                                                       ∥wU ∥1
            T                                 T
           zU BD wV = ⟨zU , BD wV ⟩ ≤ ∥zU ∥∞ BD wV            1
                                                                  ≤ ∥zU ∥∞ ∥BD ∥1 ∥wV ∥1 ≤ ∥z∥∞ ∥BD ∥1 ∥wV ∥1

                                                                  26
                               Nonconvex Matrix Factorization with Sparse Comparison Data

Putting the above inequalities together, we get the desired result:
                                              T
                            D(W Z T ) ≤ 4zVT BD        T
                                                wU + 4zU BD wV
                                                 T
                                       ≤ 4 ∥z∥∞ BD 1
                                                     ∥wU ∥1 + 4 ∥z∥∞ ∥BD ∥1 ∥wV ∥1
                                                               T
                                       ≤ 4 ∥z∥∞ (max{∥BD ∥1 , BD 1
                                                                   })(∥wU ∥1 + ∥wV ∥1 )
                                                               T
                                       = 4 ∥z∥∞ (max{∥BD ∥1 , BD 1
                                                                   }) ∥w∥1          (by(48))
                                              2                          T          2
                                       = 4 ∥Z∥2,∞ (max{∥BD ∥1 ,         BD 1
                                                                             }) ∥W ∥F       (by(47))



D.3. Norm Bounds on the Dual Sampling Matrix
First, we provide an upper bound on BD − B̄ 2 . This result will be used in conjunction with Lemma D.3 to prove Lemma
5.5.
Lemma D.5. Let ϵ ∈ (0, 1) and δ ∈ (0, 1) be given. Suppose the number of samples m is at least (5/ϵ2 )n log(n/δ). Then,
with probability at least 1 − δ,
                                                                       ϵ
                                                 BD − B̄ 2 ≤
                                                                   min{n1 , n2 }

Proof. The matrix Bernstein inequality (Lemma A.4) states that
                                                                      mt2 /2
                                                                                   
                                      P ( B̄m − B̄ 2 ≥ t) ≤ n exp −                     ,
                                                                    v + 2Lt/3
                                                                                                        √
where v = max{ E[BB T ] 2 , E[B T B] 2 } and L = supB ∥B∥2 . We have already established that L = 2 and
v = 4/(min{n1 , n2 }) (see Lemma D.1). We would like B̄m − B̄ 2 to be bounded above by t = ϵ/(min{n1 , n2 }) (for
some ϵ ∈ (0, 1)) with probability at least 1 − δ. Therefore, the number of samples m must satisfy:
                                                         mt2 /2
                                                                 
                                             n exp −                ≤δ
                                                       v + 2Lt/3
                                                           mt2 /2         n
                                                     ⇔              ≥ log
                                                         v + 2Lt/3          δ
                          √
Plugging in the value L = 2 and noting that v = 4t/ϵ, we get
                                     mt2 /2            n
                                          √     ≥ log
                                (4t/ϵ) + 2 2t/3         δ
                                         m        2     n
                                ⇔          √    ≥ log
                                   4/ϵ + 2 2/3     t      δ
                                                           √ !
                                                     4 2 2 2 min{n1 , n2 }     n
                                            ⇔m≥        +                   log
                                                     ϵ     3     ϵ              δ
                         √
Finally, note that 4 + 2 2ϵ/3 ≤ 5 (∵ ϵ < 1) and 2 min{n1 , n2 } ≤ n1 + n2 = n. Therefore, m ≥ (5/ϵ2 )n log (n/δ) is a
sufficient condition for the concentration result to hold.

                                                                      T
Next, we move on to proving a high probability bound on max{∥BD ∥1 , BD 1
                                                                          }. This result will be used in conjunction
with Lemma D.4 to prove Lemma 5.7.
For this result, we need to introduce some new notation and some basic inequalities. Define the random matrix C ∈ Rd1 ×d2
as follows:
                                                               m
                                                           1 X
                                                     C=        eik ẽTjk                                             (54)
                                                           m
                                                              k=1


                                                              27
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

where (ik )k∈[m] are sampled i.i.d. uniformly at random from [n1 ] and (jk )k∈[m] are sampled i.i.d. uniformly at random
from [n2 ], independent of (ik )k∈[m] . Let Ci ∈ Rn2 denote the ith row of C, but expressed as a column vector. Then
                                                                           m
                                                                      1 X
                                                               Ci =       1ik =i ẽjk                                (55)
                                                                      m
                                                                           k=1

It follows that
                                                                                   m
                                                                           1 X
                                                               ∥Ci ∥1 =        1ik =i                                (56)
                                                                           m
                                                                                k=1

Note that ∥Ci ∥1 is the empirical mean of m i.i.d. Bernoulli random variables of mean 1/n1 . Thus, we can bound it from
above by the Chernoff bound.
Lemma D.6 (Chernoff bound). Suppose x1 , x2 , . . . , xm are i.i.d. Bernoulli random variables with parameter p and let
ϵ > 0 be given. Then:
                                            m
                                                            !
                                                                           mϵ2
                                                                                  
                                          1 X
                                    P            xk ≥ p + ϵ ≤ exp −
                                         m                              2p(1 − p)
                                                   k=1


Using Lemma D.6 with p = ϵ = 1/n1 , we get that for any i ∈ [n1 ],
                                                                      
                                                      2               m
                                      P ∥Ci ∥1 ≥           ≤ exp −
                                                      n1             2n1
Using the union bound, it follows that
                                                                                               
                                                                          2                    m
                                         P       max ∥Ci ∥1 ≥                      ≤ n1 exp −
                                                 i∈[n1 ]                  n1                  2n1
Finally, by (52), we know that
                                                                CT    1
                                                                          = max ∥Ci ∥1
                                                                              i∈[n1 ]

In conclusion,
                                                                                                  
                                                           T        2                      m
                                             P        C         1
                                                                  ≥            ≤ n1 exp −                            (57)
                                                                    n1                    2n1
Since n1 and n2 are arbitrary in the above analysis, one can use the same logic to show that
                                                                            
                                                        2                   m
                                          P ∥C∥1 ≥           ≤ n2 exp −                                              (58)
                                                        n2                 2n2
Lemma D.7. Suppose the number of samples m is at least 2n log(4n/δ). Then, with probability at least 1 − δ,
                                                           T                                4
                                             max{∥BD ∥1 , BD 1
                                                               }≤
                                                                                        min{n1 , n2 }

Proof. Define the following two matrices
                                     1       1         X                                  1      X
                                    BD =                          eu ẽTi ;         2
                                                                                   BD =                    eu ẽTj
                                             m                                            m
                                                     (u;i,j)∈D                                 (u;i,j)∈D

       1         1
Both BD   and BD   are statistically identical to the random matrix C defined in (54). By (58), we have that if m ≥
2n2 log(4n2 /δ),
                                                                             
                                         1        2      δ            2      2       δ
                                 P     BD 1 ≥          ≤ ,    P     BD 1 ≥        ≤                              (59)
                                                 n2      4                   n2      4
                                                                                                                     (60)

                                                                           28
                                Nonconvex Matrix Factorization with Sparse Comparison Data

                       1    2                                                1      2
By construction, BD = BD + BD . By the triangle inequality, we get ∥BD ∥1 ≤ BD 1
                                                                                 + BD 1
                                                                                        . Therefore,

                                4         1      2             4          1        2      2     2
                     ∥BD ∥1 ≥      ⇒     BD 1
                                              + BD 1
                                                     ≥            ⇒      BD 1
                                                                              ≥       or BD 1
                                                                                              ≥    .                       (61)
                                n2                             n2                  n2           n2
Put together, we get that if m ≥ 2n2 log(4n2 /δ),
                                                                          
                                        4            1      2       2      2
                         P ∥BD ∥1 ≥         ≤P      BD 1
                                                         ≥     or B D 1 ≥        (by (61))
                                       n2                  n2             n2
                                                                              
                                                     1     2            2      2
                                            ≤ P BD     1
                                                         ≥      + P   B D 1 ≥
                                                           n2                 n2
                                               δ
                                            ≤ . (by (59))
                                               2
By a similar argument, we can show that if m ≥ 2n1 log(4n1 /δ),
                                                               
                                                      T       4     δ
                                              P     BD  1
                                                          ≥       ≤
                                                             n1     2

Finally, note that
                                4        T       4                    T           4
                       ∥BD ∥1 ≤   and BD   1
                                             ≤       ⇒ max{∥BD ∥1 , BD  1
                                                                          }≤
                               n2                n1                           min{n1 , n2 }
                                T          4                    4       T      4
                             ∴ BD  1
                                     ≥               ⇒ ∥BD ∥1 ≥    or BD   1
                                                                             ≥
                                       min{n1 , n2 }            n2             n1

Invoking the union bound once again, we get that if m ≥ 2n log(4n/δ),
                                                                                  
                            T             4                           4      T    4
                     P    BD 1 ≥                     ≤ P ∥BD ∥1 ≥       or BD 1 ≥
                                    min{n1 , n2 }                   n2            n1
                                                                                       
                                                                      4         T      4
                                                     ≤ P ∥BD ∥1 ≥         +P   BD 1 ≥
                                                                    n2                 n1
                                                       ≤δ



D.4. Proof of Lemma 5.5
                                                                                                           2
Lemma 5.5. Let some ϵ, δ ∈ (0, 1) be given. Suppose the number of samples m exceeds 845 (µrκ/ϵ) n log (n/δ). Then,
with probability at least 1 − δ, ∀ Z ∈ C ∩ B(ϵ),
                                                                             2
                                                  D(∆∆T ) ≤ 10ϵγσr∗ ∥∆∥F .

Proof. The proof follows from the following facts:
                                           
                      2                  2      2
   • D(∆∆T ) ≤ 2 γ ∥∆∥F + 2 BD − B̄ 2 ∥∆∥2,∞ ∥∆∥F , by Lemma D.3.
          2
   • ∥∆∥F ≤ ϵσr∗ ∀ Z ∈ B(ϵ).
          2
   • ∥∆∥2,∞ ≤ 52µrσ1∗ /n ∀ Z ∈ C. This can be derived as follows.
                                                                                                       !
                                                                                      2           2
                  2            2
                                             
                                                    2        2
                                                                            12µ ∥Z ∗ ∥F   µ ∥Z ∗ ∥F           52µrσ1∗
               ∥∆∥2,∞ = ∥Z − Φ∥2,∞ ≤ 2           ∥Z∥2,∞ + ∥Φ∥2,∞        ≤2               +                 ≤           ,
                                                                                  n           n                  n

                                                         2
     where the last step follows from the fact that ∥Z ∗ ∥F ≤ 2rσ1∗ .

                                                              29
                               Nonconvex Matrix Factorization with Sparse Comparison Data
                                                        2
   • The number of samples is at least 5 (13µrκ/ϵ) n log (n/δ) (845 = 5 · 132 ). By Lemma D.5, with probability at least
     1 − δ,
                                                              ϵ        1
                                              BD − B̄ 2 ≤
                                                           13µrκ min{n1 , n2 }

Combining these inequalities, we get that with probability at least 1 − δ, ∀ Z ∈ B ∩ C,
                                                                               
                                                   2                         2         2
                            D(∆∆T ) ≤ 2 γ ∥∆∥F + 2 BD − B̄ 2 ∥∆∥2,∞ ∥∆∥F
                                                                              52µrσ1∗
                                                                                     
                                                 ∗        ϵ           1                    2
                                       ≤ 2 ϵγσr + 2                                     ∥∆∥F
                                                       13µrκ min{n1 , n2 }      n
                                                             2
                                             ≤ 10ϵγσr∗ ∥∆∥F
The last step is reasoned as follows:
               2                      2                           2                  2           2
                         =                          ≤                             =       ≤             =γ
         n min{n1 , n2 }   (n1 + n2 ) min{n1 , n2 }   max{n1 , n2 } min{n1 , n2 }   n1 n2   n1 (n2 − 1)



D.5. Proof of Lemma 5.7
The proof of Lemma 5.7 depends on Lemmas D.4 and D.7.
Lemma 5.7. Suppose the number of samples m is at least 2n log(4n/δ). Then, with probability at least 1 − δ, the following
inequalities hold uniformly for all Z ∈ C:
                                                                            2
                                            D(∆ΦT ) ≤ 16γ(µrσ1∗ ) ∥∆∥F ,
                                                                                2
                                        D(∆∆T ) ≤ 416γ(µrσ1∗ ) ∥∆∥F ,
                                                                                2
                                        D(W Z T ) ≤ 192γ(µrσ1∗ ) ∥W ∥F ∀ W ∈ Rn×r .

Proof. By Lemma D.4, we have that for any matrices W, Z ∈ Rn×r ,
                                                                                         2      2
                                                             T
                                 D(W Z T ) ≤ 4(max{∥BD ∥1 , BD 1
                                                                 }) ∥Z∥2,∞ ∥W ∥F ,
By Lemma D.7 and the assumption on the number of samples we have made, we get that with probability at least 1 − δ,
                                                            T                       4
                                              max{∥BD ∥1 , BD 1
                                                                }≤
                                                                                min{n1 , n2 }
Putting these inequalities together, we get that with probability at least 1 − δ, for any matrices W, Z ∈ Rn×r ,
                                                                16           2       2
                                             D(W Z T ) ≤                  ∥Z∥2,∞ ∥W ∥F ,
                                                            min{n1 , n2 }
For the first of the bounds we wish to prove, we replace W by ∆ and Z by Φ. We know that
                                        µ
                                        2       2    2µrσ1∗           2
                                ∥Φ∥2,∞ =  ∥Z ∗ ∥F ≤          (∵ ∥Z ∗ ∥F ≤ 2rσ1∗ )
                                        n              n
                                              16      2µrσ1∗     2                 2
                             ⇒D(∆ΦT ) ≤                      ∥∆∥F ≤ 16γ(µrσ1∗ ) ∥∆∥F
                                         min{n1 , n2 } n
Here, as in the proof of Lemma 5.5, we use the fact that 2/(n min{n1 , n2 }) ≤ γ. The second and third bounds can be
derived in a similar fashion. For the second bound, we use the bound that we established in the proof of Lemma 5.5.
                                                              2          52µrσ1∗
                                                        ∥∆∥2,∞ ≤
                                                                           n
Finally, for the third bound, we use the fact that Z ∈ C (see Lemma A.3) to get the bound
                                                    2             µ       2   24µrσ1∗
                                                 ∥Φ∥2,∞ ≤ 12        ∥Z ∗ ∥F ≤
                                                                  n             n


                                                                    30
                              Nonconvex Matrix Factorization with Sparse Comparison Data

E. Proof of Main Result
In this concluding section, we prove the main results of our paper, namely Lemma 5.1, Lemma 5.2, and Theorem 4.1.

E.1. Proof of Lemma 5.1
As mentioned in Section 5, Lemma 5.1 follows from Lemmas 5.3, 5.4, and 5.5; these are proven in Appendices B, C, and D
respectively. We restate the results here for convenience.
Lemma 5.3. For any Z ∈ C,

                                                      ξ       5Ξ
                                                        D ∆ΦT −   D ∆∆T
                                                                        
                                       ⟨⟨∇L, ∆⟩⟩ ≥
                                                      2         8
                                                                                                        2
Lemma 5.4. Let some ϵ, δ ∈ (0, 1) be given. Suppose the number of samples m exceeds 96µr (κ/ϵ) n log (n/δ). Then,
with probability at least 1 − δ, ∀ Z ∈ H,
                                                                                
                                                        2
                                D ∆ΦT ≥ γ (1 − ϵ)σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ .
                                     


                                                                                                        2
Lemma 5.5. Let some ϵ, δ ∈ (0, 1) be given. Suppose the number of samples m exceeds 845 (µrκ/ϵ) n log (n/δ). Then,
with probability at least 1 − δ, ∀ Z ∈ C ∩ B(ϵ),
                                                                        2
                                              D(∆∆T ) ≤ 10ϵγσr∗ ∥∆∥F .

                                                                            2
Lemma 5.1. Suppose the number of samples m is at least 107 (µrκ/τ ) n log (2n/δ), for some δ ∈ (0, 1). Then, with
probability at least 1 − δ, ∀ Z ∈ H ∩ B(τ /50) ∩ C,

                                                      ξγ    2   ξγ       2
                                       ⟨⟨∇f, ∆⟩⟩ ≥       ∥∆∥F +    ∆T DΦ F .
                                                       4         8

Proof. Our proof strategy will be to put together the statements of the three lemmas and work backwards to calculate the
value of the parameter ϵ needed from Lemmas 5.4 and 5.5 (call them ϵ1 and ϵ2 for now). Combining the three aforementioned
lemmas gives us:

                               ξγ                  2
                                                                              25Ξγ 
                                                                                                2
                                                                                                  
                  ⟨⟨∇L, ∆⟩⟩ ≥       (1 − ϵ1 )σr∗ ∥∆∥F + 2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ −       ϵ2 σr∗ ∥∆∥F
                                2                                                4
                               2ξ(1 − ϵ1 ) − 25Ξϵ2 ∗        2
                             =                      γσr ∥∆∥F + ξγ⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩
                                        4
                                        2
Recall from (13) that R(Z) = Z T DZ F . Therefore, ∇R(Z) = 4DZZ T DZ. Using this identity and (14), we get:

                                           λ
                  ⟨⟨∇f, ∆⟩⟩ = ⟨⟨∇L, ∆⟩⟩ +    ⟨⟨∇R, ∆⟩⟩
                                           4
                              2ξ(1 − ϵ1 ) − 25Ξϵ2 ∗     2
                            ≥                    γσr ∥∆∥F + ξγ⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λDZZ T DZ.
                                       4

We focus on the last two terms. Define λ′ = 2λ
                                            ξγ . Then

                                                            ξγ
                   ξγ⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λDZZ T DZ =        2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λ′ DZZ T DZ
                                                                                                   
                                                             2
Following the steps laid out in Zheng & Lafferty (2016) (Appendix C.1), we get the inequality:

                                               λ′                    7λ′
                                                                                             
                                                                 2          4             1
         2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λ′ DZZ T DZ ≥          T
                                                        Φ D∆     F
                                                                   −     ∥∆∥F +        ′
                                                                                      λ −         Tr(ΦT D∆ΦT D∆)
                                                  2                   2                   2

                                                            31
                              Nonconvex Matrix Factorization with Sparse Comparison Data

We know that λ = ξγ                                 ′
                     4 (see (14)), which implies λ = 1/2. Thus, the last term in the above inequality is cancelled out.
Plugging this inequality back into the expression above, we get:

                            2ξ(1 − ϵ1 ) − 25Ξϵ2 ∗      2
                ⟨⟨∇f, ∆⟩⟩ ≥                     γσr ∥∆∥F + ξγ⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λDZZ T DZ
                                     4
                            2ξ(1 − ϵ1 ) − 25Ξϵ2 ∗      2   ξγ
                          ≥                     γσr ∥∆∥F +    (2⟨⟨ΦU ∆TV , ∆U ΦTV ⟩⟩ + λ′ DZZ T DZ)
                                     4                      2                              
                            2ξ(1 − ϵ1 ) − 25Ξϵ2 ∗      2   ξγ 1       T      2      7     4
                          ≥                     γσr ∥∆∥F +          Φ D∆ F − ∥∆∥F
                                     4                      2 4                     4
                            4ξ(1 − ϵ1 ) − 50Ξϵ2 − 7ξϵ2 ∗      2    ξγ             2
                          ≥                           γσr ∥∆∥F +        ΦT D∆ F
                                         8                          8

Choosing ϵ1 = 1/8 and ϵ2 = τ /50 = ξ/(50Ξ) gives us 4ξ(1 − ϵ1 ) − 50Ξϵ2 − 7ξϵ2 ≥ 2ξ. Therefore,

                                                          ξγ ∗   2   ξγ       2
                                           ⟨⟨∇f, ∆⟩⟩ ≥      σ ∥∆∥F +    ΦT D∆ F
                                                           4 r        8

The number of samples needed for Lemma 5.4 to hold with probability at least 1 − δ/2 is

                                                      2
                              m1 ≥ 96µr (κ/ϵ1 ) n log (2n/δ) = 6144µrκ2 n log (2n/δ)

The number of samples needed for Lemma 5.5 to hold with probability at least 1 − δ/2 is

                                                  2                                  2
                          m2 ≥ 845 (µrκ/ϵ2 ) n log (n/δ) ≥ 2112500 (µrκ/τ ) n log (2n/δ)

The two lemmas jointly hold with probability at least 1 − δ. Clearly, the sample complexity requirement from Lemma 5.5 is
                                                                2
higher. Thus, we can conclude that given m ≥ 107 (µrκ(Ξ/ξ)) n log (2n/δ) samples, with probability at least 1 − δ,

                                       ξγ ∗     2   ξγ       2
                         ⟨⟨∇f, ∆⟩⟩ ≥      σr ∥∆∥F +    ΦT D∆ F ∀ Z ∈ H ∪ B(τ /50) ∪ C,
                                        4            8



E.2. Proof of Lemma 5.2
Lemma 5.2 follows from Lemmas 5.6 and 5.7; these are proven in Appendices B and D respectively. We restate the results
here for convenience.
Lemma 5.6. For any Z ∈ C and any W ∈ Rn×r ,
                                                                
                                         2               1
                               ⟨⟨∇L, W ⟩⟩ ≤ 2Ξ2 D(∆ΦT ) + D(∆∆T ) D(W Z T ).
                                                         4

Lemma 5.7. Suppose the number of samples m is at least 2n log(4n/δ). Then, with probability at least 1 − δ, the following
inequalities hold uniformly for all Z ∈ C:
                                                                        2
                                     D(∆ΦT ) ≤ 16γ(µrσ1∗ ) ∥∆∥F ,
                                                                            2
                                    D(∆∆T ) ≤ 416γ(µrσ1∗ ) ∥∆∥F ,
                                                                            2
                                    D(W Z T ) ≤ 192γ(µrσ1∗ ) ∥W ∥F ∀ W ∈ Rn×r .

Lemma 5.2. Suppose the number of samples m is at least 2n log(4n/δ), for some δ ∈ (0, 1). Then, with probability at
least 1 − δ, ∀ Z ∈ B(1) ∩ C,

                                       2                            2       (ξγ)2 ∗ T    2
                               ∥∇f ∥F ≤ 105 (Ξγµrσ1∗ )2 ∥∆∥F +                   σ1 Φ D∆ F .
                                                                              2
                                                               32
                                   Nonconvex Matrix Factorization with Sparse Comparison Data

Proof. From (14), we get that

                                        λ
                                          ∇R = ∇L + λDZZ T DZ
                                   ∇f = ∇L +
                                        4
                                2                  2
                         ∴ ∥∇f ∥F = ∇L + λDZZ T DZ F ≤ (∥∇L∥F + λDZZ T DZ F )2
                                                    2                                        2
                                       ≤ 2(∥∇L∥F + λ2 DZZ T DZ F )                                                            (62)

                                                             2
We have assumed that Z ∈ B(1), which implies ∥∆∥F ≤ σr∗ ≤ σ1∗ . Using this bound along with the analysis in Zheng &
Lafferty (2016) (Appendix C.2), we get:
                                          2              2                           2           2                    2
                          DZZ T DZ F ≤ 6(∥∆∥F + 4σ1∗ ) ∥∆∥F ∥Z∥2 + 4σ1∗ ΦT D∆ F
                                                             2               2                           2
                                              ≤ 30σ1∗ ∥∆∥F ∥Z∥2 + 4σ1∗ ΦT D∆ F
                                                                         2                           2            2
                                              ≤ 180(σ1∗ )2 ∥∆∥F + 4σ1∗ ΦT D∆ F                               (∥Z∥2 ≤ 6σ1∗ )   (63)

The last bound can be derived as follows:
            2              2                                         2                   2               2       2
        ∥Z∥2 = ∥Φ + ∆∥2 ≤ (∥Φ∥2 + ∥∆∥2 )2 ≤ 2(∥Φ∥2 + ∥∆∥2 ) ≤ 2(∥Φ∥2 + ∥∆∥F ) ≤ 2(2σ1∗ + σ1∗ ) = 6σ1∗

Combining the bounds from Lemma 5.6 and Lemma 5.7, we see that if the number of samples m is at least 2n log(4n/δ),
then with probability at least 1 − δ, ∀Z ∈ C,
                                                           
                                2                  1
                    ⟨⟨∇L, W ⟩⟩ ≤ 2Ξ2 D(∆ΦT ) + D(∆∆T ) D(W Z T )
                                                   4
                                                                          
                                                     2                   2                   2
                                              ∗
                                  ≤ 2Ξ 16γ(µrσ1 ) ∥∆∥F + 104γ(µrσ1∗ ) ∥∆∥F 192γ(µrσ1∗ ) ∥W ∥F
                                       2

                                                                     2               2
                                    = 46080(Ξγµrσ1∗ )2 ∥∆∥F ∥W ∥F
                               2                                                 2
                    ∴ ∥∇L∥F =                 sup        ⟨⟨∇L, W ⟩⟩
                                      W ∈Rn×r :∥W ∥   F =1
                                                                     2
                                    ≤ 46080(Ξγµrσ1∗ )2 ∥∆∥F                                                                   (64)

Putting together the bounds in (62), (63), and (64), and plugging in the value of λ = ξγ/4, we see that if the number of
samples m is at least 2n log(4n/δ), then with probability at least 1 − δ, ∀ Z ∈ B ∩ C,
                                                                       (ξγ)2           2
                       2                         2                   2
                  ∥∇f ∥F ≤ 2 46080(Ξγµrσ1∗ )2 ∥∆∥F + 12(ξγσ1∗ )2 ∥∆∥F +        σ1∗ ΦT D∆ F
                                                                           2
                             5      ∗ 2     2   (ξγ)2 ∗ T          2
                         ≤ 10 (Ξγµrσ1 ) ∥∆∥F +       σ1 Φ D∆ F
                                                   2



E.3. Proof of Theorem 4.1
Lemmas 5.1 and 5.2 are the two key ingredients needed to prove the main theorem of this paper.
Theorem 4.1. Suppose the following conditions hold:

  • The dataset D consists of m i.i.d. samples generated according to the model presented in Section 3.1.
                                                                 2
  • The number of samples m is at least 107 (µrκ/τ ) n log (8n/δ) for some δ ∈ (0, 1).

  • The initial point Z 0 lies in B(τ /50).

  • The stepsize η in Algorithm 1 satisfies ηα ≤ 2.5 · 10−6 (τ /µrκ)2 .

                                                                             33
                                 Nonconvex Matrix Factorization with Sparse Comparison Data

Then, with probability at least 1 − δ, the iterates Z 1 , Z 2 , . . . of Algorithm 1 satisfy:
                                                2
                                                              αη t              2
                                       ∆(Z t ) F ≤ 1 −                    ∆(Z 0 ) F ∀ t ∈ N.
                                                                 4

Proof. We begin by following the standard steps in the analysis of gradient descent.
                                         2                                2
                            ∆(Z t+1 ) F = Z t+1 − Φ(Z t+1 ) F
                                                                     2
                                             ≤ Z t+1 − Φ(Z t ) F
                                                                                   2
                                             = PH (PC Z t − η∇f (Z t ) ) − Φ(Z t ) F
                                                                      

                                                                                     2
                                             ≤ Z t − η∇f (Z t ) − Φ(Z t ) F
                                                                              2
                                             = ∆(Z t ) − η∇f (Z t ) F
                                                             2                       2
                                             = ∆(Z t ) F + η 2 ∇f (Z t ) F − 2η⟨⟨∇f (Z t ), ∆(Z t )⟩⟩

The first inequality comes from the fact that Φ(Z t+1 ) is the closest point in Φ to Z t+1 ; this is by definition of Φ(Z t+1 ). The
second inequality follows from the fact that Φ(Z t ) ∈ C (by Lemma A.2) and Φ(Z t ) ∈ H (by assumption); thus, successive
projections of the iterate on to C and H can only bring it closer to Φ(Z t ).
Next, suppose the following bounds hold for some positive constants a, b, c, and d and for all t ∈ Z+ :
                                                                              2                             2
                                ⟨⟨∇f (Z t ), ∆(Z t )⟩⟩ ≥ a ∆(Z t ) F + c ∆(Z t )T DΦ(Z t ) F                                   (65)
                                                 t       2           t        2                 t T     t   2
                                         ∇f (Z )         F
                                                           ≤b    ∆(Z )        F
                                                                                +d       ∆(Z ) DΦ(Z )       F
                                                                                                                               (66)

It follows that:
                                  2                  2                        2
                      ∆(Z t+1 ) F ≤ ∆(Z t ) F + η 2 ∇f (Z t ) F − 2η⟨⟨∇f (Z t ), ∆(Z t )⟩⟩
                                                                          2                                         2
                                      ≤ (1 − 2ηa + η 2 b) ∆(Z t ) F + (η 2 d − 2ηc) ∆(Z t )T DΦ(Z t ) F
                                                                 2
                                      ≤ (1 − ηa) ∆(Z t ) F ,                                                                   (67)

provided η ≤ min(a/b, 2c/d). The last step can be justified as follows:
                                  a                                                       2c
                             η≤     ⇒ (1 − 2ηa + η 2 b) ≤ 1 − ηa,                 η≤         ⇒ η 2 d − 2ηc ≤ 0
                                  b                                                       d
Further, if η ≤ 1/a, then 1 − ηa ≥ 0, implying that the right-hand side of (67) remains positive. This allows us to use the
inequality repeatedly to yield:
                                                         2                               2
                                             ∆(Z t ) F ≤ (1 − ηa)t ∆(Z 0 ) F ∀ t ∈ Z+

                                                                                                                2
Finally, observe that we have assumed the number of samples given, m, is at least 107 (µrκ/τ ) n log (8n/δ). This ensures
that with probability at least 1 − δ, both Lemmas 5.1 and 5.2 hold. Lemmas 5.1 and 5.2 imply that the inequalities (65) and
(66) hold for all Z ∈ H ∩ B(τ /50) ∩ C with parameters:

                                      ξγ ∗                                               ξγ           (ξγ)2 ∗
                                a=      σ ,      b = 105 (Ξγµrσ1∗ )2 ,            c=        ,    d=        σ1
                                       4 r                                                8             2
Given these parameters, as long as the stepsize η satisfies η ≤ a/b = 2.5 · 10−6 (τ /µrκ)2 /α, the other conditions on η are
automatically satisfied.

F. Extra Simulation Results
In this section, we present simulation results that highlight the dependency of the sample complexity of the learning
problem on the rank r of the ground-truth matrix X ∗ . In this experiment, the parameters used are as follows. The

                                                                     34
                                   Nonconvex Matrix Factorization with Sparse Comparison Data


                   0.0606     0.0500      0.0285       0.0208      0.0105       0.0097      0.0062      0.0044              10 1
          2       (0.0037)   (0.0077)    (0.0103)     (0.0071)    (0.0029)     (0.0073)    (0.0019)    (0.0005)


                   0.0800     0.0723      0.0595       0.0445      0.0353       0.0164      0.0120      0.0086
                  (0.0015)   (0.0041)    (0.0086)     (0.0092)    (0.0080)     (0.0038)    (0.0035)    (0.0017)




                                                                                                                                Average Error (Log Scale)
          3
       Rank (r)




                   0.0955     0.0919      0.0837       0.0715      0.0507       0.0384      0.0329      0.0170
                  (0.0009)   (0.0020)    (0.0024)     (0.0057)    (0.0082)     (0.0117)    (0.0111)    (0.0080)
         4




                   0.1081     0.1072      0.1025       0.0888      0.0744       0.0547      0.0414      0.0298
                  (0.0005)   (0.0010)    (0.0025)     (0.0056)    (0.0039)     (0.0091)    (0.0108)    (0.0121)
          5




                                                                                                                            10 2

                   0.1190     0.1196      0.1160       0.1076      0.0960       0.0787      0.0590      0.0423
                  (0.0004)   (0.0008)    (0.0020)     (0.0030)    (0.0041)     (0.0053)    (0.0110)    (0.0111)
          6




                   30000      40000       50000        60000       70000        80000       90000       100000
                                                        Sample Size (m)

Figure 2. Variation of the reconstruction error as a function of the underlying rank of the matrix r and the sample size m, for ground-truth
matrices of size (2000, 3000).


generated matrices have size (n1 , n2 ) = (2000, 3000). We vary the rank r among the values {2, 3, . . . , 6}. For every
possible value of r, we generate a dataset the manner described in Section 3.1, whose size m varies among the values
{30, 000, 40, 000, . . . , 100, 000}. The comparisons are noiseless. The regularizer coefficient (λ/4) was set to 0.01.
For faster implementation, we optimize the loss function using the PyTorch implementation of Adam instead of using
gradient descent. As our experiments in Section 6 show, we need neither a smart initialization nor the projection step. At the
                                                                          √
end of 300 epochs, we compute the reconstruction error ∥X t − X ∗ ∥F / n1 n2 . For each value of r and m, we run this
experiment with ten fresh seeds. The values reported in Figure 2 are the mean and standard deviation of the reconstruction
error across these ten runs.
We observe that the reconstruction error uniformly increases with the rank r and decreases with the sample size m.
Interestingly, if we observe the boxes with roughly the same error, we see that the sample complexity increases roughly
linearly with the rank r. This is not surprising, as ultimately the matrix to be estimated is Z ∗ , which has nr parameters.
However, our theoretical analysis gives us a sample complexity that grows as O(nr2 ). Thus, there is scope for further
research in order to develop O(nr) sample complexity guarantees.




                                                                    35
