Effective Index Construction Algorithm for Optimal (k,η)-cores Computation

Shengli Sun, Peng Xu, Guanming Jiang, Philip S. Yu, Yi LiarXiv 2025 · DOI

Abstract

Computing $(k,\eta)$-cores is a fundamental task for analyzing dense communities in uncertain graphs. However, current state-of-the-art indexing methods, such as the UCF-Index, are prone to significant floating-point errors during construction, leading to incorrect query results. This paper presents OptiUCF, a novel algorithm designed to ensure mathematical correctness while significantly improving efficiency. By employing a lazy refreshing strategy and progressive refinement, OptiUCF achieves a speedup of one to two orders of magnitude over baseline methods while maintaining 100% accuracy.

Introduction: The Challenge of Uncertain Graphs

Real-world networks, ranging from social interactions to biological systems, are often characterized by noise and uncertainty. These are best modeled as "uncertain graphs," where each edge exists with a specific probability. Identifying reliable, dense subgraphs in these networks is often achieved through $(k,\eta)$-core decomposition. A $(k,\eta)$-core is defined as a maximal subgraph where every vertex has a degree of at least $k$ with a probability of at least $\eta$.

To facilitate real-time queries, a pre-built data structure called the UCF-Index is typically used. The construction of this index involves a "peeling" process: iteratively removing the vertex with the lowest $k$-probability and updating its neighbors. However, standard update methods rely on recursive floating-point division. As $k$ increases, tiny precision errors compound, eventually leading to fundamentally incorrect index structures.

Comparison of accurate vs. inaccurate (k,η)-core results due to floating-point errors.

While recalculating probabilities from scratch using Dynamic Programming (DP) ensures accuracy, it is computationally too expensive for large-scale graphs.

The OptiUCF Algorithm

The authors propose OptiUCF to bridge the gap between accuracy and efficiency. OptiUCF guarantees a mathematically correct UCF-Index by avoiding the pitfalls of floating-point division without the full overhead of naive DP.

1. Lazy Refreshing Strategy

Instead of performing an expensive DP recalculation every time a neighbor is affected by a vertex deletion, OptiUCF utilizes mathematically sound upper and lower bounds for $k$-probabilities. Two types of bounds are introduced: a Top-K based bound and a Beta-Function based bound. The algorithm only triggers a full DP recalculation "on-demand"—specifically, when a vertex's lower bound falls below the current global minimum, indicating it might be the next candidate for peeling.

2. Progressive Refinement Strategy

OptiUCF leverages the monotonic properties of $(k,\eta)$-cores (e.g., a core for a higher $k$ is a subset of a core for a lower $k$). By partitioning vertices into layers based on their $\eta$-thresholds, the algorithm can localize its search for the minimum $k$-probability. It starts in the lowest layer and only expands to higher layers when necessary, drastically reducing the search space and avoiding redundant initializations.

Illustration of a (k,η)-core and its corresponding η-tree structure.

Experimental Evaluation

The authors evaluated OptiUCF on eight real-world datasets, including Flickr, DBLP, and various SNAP network datasets (Youtube, LiveJournal, etc.).

Key Results

  • Accuracy: While legacy algorithms (like EC) show error ratios approaching 100% as $k$ increases, OptiUCF maintains 100% correctness.
  • Performance: OptiUCF is 10x to 100x faster than the baseline correct algorithm that uses naive DP.
  • Ablation Study: Progressive refinement alone provides a 5x to 10x speedup. Additionally, the Top-K lower bound was found to be 10% to 25% more efficient than the Beta-Function bound due to its tighter constraints.

Conclusion

OptiUCF demonstrates that probabilistic graph mining cannot rely on standard floating-point division for correctness. By establishing tight mathematical bounds and leveraging structural properties like nested cores, OptiUCF provides a robust and highly efficient solution for $(k,\eta)$-core computation in uncertain graphs. Future work may involve extending these bounding techniques to other complex structures like $(k,\gamma)$-trusses.

Summary updated

BibTeX
@misc{sun2025effective,
  author = {Shengli Sun and Peng Xu and Guanming Jiang and Philip S. Yu and Yi Li},
  title = {{Effective Index Construction Algorithm for Optimal (k,η)-cores Computation}},
  year = {2025},
  eprint = {2504.20795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.20795},
}
Figure