Fast Algorithms for the Label Propagation Operator on Signed Graphs
Yubo Sun, Zhongzhi Zhang
NeurIPS 2026
TL;DR. We propose two fast approximation algorithms to estimate the Label Propagation Operator on signed graphs.
Abstract. Diverse applications on signed networks, ranging from leader-follower opinion dynamics to graph semi-supervised learning, fundamentally reduce to solving the discrete Dirichlet boundary value problem. The computational bottleneck of this problem lies in evaluating the entries of the label propagation operator. While existing approximation methods based on absorbing random walks attempt to address this complexity, they often suffer from high variance and limited precision. To overcome these limitations, we propose MultiTreeQ, a novel and efficient framework designed to approximate the operator's entries with high accuracy. Specifically, MultiTreeQ is constructed based on the Signed Multi-Rooted Spanning Tree and leverages Rao-Blackwellized variance reduction to significantly improve estimation precision. Extensive experiments on real-world networks confirm that MultiTreeQ substantially outperforms existing baselines, scaling to massive graphs with up to 10 million nodes while delivering remarkable improvements in computational efficiency and precision. Our code is available at https://github.com/SunYubo23/label-propagation-operator.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a fast method for approximating the label propagation operator on signed graphs using signed multi-rooted spanning tree sampling and Rao-Blackwellization. Experiments on several large graphs show better accuracy and efficiency than random-walk-based methods. The problem is clear, and the SMRST representation, variance reduction, theory, ablations, and large-scale evaluation are strong. The main limitations are the lack of downstream evaluation, limited comparison with numerical linear algebra methods, and insufficient analysis for large labeled sets. These concerns could be addressed through downstream experiments, clearer positioning against iterative solvers and selected inversion, and additional cost analysis. Randomly signed datasets should also be identified clearly as scalability tests.
Read meta-review
Meta-review
This paper proposes a fast method for approximating the label propagation operator on signed graphs using signed multi-rooted spanning tree sampling and Rao-Blackwellization. Experiments on several large graphs show better accuracy and efficiency than random-walk-based methods. The problem is clear, and the SMRST representation, variance reduction, theory, ablations, and large-scale evaluation are strong. The main limitations are the lack of downstream evaluation, limited comparison with numerical linear algebra methods, and insufficient analysis for large labeled sets. These concerns could be addressed through downstream experiments, clearer positioning against iterative solvers and selected inversion, and additional cost analysis. Randomly signed datasets should also be identified clearly as scalability tests.
1 comment
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies efficient estimation of the label propagation operator on signed graphs, which arises in semi-supervised learning and opinion dynamics. It proposes MultiTreeQ, a sampling-based method using signed multi-rooted spanning trees and variance reduction, and evaluates it against random-walk-based baselines in terms of accuracy, runtime, and scalability.
Strengths and weaknesses
The paper studies an important computational problem in signed graph learning. The proposed method is technically interesting and the paper provides both theoretical analysis and empirical evaluation. The experimental results show that the proposed method can achieve better approximation accuracy than random-walk-based baselines while scaling to large graphs.
However, I think the motivation of the paper could be clearer. The introduction explains that the label propagation operator is related to graph semi-supervised learning and opinion dynamics, but the discussion is still quite abstract. Since the proposed method is technically complex, it would help readers if the authors added a concrete application example in the introduction. For example, the paper could explain how estimating this operator is useful in trust/distrust networks, signed social networks, opinion prediction, or repeated label-propagation queries. This would make the practical significance of the problem easier to understand.
Questions
Please check the Strengths And Weaknesses section.
Limitations
Yes.
Formatting concerns
No major issues noticed.
2 comments
Rebuttal
Response to Reviewer 4mUy
Thank you for your time and help. Below is our response to your comments.
[Q1] Concrete motivation and downstream application.
We will clarify the interpretation of through the leader-follower DeGroot model on signed networks. In this setting, nodes represent users, signed edges represent trust or distrust, and a small set of stubborn leaders hold fixed opinions . The followers' equilibrium opinions are , where quantifies the signed influence of leader on follower . Estimating therefore supports opinion prediction, leader-specific influence analysis, and repeated evaluations under different leader opinions. We further provide the following concrete downstream application.
On TwitterSG, we randomly select 1% of the nodes as fixed leaders and divide them equally into positive () and negative () opinion groups. Given , we select negative leaders and switch their opinions from to by solving , where is the number of followers with positive equilibrium opinions. Exact enumeration requires evaluating subsets and is computationally infeasible. Following the greedy strategy for NP-hard leader-selection problems [49], we initialize and repeatedly select the remaining negative leader with the largest marginal gain until leaders have been selected. Both methods use the same greedy procedure. Since signed influences make potentially non-monotone, greedy is used as a scalable heuristic without claiming global optimality.
| Method | Gain | Runtime |
|---|---|---|
| CG | 46880 | 1183 s |
| MTQ | 46502 | 463 s |
With a 1% leader ratio, TwitterSG contains approximately 7,539 leaders and 3,770 negative-leader candidates. CG must solve thousands of right-hand sides to obtain their candidate-specific influence columns. In contrast, MTQ constructs a reusable approximation through shared forest samples, after which all marginal-gain evaluations reuse the same operator. We will expand the introduction accordingly to provide a clearer and more concrete motivation for estimating .
Thank you again for your helpful suggestions and valuable insights.
Thank you for the detailed response. The concrete TwitterSG example addresses my concern and clarifies the practical motivation well. Please incorporate this discussion into the revised paper. Best of luck with the revision!
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies fast algorithms for computing entries of the label propagation operator on signed graphs. The operator is Q = -L^{-1}{U,U} L{U,L}, which appears in graph semi-supervised learning and leader-follower opinion dynamics. Direct computation requires matrix inversion and is expensive for large graphs. The paper proposes MultiTreeQ, based on signed multi-rooted spanning trees and Rao-Blackwellized variance reduction, to estimate entries of Q more accurately than signed random walk baselines.
Signed graphs are relevant for social networks, trust/distrust networks, and opinion dynamics. Computing label propagation on signed graphs is also a meaningful algorithmic problem. I think this paper has a real technical contribution: the signed multi-rooted spanning tree interpretation and the variance-reduced estimator are not just a random mixture of methods.
The experiments are also stronger than some of the other papers. The authors evaluate on several real signed graphs and modified signed graphs, including BitcoinAlpha, BitcoinOTC, WikiRfa, Slashdot, Epinions, TwitterSG, Youtube, USPatents, Dblp, and Livejournal. The larger datasets go up to millions of nodes and more than 100M edges. This is a strength of the paper.
However, I have some concerns. First, several of the large datasets are originally unsigned and are converted into signed graphs by randomly assigning negative signs with probability 0.15. This is useful for scalability testing, but it is not the same as real signed-network structure. The paper should separate claims about scalability from claims about signed-graph modeling quality.
Second, the main evaluation is mean absolute error or runtime for approximating Q. This is fine for an algorithmic paper, but the paper motivates the method using opinion dynamics and graph semi-supervised learning. It would be helpful to show at least one downstream task: label prediction accuracy, opinion estimation, leader influence estimation, or robustness under different labeled-node choices. Otherwise it is hard to know how much the improvement in operator estimation matters in actual applications.
Third, the paper compares mainly to signed random walk baselines and their variants. That is likely the most direct baseline, but the paper should better explain why other numerical methods or Laplacian/linear-system solvers are unsuitable in this signed setting, and whether approximate iterative solvers, preconditioners, or sketching methods could be competitive for the final task even if they do not explicitly output all entries of Q.
The method also depends on the labeled set and boundary aggregation. The paper mentions that the Rao-Blackwellized aggregation can become expensive when the labeled set is large. This limitation deserves more analysis because in semi-supervised learning the number of classes/labeled nodes can vary a lot.
The related work is mostly present, but the positioning is still incomplete. The paper already cites GRF/SSL, signed GCNs, signed opinion dynamics, and spanning-forest/PPR sampling. The missing discussion is more about numerical alternatives: when should one approximate explicit entries of Q using MultiTreeQ rather than solve the corresponding signed Laplacian linear systems with iterative solvers, preconditioners, or selected-inverse methods? This distinction is important because the paper’s main claim is algorithmic efficiency, not just signed-graph modeling.
Additional references:
- Semi-Supervised Learning Using Gaussian Fields and Harmonic Functions. 2003
- Loss Aversion in Recommender Systems. 2018
- SelInv: An Algorithm for Selected Inversion of a Sparse Symmetric Matrix. 2011
- On Computing Certain Elements of the Inverse of a Sparse Matrix. 1975
Strengths and weaknesses
See above
Questions
See above
Limitations
See above
Formatting concerns
None
3 comments
Rebuttal
Response to Reviewer buZM
Thank you for your time and help. Below is our response to your comments.
[Q1] Dataset clarification.
Since TwitterSG is the largest signed graph available to us, we use the larger modified datasets only for efficiency and scalability evaluation. The datasets marked with * retain the scale, sparsity, and degree distributions of real graphs, while their edge signs are generated with a negative probability of 0.15. This setting follows the negative-edge ratio observed in the benchmark dataset Epinions. We will clarify this distinction in the dataset description.
[Q2] Downstream task.
Computing the propagation operator enables opinion-related optimization tasks, such as leader selection for opinion maximization [49]. We therefore add a downstream experiment on TwitterSG. We randomly select 1% of the nodes as fixed leaders and divide them equally into positive () and negative () opinion groups. Given , we select negative leaders and switch their opinions from to by solving , where is the number of followers with positive equilibrium opinions.
Exact enumeration requires evaluating subsets and is computationally infeasible. Following the greedy strategy for NP-hard leader-selection problems [49], we initialize and repeatedly select the remaining negative leader with the largest marginal gain until leaders are selected. Both methods use exactly the same greedy procedure. Since signed influence makes potentially non-monotone, greedy is used as a scalable heuristic without claiming global optimality.
| Method | Gain | Runtime |
|---|---|---|
| CG | 46880 | 1183 s |
| MTQ | 46502 | 463 s |
With a 1% leader ratio, TwitterSG contains approximately 7,539 leaders and 3,770 negative-leader candidates. CG must solve thousands of right-hand sides to obtain their candidate-specific influence columns. In contrast, MTQ constructs a reusable approximation through shared forest samples, after which all marginal-gain evaluations reuse the same operator.
[Q3] Applicability of MTQ.
CG/PCG can solve when the grounded signed Laplacian is positive definite and the Dirichlet problem is well posed. These methods are generally more suitable when only one or a few right-hand sides are required. In contrast, MTQ targets a reusable approximation of explicit operator entries: once is constructed, it can support many queries, comparisons of multiple leaders' influence, and repeated evaluations with different on a fixed graph and leader set.
[Q4] More detailed theoretical analysis of Rao--Blackwellized (RB) aggregation.
We provide a more detailed complexity analysis of the RB procedure. The computational cost of MTQ consists of two parts: structural sampling and RB aggregation. The expected structural sampling cost is characterized in Theorem 4.7 by , which depends on both the proportion and the distribution of labeled nodes. The aggregation cost is governed by the same factors through the structure of the sampled components and their boundaries.
For a sampled SMRST , removing all edges incident to labeled nodes decomposes the unlabeled nodes into a collection of internal components . For each component , let be the set of distinct labeled nodes adjacent, in the original graph, to at least one node in , and define . The RB procedure marginalizes over the sampled terminal edge. Consequently, for every node , it updates all output columns corresponding to labels . Therefore, component induces exactly candidate update-loop iterations. Components containing negative cycles contribute no update, for which we set . We define . Thus, is exactly the total number of candidate RB update-loop iterations in sample , while measures the expected number of label-output columns updated per unlabeled node.
We next characterize how the boundary size depends on the labeled-node ratio. Let denote the proportion of labeled nodes. Suppose that the labeled nodes are selected uniformly without replacement. For any edge, the probability that its two endpoints fall into different partitions is . Let denote the set of boundary edges crossing between and . It follows that . Furthermore, we can derive a deterministic upper bound for . Let be the number of boundary edges incident to component , and let . Since each distinct adjacent label must be connected to through at least one boundary edge, we have . Therefore, . Therefore, if the component geometry were held fixed, the RB expansion cost would grow approximately linearly with . In the actual algorithm, however, the component geometry also changes with the labeled set. Increasing generally shortens absorption paths and reduces the sizes of unlabeled components. Moreover, multiple boundary edges may connect a component to the same labeled node and therefore correspond to only one output column. As a result, need not increase linearly with and may instead grow sublinearly or eventually saturate.
Let . The expected running time for MTQ samples can then be expressed as . Here, accounts for preprocessing, characterizes the expected structural sampling cost, accounts for traversing and organizing the sampled unlabeled components, is the expected RB expansion cost, and accounts for processing the boundary information.
This analysis shows that the dependence on the labeled set is governed by two competing effects. Increasing the number of labeled nodes typically decreases by making random walks reach the boundary more quickly, but it may increase the boundary-processing and RB-expansion costs through and . Although it is difficult to derive an exact time complexity, the effect of varying on the RB aggregation cost is approximately linear.
To more clearly illustrate the effect of each quantity, we additionally report an experiment on BitcoinAlpha. Specifically, we generated one uniform random node permutation and used its prefixes as nested uniform label sets, and report five representative ratios {1%,10%,30%,50%,70%}. For each , we ran 1,000 shared SMRST samples for MTQ and its no-RB ablation using one Julia thread. We also numerically estimated . The observed closely matches its uniform-label expectation and peaks near , as predicted by . As increased from 1% to 70%, decreased from 4163.93 to 1162.08 and the forest steps decreased from 4124.22 to 1162.59. Mean first increased to 71.65 at and then decreased to 16.86 at , confirming that component fragmentation eventually dominates boundary growth. Here, speedup is the ratio between the time required by MTQ w/o RB and that required by MTQ to reach the same target error. The speedup is non-monotone: it decreases to 2.31x at and then recovers to 4.05x at as the absorbing set grows.
| Forest steps | Mean | RB updates | MTQ w/o RB time | MTQ time | Speedup | ||||
|---|---|---|---|---|---|---|---|---|---|
| 1% | 507 | 481.1 | 4163.93 | 4124.22 | 20.901 | 78,274.0 | 0.473s | 0.770s | 24.01x |
| 10% | 4,365 | 4,351.6 | 3692.47 | 3687.34 | 71.648 | 243,960.3 | 0.803s | 5.990s | 2.31x |
| 30% | 10,158 | 10,161.3 | 2810.76 | 2810.91 | 34.557 | 91,507.5 | 0.643s | 3.710s | 2.64x |
| 50% | 12,209 | 12,096.2 | 1970.21 | 1970.32 | 22.143 | 41,872.9 | 0.482s | 2.403s | 3.73x |
| 70% | 10,219 | 10,161.3 | 1162.08 | 1162.59 | 16.860 | 19,135.7 | 0.217s | 1.101s | 4.05x |
[Q5] Positioning against numerical alternatives in related work.
Iterative solvers are suitable for computing with one or a few right-hand sides, whereas MultiTreeQ targets many explicit entries or repeated queries with different . Each represents the signed influence of label/leader on node , supporting influence analysis and leader selection. We will add the suggested numerical-method references and clarify these complementary use cases in related work.
Thank you again for your helpful suggestions and valuable insights.
Thank you for the response. Please incorporate the suggestions, discussions, and related work into the revised version. My questions have been answered, and best wishes with the revision!
I already have a positive score assigned for the paper, and the revision will further improve the quality of the submission.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes an efficient algorithm for computing the label propagation operator Q on signed graphs, motivated by applications in graph semi-supervised learning and leader-follower opinion dynamics. As direct matrix inversion is computationally infeasible at scale, and standard Laplacian solvers and implicit solving do not apply to signed graphs, the paper introduces the Signed Multi-Rooted Spanning Tree (SMRST), a spanning forest sampling framework where forests are sampled and reweighted by the number of negative cycles they contain to correct for sampling bias, and proves that entries of Q can be expressed as ratios of weighted SMRST sums. Building on this, the authors propose MultiTreeQ, which samples random spanning forests and uses importance sampling to correct for sampling bias introduced by negative cycles, combined with Rao-Blackwellized variance reduction to improve estimation accuracy per sample.
Strengths and weaknesses
Strengths
- The presentation is clear and the paper is well-motivated.
- Experimental evaluation is thorough, covering accuracy, scalability, and hyperparameter sensitivity across twelve real-world datasets.
- The Rao-Blackwellization ablation (MTQ vs MTQ w/o-RB) cleanly isolates and validates the variance reduction contribution.
- Code is provided and datasets are all publicly available.
Weaknesses
- The heuristic setting of makes sense, however it could be better if there is more theoretical or empirical grounding.
- The extension to signed graphs is nontrivial but incremental relative to the existing spanning forest sampling literature it builds upon.
Questions
- Could the the authors provide empirical estimates of the across experimental datasets to validate the setting?
- It could also be useful to develop an adaptive stopping criteria rather one that was predecided. For example it could be based on empirical variance.
Limitations
Yes
Final justification
Because the reviewers have addressed the core concerns including the / heuristic and accepted the suggestion for an adaptive stopping approach, I believe that my rating should be updated from 4 to 5 and I have updated accordingly.
Formatting concerns
No such concerns
2 comments
Rebuttal
Response to Reviewer CQSn
Thank you for your time and help. Below is our response to your comments.
[Q1] Empirical grounding of the practical setting.
Our initial motivation for setting was that this ratio equals 1 on structurally balanced graphs, where no negative cycle exists and hence for every sample. Since real-world signed graphs generally contain relatively small proportions of negative edges, we heuristically used 2 to account for deviations from the balanced case.
To examine this choice empirically, we sampled 2,000 SMRSTs with 1% labeled nodes on the BitcoinAlpha and BitcoinOTC datasets. We computed and .
| Dataset | Negative-edge ratio | Maximum | |||
|---|---|---|---|---|---|
| BitcoinAlpha | 6.35% | 6 | 64 | 6.03 | 10.613 |
| BitcoinOTC | 10.01% | 9 | 512 | 26.34 | 19.438 |
We will therefore clarify that the value 2 was only a practical heuristic and not an empirical estimate of the theoretical ratio. The graph-dependent remains in Theorem 4.4 to provide the formal fixed-budget guarantee. In practical experiments, where this worst-case ratio is difficult to compute and sensitive to rare samples, we will instead use an empirical Bernstein-based adaptive stopping criterion determined by the observed variance.
[Q2] Adaptive stopping criterion.
As discussed in Appendix E.1, a fixed sampling budget can be unnecessarily conservative because the sampling variance varies across graphs. We will therefore add a batchwise adaptive stopping criterion. After an initial burn-in, we estimate the empirical variances of the numerator and denominator and construct empirical Bernstein confidence intervals for their expectations. Since , these intervals are propagated to a confidence interval for each requested . Sampling stops when the maximum confidence-interval half-width over the requested entries falls below the target error . This provides a data-dependent sampling budget based on the observed variance, while the -based result in Theorem 4.4 remains the formal worst-case fixed-budget guarantee.
Thank you again for your helpful suggestions and valuable insights.
Dear authors,
Thank you for your reply! Your rebuttal has addressed the heuristics regarding / and what the empirical number should be; in addition, you have also proposed an adaptive stopping criterion. Given these improvements, I am willing to update the rating from 4 to 5.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We sincerely thank the Area Chair and reviewers for their time, feedback, and constructive suggestions. We have addressed each concern in detail in our responses to the corresponding reviewers and will revise the manuscript accordingly. Our main clarifications are summarized below:
Downstream evaluation. As suggested by Reviewers buZM and 4mUy, we added a leader-selection experiment on TwitterSG. MultiTreeQ achieves a gain comparable to CG (46,502 vs. 46,880) while reducing runtime from 1,183 s to 463 s. We will include this experiment and provide a clearer application-based motivation in the introduction.
Comparison with numerical methods. Iterative solvers are suitable for one or a few right-hand sides, whereas MultiTreeQ targets reusable approximations of many explicit operator entries and repeated queries. We will clarify these complementary use cases and add the suggested references on iterative solvers.
Large labeled sets. We provided a more detailed analysis showing that the Rao-Blackwellized aggregation cost depends on both component sizes and their labeled boundaries. We also added experiments with labeled-node ratios from 1% to 70%, showing that the aggregation cost is non-monotone and that MultiTreeQ consistently outperforms its non-RB variant.
Randomly signed datasets. The modified unsigned datasets are used only for scalability evaluation, rather than for assessing signed-network modeling quality. We will clearly distinguish these datasets from real signed graphs and qualify the corresponding claims.
Sampling budget. Following Reviewer CQSn's suggestion, we reported empirical values of α/β on representative datasets and clarified that the original setting is a practical heuristic rather than an estimate of the worst-case theoretical ratio. Meanwhile, we will add an empirical Bernstein-based adaptive stopping criterion based on the observed sampling variance, while retaining Theorem 4.4 as the formal fixed-budget guarantee.
We hope these clarifications, additional analyses, and the new downstream experiment address the AC's concerns. We appreciate the thoughtful feedback, which will help us improve the manuscript.