arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.19125cs.DCcs.AIcs.PF
收藏

Binary Bleed:用于自动模型选择的快速分布式与并行方法

Binary Bleed: Fast Distributed and Parallel Method for Automatic Model Selection

Theoretical Division, Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室理论部);Advanced Research in Cyber Systems, Los Alamos National Laboratory(洛斯阿拉莫斯国家实验室网络系统高级研究部);Department of Computer Science and Electrical Engineering, University of Maryland, Baltimore County(马里兰大学巴尔的摩分校计算机科学与电气工程系)

Ryan Barron, Maksim E. Eren, Manish Bhattarai, Ismael Boureima, Cynthia Matuszek, Boian S. Alexandrov

AI总结:

本文提出基于二分搜索的Binary Bleed方法,通过对评分进行阈值处理的启发式截断目标k值,显著减少网格搜索ML算法中超参数k的搜索空间,支持单节点与分布式计算,并在NMFk等算法实验中验证了其搜索效率与准确性。

摘要:

在几种机器学习(ML)聚类和降维方法中,如非负矩阵分解(NMF)、RESCAL和K-Means聚类,用户必须选择一个超参数k来定义产生理想样本分离或干净簇的簇数或分量数。这种选择虽然困难,但对于避免数据过拟合或欠拟合至关重要。一些ML应用使用评分方法(例如Silhouette和Davies Boulding分数)来评估特定k的簇模式稳定性。在一系列k值范围内的多次试验中计算分数,并在模型开始过拟合之前,将理想的k启发式地选定为分数下降或增加(类似于肘部曲线图)之前的值。虽然可以使用网格搜索方法准确找到一个好的k值,但遍历一系列k可能会变得耗时且计算资源密集。在本文中,我们引入了基于二分搜索的Binary Bleed方法,该方法通过对分数进行阈值处理的启发式方法,从搜索空间中截断目标k值,从而显著减小这些网格搜索ML算法的k搜索空间。Binary Bleed设计用于单节点串行、单节点多处理和分布式计算资源。在我们的实验中,我们展示了与理想k的朴素顺序搜索相比,减少的搜索空间增益,以及Binary Bleed在使用Silhouette和Davies Boulding分数识别NMFk、K-Means pyDNMFk和pyDRESCALk的正确k时的准确性。我们在GitHub上公开了针对NMF算法的Binary Bleed实现。

英文摘要:

In several Machine Learning (ML) clustering and dimensionality reduction approaches, such as non-negative matrix factorization (NMF), RESCAL, and K-Means clustering, users must select a hyper-parameter k to define the number of clusters or components that yield an ideal separation of samples or clean clusters. This selection, while difficult, is crucial to avoid overfitting or underfitting the data. Several ML applications use scoring methods (e.g., Silhouette and Davies Boulding scores) to evaluate the cluster pattern stability for a specific k. The score is calculated for different trials over a range of k, and the ideal k is heuristically selected as the value before the model starts overfitting, indicated by a drop or increase in the score resembling an elbow curve plot. While the grid-search method can be used to accurately find a good k value, visiting a range of k can become time-consuming and computationally resource-intensive. In this paper, we introduce the Binary Bleed method based on binary search, which significantly reduces the k search space for these grid-search ML algorithms by truncating the target k values from the search space using a heuristic with thresholding over the scores. Binary Bleed is designed to work with single-node serial, single-node multi-processing, and distributed computing resources. In our experiments, we demonstrate the reduced search space gain over a naive sequential search of the ideal k and the accuracy of the Binary Bleed in identifying the correct k for NMFk, K-Means pyDNMFk, and pyDRESCALk with Silhouette and Davies Boulding scores. We make our implementation of Binary Bleed for the NMF algorithm available on GitHub.

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

↑