Graph-based Semi-supervised Local Clustering with Few Labeled Nodes

Zhaiming Shen, Ming‐Jun Lai, Sheng Li · DOI

Abstract

Local clustering aims at extracting a local structure inside a graph without the necessity of knowing the entire graph structure. As the local structure is usually small in size compared to the entire graph, one can think of it as a compressive sensing problem where the indices of target cluster can be thought as a sparse solution to a linear system. In this paper, we apply this idea based on two pioneering works under the same framework and propose a new semi-supervised local clustering approach using only few labeled nodes. Our approach improves the existing works by making the initial cut to be the entire graph and hence overcomes a major limitation of the existing works, which is the low quality of initial cut. Extensive experimental results on various datasets demonstrate the effectiveness of our approach.

1. Introduction

In the era of massive datasets, global clustering—finding every group in a graph simultaneously—is often computationally prohibitive and unnecessary. Local clustering provides a solution by extracting specific local structures without requiring knowledge of the entire graph. This is particularly useful in biological networks or social network analysis where only a specific community is of interest.

However, traditional local clustering methods frequently suffer from a "low-quality initial cut" bottleneck. These algorithms often rely on a high-quality initial candidate set; if the target nodes are not present in this initial guess, the algorithm fails to recover them. This paper introduces CS-LCE, a semi-supervised approach that treats local clustering as a compressive sensing problem, allowing it to accurately recover a target cluster from just a few labeled "seed" nodes by considering the entire graph structure.

2. Methodology

The core innovation of CS-LCE is framing clustering as a sparse recovery problem. Given that a local cluster is typically small relative to the entire graph, its membership vector is naturally sparse.

2.1 The CS-LCE Algorithm

The process begins with Seed Expansion, using a few labeled nodes to identify a candidate region via a short random walk. Next, a Smart Removal step identifies a "removal set" ($T$) of nodes highly likely to be in the cluster. The core of the method is Compressive Sensing, where a linear system is established using the Graph Laplacian ($L$). The goal is to solve for a sparse vector $x$ such that $L_{V\setminus T}x \approx y$, where $y$ is derived from graph connectivity. To solve this efficiently, the iterative Subspace Pursuit algorithm is used, finding the optimal sparse solution in $O(\log n)$ iterations. Finally, Thresholding separates the target cluster from the background.

Unlike previous compressive sensing methods that only look at nodes within a pre-defined candidate set, CS-LCE uses the entire graph (excluding set $T$) as the search space, making it robust to poor initial guesses.

Visualizations of synthetic datasets (3 Lines, 3 Circles, 3 Moons) used to evaluate the algorithm's performance on complex geometric structures.

3. Experimental Results

The effectiveness of CS-LCE was evaluated on a variety of synthetic and real-world datasets, including Stochastic Block Models, geometric "toy" datasets, the Political Blogosphere, and image datasets like MNIST and AT&T Faces.

3.1 Accuracy and Robustness

CS-LCE demonstrated superior performance, particularly with limited labeled data. On the AT&T Faces dataset, it achieved 98.0% accuracy with only a 10% label ratio. On the MNIST dataset, with a minimal label ratio of 0.05%, CS-LCE reached 85.3% accuracy, outperforming LSC (77%) and CP+RWT (74%).

Comparison of Jaccard Index across different target cluster sizes. CS-LCE consistently outperforms baseline methods, maintaining high accuracy as cluster size increases.

3.2 Geometric Complexity and Efficiency

In geometric tests like the "3 Moons" dataset, CS-LCE achieved 96.8% accuracy, proving its ability to follow intrinsic manifolds where traditional distance-based methods like k-means often fail. Furthermore, the iterative nature of Subspace Pursuit ensures that CS-LCE remains computationally efficient, with running times competitive with other local methods even as graph size grows.

4. Conclusion

CS-LCE leverages compressive sensing to treat cluster membership as a sparse signal, providing a robust framework for local clustering. By utilizing global sensing to achieve local results, it overcomes the dependency on high-quality initial cuts. Future work includes refining the removal set heuristic and exploring integration with Graph Neural Networks (GNNs).

Summary updated

BibTeX
@inproceedings{shen2023graph,
  author = {Zhaiming Shen and Ming‐Jun Lai and Sheng Li},
  title = {{Graph-based Semi-supervised Local Clustering with Few Labeled Nodes}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/466},
}
Figure