Lune

NeurIPS2024Top-tier venue

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

Daniel Severo, Ashish Khisti, Alireza Makhzani

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Residual Quantization with Implicit Neural CodebooksIris A. M. Huijben, Matthijs Douze, Matthew J. Muckley, Ruud van Sloun et al.ICML 2024 · 23 citations

Related papers

  1. PIR with Compressed Queries and Amortized Query ProcessingSebastian Angel, Hao Chen, Kim Laine, Srinath T. V. SettyS&P 2018 · 353 citations
  2. Accelerating Relative Entropy Coding with Space PartitioningJiajun He, Gergely Flamich, José Miguel Hernández-LobatoNeurIPS 2024 · 6 citations
  3. Optimal Data Placement for Stripe Merging in Locally Repairable CodesSi Wu, Qingpeng Du, Patrick P. C. Lee, Yongkun Li et al.INFOCOM 2022 · 23 citations
  4. CoTra: Towards Efficient and Scalable Distributed Vector Search with RDMAXiangyu Zhi, Meng Chen, Xiao Yan, Baotong Lu et al.SIGMOD 2026 · 7 citations
  5. Entropy Coding of Unordered Data StructuresJulius Kunze, Daniel Severo, Giulio Zani, Jan-Willem van de Meent et al.ICLR 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines