L γ -PageRank for Semi-Supervised Learning

PageRank for Semi-Supervised Learning has shown to leverage data structures and limited tagged examples to yield meaningful classiﬁcation. Despite successes, classiﬁcation performance can still be improved, particularly in cases of fuzzy graphs or unbalanced labeled data. To address such limitations, a novel approach based on powers of the Laplacian matrix L γ ( γ > 0 ), referred to as L γ -PageRank, is proposed. Its theoretical study shows that it operates on signed graphs, where nodes belonging to one same class are more likely to share positive edges while nodes from diﬀerent classes are more likely to be connected with negative edges. It is shown that by selecting an optimal γ , classiﬁcation performance can be signiﬁcantly enhanced. A procedure for the automated estimation of the optimal γ , from a unique observation of data, is devised and assessed. Experiments on several datasets demonstrate the eﬀectiveness of both L γ -PageRank classiﬁcation and the optimal γ estimation.


Context
Graph-based Semi-Supervised Learning (G-SSL) is a modern important tool for classification.While Unsupervised Learning fully relies on the data structure and Supervised Learning demands extensive labeled examples, G-SSL combines limited tagged examples and the data structure to provide satisfactory results.This makes the field of G-SSL of utmost importance as nowadays large and structured datasets can be readily accessed in comparison to expert data which may be hard to obtain.Examples where G-SSL provide state of the art results are vast, ranging from classification of BitTorrent contents and users [1], text categorization [2], medical diagnosis [3], or zombie hunting under BGP protocol [4].Algorithmically, PageRank constitutes the reference tool in G-SSL.It has spurred a deluge of theory [5,6,7,8], applications [9,10,1,4] and implementations [11,12].Despite successes, the performance of G-SSL can still be improved, particularly for fuzzy graphs or imbalance of labeled datasets, two situations that we aim to address in this work.

Related works
In graphs, a ground truth class is represented by a subset of graph nodes, denoted S gt .Thus, in graphs, the classification challenge corresponds to finding the binary partition of the graph vertices: V = S gt ∪S c gt .If the data is structured, then S gt forms a cluster, i.e., a densely and strongly connected graph region that is weakly connected to the rest of the graph.This is exploited by G-SSL methods that essentially amount to diffuse information placed on the tagged nodes of S gt , through the graph, expecting a concentration of information in S gt that reveals its members.Among the family of G-SSL propositions obeying this rationale [13,14,15], PageRank is considered the state of the art approach in terms of performance, algorithms and theoretical understanding.The PageRank algorithm can be interpreted as random walkers that start from the labeled points and, at each step, diffuse to an adjacent node with probability α or restart to the starting point with probability (1 − α).In the limit (of infinite steps), each node is endowed a score proportional to the number of visits to it.Thus, vertices of S gt are expected to get larger scores as walkers get trapped for a long time by the connected structure of S gt .The capacity of PageRank to confine the random walks within S gt depends on a topological parameter of S gt known as the Cheeger ratio, or conductance, counting the ratio of external and internal connections of S gt .More precisely, it is shown in [11] that the probability of a PageRank random walker leaving S gt is upper bounded by the Cheeger ratio of S gt .In other terms, a small Cheeger ratio designates a strongly disconnected cluster that PageRank can eventually easily detect.Based on the scores, a binary partitioning via a sweep-cut procedure allows to retrieve an estimate Ŝgt .This procedure is granted to obtain an estimate Ŝgt with a small Cheeger ratio if a sharp drop in magnitude appears on the sorted scores, then Ŝgt is potentially a good estimation of the ground truth S gt [12].In [16], an issue affecting G-SSL methods, coined as the 'curse of flatness', was highlighted.Such work proposes to extend PageRank by iterating the random walk Laplacian in the PageRank solution, as a mean to enforce Sobolev regularity to the vertex scores and amend the aforementioned problem.However, with this approach, guarantees that a sweep-cut still leads to a meaningful clustering remains unproven and it can be given neither diffusion nor topological interpretations.Thus, preventing insights on the properties and qualities of partitions it retrieves.This makes it hard to build upon and to address the issues listed above.

Goals, contributions and outline
In this work, we revisit Laplacian powers as a way to improve G-SSL and to address the issues listed above.We propose a generalization of PageRank by using (non necessarily integers) powers of the combinatorial Laplacian matrix L γ (γ > 0).In contradistinction to [16], our approach (i) enables us to have an explicit closed form expression of the underlying optimization problem (see Eq. 7); (ii) permits a diffusion and a topological interpretation.In our approach, we show that, for each γ, a new graph is generated.These new graphs, which we refer to as L γ -graphs, reweight the links of the original structure and create edges, which can be positive or negative, between initially far-distant nodes.This topological change has the potential to improve classification as the signed edges introduce what can be seen as agreements (positive edges) or disagreements (negative edges) between nodes, allowing to revamp clusters as groups of nodes agreeing between them and disagreeing with the rest of the graph.This paper investigates the potential of these L γ -graphs to better delineate a targeted S gt , compared to PageRank.The theoretical analysis of our proposition permits to extend the Cheeger ratio to L γ -graphs and to prove that if there is a L γ −graph in which S gt has a smaller Cheeger ratio, then we can more accurately identify it with our generalized L γ -PageRank procedure using the sweep-cut technique.Then, by means of numerical investigations, we point the existence of an optimal γ value that maximizes performance.Finally, we propose an algorithm that allows to estimate the optimal γ directly from the graph and the labeled points.
The paper is organized as follows: Section 2 sets definitions and recalls classical results on G-SSL.Section 3 presents the main contributions of the paper: Section 3.1 introduces L γ -graphs; Section 3.2 defines L γ -PageRank and its theoretical analysis; Section 3.3 discusses the existence of an optimal γ and its estimation.Section 4 shows the improvements in classification performance permitted by L γ -PageRank on several real world datasets commonly used in classification, as well as the relevance of the estimation procedure for the optimal tuning.

Preliminaries
Let G(V, E, w) denote a weighted undirected graph with no self-loops in which: V refers to the set of vertices of cardinality V = N ; E denotes the set of edges, where a connected pair u A random walk on a graph is a Markov chain where the nodes form the state space.Thus, when a walker is located at a node u at a specific time t, at time step t + 1 the walker moves to a neighbor v with probability P uv , where P = D −1 W .If the graph signal χ represents the distribution for the random walk starting point, then the signal x T = χ T P t denotes the distribution of the walker position at time t.Independently of the starting distribution, if the graph is connected and not bipartite, the random walk converges to a stationary distribution π T = π T P , where Clustering is the search of groups of nodes that are strongly connected between them and weakly connected to the rest of the graph.The Cheeger ratio is a metric that counts the ratio of external and internal connections of a group of nodes, thus assessing its pertinence as a cluster, while penalizing uninteresting solutions that may fit the cluster criteria, like isolated nodes linked by a few edges.It is defined as follows.
Definition 1 For a set of nodes S ⊆ V, the Cheeger ratio, or conductance, of S is defined as: Thus, we define clustering as finding the binary partition of the graph vertices: V = S ∪ S c such that S has low h S .

PageRank-based Semi-Supervised Learning
Let V Sgt ⊆ S gt denote the set of nodes tagged to belong to the ground truth S gt and y be indicator function of V Sgt , i.e. y u = 1 if node u ∈ V Sgt and y u = 0 otherwise.The PageRank G-SSL is defined as the solution to the optimization problem [15]: Optimization problem (2) can be seen as the search of a smooth graph signal in the sense that strongly connected nodes should have similar values (left term), while the labeled data is respected (right term), and a regularization parameter µ tunes the trade off between both terms.Notably, problem (2) is convex with closed form solution given by [15]: We present the PageRank solution in this form as it will simplify derivations in the reminder of the paper, but it is not hard to rewrite (3) to its more popular version: . This latter helps to expose the connection between PageRank and diffusion processes.Namely, it corresponds to the equilibrium state of a random walk that decides either to continue with probability α, or to restart to the starting distribution y with probability (1 − α).As y = ∑ u∈V S gt δ u is the combination of different starting distributions, it is clear that the PageRank score at a particular node is proportional to the probability of finding a walker, at equilibrium, at this node.PageRank diffusion satisfies the following properties [17]: (i ) mass preservation: ∑ u∈V f u = ∑ u∈V y u ; (ii ) stationarity: f = π if y = π; and (iii ) limit behavior: f → π as µ → 0 and f → y as µ → ∞.
In [11], it is shown that the behavior of this type of random walks is tightly related to the cluster structure of graphs.This connection between PageRank and clustering is quantified in the following result.
Lemma 1 [11] Let S ⊂ V be an arbitrary set with vol(S) ≤ vol(G) 2. For a labeled point placed at a node u ∈ S selected with probability proportional to its degree in S, i.e. d u vol(S), the PageRank satisfies This lemma implies that if we apply PageRank diffusion to the labels of S gt and it has a small h Sgt , then the probability of finding a walker outside S gt is small and the nodes with largest PageRank value should index S gt .This is formalized in [11] and [12].The former shows that a proxy Ŝgt that has small h Ŝgt can be found by looking for regions of high concentration of PageRank mass.The latter improves that result, showing that Ŝgt can be found more easily by looking for a sharp drop in the PageRank scores.To state their result, we first introduce the sweep-cut technique.
Definition 2 A sweep-cut is a procedure to retrieve a partition V = Ŝgt ∪ Ŝc gt from the PageRank vector.The procedure is as follows: • Let v 1 , . . ., v N be a rearrangement of the vertices in descending order, so that the permutation vector q satisfies q vi = f vi d vi ≥ q vi+1 = f vi+1 d vi+1 • Let S j = {v 1 , . . ., v j } be the set of vertices indexed by the first j elements of q.
• Let τ (f ) = min j h Sj • Retrieve Ŝgt = S j for the set S j achieving τ (f ) Now, we state the result of [12], showing that if there is a sharp drop in rank at S j , then the set S j has small Cheeger ratio.
Lemma 2 [12] Let h ∈ (0, 1), j be any index in [1, N ] and α ∈ (0, 1] denote the PageRank restarting probability.Let C(S j , S c j ) = ∑ u∈Sj ∑ v∈S c j W uv be the numerator of the Cheeger ratio.Then, S j satisfies one of the following: (a) C(S j , S c j ) < 2hvol(S j ); or (b) there is some index k > j such that vol(S k ) ≥ vol(S j )(1 + h) and q k ≥ q j − α hvol(S j ) In other words, this lemma implies that either S j has a small Cheeger ratio, or there is no sharp drop at q j .

Generalization to multiple classes
PageRank G-SSL can be readily generalized to a multi-class setting in which labeled points of K classes are used to find a partition V = S 1 ∪ S 2 ∪ ⋅ ⋅ ⋅ ∪ S K .Let V S k denote the labeled points of class k and the indicator function of V S k be placed as the k-th column of a matrix Y .Then, the multi-class PageRank is computed in matrix form as [18]: min . This leads a node u to have K associated scores and it is assigned to the cluster k satisfying arg max k F uk .In [18], the following rule explaining the classification is provided: let pr uv denote the probability that a random walk reaches node v before restarting to node u, then v is assigned to the class k that satisfies the inequality This inequality highlights an important issue of the multi-class approach as the sums depend on the cardinality of the sets of labeled points.Thus, cases of unbalanced number of labeled points can potentially bias the classification.3 L γ -PageRank for Semi-Supervised Learning In this work, we propose to change the graph topology in which the problem is solved as a means to improve classification.We evoke such change by considering powers of the Laplacian matrix, noting that the L γ operator, for γ > 0, generates a new graph for every fixed γ value.More precisely, the Laplacian definition indicates that We refer to such graphs as L γ -graphs.
The L γ -graphs reweight the edges of the original structure and creates links between originally far-distant nodes.Indeed, for γ ∈ Z the new edges can be related to paths of different lengths.To have a grasp on this, let us take the topology from γ = 2 as an example: for L 2 = (D − W ) 2 = D 2 + W 2 − (DW + W D), the elements of the emanating graph are given as showing that, in W 2 , nodes originally connected get their link reweighted (still, remaining positive) while those at a 2-hop distance become linked by a negatively weighted edge.This change in the topology has the potential to impact clustering, as the emergence of positive and negative edges opens the door for an interpretation in terms of an agreement (positive edge) or a disagreement (negative edge) between datapoints.Hence, clustering can be revamped to assume that nodes agreeing should belong to the same cluster and nodes disagreeing should belong to different ones.From this perspective, a revisit to the case of γ = 2 shows that this is indeed a potentially good topology since, for several graphs, it is more likely that vertices having a 2-hop distance lie in different clusters than in the same one, thus creating a considerable amount of disagreements between clusters, that may enhance their separability.This idea is illustrated in Figure 1, where for a realization of the planted partition model we show that with γ = 2 a big amount of negative edges appear between clusters.Thus, in the reminder of the paper we investigate if for a target set of nodes S gt , the detection of S gt can be enhanced by solving the clustering problem in some of these new graphs.
Remark 1 The graphs emerging in the regime 0 < γ < 1 have already been studied in [19,20,21], where it is shown that such graphs remain within the class of graphs with only positive edges, hence preserving the random walk framework.In these works, the graphs were shown to embed the so-called Lévy flight, permitting random walkers to perform long-distant jumps in a single step.

The L γ -PageRank method
The signed graphs emerging from L γ preclude the employment of the random walkbased approaches to find clusters, as 'negative transitions' appear.Thus, the L γgraphs call for a technique to find clusters in such graphs.In this subsection, we introduce L γ -PageRank, a generalization of PageRank to finds clusters on the L γgraphs.Further, we analyze the L γ -PageRank theoretical properties and clustering capabilities.
For our analysis, it is useful to first extend some of the graph topological definitions to the L γ -graphs.Let vol γ (S) = ∑ u∈S [D γ ] uu denote the generalized volume of S. Let π γ denote a generalized stationary distribution with entries given by (π Thus, for all γ > 0, the generalized volume and the generalized stationary distribution are non-negative quantities.
The Cheeger ratio metric, lacking the ability to account for the sign of edges, cannot be employed to assess the presence of clusters in the L γ -graphs.Thus, we generalize the Cheeger ratio definition to the new graphs as follows.
Definition 3 For a set of nodes S ⊆ V , the generalized Cheeger ratio, or generalized conductance, of S is defined as This generalization of the Cheeger ratio is mathematically sound.First, it is a non-negative quantity since the set S attaining the minimum value coincides with a sensible clustering.
To show the latter, let the edges in W γ be split according to their sign as The proof is provided in Appendix A.1.
Lemma 3 shows that, for clustering in the L γ -graphs, it is good to search for sets with small generalized Cheeger ratio as those sets have strong between-cluster disagreements and strong within-cluster agreements.Now, we introduce the L γ -PageRank formulation.Departing from the optimization problem in (2), we revamp PageRank to operate on the L γ -topology as follows.
Definition 4 The L γ -PageRank G-SSL is defined as the solution to the optimization problem: The two following Lemmas show that, for any γ > 0, the L γ -PageRank solution exists in closed form and such solution preserves the PageRank properties.
Lemma 4 Let γ > 0.Then, problem ( 7) is convex with closed form solution given by The proof is provided in Appendix A.2.
Remark 2 Eq. ( 8) emphasizes the difference between our approach and the one in [16]: they propose to iterate the operator in the G-SSL solution as f = y, for m ∈ Z >0 , for which the formulation of the optimization problem having this expression as solution remains unknown.

Remark 3
The solution of L γ -PageRank in Eq. ( 8) can be easily cast as a lowpass graph filter, allowing a fast and distributed approximation via Chebyshev polynomials [22].
The proof is provided in Appendix A. 3.
The previous Lemmas are important because they show that our generalization, for any γ > 0, is a well-posed problem.Indeed, the properties of Lemma 5 imply that, while not necessarily modeled by random walkers, L γ -PageRank remains a diffusion process having π γ as stationary state and diffusion rate controlled by the µ parameter.
Our next results shows that it is hard for such diffusion process to escape clusters in the L γ -graphs.
Lemma 6 Let γ > 0 and let S ⊂ V be an arbitrary set with vol γ (S) ≤ vol γ (G) 2. For a labeled point placed at node u ∈ S with probability proportional to its generalized degree in S, i.e.
Lemma 6 admits a similar interpretation as Lemma 1. Namely, if L γ -PageRank is applied to the labeled points of some set S with small h (γ) S , then diffusion is confined to S and the score values outside of S are expected to be small.Thus, by looking at the nodes with largest score values we should be able to retrieve a good estimation of S. If such score concentration phenomenon takes place, then a sharp drop must appear after sorting the L γ -PageRank scores in descending order.We will use the following lemma to show that if a sharp drop is present, then the sweep cut procedure applied on the L γ -PageRank vector retrieves a partition Ŝ that has small h (γ) Ŝ .
Lemma 7 Let q denote the permutation vector and S j denote the set associated to q j obtained by applying the sweep-cut procedure on the L γ -PageRank vector.Then, the partition V = S j ∪ S c j satisfies the inequality: The proof is provided in Appendix A. 5.
We have that ∑ u∈Sj ∑ v∈S c j [W γ ] uv = A out (S j )−D out (S j ) ≥ 0. Thus, the generalized Cheeger ratio of S j is small if A out (S j ) is not much larger than D out (S j ).In the inequality above, we have two cases in which (q j − q j+1 ) (q 1 − q N ) ≈ 1: (a) q is approximately constant; and (b) q has a drop that satisfies q j ≈ q 1 and q j+1 ≈ q N .The former can only occur if f → π γ and clearly no cluster can be retrieved from that vector, as confirmed by the inequality growing unbounded.The latter case is what we coin as having a sharp drop between q j and q j+1 .In such case, the inequality is controlled by the difference y(S j ) − f (S j ) which, due to the mass preserving property and the assumption that q j+1 ≈ q N , should be small.Thus, granting that A out (S j ) is not much larger than D out (S j ) and S j has a small h (γ) Sj .Discussion.The previous results show that L γ -PageRank is a sensible tool to find clusters in the L γ -graphs, i.e. groups of nodes with small generalized Cheeger ratio.Thus, revisiting the classification case in which we target group of nodes S gt , we have that the smaller the value of h (γ) Sgt , the better the L γ -PageRank method can recover it.This observation, in addition to noting that standard PageRank emerges as the particular case of γ = 1, indicate that we should be able to enhance the performance of G-SSL in the detection of S gt by finding the graph, i.e. the γ value, in which h Sgt .

3.3
The selection of γ 3.3.1 Case of γ = 2: analytic study In Section 3.1, it was argued that the topology emerging from L 2 places a negatively weighted link between nodes at a 2-hop distance, thus carrying the potential to place a big amount of disagreements between clusters that may enhance their separability.Our next result formalizes this claim, demonstrating that on graphs from the Planted Partition model it is expected that the L 2 -graph improves the generalized Cheeger ratio.(2) where E h (1) The proof is provided in Appendix A. 6.
Sgt , with equality occurring in the case p in = p out .
The proof is provided in Appendix A. 7.
Theorem 1 and Corollary 1 open the door to investigate, on arbitrary graphs, in which cases the L 2 -graph improves the generalized Cheeger ratio of a set.In the next Proposition, we provide a sufficient condition in which the L 2 -graph improves the generalized Cheeger ratio a set.
Proposition 1 Let ⟨D Sgt ⟩ denote the mean degree of S gt .A sufficient condition on S gt so that h (2) The proof is provided in Appendix A.8.This proposition points in the same direction as Theorem 1, saying that graphs having a cluster structure are bound to benefit from L 2 .Concretely, the first term on the right hand side of the inequality searches, among all the nodes of S gt , the one that has the maximum number of connections towards S c gt .The second term does the reverse for the nodes of S c gt .Hence, asking for the nodes of S gt to have, on average, more connections than the maximum possible boundary implies that S gt should have a cluster structure.

An algorithm for the estimation of the optimal γ
Numerical experiments show that increasing γ can further decrease the generalized Cheeger ratio up to a point where it starts increasing.We show an example of this phenomenon in Figure 2a, displaying the evolution of h (γ) Sgt as a function of γ when S gt corresponds to a digit of the MNIST dataset.From the figure, it is evident that an optimal value appears, denoted γ * = arg min γ h (γ) Sgt , raising the question of how to find such value.Since the behavior of h (γ) Sgt depends on S gt , in practice, the derivative or a greedy search to find γ * cannot be employed since S gt is unknown.A second question that arises is whether the optimal value changes drastically or smoothly with changes in S gt .We perform the following test: for a given S gt (same MNIST digit), we remove some percentage of the nodes in S gt and record the optimal value on subsets of S gt .More precisely, recall that h Sgt , hence we randomly select some percentage of the entries indexing S gt in 1 Sgt , set them to zero and obtain a new indicator function indexing a subset of S gt .Mean results are evaluated in the original curve and displayed in Figure 2b.The figure suggest that it is not necessary to know S gt to find a proxy γ of γ * , it suffices to know a subset of S gt .Based on the last observation, we propose Algorithm 1 for the estimation of γ * .The rationale of the algorithm is to exploit the labeled points and the graph to find a proxy Ŝ of S gt on which we can compute the estimate.The procedure consists in letting walkers started from the label points, run for a number of steps that is determined by the maximum geodesic distance between the labels.This allows walkers to explore S gt without escaping too far from it.After running the walk, we list the nodes in descending order according to the probability of finding a walk at a node.We take the first element on the list (the one where it is more likely to find a walker), add it to Ŝ and remove it from the list, so that the former second element becomes the first in the listing.We repeat the procedure until the probability of finding a walker in the nodes conforming Ŝ is 0.7.
In Table 1, we evaluate the performance of Algorithm 1 on the estimation of γ * for all the digits of the MNIST.The first row displays, as γ * , the value of γ (from the input range) attaining the minimum generalized Cheeger ratio.The second row displays the performance of the algorithm when estimating such value.The last three rows show the value of the generalized Cheeger ratio evaluated at γ * , γ and 4 L γ -PageRank in practice

Planted Partition
Experimental setup and goals.In the following experiment, we show that L γ -PageRank can increase the performance of G-SSL as the graph approaches the Planted Partition detectability transition.More precisely, it is shown in [23] that the Planted Partition possesses a detectability threshold above which unsupervised methods are unable to retrieve a meaningful clustering.Indeed, if the clusters sizes are denoted as S gt = S c gt = n, the mean degree of a node is given as C avg = C in + C out , where C out = (p out )(n) and C in = (p in )(n − 1).It is then possible to recover a cluster that is positively correlated with the true partition, in an unsupervised manner, if (C in − C out ) 2 > 2(C in + C out ), and impossible otherwise.As for G-SSL, the work in [24] showed that such threshold can be overcome when a fraction of labeled points is introduced to the task.Nonetheless, the performance of G-SSL drastically degrades when approaching the detectability transition.
The experimental setup is the following: for a given C out C in , a realization of the Planted Partition is drawn with n = 500 and C avg = 3.Then, 1% of labeled points are sampled at random and the L γ -PageRank method is applied for different values of µ lying on a discrete grid.The clusters are determined via a sweep-cut procedure, and the best performance is retained.The whole procedure is repeated for 10 different realizations of the labeled points.Finally, all the preceding steps are repeated for 100 graph realizations.Performance is assessed in terms of the Matthews Correlation Coefficient (MCC) [25], so that a value of 1 implies perfect agreement with the true partition and 0 a random decision.Results and discussion.Sgt , which, accordingly, enhances the clustering performance.Furthermore, the figure verifies that the smaller the value of h (γ) Sgt (right plot), the better the L γ -PageRank recovers the true partition (left plot).It is important to remark that, for this experiment, while γ = 2 shows good improvements, larger val- S , until it reaches a saturation plateau, designating a region of optimal γ values (γ ≥ 6).

Real world datasets
Experimental setup and goals.In our following experiment, we assesses the performance of L γ -PageRank and Algorithm 1 on real world datasets.
The experimental setup is as follows: graphs are build connecting the K-Nearest Neighbors (KNN) with distances computed via the Gaussian kernel, so that the weight between points x u and x v is given by For each class, 2% of labeled points are randomly selected, L γ -PageRank is applied for a grid of µ values, partitions are retrieved via the sweep-cut, and the best performance, assessed in terms of MCC, is retained.Such procedure is repeated for 100 realization of labeled points, except for the MNIST on which 30 realizations only are employed.In all cases, classes are balanced in size and the graph construction parameters are selected to provide a good distribution of weights as follows: (a) MNIST [26]: Images of handwritten digits (1 to 9).From the entire dataset, 200 images of each digit are selected and used to build the graph with KNN = 10 and σ = 10 4 ; (b) Gender Images [27]: Images of male and female subjects for gender recognition.From the entire dataset, 200 images of each gender are selected and used to build the graph with KNN = 60 and σ = 10 4 .The large value of KNN is to avoid disconnected components; (c) BBC articles [28]: Word frequency attributes from news media articles.From the entire dataset, 200 business and 200 entertainment articles are used to build the graph with KNN = 5 and σ = 50; and (d) Phoneme [29]: Five attributes to discern nasal sounds from oral sounds.From the entire dataset, 200 oral and 200 nasal sounds are used to build the graph with KNN = 10 and σ = 2. Results and discussion.Table 2 shows the performance of L γ -PageRank on the classification of these real world datasets.Clearly, the introduction of γ can significantly improve performance and, in general, the estimation γ performs close to the optimal value γ * .It can be seen that some datasets are more sensitive to γ than others.For instance, in the BBC articles we observe that a small change in γ, going from γ = 1 to γ * = 1.1, increases performance, and going further to γ = 1.3 and γ = 2 significantly worsens the classification.On the other hand, the MNIST dataset is less sensitive to γ, obtaining similar performances with larger variations in γ.It is important to stress that, thus far, we have assumed possession of the proper tuning of the diffusion rate (µ) that attains the best results.However, when working with real data, clusters may have intricate local structures, e.g.sub-clusters, that play an important role in the way information diffuses, and that can make more difficult the finding of the optimal diffusion rate µ.As a result, two clusters may have equal Cheeger ratios but one of them being harder to find if its local structure is complex.Digit 8 poses an example of this phenomenon, where the mean performance for γ is slightly better than that of γ * .This anomaly can be explained as an aftereffect of using a finite grid on µ: for some realization of labeled points, the best performance for γ * falls in a region not covered by the grid.

Unbalanced labeled data
Experimental setup and goals.In our last experiment, we show that L γ -PageRank, adapted to the multi-class setting described in Section 2.3, can improve the performance of G-SSL in the presence of unbalanced labeled data.
The experimental setup is as follows: graphs with two balanced classes (in size) are built using the datasets from the preceding experiments.The parameters of the graphs' construction follow the guidelines provided in Section 4.2.For the Planted Partition, the configuration is n = 200, C avg = 3, C out = 0.1.Then, unbalanced labeled points are drawn at random: 2% from one class and 6% from the other.Lastly, L γ -PageRank, in the multi-class setting, is applied for a grid of µ values and the best performance, assessed by MCC, is recorded.For the planted partition, the procedure is repeated over 15 realizations of the labeled points and for 100 graph realizations.For the other datasets, 100 realizations of labeled points are employed.Results and discussion.Table 3 displays the performance L γ -PageRank in the presence of unbalanced labeled data.It is important to stress that, in this framework, a unique value of γ * is used to retrieve all the clusters at the same time, precluding the notion of an optimal γ as defined in Section 3.3.However, one value of γ seems to perform better, we denote it as γ = Best.The results confirm that the introduction of γ helps to improve the classification in the presence of the unbalanced labeled data.

Conclusion
This work proposed L γ -PageRank, an extension of PageRank based on (non necessary integer) powers of the (combinatorial) Laplacian matrix.Our analysis shows that the added degree of freedom offers more versatility than standard PageRank, providing the potential to address some of the limitations of G-SSL.Precisely, we showed that when clusters are obtained via the sweep-cut procedure, L γ -PageRank can significantly outperform standard PageRank.Further, we showed that the multiclass approach also benefits from our proposition, as performance was enhanced in the presence of unbalanced labeled data.These improvements were possible due to the L γ (γ > 0) operator coding for graphs whose topology can reinforce the separability of clusters.The richness of such graphs comes from the sign of edges, allowing to code for similarities but also to emphasize dissemblance between individuals.Thus, while 2 nodes can only be disconnected on the initial graph, they can 'repulse' themselves in these topologies.Notably, we have shown that there is an optimal graph (related to an optimal γ) on which the classification will lead to a maximal performance.We proposed a simple yet efficient algorithm to estimate the optimal γ and hence determine the best topology for analyzing a given dataset.The procedures proposed in this work open the door for more in-depth study of the L γ -graphs and what determines their optimal topology.They also pave the way towards the extension of other standard clustering tools, such as Unsupervised Learning via Spectral Clustering, to exploit these richer topologies.
computing the derivative of the functional with respect to f and equaling to 0 leads to: L γ D −1 γ f + µ(f − y) = 0.The lemma is proved after isolating f .

A.3 Proof of Lemma 5
Proof From the demonstration of Lemma (4) we have that proving (i ).We prove property (iii ) using the same expression.We only develop the case µ 0 since the case µ → ∞ follows the same steps: taking lim . Lastly, we prove (ii ) by noting that the operator which is positive semi-definite.Thus, we can use the inverse Laplace transform of the resolvent

A.4 Proof of Lemma 6
Proof Let y = D γ 1 S vol γ (S).Using (8) we can see that showing that 1 T S c f can be interpreted as E [f (S c )] when labels are selected with probability proportional to their generalized degree in S. Using the fact that we express The upper bound is thus obtained by substituting y and summing over S.
Employing property (i ) from Lemma 5 finishes the proof.
The case of E[h S .Thus p out (p in + p out ) ≥ 2(p out (p in + p out )) 2 , which can be further simplified to 1 ≥ 2p out (2p out + ).We observe that such expression holds for ≥ 0 and equality occurs when = 0.

A.8 Proof of Proposition 1
Proof We search a condition on S that permits W uw + max where we have used Lehmer's and Holder's inequalities and that 1 the degree of u and D = diag(d 1 , . . ., d N ) be the diagonal matrix of degrees.Let ∆ uv denote the geodesic distance between u and v.Given a set of nodes S ⊆ V, we denote by 1 S the indicator function of such set, meaning that (1 S ) u = 1 if u ∈ S and (1 S ) u = 0 otherwise.The volume of S is defined to be vol(S) = ∑ u∈S d u .We refer to the volume of the entire graph by vol(G).Let f ∶ V → R be a signal lying on the graph vertices.Graph signals are represented as column vectors, where f u refers to the signal value at node u.The sum of signal values in the set S is denoted by f (S) = ∑ u∈S f u .We denote by L = D − W the combinatorial graph Laplacian which, by construction, is a real symmetric matrix with eigendecomposition of the form L = QΛQ T .The positivity of the Dirichlet form

Figure 1
Figure1Exemplification of the topology emerging from L 2 on a realization of the Planted Partition with 100 nodes and parameters p in = 0.5 and pout = 0.05.The positive edges coincide with the original structure but are reweighted.The negative ones appear between nodes that are initially at a 2-hop distance.It can be seen that a considerable amount of negative edges appear between clusters, bringing the potential to boost their detection.
be the sum of agreements within S, A out (S) = ∑ u∈S ∑ v∈S c W + γ uv the agreements between S and S c , D in (S) = ∑ u∈S ∑ w∈S W − γ uw the disagreements within S, and D out (S) = ∑ u∈S ∑ v∈S c W − γ uv the disagreements between S and S c .Then we state the following lemma.Lemma 3 Let S * = arg min S h (γ) S .Then, S * also maximizes D out (S * ) and A in (S * ).

Theorem 1
Consider a Planted Partition model of parameters (p in , p out ) and cluster sizes S gt = S c gt = n.Then, as n → ∞ we have that E h

Figure 2 Algorithm 1
Figure 2 Generalized Cheeger ratio of Sgt as a function of γ.For the plot, Sgt is a digit of the MNIST dataset.

Figure 3
displays the performance of L γ -PageRank at recovering the Planted Partition as a function of the ratio C out C in .Standard PageRank (γ = 1) performs poorly as the configuration approaches the phase transition (referred by the vertical line) since h (1) S becomes large.Clearly, the introduction of γ allows to decrease h (γ)

Figure 3
Figure 3 Improved detection of the Planted Partition.

A. 6 (− 1 )(− 1 ) i E 1 TS=
Proof of Theorem 1Proof Let n = S .For u, v ∈ S and w ∈ S c the Planted Partition satisfies ∑ v W uv ∼ B(n − 1, p in ) and ∑ w W uw ∼ B(n, p out ).The key step in the proof is to show that, in the limit n → ∞, E h (S)] , and the same for h(2) S .By application of the Chebyshev inequality we have thatP r (d u − E [d u ] ≥ E [d u ]) ≤ var(d u ) var(d u ) + E [d u ] 2 = O(n −1 ).(18)Thus, in the limit of n → ∞ we can establish the inequality d u < 2E [d u ] and further that vol(S) < 2E [vol(S)].This latter allows to expressE h i E[1 T S L1 S ]⟪ i vol(S)⟫ + ⟪1 T S L1 S , i vol(S)⟫ E [vol(S)] L1 S (vol(S) − E[vol(S)]) i E[vol(S)] i+1 E [vol(S)] + ∞ i=1 (−1) i c i(19)where ⟪a,i b⟫ = E (a − E[a])(b − E[b]) i .The fact that vol(S) < 2E [vol(S)] and the monotonicity of the expected value imply that the sequence ∑ i c i decreases monotonically.Also, it can be shown that its dominant term: c 1 = O(n −2 ).Replacing the expectations and evaluating the limit leads to lim n→∞ p in + p out .

( 2 )Proof
S ] follows a similar derivation.Since[D 2 ] uu = d 2 u + d u , the Jensen inequality implies that [D 2 ] uu < 2E [[D 2 ] uu ] and consequently that vol 2 (S) < 2E [vol 2 (S)].Thus, we cast E h variable O u = ∑ w∈S c W uw .Then we have that 1 T S L 2 1 S = 2 ∑ u∈S (O u ) 2 .This fact, in addition to vol 2 (S) = ∑ u∈S d 2 u + d u , allow to show that the sequence ∑ i c (2) i is monotonically decreasing with c (2) 1 = O(n −1 ).Replacing the expectations and evaluating the limit leads to lim n→∞ Let p in = p out + and assume that h

Table 1
Evaluation of Algorithm 1 on the MNIST Dataset.Mean values (95% confidence interval) are shown.The graph construction guidelines are provided in Section 4.2.For the experiment, 500 realizations of labeled points and a grid of γ ranging from 1 to 7 with a resolution of 0.2 were used.
γ = 1, respectively.The estimator finds values of γ whose Cheeger ratios are: (a) significantly smaller than those of γ = 1; (b) close to the optimal.

Table 2
Performance on real world datasets: each cell reports MCC, 95% confidence interval (parenthesis) and the value of γ [squared brackets].

Table 3
Performance on unbalanced labaled data: each cell reports MCC, 95% confidence interval (parenthesis) and the value of γ [squared brackets].
T S L 2 1 S = ∑ u∈S (∑ w∈S c W uw ) 2 + ∑ ∈S c (∑ v∈S W v ) 2 .Thus, it is sufficient that S satisfies