arXiv · 2610.14932
An Algebraic Approach to Constrained K-means Clustering
Abstract
Clustering is typically performed using only object features, although additional information about relationships between objects may be available and can be incorporated through constraints. Among these, pairwise constraints require two objects to belong to the same cluster or to different clusters. Several extensions of the k-means algorithm accommodate such constraints, but they sometimes fail to find a feasible assignment or incur high computational cost. Motivated by these limitations, we propose an algebraic approach to k-means clustering with pairwise constraints. The algorithm simplifies the constraints using Gröbner bases before optimization, improving the efficiency of cluster assignment. It can also detect whether the constraint set has a feasible assignment before optimization. Comparative experiments with existing algorithms showed that the proposed algorithm achieved comparable or better clustering quality at a lower computational cost, particularly when the numbers of constraints and clusters were small.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Hiroki Oohori, Kentaro Fukushima, Michio Yamamoto. 2026-10-10. An Algebraic Approach to Constrained K-means Clustering. https://arxiv.org/abs/2610.14932
Cite the original work for its findings. Save a collection to share your selection of sources.