Effective and Efficient Core Decomposition in Signed Networks

Junghoon Kim, Sungsu Lim, Jungeun Kim · DOI

Abstract

In social network analysis, identifying cohesive groups is fundamental. While traditional models like the $k$-core focus on positive ties, real-world networks often feature "signed" edges representing both friendship and enmity. This paper introduces the $(p, n)$-core, a novel model that balances these opposing forces. We demonstrate that finding the maximal $(p, n)$-core is NP-hard and propose three algorithms—FBA, DFBA, and FCA—to solve this problem effectively and efficiently at scale.

The Problem: Conflict in Cohesive Subgraphs

Traditional cohesive subgraph models, such as the $k$-core, assume that every member of a group has at least $k$ neighbors within that group. However, real-world social networks are rarely purely positive. They contain "signed" edges: trust and friendship (positive) alongside distrust and enmity (negative).

Existing variations often overlook these negative edges or treat them as external factors. This leads to a significant gap: a subgraph might meet a $k$-core requirement but remain internally unstable due to high conflict. The primary challenge in signed networks is that removing a "bad apple" to satisfy a negative edge constraint can trigger a "cascading removal." When one node is removed, its neighbors may no longer meet the positive edge requirement $p$, forcing their removal as well. The authors prove that finding the largest possible subgraph satisfying both constraints is an NP-hard problem.

The $(p, n)$-core Model and Methods

The authors propose the $(p, n)$-core model, defined as a maximal subgraph where every node has at least $p$ internal positive edges and fewer than $n$ internal negative edges. To address the computational complexity, three algorithmic strategies were developed:

  1. Follower-Based Algorithm (FBA): An exact approach that identifies "followers"—nodes forced out if a specific node is removed. It iteratively removes nodes with the smallest follower sets to preserve the largest core.
  2. Disgruntled Follower-Based Algorithm (DFBA): An optimization of FBA using a "disgruntlement" metric to prioritize node removal. It employs pruning techniques like CCTrees and VD-nodes to avoid expensive exact calculations.
  3. Fast-Circle Algorithm (FCA): A high-speed approximation for massive graphs. It utilizes HyperANF to estimate follower counts based on neighborhood density, providing significant speedups on large datasets.
Illustration of the follower cascade and node removal sets used to identify the optimal (p, n)-core.

Key Insights and Complexity

The most critical insight is the "Follower Cascade." In signed networks, node removal is not isolated; it creates a chain reaction. This structural dependency is what makes the problem NP-hard, unlike the standard $k$-core which can be found in linear time.

Mapping the k-core problem to the (p, n)-core problem to demonstrate NP-hardness.

Furthermore, the authors identified a strong correlation between a node's degree and its follower set size. This "structural correlation" allows the FCA algorithm to use neighborhood estimation as a proxy for exact computation, enabling analysis of networks with millions of edges.

Evaluation and Results

The algorithms were tested on real-world signed networks (Bitcoin Alpha, Epinions, Wikipedia) and large-scale synthetic datasets.

  • Effectiveness: DFBA consistently identified the largest maximal subgraphs, proving the value of its pruning and disgruntlement metrics.
  • Efficiency and Scalability: FCA emerged as the winner for scale, operating over 60 times faster than DFBA on medium-sized graphs and successfully handling millions of edges where other methods failed.

Conclusion and Future Work

While the $(p, n)$-core provides a robust model for static signed networks, social ties are often dynamic. Future research should focus on incremental updates for the $(p, n)$-core as edges change. Additionally, automated parameter selection for $p$ and $n$ remains an open challenge for making these tools more accessible to researchers.

Summary updated

BibTeX
@article{kim2023effective,
  author = {Junghoon Kim and Sungsu Lim and Jungeun Kim},
  title = {{Effective and Efficient Core Decomposition in Signed Networks}},
  journal = {Information Sciences},
  year = {2023},
  doi = {10.1016/j.ins.2023.03.097},
}
Figure