arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1702.06943cs.LGcs.DBstat.ML
收藏

面向元组的大规模小批量随机梯度下降压缩

Tuple-oriented Compression for Large-scale Mini-batch Stochastic Gradient Descent

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of California, San Diego(加利福尼亚大学圣地亚哥分校);Google(谷歌)

Fengan Li, Lingjiao Chen, Yijing Zeng, Arun Kumar, Jeffrey F. Naughton, Jignesh M. Patel, Xi Wu

摘要:

数据压缩是一种流行的技术,用于提高数据处理工作负载的效率,例如SQL查询和最近的机器学习(ML)与经典的批量梯度方法。但是这些想法对于小批量随机梯度下降(MGD)的有效性,可以说是现代ML的主力算法,是一个悬而未决的问题。MGD独特的数据访问模式使得现有技术(包括为批量梯度方法设计的那些)不太有效。我们填补了这一关键的研究空白,提出了一个新的无损压缩计划,我们称之为面向元组的压缩(TOC),这是一个不太可能的来源,字符串/文本压缩方案Lempel-Ziv-Welch的启发,但量身定制的MGD的方式,保留小批量的元组边界。然后,我们提出了一套新的压缩矩阵运算执行技术,专门针对TOC压缩方案,直接在压缩数据表示,避免解压开销。对真实世界数据集的广泛实证评估表明,TOC始终实现高达51倍的压缩比,并在流行的ML系统中将MGD工作负载的运行时间减少了10.2倍。

英文摘要:

Data compression is a popular technique for improving the efficiency of data processing workloads such as SQL queries and more recently, machine learning (ML) with classical batch gradient methods. But the efficacy of such ideas for mini-batch stochastic gradient descent (MGD), arguably the workhorse algorithm of modern ML, is an open question. MGD's unique data access pattern renders prior art, including those designed for batch gradient methods, less effective. We fill this crucial research gap by proposing a new lossless compression scheme we call tuple-oriented compression (TOC) that is inspired by an unlikely source, the string/text compression scheme Lempel-Ziv-Welch, but tailored to MGD in a way that preserves tuple boundaries within mini-batches. We then present a suite of novel compressed matrix operation execution techniques tailored to the TOC compression scheme that operate directly over the compressed data representation and avoid decompression overheads. An extensive empirical evaluation with real-world datasets shows that TOC consistently achieves substantial compression ratios by up to 51x and reduces runtimes for MGD workloads by up to 10.2x in popular ML systems.

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

↑