arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1108.3072cs.LGstat.MEstat.ML
收藏

使用b位Minwise散列在200 GB数据上训练Logistic回归和SVM,并与Vowpal Wabbit(VW)进行比较

Training Logistic Regression and SVM on 200GB Data Using b-Bit Minwise Hashing and Comparisons with Vowpal Wabbit (VW)

Cornell University(康奈尔大学);Microsoft Research(微软研究院);Microsoft Corporation(微软公司)

Ping Li, Anshumali Shrivastava, Christian Konig

摘要:

我们生成了一个200 GB的数据集,包含10^9个特征,以测试我们最近的b位minwise哈希算法,用于训练超大规模逻辑回归和SVM。结果证实了我们之前的工作,与VW哈希算法(具有与随机投影相同的方差)相比,b位minwise哈希在相同的存储空间下更准确。例如,每个数据点只有30个散列值,b位minwise散列可以实现与每个数据点2^14个散列值的VW类似的精度。我们证明了B位minwise哈希的预处理成本与数据加载时间大致处于相同的数量级。此外,通过使用GPU,预处理成本可以降低到数据加载时间的一小部分。Minwise hashing在工业中得到了广泛的应用,至少在搜索环境中是如此。其流行的一个原因是,可以有效地模拟排列(例如,)通用哈希换句话说,不需要存储置换矩阵。在本文中,我们通过证明即使使用最简单的2-泛散列也不会降低学习性能来实证验证这种做法。

英文摘要:

We generated a dataset of 200 GB with 10^9 features, to test our recent b-bit minwise hashing algorithms for training very large-scale logistic regression and SVM. The results confirm our prior work that, compared with the VW hashing algorithm (which has the same variance as random projections), b-bit minwise hashing is substantially more accurate at the same storage. For example, with merely 30 hashed values per data point, b-bit minwise hashing can achieve similar accuracies as VW with 2^14 hashed values per data point. We demonstrate that the preprocessing cost of b-bit minwise hashing is roughly on the same order of magnitude as the data loading time. Furthermore, by using a GPU, the preprocessing cost can be reduced to a small fraction of the data loading time. Minwise hashing has been widely used in industry, at least in the context of search. One reason for its popularity is that one can efficiently simulate permutations by (e.g.,) universal hashing. In other words, there is no need to store the permutation matrix. In this paper, we empirically verify this practice, by demonstrating that even using the simplest 2-universal hashing does not degrade the learning performance.

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

↑