Angular Constraint Embedding via SpherePair Loss for Constrained Clustering

Shaojie Zhang, Ke Chen
10/8/2025
cs.LGcs.AIcs.CV

Official code: spherepaircc/SpherePairCC (0 stars, last commit 2025-10-16).

Abstract

Constrained clustering integrates domain knowledge through pairwise constraints. However, existing deep constrained clustering (DCC) methods are either limited by anchors inherent in end-to-end modeling or struggle with learning discriminative Euclidean embedding, restricting their scalability and real-world applicability. To avoid their respective pitfalls, we propose a novel angular constraint embedding approach for DCC, termed SpherePair. Using the SpherePair loss with a geometric formulation, our method faithfully encodes pairwise constraints and leads to embeddings that are clustering-friendly in angular space, effectively separating representation learning from clustering. SpherePair preserves pairwise relations without conflict, removes the need to specify the exact number of clusters, generalizes to unseen data, enables rapid inference of the number of clusters, and is supported by rigorous theoretical guarantees. Comparative evaluations with state-of-the-art DCC methods on diverse benchmarks, along with empirical validation of theoretical insights, confirm its superior performance, scalability, and overall real-world effectiveness. Code is available at \href{https://github.com/spherepaircc/SpherePairCC/tree/main}{our repository}.

View on arXivView PDF

Code Implementations(1)

01Shell, PythonMay 1, 20251 years ago

Similar Papers

Cite this paper

@article{zhang2025angular,
  title  = {Angular Constraint Embedding via SpherePair Loss for Constrained Clustering},
  author = {Shaojie Zhang and Ke Chen},
  year   = {2025},
  eprint = {2510.06907},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.06907v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.06907.svg)](https://codeofpaper.com/paper/2510.06907)

Discussion