NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Discovering Hierarchical Subgraphs of K-Core-Truss

Zhenjun Li, Yunting Lu, Wei-Peng Zhang, Rong-Hua Li, Jun Guo, Xin Huang, Rui Mao

Abstract

Identifying cohesive communities in large-scale networks is a fundamental task in graph mining with applications in social network analysis and bioinformatics. Traditional models like $k$-cores and $k$-trusses often fail to capture the nuanced balance between vertex importance and local connection strength. This paper introduces the $k$-core-truss, a hybrid subgraph model that integrates vertex degree and triangle counts through a tunable parameter $\alpha$. We provide efficient algorithms for decomposition and search, demonstrating that the $k$-core-truss can uncover hierarchical structures in web-scale graphs that are missed by conventional methods.

Introduction

The identification of "cohesive subgraphs"—groups of nodes more densely connected internally than to the rest of the network—is a cornerstone of network science. However, researchers often face a "Goldilocks" problem with existing models. $k$-cliques, while perfectly cohesive, are too rigid for real-world data and are NP-hard to compute. $k$-cores, defined by minimum vertex degrees, are computationally efficient but often "loose," including nodes with minimal internal ties. $k$-trusses, which require every edge to participate in a minimum number of triangles, focus on strong local ties but may ignore influential high-degree nodes that do not form dense local clusters.

To address these limitations, we propose the $k$-core-truss model. By merging the concepts of vertex degree (importance) and triangle participation (strength), this model offers a flexible, polynomial-time approach to community discovery.

Comparison of k-core, k-truss, and k-core-truss models.

Methodology

The core innovation is the degree-support metric. For an edge $e$ connecting nodes $u$ and $v$, its degree-support $ds(e)$ is defined as the maximum of a weighted version of the minimum degree of its endpoints and its triangle count:

$$ds(e) = \max(\alpha \cdot \min(deg(u), deg(v)), \text{tri}(e) + 2)$$

The parameter $\alpha$ acts as a "tuning knob." At $\alpha=0$, the model simplifies to a standard $k$-truss. As $\alpha$ increases, the model places greater weight on the overall degree of the vertices.

We developed two primary algorithms:

  1. $k$-core-truss Decomposition: An iterative algorithm that removes edges with the lowest degree-support to reveal the hierarchical "onion" structure of the graph in $O(m^{1.5})$ time.
  2. $k$-core-truss Search: A BFS-based expansion algorithm designed to find the most cohesive $k$-core-truss containing a specific query node.

Experimental Evaluation

We evaluated the $k$-core-truss model on five large-scale, real-world datasets from the SNAP repository, including Gowalla, DBLP, and LiveJournal1 (containing ~4.8 million nodes and ~68 million edges).

Computational Performance

On the massive LiveJournal dataset, $k$-core-truss decomposition took approximately 25 hours. While slower than a simple $k$-core (which took ~1 hour), it was in the same order of magnitude as $k$-truss decomposition, proving its scalability for web-scale graphs.

Quality of Communities

In a case study on the DBLP network querying the author "Homare Murakami," the $k$-core-truss identified a community of 24 nodes. In contrast, the $k$-core model was too inclusive, while the $k$-truss model was too restrictive, finding only 10 nodes. The $k$-core-truss captured a more complete and intuitive research group by accounting for both high-degree influencers and local clusters.

Hierarchical nested structures in a k-core-truss graph.

Key Insights and Conclusion

The $k$-core-truss is a generalization of existing models. By adjusting $\alpha$, it can mimic $k$-cores or $k$-trusses, making it a "super-model" for cohesive subgraph discovery. It successfully reveals nested structures, allowing users to see how communities "shrink" into denser cores as the $k$ value increases.

While powerful, the model currently focuses on static graphs. Future work will involve developing maintenance algorithms for dynamic networks and exploring automated methods for selecting the optimal $\alpha$ parameter.

Summary updated

BibTeX
@article{li2018discovering,
  author = {Zhenjun Li and Yunting Lu and Wei-Peng Zhang and Rong-Hua Li and Jun Guo and Xin Huang and Rui Mao},
  title = {{Discovering Hierarchical Subgraphs of K-Core-Truss}},
  journal = {Data Sci. Eng.},
  year = {2018},
  doi = {10.1007/s41019-018-0068-2},
}
Figure