arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1604.03034cs.LGcs.DC
收藏

M3:通过内存映射扩展机器学习

M3: Scaling Up Machine Learning via Memory Mapping

Georgia Institute of Technology(佐治亚理工学院);College of Computing(计算学院)

Dezhi Fang, Duen Horng Chau

摘要:

为了处理不适合RAM的数据,传统的观点建议使用分布式方法。然而,最近的研究表明,虚拟内存在单台机器上扩展图挖掘算法方面具有强大的潜力。我们建议对一般的机器学习使用类似的方法。我们的贡献:(1)我们的最新发现是,当数据适合或超过RAM时,内存映射也是一种可行的技术,用于扩展逻辑回归和k均值等一般机器学习算法(我们测试了高达190 GB的数据集);(2)一种称为M3的方法,使现有的机器学习算法能够通过内存映射处理核外数据集,实现了比4实例Spark集群快得多的速度,与8实例集群相当。

英文摘要:

To process data that do not fit in RAM, conventional wisdom would suggest using distributed approaches. However, recent research has demonstrated virtual memory's strong potential in scaling up graph mining algorithms on a single machine. We propose to use a similar approach for general machine learning. We contribute: (1) our latest finding that memory mapping is also a feasible technique for scaling up general machine learning algorithms like logistic regression and k-means, when data fits in or exceeds RAM (we tested datasets up to 190GB); (2) an approach, called M3, that enables existing machine learning algorithms to work with out-of-core datasets through memory mapping, achieving a speed that is significantly faster than a 4-instance Spark cluster, and comparable to an 8-instance cluster.

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

↑