Efficient Coreset Selection via K-Nearest Neighbor Graphs
Organizations: Xidian University Xi’an, China · Hangzhou Institute, Xidian University Hangzhou, China · The Chinese University of Hong Kong Hong Kong SAR, China · The Hong Kong University of Science and Technology (Guangzhou) Guangzhou, China ·
Abstract
Coreset selection reduces the cost of model training by replacing a large training set with a small representative subset. Existing gradient-approximation coreset methods such as CRAIG and cluster-based variants can preserve model accuracy. Still, their selection stages often rely on dense pairwise distances or large item-cluster bound matrices, leading to high time and memory costs on large datasets. This paper proposes KNNG-CS, a lightweight coreset selection method based on a -nearest neighbor graph. KNNG-CS exploits local neighborhood structures to estimate the importance of each data item and greedily selects representative nodes without maintaining a quadratic distance matrix. The method requires only linear storage in the number of edges. Experiments on four real-world datasets show that KNNG-CS achieves accuracy comparable to representative gradient-approximation coreset methods, while reducing selection time by - and peak memory to - of the baselines.
Figures & tables
| CovType | IMDB | Brazil | Card | |
| 0.6964 | 0.6456 | 0.6070 | 0.7920 | |
| 0.7203 | 0.6729 | 0.6130 | 0.8051 | |
| 0.7218 | 0.6736 | 0.6132 | 0.8130 |
Coreset Selection
Coreset selection chooses compact subsets that preserve a dataset’s learning, evaluation, or optimization value while reducing cost.
See all 57 papers