A Nearly-Linear Time Algorithm for Minimizing Risk of Conflict in Social Networks

Liwang Zhu, Zhongzhi Zhang

Introduction

Social media platforms have increasingly become breeding grounds for "echo chambers," where polarized opinions flourish rather than converging toward consensus. Mitigating this polarization is a critical challenge for social stability and healthy public discourse. Researchers often model opinion dynamics using the Friedkin-Johnsen (FJ) model, which quantifies the "risk of conflict" through two primary metrics: controversy (the variance of expressed opinions) and resistance (the tension between a user's internal beliefs and the opinions of their social circle).

While the goal is to minimize these metrics by strategically influencing a small subset of $k$ individuals, the computational cost has historically been prohibitive. Standard optimization techniques require inverting large matrices, leading to $O(n^3)$ complexity. This paper presents Greedy-AC, a nearly-linear time algorithm capable of scaling to networks with millions of nodes.

Theoretical Framework

The authors demonstrate that the objective functions for both controversy and resistance are monotone and supermodular. This property is significant because it ensures that a greedy selection strategy—iteratively choosing the node that provides the maximum marginal gain—will produce a solution within a guaranteed factor of the global optimum.

To overcome the $O(n^3)$ bottleneck of exact greedy selection, the authors introduce two key innovations:

  1. Johnson-Lindenstrauss (JL) Projections: By projecting high-dimensional opinion vectors into a lower-dimensional space, the algorithm can estimate marginal gains using simple $\ell_2$ norm calculations without significant loss of accuracy.
  2. Fast SDD Solvers: The algorithm utilizes nearly-linear time solvers for Symmetric Diagonally Dominant (SDD) matrices to approximate the equilibrium state of the FJ model.

The resulting complexity, $\tilde{O}(mk\epsilon^{-2})$, represents a massive improvement over previous state-of-the-art methods like BOMP, which fail to scale beyond a few thousand nodes.

Experimental Evaluation

The Greedy-AC algorithm was evaluated against 18 real-world datasets, ranging from the small Karate club network (34 nodes) to the massive Flixster network (2.5 million nodes).

Performance and Accuracy

Experiments show that Greedy-AC consistently outperforms common heuristics such as PageRank-based or random node selection. Crucially, the approximation error introduced by the JL projections and SDD solvers is negligible, typically under 1%.

Figure 2: Controversy reduction on the Karate and ClintonTrump datasets. Greedy-AC matches the performance of the exact BOMP algorithm while offering significantly better scalability.

As shown in Figure 2, Greedy-AC (and its exact counterpart BOMP) significantly reduces controversy as the budget $k$ increases, far outperforming baseline heuristics. Similar trends are observed for the resistance metric.

Figure 1: Resistance reduction on the Karate and ClintonTrump datasets. The performance of Greedy-AC is nearly identical to the exact Greedy method, demonstrating the high fidelity of the approximation.

Scalability

The most striking result is the algorithm's scalability. While previous methods like BOMP were limited by memory and time on medium-sized networks (e.g., failing at 24,000 nodes), Greedy-AC processed the 2.5-million-node Flixster network in approximately 36 minutes. This represents a 20x speedup over previous state-of-the-art methods on medium-scale data.

Conclusion

By unifying controversy and resistance into a single optimization framework and leveraging modern randomized algorithms, this work provides a practical path toward managing conflict in massive social networks. Future research may focus on inferring hidden internal opinions and exploring more nuanced intervention strategies beyond neutralizing opinions.

Summary updated

BibTeX
@inproceedings{zhu2022nearly,
  author = {Liwang Zhu and Zhongzhi Zhang},
  title = {{A Nearly-Linear Time Algorithm for Minimizing Risk of Conflict in Social Networks}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
}
Figure