arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2309.10310cs.LG
收藏

TensorCodec:无需强数据假设的张量紧凑有损压缩

TensorCodec: Compact Lossy Compression of Tensors without Strong Data Assumptions

Kim Jaechul Graduate School of AI, KAIST(韩国科学技术院金在哲人工智能研究生院);School of Software, Soongsil University(崇实大学软件学院)

Taehyung Kwon, Jihoon Ko, Jinhong Jung, Kijung Shin

AI总结:

本文提出通用张量有损压缩算法 TENSORCODEC,通过神经张量列分解、高阶折叠和模式索引重排序,在无需强数据假设的情况下实现更紧凑、更准确且可扩展的压缩。

摘要:

许多现实世界数据集被表示为张量,即多维数值数组。不压缩地存储它们通常需要大量空间,且空间随阶数呈指数增长。虽然已有许多张量压缩算法,但其中很多依赖关于阶数、稀疏性、秩和平滑性的强数据假设。在本工作中,我们提出 TENSORCODEC,一种针对不一定符合强输入数据假设的通用张量的有损压缩算法。TENSORCODEC 包含三个关键思想。第一个思想是神经张量列分解(NTTD),我们将循环神经网络集成到张量列分解中,以增强其表达能力并缓解低秩假设带来的限制。另一个思想是将输入张量折叠成高阶张量,以减少 NTTD 所需的空间。最后,对输入张量的模式索引进行重排序,以揭示可被 NTTD 利用的模式,从而改进近似效果。我们在 8 个真实世界数据集上的分析和实验表明,TENSORCODEC 具有以下特点:(a) 简洁:在相似重构误差下,其压缩紧凑性比最佳竞争者最高提升 7.38 倍;(b) 准确:在相同压缩大小预算下,其重构准确度比最佳竞争者最高提升 3.33 倍;(c) 可扩展:其经验压缩时间与张量条目数量呈线性关系,并且每个条目的重构时间为对数时间。我们的代码和数据集可在 https://github.com/kbrother/TensorCodec 获取。

英文摘要:

Many real-world datasets are represented as tensors, i.e., multi-dimensional arrays of numerical values. Storing them without compression often requires substantial space, which grows exponentially with the order. While many tensor compression algorithms are available, many of them rely on strong data assumptions regarding its order, sparsity, rank, and smoothness. In this work, we propose TENSORCODEC, a lossy compression algorithm for general tensors that do not necessarily adhere to strong input data assumptions. TENSORCODEC incorporates three key ideas. The first idea is Neural Tensor-Train Decomposition (NTTD) where we integrate a recurrent neural network into Tensor-Train Decomposition to enhance its expressive power and alleviate the limitations imposed by the low-rank assumption. Another idea is to fold the input tensor into a higher-order tensor to reduce the space required by NTTD. Finally, the mode indices of the input tensor are reordered to reveal patterns that can be exploited by NTTD for improved approximation. Our analysis and experiments on 8 real-world datasets demonstrate that TENSORCODEC is (a) Concise: it gives up to 7.38x more compact compression than the best competitor with similar reconstruction error, (b) Accurate: given the same budget for compressed size, it yields up to 3.33x more accurate reconstruction than the best competitor, (c) Scalable: its empirical compression time is linear in the number of tensor entries, and it reconstructs each entry in logarithmic time. Our code and datasets are available at https://github.com/kbrother/TensorCodec.

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

↑