English

Learning with Structure: Computing Consistent Subsets on Structurally-Regular Graphs

Data Structures and Algorithms 2025-12-16 v1 Computational Geometry

Abstract

The Minimum Consistent Subset (MCS) problem arises naturally in the context of supervised clustering and instance selection. In supervised clustering, one aims to infer a meaningful partitioning of data using a small labeled subset. However, the sheer volume of training data in modern applications poses a significant computational challenge. The MCS problem formalizes this goal: given a labeled dataset X\mathcal{X} in a metric space, the task is to compute a smallest subset SXS \subseteq \mathcal{X} such that every point in X\mathcal{X} shares its label with at least one of its nearest neighbors in SS. Recently, the MCS problem has been extended to graph metrics, where distances are defined by shortest paths. Prior work has shown that MCS remains NP-hard even on simple graph classes like trees, though an algorithm with runtime O(26cn6)\mathcal{O}(2^{6c} \cdot n^6) is known for trees, where cc is the number of colors and nn the number of vertices. This raises the challenge of identifying graph classes that admit algorithms efficient in both nn and cc. In this work, we study the Minimum Consistent Subset problem on graphs, focusing on two well-established measures: the vertex cover number (vcvc) and the neighborhood diversity (ndnd). We develop an algorithm with running time vcO(vc)Poly(n,c)vc^{\mathcal{O}(vc)}\cdot\text{Poly}(n,c), and another algorithm with runtime ndO(nd)Poly(n,c)nd^{\mathcal{O}(nd)}\cdot\text{Poly}(n,c). In the language of parameterized complexity, this implies that MCS is fixed-parameter tractable (FPT) parameterized by the vertex cover number and the neighborhood diversity. Notably, our algorithms remain efficient for arbitrarily many colors, as their complexity is polynomially dependent on the number of colors.

Keywords

Cite

@article{arxiv.2512.12860,
  title  = {Learning with Structure: Computing Consistent Subsets on Structurally-Regular Graphs},
  author = {Aritra Banik and Mano Prakash Parthasarathi and Venkatesh Raman and Diya Roy and Abhishek Sahu},
  journal= {arXiv preprint arXiv:2512.12860},
  year   = {2025}
}

Comments

15 pages, 1 figure