Data Skeleton Learning: Scalable Active Clustering with Sparse Graph Structures

Wen-Bo Xie, Xun Fu, Bin Chen, Yan-Li Lee, Tao Deng, Tian Zou, Xin Wang, Zhen Liu, Jaideep Srivastavad · DOI

Abstract

In this work, we focus on the efficiency and scalability of pairwise constraint-based active clustering, crucial for processing large-scale data in applications such as data mining, knowledge annotation, and AI model pre-training. Our goals are threefold: (1) to reduce computational costs for iterative clustering updates; (2) to enhance the impact of user-provided constraints to minimize annotation requirements for precise clustering; and (3) to cut down memory usage in practical deployments. To achieve these aims, we propose a graph-based active clustering algorithm that utilizes two sparse graphs: one for representing relationships between data (our proposed data skeleton) and another for updating this data skeleton. These two graphs work in concert, enabling the refinement of connected subgraphs within the data skeleton to create nested clusters. Our empirical analysis confirms that the proposed algorithm consistently facilitates more accurate clustering with dramatically less input of user-provided constraints, and outperforms its counterparts in terms of computational performance and scalability, while maintaining robustness across various distance metrics.

Introduction

Clustering is a fundamental task in data organization, yet unsupervised methods often struggle with the nuances required for high-quality results in specialized domains. Active clustering addresses this by incorporating human-in-the-loop feedback through pairwise constraints, such as "must-link" or "cannot-link" labels. However, traditional active clustering algorithms frequently encounter a "quadratic wall," where time and memory costs scale at $O(n^2)$ or $O(n^3)$. This limitation makes them impractical for modern big data applications like AI model pre-training. Data Skeleton Learning (DSL) is proposed to overcome these scalability bottlenecks while minimizing the human annotation effort required for high accuracy.

Methodology

The DSL framework is built upon three core technical pillars designed to maintain efficiency without sacrificing clustering quality:

  1. Data Skeleton Initialization (DSInit): Rather than computing a dense similarity matrix, DSL constructs a sparse, tree-like "data skeleton." By utilizing Reciprocal Nearest Neighbors (RNNs), the algorithm iteratively merges points into a hierarchical structure, reducing the search space from $O(n^2)$ possible pairs to just $n-1$ edges.
  2. Pairwise Constraint Deduction: To optimize human effort, DSL employs a Minimal Constraint Graph. The system attempts to logically deduce relationships (e.g., transitivity in must-links) before querying a human. A human is only consulted when a relationship cannot be unambiguously inferred from existing data.
  3. Data Skeleton Reconstruction (RECONS): The algorithm identifies "suspicious" edges—typically the longest edges that likely bridge distinct clusters—and uses the deduction/query system to determine whether to maintain or sever these links, effectively performing a top-down refinement of the cluster hierarchy.

Experimental Evaluation

The researchers benchmarked DSL against seven state-of-the-art methods, including COBRA, SPACE, and ADP. The evaluation spanned 12 small-scale benchmark datasets (e.g., Wine, Breast Cancer) and 6 large-scale datasets, including EEG (14k items), Digits (70k), and KDD Cup 99 (489k). Additionally, a case study on the Olivetti Face Dataset tested the algorithm's robustness across various distance metrics, including Euclidean, Cosine, and deep features from ResNet50.

Results and Discussion

DSL demonstrated superior scalability and efficiency compared to existing literature. As shown in the complexity analysis below, DSL achieves a near-linear time complexity and linear space complexity, allowing it to process datasets with nearly half a million entries on standard hardware where many competitors failed.

Table 1: Comparison of time and space complexity across active clustering methods.

Key findings include:

  • Scalability: DSL and COBRA were the only methods capable of handling the largest datasets without memory overflows or excessive runtimes.
  • Accuracy: On the KDD Cup 99 dataset, DSL achieved near-perfect accuracy (ARI $\approx$ 1.0), outperforming competitors that either plateaued or failed to complete the task.
  • Metric Robustness: The algorithm reached 100% accuracy on face recognition tasks regardless of the distance metric used, indicating high versatility for different data types.

Conclusion

Data Skeleton Learning provides a scalable solution for active clustering by leveraging sparse graph structures to minimize both computational overhead and human annotation requirements. While highly effective, future work will focus on collaborative annotation systems to distribute the query load across multiple users and developing mechanisms to handle potential noise in human-provided labels.

Summary updated

BibTeX
@misc{xie2025data,
  author = {Wen-Bo Xie and Xun Fu and Bin Chen and Yan-Li Lee and Tao Deng and Tian Zou and Xin Wang and Zhen Liu and Jaideep Srivastavad},
  title = {{Data Skeleton Learning: Scalable Active Clustering with Sparse Graph Structures}},
  year = {2025},
  eprint = {2509.08530},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.08530},
}
Figure