atlas

Research map / Learning theory and algorithms / Combinatorial and search optimization

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

NeurIPS 2024 · Learning theory and algorithms › Combinatorial and search optimization · approach: Structure and complexity of constraint reasoning · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Random Cycle Coding (RCC), a training-free bits-back method that losslessly encodes cluster assignments by embedding them as permutation cycles, achieving the optimal log-cluster-permutation savings for vector database ids.

Problem

Lossless storage of cluster assignments (e.g., inverted lists in FAISS vector databases) currently costs many bytes per element in artificial integer labels; prior multiset methods (ROC) are suboptimal for clusterings.

Approach

Encode data sequentially with bits-back so that the clustering is implicitly carried by the cycle structure of the permutation induced by the encoding order; cycles correspond to clusters, and the savings equal log of the number of sequences sharing that clustering, which is shown to be optimal and to outperform ROC-based variants.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RCC instead of ROC-1 for lossless cluster-assignment compressionCluster assignments on SIFT1M and BigANN · SIFT1M and BigANN configurations in the byte-savings tablegap to optimal savings (%)Helped
Use RCC instead of ROC-2 for lossless cluster-assignment compressionCluster assignments on SIFT1M and BigANN · SIFT1M and BigANN configurations in the byte-savings tablegap to optimal savings (%)Helped
Encode cluster sizes as in ROC-1 without exploiting random cluster orderROC-1 · Large numbers of clustersbit savingsHurt
Add bits-back selection of cluster ordering as in ROC-2ROC-1 · Cluster-assignment compressionbit-rate reductionHelped
Add bits-back selection of cluster ordering as in ROC-2ROC-1 · Cluster-assignment compressionencoding and decoding timeHurt
Use RCC rather than ROC variantsCluster-assignment compression · Encoding and decoding across element and cluster countswall-timeHelped
Use RCC rather than ROC-2FAISS inverted lists · FAISS databases with scalar-quantized clusterscomputeHelped
Represent cluster assignments with RCC and omit sequential idsFAISS vector databases · Sequential ids, 1B elements, 4-byte vectorspercentage savings: 70.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: SIFT1M BigANN FAISS inverted lists

Benchmarks: SIFT1M BigANN

Metrics: byte savings per element gap to optimal savings (%) encoding plus decoding wall-time percent savings of vector database storage

Baselines: ROC-1 ROC-2 Random Order Coding

Builds on: Random Order Coding bits-back coding Asymmetric Numeral Systems Foata's bijection

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy