Salvato in:
Dettagli Bibliografici
Autori principali: Severo, Daniel, Khisti, Ashish, Makhzani, Alireza
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2412.00369
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910722286419968
author Severo, Daniel
Khisti, Ashish
Makhzani, Alireza
author_facet Severo, Daniel
Khisti, Ashish
Makhzani, Alireza
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_00369
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Random Cycle Coding: Lossless Compression of Cluster Assignments via Bits-Back Coding
Severo, Daniel
Khisti, Ashish
Makhzani, Alireza
Machine Learning
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.
title Random Cycle Coding: Lossless Compression of Cluster Assignments via Bits-Back Coding
topic Machine Learning
url https://arxiv.org/abs/2412.00369