arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.16442cs.LGcs.AIcs.CVcs.DCmath.OC
收藏

关于具有成对次模函数的分布式超内存子集选择

On Distributed Larger-Than-Memory Subset Selection With Pairwise Submodular Functions

ETH Zurich(苏黎世联邦理工学院);Google(谷歌公司)

Maximilian Böther, Abraham Sebastian, Pranjal Awasthi, Ana Klimovic, Srikumar Ramalingam

AI总结:

针对超大规模数据集子集选择中的单机内存和串行计算瓶颈,提出一种具有近似保证的分布式定界与贪心算法,在保证质量的同时扩展至130亿数据点。

摘要:

现代数据集包含数十亿个样本,使得在所有可用数据上进行训练变得不可行。选择高质量的子集有助于降低训练成本并提升模型质量。次模性是凸性的离散类比,通常用于解决此类子集选择问题。然而,现有的优化次模函数的算法是串行的,且先前的分布式方法要求至少有一台中央机器能将目标子集装入 DRAM。在数十亿数据点的规模下,即使是子集也可能无法装入单台机器,且串行算法速度极慢。在本文中,我们通过提出一种具有可证明近似保证的新型分布式定界算法,放宽了目标子集需要中央机器的要求。该算法迭代地限定最小和最大效用值,以选择高质量数据点并丢弃不重要的数据点。当定界未能找到完整子集时,我们使用一种多轮、基于分区的分布式贪心算法来识别剩余子集。我们讨论了如何在分布式数据处理框架中实现这些算法,并实证分析了不同的配置。我们在 CIFAR-100 和 ImageNet 上找到了高质量的子集,与集中式方法相比质量损失微乎其微或没有损失,并且扩展到了包含 130 亿个数据点的数据集。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑