哪些操作可以直接在压缩数组上执行,以及会产生什么误差?
What Operations can be Performed Directly on Compressed Arrays, and with What Error?
AI总结:
针对大型矩阵和张量需先解压缩再计算的问题,本文提出并实现基于 PyTorch 的有损压缩器 PyBlaz,支持直接在压缩域执行多种基础操作,并在三个应用中验证其可扩展性、压缩性能与可控误差。
摘要:
为应对数据移动所导致的大型矩阵和张量计算成本迅速攀升问题,研究人员已开发出多种有损压缩方法,以显著减少数据量。遗憾的是,所有这些方法都要求在进一步计算之前先对数据进行解压缩。在本工作中,我们开发了一种有损压缩器,它允许直接在压缩数据上执行十余种相当基础的操作,同时提供良好的压缩比和适中的误差。我们基于大家熟悉的、由 GPU 驱动的 PyTorch 框架实现了一个新的压缩器 PyBlaz,并在三个非平凡应用上对其进行评估,为内部表示选择不同的数系。我们的结果表明,压缩域操作在问题规模增大时具有良好的可扩展性,同时产生的误差完全处于可接受范围内。据我们所知,这是首个支持压缩域操作、同时在性能和误差方面均达到可接受水平的此类有损压缩器。
英文摘要:
In response to the rapidly escalating costs of computing with large matrices and tensors caused by data movement, several lossy compression methods have been developed to significantly reduce data volumes. Unfortunately, all these methods require the data to be decompressed before further computations are done. In this work, we develop a lossy compressor that allows a dozen fairly fundamental operations directly on compressed data while offering good compression ratios and modest errors. We implement a new compressor PyBlaz based on the familiar GPU-powered PyTorch framework, and evaluate it on three non-trivial applications, choosing different number systems for internal representation. Our results demonstrate that the compressed-domain operations achieve good scalability with problem sizes while incurring errors well within acceptable limits. To our best knowledge, this is the first such lossy compressor that supports compressed-domain operations while achieving acceptable performance as well as error.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。