arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.00369cs.LG
收藏

Random Cycle Coding:通过 Bits-Back Coding 实现簇分配的无损压缩

Random Cycle Coding: Lossless Compression of Cluster Assignments via Bits-Back Coding

University of Toronto(多伦多大学)

Daniel Severo, Ashish Khisti, Alireza Makhzani

AI总结:

提出无需训练的 Random Cycle Coding,通过排列循环无损编码簇分配,以准线性复杂度实现更低比特率,并在向量数据库相似性搜索中显著节省存储与资源。

摘要:

我们提出了一种用于编码任意数据集簇分配的最优方法。我们的方法 Random Cycle Coding(RCC)按顺序编码数据,并将分配信息作为由已编码元素顺序所定义排列的循环来发送。RCC 不需要任何训练,其最坏情况复杂度随最大簇的规模呈准线性增长。我们将可实现的比特率刻画为簇大小和元素数量的函数,表明 RCC 在需要更少计算和内存资源的同时,始终优于以往方法。实验表明,RCC 应用于向量数据库时,每个元素最多可节省 2 字节,并消除了分配整数 ID 以识别向量的需要,这意味着在用于相似性搜索应用的向量数据库系统中可节省高达 70%。

英文摘要:

We present an optimal method for encoding cluster assignments of arbitrary data sets. Our method, Random Cycle Coding (RCC), encodes data sequentially and sends assignment information as cycles of the permutation defined by the order of encoded elements. RCC does not require any training and its worst-case complexity scales quasi-linearly with the size of the largest cluster. We characterize the achievable bit rates as a function of cluster sizes and number of elements, showing RCC consistently outperforms previous methods while requiring less compute and memory resources. Experiments show RCC can save up to 2 bytes per element when applied to vector databases, and removes the need for assigning integer ids to identify vectors, translating to savings of up to 70% in vector database systems for similarity search applications.

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

↑