On Distributed Larger-Than-Memory Subset Selection With Pairwise Submodular Functions
Maximilian Böther, Abraham Sebastian, Pranjal Awasthi, Ana Klimovic, Srikumar Ramalingam
TL;DR
The paper tackles subset selection for billion-scale datasets where full-data training is impractical. It introduces a distributed bounding framework that tightens the minimum and maximum utilities to prune the ground set, followed by a multi-round, partition-based distributed greedy to complete the subset when bounding is incomplete, all without requiring a central machine to hold the final subset. The method optimizes pairwise submodular objectives of the form $f(S)=\alpha\sum_{v\in S}u(v)-\beta\sum_{(v_1,v_2)\in E;v_1,v_2\in S}s(v_1,v_2)$, with both exact and approximate bounding guarantees and adaptive, multi-round partitioning for the final selection. Empirically, the approach achieves near-centralized quality on CIFAR-100 and ImageNet and scales to datasets with up to 13B points, using Apache Beam for scalable implementation and enabling practical large-scale pretraining without centralized memory bottlenecks.
Abstract
Modern datasets span billions of samples, making training on all available data infeasible. Selecting a high quality subset helps in reducing training costs and enhancing model quality. Submodularity, a discrete analogue of convexity, is commonly used for solving such subset selection problems. However, existing algorithms for optimizing submodular functions are sequential, and the prior distributed methods require at least one central machine to fit the target subset in DRAM. At billion datapoint scale, even the subset may not fit a single machine, and the sequential algorithms are prohibitively slow. In this paper, we relax the requirement of having a central machine for the target subset by proposing a novel distributed bounding algorithm with provable approximation guarantees. The algorithm iteratively bounds the minimum and maximum utility values to select high quality points and discard the unimportant ones. When bounding does not find the complete subset, we use a multi-round, partition-based distributed greedy algorithm to identify the remaining subset. We discuss how to implement these algorithms in a distributed data processing framework and empirically analyze different configurations. We find high quality subsets on CIFAR-100 and ImageNet with marginal or no loss in quality compared to centralized methods, and scale to a dataset with 13 billion points.
