<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Structure of Nonlinear Node Embeddings in Stochastic Block Models</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2023</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10423400</idno>
					<idno type="doi"></idno>
					<title level='j'>International Conference on Artificial Intelligence and Statistics (AISTATS)</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>C. Harker</author><author>A. Bhaskara</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Nonlinear node embedding techniques such as DeepWalk and Node2Vec are used extensively in practice to uncover structure in graphs. Despite theoretical guarantees in special regimes (such as the case of high embedding dimension), the structure of the optimal low dimensional embeddings has not been formally understood even for graphs obtained from simple generative models. We consider the stochastic block model and show that under appropriate separation conditions, the optimal embeddings can be analytically characterized. Akin to known results on eigenvector based (spectral) embeddings, we prove theoretically that solution vectors are well-clustered, up to a sublinear error.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>Graphs are a classic abstraction for studying relationships between objects. Graph data sets consisting of billions of nodes have become commonplace, requiring efficient and scalable algorithms to analyze them. An increasingly popular class of algorithms is node embedding algorithms, which aim to obtain vector representations of nodes that capture node similarities and help understand the structural properties of a graph. These vector representations can be used as inputs to various machine learning tasks, such as community detection <ref type="bibr">(Wang et al., 2017;</ref><ref type="bibr">Ng et al., 2001;</ref><ref type="bibr">Von Luxburg, 2007;</ref><ref type="bibr">Rohe et al., 2011;</ref><ref type="bibr">Belkin &amp; Niyogi, 2001)</ref>, node classification <ref type="bibr">(Hamilton et al., 2017;</ref><ref type="bibr">Perozzi et al., 2014;</ref><ref type="bibr">Grover &amp; Leskovec, 2016;</ref><ref type="bibr">Tang et al., 2015)</ref> and link prediction <ref type="bibr">(Grover &amp; Leskovec, 2016;</ref><ref type="bibr">Tang et al., 2015;</ref><ref type="bibr">Backstrom &amp; Leskovec, 2011)</ref>. Embeddings of nodes into geometric spaces is also a classic topic in theoretical computer science, which has led to the development of algorithms for clustering and partitioning of graphs <ref type="bibr">(Linial et al., 1994;</ref><ref type="bibr">Spielman &amp; Teng, 2007;</ref><ref type="bibr">Arora et al., 2009)</ref>.</p><p>A classic technique for node embeddings is the so-called spectral embedding, which uses the top eigenvectors of the Laplacian matrix to find node embeddings. Starting with the work of <ref type="bibr">Hall (1970)</ref>; <ref type="bibr">Alon (1986)</ref>; <ref type="bibr">Sinclair &amp; Jerrum (1989)</ref>; <ref type="bibr">Spielman &amp; Teng (2007)</ref>; <ref type="bibr">McSherry (2001)</ref> on the algorithmic side and works such as <ref type="bibr">Belkin &amp; Niyogi (2001)</ref>; <ref type="bibr">Ng et al. (2001)</ref>; <ref type="bibr">Rohe et al. (2011);</ref><ref type="bibr">Von Luxburg (2007)</ref>, properties of spectral embeddings have been studied extensively. More recently, non-linear embedding methods <ref type="bibr">(Grover &amp; Leskovec, 2016;</ref><ref type="bibr">Perozzi et al., 2014;</ref><ref type="bibr">Tang et al., 2015)</ref> have been shown to improve upon spectral embeddings along multiple axes: they provide better performance on partitioning tasks, they can better encode structural properties of the graphs, and they can be computed/updated locally when the graph is modified. These methods rely on random walks on the graph. Roughly speaking, they are based on the skip-gram model <ref type="bibr">(Mikolov et al., 2013a,b)</ref> developed originally in natural language processing. Random walks are viewed as the analog of n-grams in sentences, enabling the application of word embedding methods to networks.</p><p>Given their experimental advantages, an important theoretical direction has been to understand the power of these non-linear embedding methods. For the embeddings produced by DeepWalk <ref type="bibr">(Perozzi et al., 2014)</ref> and node2vec <ref type="bibr">(Grover &amp; Leskovec, 2016)</ref>, existing theoretical results establish a connection between the algorithms and matrix factorization: Levy and Goldberg <ref type="bibr">(Levy &amp; Goldberg, 2014)</ref> show that when the embedding dimension is at least as large as the number of nodes in the graph, then skip-gram with negative sampling (SGNS) is implicitly performing matrix factorization of a shifted point-wise mutual information matrix. In a similar vein, <ref type="bibr">Qiu et al. (2018)</ref> show that LINE, DeepWalk, and node2vec can also be viewed as matrix factorization problems when the embedding dimension is large. <ref type="bibr">Chanpuriya &amp; Musco (2020)</ref> later simplified the expression derived by <ref type="bibr">Qiu et al. (2018)</ref>. However, the characterization obtained holds only when the embedding dimension is large, which is not usually the case in practice <ref type="bibr">(Perozzi et al., 2014)</ref>.</p><p>However, even for very simple graph classes, it is not known if low dimensional embeddings obtained by algorithms like DeepWalk and node2vec provably exhibit good structural properties. In this work, we consider graphs generated by stochastic block models (SBMs). SBMs (see Section 2 for a more detailed introduction) are a classic way to model well clustered graphs arising in different applications. They have also acted as a testbed for reasoning about embedding algorithms. For example, many theoretical works on the efficacy of spectral embeddings focused on graphs produced by block models (see <ref type="bibr">McSherry (2001)</ref>; <ref type="bibr">Abbe (2017)</ref> and references therein). In this paper, we ask:</p><p>Can we prove theoretical guarantees on the embeddings obtained by DeepWalk and node2vec on graphs generated by an SBM?</p><p>One key challenge turns out to be the non-linearity of the objective used by the embedding algorithms. Similar difficulties are known to arise in proving theoretical properties of methods like t-SNE, which was only done recently in the works of <ref type="bibr">Linderman &amp; Steinerberger (2019)</ref>; <ref type="bibr">Arora et al. (2018)</ref>. One tractable case, however, is the one where the embedding dimension is large (&gt; n, the number of nodes in the graph). In this case, as shown by <ref type="bibr">Levy &amp; Goldberg (2014)</ref>, the optimal solution has a closed form. The recent works of <ref type="bibr">Zhang &amp; Tang (2021)</ref>; <ref type="bibr">Barot et al. (2021)</ref> analyzed low rank properties of this closed form solution on graphs generated by SBM. But note that this is not the same as analyzing the embedding algorithms directly (because the closed form only holds for large dimension).</p><p>Our goal in this paper is to establish structural properties of the optimal solutions of the objectives used in algorithms like DeepWalk. We study both the classic formulation, as well as the formulation with negative sampling (SGNS; see Section 2 for details). This is also in contrast with prior theoretical works that focus on negative sampling.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Results</head><p>. Our main contributions are as follows:</p><p>1. We first consider the case where the co-occurrence matrix used to obtain the embeddings (see Section 2) has a block structure. Here we show that, as expected, optimal solutions to the DeepWalk and SGNS objectives also have a block structure. <ref type="bibr">[Theorems 3 and 4.]</ref> 2. Next we show (Theorem 5) that when the cooccurrence matrix is obtained using random walks on a graph drawn from an SBM, the optimum values of the DeepWalk and SGNS objectives are approximately equal to the objectives computed on an appropriate block matrix.</p><p>3. As our main result, we show (Theorem 8) that for a symmetric SBM with two components, the optimal solution vectors (i.e., embeddings) are well-clustered, and further have the structure that vertices in the two components approximately map to antipodal vectors.</p><p>4. We finally consider the case of block matrices with more than two blocks (where a simple antipodal structure is not optimal), and experimentally characterize the structure of the optimal solution as the sizes of the components vary. We also observe that for SGNS, the &#170;number&#186; of negative samples significantly affects the embeddings obtained, which suggests that a careful tuning is important in practice.</p><p>We will introduce the necessary background on SBMs and the DeepWalk algorithm (along with SGNS) in Section 2.</p><p>We then consider the simplest case of block structured cooccurrence matrices in Section 3. Then in Section 4 to connect the optimal solution value in an SBM to that of a block matrix using appropriate concentration inequalities. This is then used in Section 5 to show our main result, which argues that for a two-block SBM, the optimal embedding vectors are necessarily well-clustered.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">BACKGROUND AND PROBLEM SETUP</head><p>Common Notation. For a matrix M we use the notation</p><p>We denote by &#8741;M &#8741; 1 its L 1 norm after flattening it along the columns (and similarly &#8741;M &#8741; &#8734; ). For two matrices M and X, we define M</p><p>For an graph G(V, E) with n nodes and |E| edges, the matrix A denotes the adjacency matrix of the graph G. The degree of node i is d i = n j=1 A ij and the matrix D is a diagonal matrix where D ii = d i . We let W = D -1 A denote the transition matrix of the graph.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Stochastic Block Model</head><p>The stochastic block model (SBM) <ref type="bibr">(Holland et al., 1983)</ref> is a popular generative framework used in the theoretical analysis of community recovery algorithms. SBMs have been widely studied (see, e.g., <ref type="bibr">Abbe (2017)</ref> and references therein), and may be viewed as a natural generalization of Erd&#337;s-Renyi random graphs.</p><p>A K block stochastic block model (SBM) generates a random graph G = (V, E) by first assigning each node in the graph to one of K blocks. These blocks are also referred to as categories or communities. We refer to V k as the set of vertices that belong to community k and define a community membership matrix Z &#8712; {0, 1} n&#215;K as Z ik = 1{i &#8712; V k }, whose entries are 1 if node i &#8712; V k and 0 otherwise. Let B &#8712; [0, 1] K&#215;K be a symmetric matrix of probabilities of full rank whose entries B ij denote the probability of a node in cluster i and a node in cluster j being connected. We define the matrix P as P := ZBZ &#8868; , which is simply a block matrix of probability values defined by the partitioning Z.</p><p>The edges of the graph G(V, E) are then generated as A ij &#8764; Bern(P ij ), A ij = A ji for all i &lt; j. We also assume that graphs do not have self loops, i.e., A ii = 0 for all i. In a symmetric SBM, we further assume that each cluster is of equal size, i.e., |V k | = n K . We also assume that the entries of B are p on the diagonal and q off-diagonal. Thus P is a block matrix with K equal-sized blocks. Finally, we assume that the number of communities K is fixed and that the number of nodes n tends to infinity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">DeepWalk</head><p>In this section we describe the Perozzi's DeepWalk graph embedding algorithm <ref type="bibr">(Perozzi et al., 2014)</ref>. Let G = (V, E) be an undirected, connected graph with n nodes. The DeepWalk algorithm consists of two key steps. The first step generates r random walks of length L on the graph and uses these walks to create an n &#215; n co-occurrence matrix C whose entries count the number of times that two nodes appear a certain distance to each other in these random walks. The second step uses the co-occurrence matrix to compute the node representations by solving an optimization problem.</p><p>Generating Random Walks. The algorithm first generates r random walks of length L and slides a window of size T over each random walk. Let w (m) denote the m th random walk represented as a sequence of L nodes. Let w (m) k denote the k th step of the m th random walk. To be consistent with prior works, we assume that the starting node of each walk is sampled from a stationary distribution on G Pr w</p><p>Using the sample random walks, the algorithm creates the co-occurrence matrix C whose entries C ij contains the number of times that a node j appears in a size T window around a node i. Formally,</p><p>Many of the prior theoretical works involve studying limiting cases of this co-occurrence matrix as the length of the walk L or the number of walks r goes to &#8734; <ref type="bibr">(Zhang &amp; Tang, 2021;</ref><ref type="bibr">Barot et al., 2021;</ref><ref type="bibr">Qiu et al., 2018)</ref>, or as the window size T goes to &#8734; <ref type="bibr">(Chanpuriya &amp; Musco, 2020)</ref>. A few works focus solely on obtaining concentration bounds on this matrix <ref type="bibr">(Qiu et al., 2020;</ref><ref type="bibr">Kloepfer et al., 2021)</ref>.</p><p>Borrowing from prior works, we will make use of the following lemma in our analysis <ref type="bibr">(Zhang &amp; Tang, 2021;</ref><ref type="bibr">Barot et al., 2021)</ref>. The proof can be found in Appendix A.1</p><p>Lemma 1. Let A be an adjacency matrix of a fixed graph G and let w (m) k denote the k th step of the m th random walk generated by the DeepWalk algorithm. Let</p><p>Note that this limiting matrix can be constructed explicitly from the adjacency matrix A without needing to sample with random walks.</p><p>Computing Node Representations.</p><p>Given a cooccurrence matrix C, DeepWalk uses the skip-gram model to learn a matrix of node embeddings X &#8712; R d&#215;n and a matrix of context embeddings Y &#8712; R d&#215;n . The d-dimensional node embedding x i &#8712; R d for node i is the i th column of X, while the d-dimensional context embedding y i &#8712; R d for node i is the i th column of Y . For a co-occurrence matrix C, the node and context embeddings (X, Y ) are computed by optimizing the following objective function:</p><p>Skip-gram with Negative Sampling Most works analyze the more computationally efficient skip-gram with negative sampling objective function with some simplifications <ref type="bibr">(Zhang &amp; Tang, 2021;</ref><ref type="bibr">Barot et al., 2021;</ref><ref type="bibr">Levy &amp; Goldberg, 2014;</ref><ref type="bibr">Qiu et al., 2018)</ref>. In this case, the objective function is</p><p>where s n is the &#170;number&#186; of negative samples (a coefficient that will affect the embeddings, as we will see), &#963;(&#8226;) is the sigmoid function, and P C is the probability distribution on</p><p>[n] that samples j with probability |C &#8226;j |/|C|.</p><p>Note that the loss can be simplified as</p><p>C ij log &#963;(x T i y)</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">BLOCK STRUCTURED CO-OCCURRENCES</head><p>To motivate community recovery using DeepWalk embeddings, we first explore a special case where the cooccurrence matrix is a block-diagonal matrix, whose onand off-diagonal matrices are multiples of the all-ones matrix. This is reminiscent of work on spectral clustering and non-negative matrix factorization <ref type="bibr">(Ng et al., 2001;</ref><ref type="bibr">Paul &amp; Chen, 2016;</ref><ref type="bibr">Von Luxburg, 2007)</ref>. Indeed, the classical analysis of spectral clustering on SBMs starts by showing that the adjacency matrix is spectrally similar to the block-diagonal matrix of edge probabilities. Similarly in our setting, the block structure allows us to understand the geometric properties of optimal DeepWalk and SGNS embeddings.</p><p>When the co-occurrence matrix C has a block structure, we show that there exists an optimum solution to (2) in which the context vectors have a block structure defined as follows:</p><p>Definition 2 (Block Structure). Let C be an n &#215; n matrix. We say that C has a block structure with blocks</p><p>, and further, for all i, j &#8712; [K], the submatrix of C induced by the rows V i and columns V j has constant entries. (The constant can depend on i and j).</p><p>We say that a solution X, Y (each in R d&#215;n ) has a block structure with blocks V 1 , . . . , V K if {V i } are disjoint, and moreover, for every k, we have x i = x j for all i, j &#8712; V k , and the same holds for the columns of Y . (Note that the x k need not be related to y k in any way.)</p><p>In the following theorems, we use the term symmetric block structure for the matrix C. This simply means that the entries in the off-diagonal blocks are all equal. In other words, if i &#8764; j denotes whether i and j are in the same community or not, then we say that C has symmetric block structure if there exist scalars a, b such that for all i, j &#8712; [n], we have</p><p>We note that our proofs can directly be adapted to deal with general block structure, but we prove them for the symmetric case due to simplicity, and because it is the setting that we will use later.</p><p>Theorem 3. Let C be a matrix with a symmetric block structure with blocks V 1 , V 2 , . . . , V K . Then there exists an optimal solution (X, Y ) maximizing (2) whose node and context embeddings X, Y also have a block structure defined by {V i }. Moreover, this also holds for constrained maximization over any domain D, where the columns of X, Y are required to belong to D.</p><p>The proof uses a natural convexity argument is deferred to Appendix A.2. A similar result can be shown for the negative sampling objective.</p><p>Theorem 4. Let C be a matrix with a symmetric block structure defined by V 1 , V 2 , . . . , V K . Then there exists an optimal solution (X, Y ) maximizing (3) whose node and context embeddings X, Y have block structures defined by the same {V i }. This also holds for constrained optimization of equation 3 over any domain D.</p><p>The proof for Theorem 4 is in Appendix A.3.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">FROM BLOCK MATRICES TO SYMMETRIC SBM</head><p>We now consider graphs sampled from the symmetric stochastic block model that is defined by three parameters (K, p, q). The vertex set</p><p>. . , V K , each of size n/K, and the edge probabilities are p and q, between vertices within and across clusters, respectively.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">DeepWalk Solution Value for Symmetric SBM</head><p>Let G be a graph drawn from the symmetric SBM with parameters (K, p, q), and let M be the co-occurrence matrix obtained from G by performing random walks with parameters L &#8805; 3, window length T = 2 and r &#8594; &#8734;, as described in Section 2. Using Lemma 1 the co-occurrence matrix M (in the limit) satisfies</p><p>where D is the diagonal degree matrix and the length of the random walk L is treated as a constant. We will argue that the solutions obtained by solving the DeepWalk and SGNS optimization problems using M are close to the solutions obtained using the &#170;expected&#186; matrix M . The matrix M is defined as:</p><p>where</p><p>] are the expected values of the adjacency matrix and its square (respectively) when G is drawn from the symmetric SBM. Note that M is not, strictly speaking, the expected value of M because the denominator terms of M are also dependent on the graph.</p><p>Theorem 5. Suppose the matrix M is obtained by performing random walks on a graph drawn from the symmetric SBM with parameters K, p, q as described above. Let L dw (M ; X, Y ) and L ns (M ; X, Y ) be the DeepWalk and SGNS objectives respectively. Suppose also that p, q are such that &#8710; &gt; (20 log n) nd &#1013; , for some desired error parameter &#1013; &gt; 0. Then with probability at least 1n -4 , we have</p><p>for all solutions X, Y whose columns have length &#8804; 1.</p><p>Remark. While the theorem treats &#1013; as a free parameter, it is natural to set it so as to make the two terms on the RHS equal. (In a sense, this is the &#170;least value&#186; of &#1013;.) For Deep-Walk, this corresponds to &#1013; = &#8710; -1/2 log 3/2 n, in which case the lower bound on &#8710; becomes c(nd) 2/3 log 1/3 n, for some (large enough) constant c. Likewise, in the SGNS case, the condition becomes &#8710; &gt; c(nd) 2/3 log n. Requiring such a degree lower bound is a limitation of our analysis and is discussed further in the following section.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Proof of Theorem 5</head><p>The proof proceeds along similar lines for both the loss functions. We define an intermediate matrix M &#8242; as follows</p><p>where &#8710; = np K + (K -1) nq K as defined earlier. M &#8242; turns out to be more amenable than M , since it does not have denominator terms that vary with G (i.e., terms such as |E| and D -1 ). The following lemma relates M with M &#8242; . Lemma 6. For M, M &#8242; defined as above, we have that with probability &#8805; 1n -5 ,</p><p>The proof is deferred to Appendix B.2. The main technical lemma is then the following:</p><p>Lemma 7. Let &#1013;, &#946; &gt; 0 be parameters, and let &#923; be any fixed n &#215; n matrix satisfying &#8741;&#923;&#8741; &#8734; &#8804; &#946;. Then for n &gt; 8&#946;/&#1013;, we have</p><p>The lemma is proved using concentration inequalities for quadratic forms of random variables, and is deferred to Appendix B.3. We now sketch the analysis for the case of the DeepWalk loss function. The details, as well as the SGNS case, are deferred to Appendix B.</p><p>We start by observing that for any candidate solution X, Y ,</p><p>where</p><p>Define &#923; (which is dependent on X, Y ) to be the matrix whose (i, j)th entry is &#945; ij , so we have L dw (M ; X, Y ) = M &#8226; &#923;. Then the goal of the theorem is to prove that w.h.p.,</p><p>Proof outline. The proof starts by using Lemma 6 to show that (M -M &#8242; ) &#8226; &#923; is small for all X, Y . Next, we argue using Lemma 7 that for any fixed solution X, Y , equation 6 holds with an exponentially small failure probability. Finally, we use an epsilon-net argument (a standard technique in random matrix theory, e.g., <ref type="bibr">Vershynin (2018)</ref> to take a union bound over a fine enough &#170;net&#186; over the possible X, Y . This lets us obtain the conclusion of the theorem for all X, Y .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">Discussion</head><p>Spectral analyses of the SBM usually require the expected degree to be poly-logarithmic <ref type="bibr">(McSherry, 2001;</ref><ref type="bibr">Rohe et al., 2011;</ref><ref type="bibr">Abbe, 2017;</ref><ref type="bibr">Vu, 2014)</ref>. Theorem 5, however, assumes that the graph be much denser, requiring that the degree be greater than n 1 2 log n. This limitation arises in the proof of Lemma 7, which relies on the use of the Hanson-Wright inequality where the degree must be large enough in order to achieve such a strong bound. We conjecture, however, that the overall results hold even for sparse graphs and an interesting open problem is to see whether this large degree requirement can be avoided, potentially by arguing that a union bound over a smaller net would be sufficient.</p><p>The &#1013;-net argument also requires the degree to increase depending on d. While this term is insignificant for us (as we focus on the low dimensional case where d = O(1)), an interesting open question is to obtain an analysis that does not have this requirement.</p><p>We also note that M can be constructed explicitly from the adjacency matrix A without needing to sample with random walks. In practice, however, the co-occurrence matrix is constructed by conducting walks. Assuming the random walks are independent, the convergence rate can be obtained as in <ref type="bibr">Kloepfer et al. (2021)</ref>. The error due to constructing this &#170;empirical&#186; co-occurrence matrix can be incorporated into the results just as we handle the terms (M -M &#8242; ) in the proof of Theorem 5.</p><p>Finally, we believe that the arguments in this section can be generalized to other generative graph models, such as the degree-corrected SMB or the random dot product graph, as long as the degree remains large enough. However, the analysis will need to be more involved as &#8710; has to be replaced by an appropriate diagonal matrix. This is an interesting avenue for future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">NEAR OPTIMAL SOLUTIONS TO TWO BLOCK SBM</head><p>We now show that for the case K = 2, it is possible to analytically characterize an (approximate) maximizer of the DeepWalk or SGNS objectives. Before defining our main result, we introduce some parameters. As before, the walk parameters will be L &#8805; 3, T = 2, r &#8594; &#8734;, and the graph is drawn from a symmetric SBM with K = 2 blocks, and edge probabilities p, q.</p><p>As a rough intuition, we can think of a and b as being proportional to p and q respectively. This is because we can think of &#8710; &#8776; np/2 (when q &lt; p/4, say), and thus the second terms above can be simplified to look similar to the corresponding first terms. Our main result is then the following. Theorem 8. Let M be a matrix obtained from random walks on a graph drawn from the symmetric SBM as above, and suppose &#8710; &gt; (nd) 2/3 log n is chosen so that Theorem 5 applies.<ref type="foot">foot_0</ref> Let OPT dw (M ) and OPT ns (M ) denote the optimum objective value of L dw (M ; X, Y ) and L ns (M ; X, Y ), and let &#948; &gt; 0 be a parameter. Then with probability at least 1n -4 , we have 1. Suppose a/b &gt; e 2 , and let X, Y be a feasible solution (vectors of length &#8804; 1) such that L dw (M ; X, Y ) &#8805; OPT dw (M )&#948;. Then there exist unit vectors x * 1 and x * 2 and a constant &#947; &gt; 0 such that x * 1 = -x * 2 , and for k &#8712; {1, 2},</p><p>2. Suppose the negative sampling parameter s n satisfies eb a+b &lt; s n &lt; a (a+b)e and let X, Y be a feasible solution such that L ns (M ; X, Y ) &#8805; OPT ns (M )&#948;. Then there exist antipodal unit vectors x * 1 , x * 2 as before, and a parameter &#947; &gt; 0 such that for k &#8712; {1, 2},</p><p>We note that the parameters &#947;, a, b will ensure that the terms 1/(an 2 &#947;) and 1/(n&#947;) are constants, so that the average clustering error is only O(&#948;) plus an additional sublinear term. Also, there are two ways of interpreting the condition eb a+b &lt; s n &lt; a (a+b)e . The first is that as long as e 2 b &lt; a, there exists a choice of s n that yields a solution with a good cluster structure. Alternatively, for a fixed s n small enough (say 1/2e), the solution satisfies a structured property as long as b/a is small enough (around s n /e). We empirically demonstrate the sensitivity of the solution to s n in our experiments.</p><p>We make two further remarks before moving to the proof. The first is on the robustness. Theorem 8 says that even if an algorithm finds some &#170;near optimal&#186; solution (within &#948; in objective value), we will have an approximate cluster structure if &#948; is small enough. This robustness is important because in continuous, non-convex optimization, we usually never find an exact optimum.</p><p>Secondly, the Theorem can be used to bound the number of misclassified vertices. Assuming that k-means that is solved (nearly) exactly on the resulting embeddings, we can first argue that the k-means clusters are very close to each x * i . Since the x * i are separated, Theorem 8 then implies that the number of misclassifications is small. We now sketch the proof of the theorem, assuming lemmas that will be shown later. Let M be a matrix whose rows and columns are divided into two blocks V 1 , V 2 . Suppose that a, b denote the entries in the diagonal and off-diagonal blocks respectively.</p><p>Proof sketch. Let us focus on the DeepWalk loss function (SGNS will be similar). We first apply Theorem 5 to conclude that a solution (X, Y ) that approximately optimizes L dw (M ; X, Y ) also approximately optimizes L dw (M ; X, Y ). Then, we observe that M (up to an O(1/n) error resulting from the diagonal terms A ii being zero) is a block matrix with entries a, b as defined in equation 7. Then we apply Lemma 9 (the key lemma of this section) with &#1013; in the lemma statement set to O(&#948; + log 3 n &#8710; ) to show that X is well clustered, and this completes the proof of the theorem.</p><p>We now outline the main technical lemmas described above. For DeepWalk, we have: Lemma 9. Suppose the parameters of the matrix M (defined using V 1 , V 2 , a, b, as above) satisfy a b &gt; e 2 . Let (X, Y ) be any feasible solution that satisfies</p><p>where OPT is the optimum value of the objective, and &#1013; &#8805; 0 is some parameter. Define &#947; = &#963;(2) e -2b/a . Then there exist unit vectors x * 1 and</p><p>Note that we showed in Theorem 3 that the optimum solution has a block structure, but the lemma above is stronger in two ways: (a) it argues that the vectors corresponding to the blocks are actually antipodal, and (b) it shows that an approximate block structure holds when we consider an approximately optimal solution.</p><p>Proof. Consider any near optimal solution (X, Y ). We begin by appealing to the proof of Theorem 3. There, we showed that given any X, there exists a block structured</p><p>Note that Y * may not be unique, but we can consider any Y * for our argument. Suppose y * 1 and y * 2 are the vectors corresponding to the blocks V 1 and V 2 in the solution. We can then write the objective L dw (M ; X, Y * ) as i g(x i ), where for any i &#8712; V 1 , g(x i ) is given by:</p><p>Writing t i = x T i (y * 1y * 2 ), we can write g(x i ) as</p><p>Let us fix an i &#8712; V 1 and drop the subscript in t i for a moment. Then g(x i ) is only a function of the scalar variable t. Taking the derivative with respect to t,</p><p>It is easy to see that this is a decreasing function of t. Hence for any t &#8712; [-2, 2], we have</p><p>In the last step, we used the definition of &#947; from the statement of the Lemma. By our assumption that a/b &gt; e 2 , &#947; is positive, and consequently, g is maximized when t is as large as possible, i.e. when t = 2 (because t i &#8804; &#8741;x i &#8741;&#8741;y * 1y * 2 &#8741; &#8804; 2). Furthermore, if we denote by g * the value at t = 2, we have by the intermediate value theorem, g *g(x i ) &#8805; g &#8242; (&#951;)(2t i ), where &#951; is some real number between t i and 2. Since the derivative is a decreasing function, we have g &#8242; (&#951;) &#8805; g &#8242; (2). Next, let z denote the vector of length 2 parallel to y * 1y * 2 . Case 1. t i &#8805; 0. In this case, we have</p><p>In the last step, we used also the property that &#8741;x i &#8741; &#8804; 1.</p><p>Case 2. t i &lt; 0. In this case,</p><p>(In obtaining the above, we are also implicitly using the fact that it is possible to achieve a value of g * for every term, by setting x * i appropriately.) Thus, if we started with the assumption that the LHS is at most &#1013; (which holds because L dw (M ; X, Y * ) &#8805; L dw (M ; X, Y )), we have that each of the terms on the RHS is bounded, as desired.</p><p>We have an analogous lemma for the SGNS objective. The proof can be found in Appendix C Lemma 10. Suppose the parameters of the matrix M (defined using V 1 , V 2 , a, b, as above) satisfy eb a+b &lt; s n &lt; a (a+b)e . Let (X, Y ) be any feasible solution that satisfies</p><p>where OPT is the optimum value of the objective, and &#1013; &#8805; 0 is some parameter. Define Then there exist unit vectors x * 1 and x * 2 such that x * 2 = -x * 1 and for k &#8712; {1, 2}, 1</p><p>Remark. Note that our proof of Theorem 8 is tailored to the case K = 2. For K = 3, we can no longer reduce to a single variable optimization problem, which makes the analysis intricate. Further, for K = 2, the ambient dimension of the embeddings does not matter in the analysis, while this is not the case for K &#8805; 3 (i.e., d = 2 and d = 3 makes a difference). Analysis of the structure of optimal solutions for higher K remains an open problem.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">EXPERIMENTS</head><p>This section presents experimental results that support our theoretical analysis. The first section presents the results of a brute force search of the optimal orientation of node and context embeddings with block structure on symmetric block co-occurrence matrices with two and three blocks.</p><p>The second experiment shows how the orientation of embedding vectors is strongly influenced by the number of negative samples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Optimal Orientations</head><p>This section provides experimental results supporting the analytical results presented in 5. Assuming a co-occurrence matrix with a symmetric block structure and blockstructured solutions as defined in Definition 2, the Deep-Walk objective 2 was maximized by conducting a brute force search over possible unit vectors for K = 2 blocks. The off-diagonal block entries of b = 0.1 and on blockdiagonal entries of a = 8b were used. We fix y 1 = (1, 0) and for every value of y 2 on the unit circle, in increments of one degree, we find the pair (x 1 , x 2 ) that maximizes the objective. Finally, we take the pairs (x 1 , x 2 ) and (y 1 , y 2 ) that produce the largest objective value.</p><p>The results, shown in Figure <ref type="figure">1</ref>, show that for large enough spread between a and b, the optimal node embedding vectors x * 1 and x * 2 are anti-polar to each other. They are also equivalent to their respective context embeddings y * 1 , y * 2 . A similar experiment was conducted for K = 3 blocks using on and off-block values of b = 0.1 and a = 8b. The brute-force search was conducted over a grid of angles in increments of five degrees. The optimal orientation is one in which the vectors x * 1 , x * 2 and x * 3 are as spread out as possible, i.e. 120 degrees between each vector. Similar to the K = 2 case, they are also equivalent to their respective context embedding vectors y * 1 , y * 2 and y * 3 . This experiment suggests a similar theoretical treatment for the K = 3 case may be possible. Interestingly, if the community sizes are not equal, however, the optimal orientation of the vectors deviate from the 120 degrees that was optimal in the equal community size case. This suggests that more general results might depend on the community sizes.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Sensitivity to Negative Samples</head><p>The SGNS result in Theorem 8 for the K = 2 case relies on the sufficient but not necessary condition eb a+b &lt; s n &lt; a (a+b)e where s n is the number of negative samples. Indeed, <ref type="bibr">Mimno &amp; Thompson (2017)</ref> experimentally show that angles between word embedding vectors produced with negative sampling largely depend on the number of negative samples used. Similarly, <ref type="bibr">Arora et al. (2019)</ref> suggests that the performance of SGNS embeddings on downstream classification tasks can be negatively impacted if the number of negative samples is too large. We conduct a simple experiment in the K = 3 case to show that the number of negative samples impacts the geometry of SGNS embeddings of an SBM with K = 3 blocks, suggesting that conditions on the number of negative samples similar to the K = 2 case may be necessary in general in order to achieve satisfactory performance on downstream tasks.</p><p>We sampled a graph from a stochastic block model with K = 3 equally sized communities each with |V k | = 200 nodes with parameters q = 0.1, p = 4q. The co-occurrence matrix was constructed by performing r = 100 random walks of length L = 100 for each node as a starting node.</p><p>The window length was T = 3. SGNS embeddings were produced by optimizing (3) using gradient descent for s n = 1/10, 1, 2, 10 negative samples.</p><p>The results can be seen if Figure <ref type="figure">2</ref>. The embeddings produced by optimizing the SGNS objective differ depending on the number of negative samples used, especially among the smaller values. A fractional number of negative samples s n = 1/10, which can be interpreted as taking one negative sample for every 10 positive samples, produces embeddings for two of the three communities that partly overlap each other. Using s n = 1 negative sample produces embeddings that separate those belonging to each community well. In addition, the embeddings for each community appear to be evenly spaced from those of the other communities. The s n = 2 and s n = 10 cases produce very similar embeddings. However, they are quite different than those produced by s n = 1 despite being able to recover each community. These results seem to justify the need for some conditions on s n in order to achieve a satisfactory clustering performance. The similarity between the embeddings for s n = 2, 10, however, suggest that there may exist conditions on the number of negative samples in which the embeddings might begin to stabilize.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">CONCLUSION</head><p>We prove guarantees on the embeddings obtained by Deep-Walk and SGNS on graphs generated by an SBM, establishing structural properties of their optimal solutions. We show that the optimal values of the DeepWalk and SGNS objectives are close to the optimal values computed on an appropriate block co-occurrence matrix. As a result, for a symmetric SBM with two communities, we are able to provide conditions in which the optimal solution vectors are well-clustered. Unlike previous works, we analyze the low dimensional embeddings directly. The generalization of our results to SBMs with more than two components and to components of unequal size, is left for future work.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A DETAILED PROOFS FROM SECTIONS 2 AND 3</head><p>A.1 Proof of Lemma 1</p><p>The proof proceeds by a direct computation of the terms C ij . This is similar to some of the analysis in prior works <ref type="bibr">(Zhang &amp; Tang, 2021;</ref><ref type="bibr">Barot et al., 2021)</ref>. We denote the degree of vertex i by d i , and write D to denote the diagonal matrix of degrees.</p><p>Proof. Recall that the entries of the co-occurrence matrix, can be written as</p><p>k+t = i} r Taking the limit as the number of random walks r &#8594; &#8734; and by the large of law numbers we have</p><p>Pr w</p><p>(1)</p><p>where the second to last step is because the powers of the transition matrix (D -1 A) are symmetric after left multiplication by D.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Proof of Theorem 3</head><p>Proof. As in the definition of symmetric block structure, let a, b be parameters for which the matrix C can be defined as having</p><p>We first show that given any fixed X, there exists an optimal solution in which Y has a block structure. Suppose nodes 1 and node 2 are in the same cluster, and suppose we start with an optimal solution with y 1 &#824; = y 2 . We consider two candidate solutions: one in which (y 1 , y 2 ) is replaced with (y 1 , y 1 ) and another where it is replaced with (y 2 , y 2 ), keeping the rest of the solution the same. We argue that at least one of these solutions has an objective value at least as high as the original (X, Y ). Note that this process maintains feasibility (belonging to some domain D), which is why our argument also applies to constrained optimization.</p><p>Let us denote the log-sum-exp function, parameterized by x i and {y j } k&gt;2 , as lse (y 1 , y 2 ; x i , {y j } j&gt;2 ) = log e x T i y1 + e x T i y2 + k&gt;2 e x T i y k</p><p>Note that lse corresponds to the denominator of our loss function. We will usually ignore the parameters x i and {y j } k&gt;2 and just write lse(y 1 , y 2 ). For simplicity and to emphasize y 1 and y 2 , we write the objective as L(y 1 , y 2 ). Then</p><p>Taking the average of L (y 1 , y 1 ) and L (y 2 , y 2 ) we see that</p><p>where the last line uses an inequality of the form log(2A + Z) + log(2B + Z) &#8804; 2 log(A + B + Z), for appropriate choices of A, B, Z. This is a consequence of the AM-GM inequality (or equivalently, concavity of the logarithm).</p><p>This implies that either L(y 1 , y 1 ) &#8805; L(y 1 , y 2 ) or that L(y 2 , y 2 ) &#8805; L(y 1 y 2 ). Regardless, when y 1 &#824; = y 2 the objective function is no larger than when y 1 = y 2 . It follows that there exists a solution that maximizes the objective whose context embeddings Y have a block structure.</p><p>The proof for X is actually easier. Once we have a block structured solution Y , since the objective splits based on the x i , we will be solving exactly the same optimization problem for every i in a block, and thus there exists a block structured solution X. This concludes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.3 Proof of Theorem 4</head><p>Proof. As in the proof in Section A.2, we first show that there exists an optimal solution whose context embeddings Y have a block structure. Start with some optimal solution, and assume that node 1 and node 2 are vertices in the same cluster with y 1 &#824; = y 2 . As before, we write the objective as L(y 1 , y 2 ). Let us define</p><p>We can write L as</p><p>Since node 1 and node 2 are in the same cluster, we have</p><p>Similarly, since node 1 and node 2 are in the same cluster,</p><p>It follows that</p><p>This implies that either L(y 1 , y 1 ) &#8805; L(y 1 , y 2 ) or that L(y 2 , y 2 ) &#8805; L(y 1 , y 2 ). Regardless, when y 1 &#824; = y 2 the objective function is no larger than when y 1 = y 2 . It follows that there exists a solution that maximizes the objective whose context embeddings Y has a block structure.</p><p>Once we have a block structured solution Y , since the objective splits based on the x i , we will be solving exactly the same optimization problem for every i in a block, and thus there exists a block structured solution X. This concludes the proof. Define &#923; (which is dependent on X, Y ) to be the matrix whose (i, j)th entry is &#945; ij , so we have L dw (M ; X, Y ) = M &#8226; &#923;.</p><p>Then the goal of the theorem is to prove that w.h.p., |(M -M ) &#8226; &#923;| is small for all X, Y .</p><p>Outline. The proof starts by using Lemma 6 to show that (M -M &#8242; ) &#8226; &#923; is small for all X, Y . Next, we argue using Lemma 7 that for any fixed solution X, Y , equation 6 holds with an exponentially small failure probability. Finally, we use an epsilon-net argument (a standard technique in random matrix theory, e.g., <ref type="bibr">Vershynin (2018)</ref>) to take a union bound over a fine enough &#170;net&#186; over the possible X, Y . This lets us obtain the conclusion of the theorem for all X, Y .</p><p>Proof. For bounding (M -M &#8242; ) &#8226; &#923;, we observe that for any X, Y with &#8741;x i &#8741;, &#8741;y j &#8741; &#8804; 1, we have e x T i yj &#8712; [ 1 e , e] for all i, j, and thus</p><p>This implies that &#8741;&#923;&#8741; &#8734; &#8804; 2 log n, assuming n &gt; 10. Thus, we can use Lemma 6 conclude with probability &#8805; 1n -5 , for all candidate solutions X, Y ,</p><p>Next, we bound (M &#8242; -M ) &#8226; &#923; for all X, Y . We do this via an epsilon-net argument. Let &#948; be a parameter we will choose later, and let S &#948; be a set of matrix pairs (X &#8242; , Y &#8242; ) such that for every (X, Y ) with columns of length at most 1, there exists</p><p>Using standard bounds on the sizes of epsilon nets (e.g., Corollary 4.2.13 of Vershynin ( <ref type="formula">2018</ref>)), we have that there exists a net with</p><p>(Indeed, a net of this size exists for the radius-2n ball in a 2nd dimensional space, which is a superset of the matrix pairs (X, Y ) that we are interested in.)</p><p>Next, we apply Lemma 7 with parameters &#946; = 2 log n and an &#1013; that satisfies the condition:</p><p>Then, we can use the union bound to conclude that with prob. &#8805; 1 -4n -5 , for all (X &#8242; , Y &#8242; ) &#8712; S &#948; ,</p><p>Now, if we set &#948; = &#1013; n 4 , we have that if (X, Y ) is any pair of matrices with columns of norm &#8804; 1 and</p><p>and the same inequality holds with M . Thus, using triangle inequality, we have that with probability at least 1 -4n -5 , for all pairs (X, Y ),</p><p>Finally, combining this step with equation 10, we have that with probability at least 1n -4 , for all (X, Y ),</p><p>as long as we have the inequality</p><p>By a straightforward calculation, we see that this condition holds as long as</p><p>This completes the proof of the Theorem, for the DeepWalk objective.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.1.2 Negative Sampling Objective Function</head><p>Recall that the SGNS loss function corresponding to matrix M has two components:</p><p>where M is defined in equation 4.</p><p>Proof outline. We can split L ns (M ; X, Y ) -L ns (M ; X, Y ) into two terms as above. The first one, i,j (M ij -M ij ) log &#963;(x T i y j ), is handled exactly as we did for the DeepWalk objective function. The second term can be handled more directly and shown to be small.</p><p>Proof. Let us begin by looking at the second term, as it is unique to the SGNS loss. Note that by definition,</p><p>where d r is the degree of the rth vertex. Thus we have</p><p>Similarly, we can see that</p><p>For any vectors x i , y j of norm &#8804; 1, the &#963;(-x T i y j ) term is &#920;(1) (and in fact, it is at most 1 in magnitude). Thus, we have i,j</p><p>As in the proof of Lemma 6, we have that for the range of &#8710; of interest, for every i, j, the magnitude of the difference</p><p>with probability &#8805; 1n -5 . This implies that the error in total is O L log n &#8710; , and this shows that with high probability, the difference between the second term in the SGNS loss for M and for M differ by at most</p><p>Finally, we note that the first term in the SGNS loss can be bounded exactly as before (with the sigmoid terms playing the role of the softmax). Indeed, we can use the slightly improved value of &#946; = 2, because the sigmoid is bounded by a constant. This completes the proof of the theorem.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.2 Proof of Lemma 6</head><p>Proof. First, we argue that the following bounds hold with probability &#8805; 1n -5 when a graph G is drawn from a symmetric SBM with parameters (K, p, q) and p &gt; n -1/2 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>|E| -</head><p>These inequalities follow from the standard Chernoff bound (see, e.g., Theorem 2.3.1 of Vershynin ( <ref type="formula">2018</ref>)) on the sum of independent Bernoulli random variables.</p><p>Next, whenever G satisfies the above conditions, we show that for all X, Y with columns of length at most 1, L dw (M ; X, Y ) -L dw (M &#8242; ; X, Y ) is small. To this end, note that it is sufficient to bound</p><p>Let us bound the two terms in the parentheses separately. By using equation 11, the first term can be bounded by O (n&#8710;) -3/2 (log n) 1/2 . Let us consider the second term. We split it into two terms as follows:</p><p>For the first term, we again use equation 11 along with triangle inequality and equation 12 to bound its magnitude by</p><p>The second term can be bounded similarly using equation 12 by</p><p>Note that this bound is strictly worse (by a factor n 1/2 ) than our bound for the first term, so we only keep this one. Plugging all of these into equation 13 and summing over i, j, we obtain</p><p>as it is the number of edges. Likewise, ij k A ik A kj counts the total number of length-2 paths in the graph, which is also equal to sum of the squares of the degrees. This is thus bounded by 2n&#8710; 2 . Putting everything together, the above bound simplifies as</p><p>Since the last term dominates, this completes the proof of the lemma.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.3 Proof of Lemma 7</head><p>Proof of Lemma 7. Recalling the definitions of matrices M &#8242; and M , we have</p><p>If the LHS is &#8805; t, at least one of the terms on the RHS must be &#8805; t/2. We will thus bound the probabilities of these two events separately. For convenience, we will call them the linear and quadratic terms respectively. We also denote by &#955; ij the (i, j)th entry of &#923;. The technical issue in bounding the probabilities of the events comes from (a) the symmetry conditions A ij = A ji , and (b) the quadratic term A 2 .</p><p>The linear term on the RHS of equation 14 turns out to be straightforward. Due to the conditions A ij = A ji and A ii = 0, we can write (A -E[A]) &#8226; &#923; = i&lt;j A ij (&#955; ij + &#955; ji ). Using the Bernstein inequality for the sum of independent but non-identical Bernoulli variables (e.g., Theorem 3.3 of <ref type="bibr">Chung &amp; Lu (2006)</ref>) and using the fact that each of the coefficients is at most 2&#946;, we have that for all s &gt; 0</p><p>Setting s = &#1013;n&#8710; 2 , the RHS simplifies to 2 exp -&#1013; 2 n&#8710; 4(4&#946; 2 +&#1013;&#946;) .</p><p>Next, let us focus on obtaining a large deviation bound for the quadratic term, i. </p><p>Y is a quadratic polynomial in the random variables {A ij } i&lt;j (again, because of symmetry, and because A ii = 0). Thus we will apply the Hanson and Wright inequality (e.g. Theorem 6.2.1 of <ref type="bibr">Vershynin (2018)</ref>) in order to obtain a tail bound. This requires understanding the matrix B that defines the quadratic form Y , and more specifically, bounding its Frobenius and spectral norms, &#8741;B&#8741; F and &#8741;B&#8741; 2 . Writing Y = k i,j&#824; =k A ki A kj &#955; ij , we see that B is an n 2 &#215; n 2 matrix, whose entries are defined by pairs of indices {i, j} and {k, l}. We see that if {i, j} &#8745; {k, l} = &#8709;, the corresponding entry of B is zero. If the intersection is one, i.e., the indices are {i, j} and {i, k}, the corresponding entry of B is &#955; jk + &#955; kj . Finally, for the diagonal terms (corresponding to say {i, j}, {i, j}), the entry is &#955; ii + &#955; jj .</p><p>First, we can bound the Frobenius norm of B directly: using the basic fact that (a + b) 2 &#8804; 2(a 2 + b 2 ) for all a, b, we have</p><p>This is clearly upper bounded by 2n&#8741;&#923;&#8741; 2 F . Bounding the spectral norm turns out to be a bit more tricky. Let us define B &#8242; to be the &#170;asymmetric&#186; version of B, i.e., an n(n -1) &#215; n(n -1) matrix whose rows and columns are indexed by ordered pairs (i, j), i &#824; = j. The diagonal entry in the (i, j)th row is set to be 2&#955; jj . Further, the entry corresponding to the (i, j)th row and (i, k)th column is (&#955; jk + &#955; kj ). The rest of the entries in the matrix are 0. In other words, we can can think of B &#8242; as a matrix with diagonal blocks, where for every i, we have an (n -1) &#215; (n -1) block of &#923; + &#923; T , excluding the ith row and column.</p><p>The key observation is that we can relate the spectral norms &#8741;B&#8741; 2 and &#8741;B &#8242; &#8741; 2 in a simple manner. First, for any vector x &#8712; R ( n 2 ) , consider the vector x &#8242; &#8712; R n(n-1) where x &#8242; (i,j) = x &#8242; (j,i) = x {i,j} . By construction, we have &#8741;x &#8242; &#8741; 2 = 2&#8741;x&#8741; 2 .</p><p>Claim. We have &#8741;Bx&#8741; 2 &#8804; 2&#8741;B &#8242; x &#8242; &#8741; 2 . This is because for any x &#8712; R ( n 2 ) , by definition, the {i, j}th entry of Bx is precisely </p><p>On the other hand, the (i, j)th entry of B &#8242; x &#8242; is k&#824; =i (&#955; jk + &#955; kj )x (i,k) . Thus the expression in equation 16 is exactly the sum of the (i, j)th and (j, i)th entries of B &#8242; x &#8242; . This implies that &#8741;Bx&#8741; 2 &#8804; 2&#8741;B &#8242; x &#8242; &#8741; 2 . Moreover, since &#8741;x &#8242; &#8741; 2 = 2&#8741;x&#8741; 2 , we have</p><p>Thus the spectral norm of B is at most the spectral norm of B &#8242; . The latter is easy to bound, as it is a block diagonal matrix.</p><p>We have</p><p>Since &#8741;&#923;&#8741; 2 F &#8804; n 2 &#946; 2 , we have that</p><p>Equipped with these bounds, we can use the Hanson-Wright inequality (indeed, the stronger form by <ref type="bibr">Rudelson &amp; Vershynin (2013)</ref> which also applies to non-identical random variables). Noting that the sub-Gaussianity constant of a Bernoulli random variable is &#8804; 1, this implies that &#8704; s &gt; 0,</p><p>.</p><p>Setting s = &#1013;n&#8710; 2 2 , this simplifies to 2 exp(-min{ &#1013; 2 &#8710; 4 8n&#946; 2 , &#1013;&#8710; 2 4&#946; }).</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>We can also introduce an additional parameter &#1013; &#8242; and use Theorem 5 to obtain weaker results as long as &#8710; &gt; &#8730; nd, but we skip this for the sake of simplicity of the presentation.</p></note>
		</body>
		</text>
</TEI>
