NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Constrained Graph Clustering: A Spectral Algorithm with Generalized Eigenvectors

Shihong Song, He Sun

NeurIPS page · OpenReview · Open on the map

Category: Causality, Privacy & Learning Theory › Conformal Prediction and Risk Control · Type: new method · Keywords: constrained clustering, spectral algorithm, generalized eigenvectors, graph partitioning, cut ratio, iterative constraint generation

Areas: Graph Learning › Graph Analysis Methods › Graph Neural Network Uncertainty

Summary

The paper introduces a spectral clustering algorithm that uses generalized eigenvectors and an iterative constraint-generation pipeline to achieve an O(1) approximation of the optimal cut-ratio in constrained graph clustering.

Explained to a 5-year-old

We have many objects that we want to put into groups. Some objects must stay together, and some objects must never be in the same group. The paper creates a new method that uses math to find good groups while following those rules. It also adds new rules over and over to make the groups even better. This helps when we have lots of objects and need smart grouping.

Explained to a 5-year-old, longer

Imagine you have many toys and you want to sort them into boxes. Some toys should always go in the same box, and some toys should never be in the same box. The paper comes up with a way to look at all the toys and draw lines that show how they are related. It uses a special kind of math that finds the best way to cut the toys into groups while respecting the rules. If some rules are missing, the method makes new rules by looking at the groups it already made. It repeats this process, adding more rules each time, to keep improving the grouping. The result is a set of boxes where most toys that should be together are together, and most toys that should be apart are apart. This works well on made-up examples and also on real collections of objects. The method is simple enough to be used on a computer without needing a lot of extra equipment. It helps when you have a lot of items and need a smart way to organize them. The paper shows that this new way is better than older methods at finding good groupings. Overall, it gives a reliable tool for clustering when you have must-link and cannot-link information.

For a technical reader

The paper tackles constrained clustering where you have must-link and cannot-link relationships among data points. It proposes an embedding derived from the k smallest generalized eigenvectors of the graph pair, followed by k-means to obtain clusters. A theoretical analysis shows the algorithm attains an O(1) approximation of the optimal cut-ratio under a mild assumption. When cannot-link constraints are missing, an iterative pipeline generates new constraints from current cluster assignments and refines the solution. Empirical evaluations on synthetic and real datasets demonstrate superior performance over existing state-of-the-art methods.

Problem

Given a must-link graph and a cannot-link graph, the goal is to partition the vertices into k clusters while minimizing the maximum cut ratio between the two graphs. This problem is NP-hard in general, and finding an efficient algorithm with provable approximation guarantees remains challenging.

Method

The approach constructs an embedding space using the k smallest generalized eigenvectors of the pair of graphs and then applies k-means clustering. When cannot-link constraints are unavailable, an iterative pipeline repeatedly runs spectral or constrained clustering on current cluster assignments to generate new constraints, feeding them back to refine the partitions.

Results

The approach shows superior clustering quality compared to prior state-of-the-art methods on both synthetic and real-world datasets.

Contributions

Provides a provable O(1) approximation algorithm for constrained graph clustering based on generalized eigenvectors and introduces an iterative constraint-generation pipeline that improves clustering when constraints are missing.

Limitations and assumptions

The theoretical guarantee relies on a natural assumption about the input graphs, and the iterative pipeline's performance depends on the quality of generated constraints.

Practical relevance

Provides a scalable and theoretically grounded method for incorporating must-link and cannot-link constraints into clustering tasks, useful for applications requiring prior knowledge integration.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction