Universal Sample Coding
Szymon Kobus, Tze-Yang Tung, Deniz Gündüz
Abstract
In this work, we study the problem of communicating multiple samples from an unknown probability distribution using as few bits as possible. This is a generalization of the channel simulation problem, which has recently found applications and achieved state of the art results in realistic image compression, neural network compression, and communication-efficient federated learning. In this problem, the transmitter wants the receiver to generate multiple independent and identically distributed (i.i.d.) samples from a target distribution P , while the transmitter and the receiver have access to independent samples from a reference distribution Q . The core idea is to employ channel simulation in multiple rounds while updating the reference distribution Q after each round in order to reduce the KL-divergence between P and Q , thereby reducing the communication cost in subsequent rounds. We derive a lower bound on the expected communication cost and construct a practical algorithm that achieves the lower bound up to a multiplicative constant. We then employ this algorithm in communication-efficient federated learning, in which model updates correspond to samples from a distribution, and achieve a 37% reduction in the communication load. To further highlight the potential of sample communication for generative models, we show that the number of bits needed to communicate samples from a large language model can be reduced by up to 16 times, compared to entropy-based data compression.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 92d89d1f-b170-4cea-a531-3b85fc027b86Builds on10
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Tree of Thoughts: Deliberate Problem Solving with Large Language ModelsShunyu Yao, Dian Yu, Jeffrey Zhao, Izhak Shafran et al.NeurIPS 2023 · 5,068 citations
- Universally Quantized Neural CompressionEirikur Agustsson, Lucas TheisNeurIPS 2020 · 118 citations
- Compressing Images by Encoding Their Latent Representations with Relative Entropy CodingGergely Flamich, Marton Havasi, José Miguel Hernández-LobatoNeurIPS 2020 · 78 citations
- Fast Relative Entropy Coding with A* codingGergely Flamich, Stratis Markou, José Miguel Hernández-LobatoICML 2022 · 41 citations
Related papers
- Greedy Poisson Rejection SamplingGergely FlamichNeurIPS 2023 · 32 citations
- Bi-Directional Communication-Efficient Stochastic FL via Remote Source GenerationMaximilian Egger, Rawad Bitar, Antonia Wachter-Zeh, Nir Weinberger et al.NeurIPS 2025
- Algorithms for the Communication of SamplesLucas Theis, Noureldin Y. AhmedICML 2022
- FedBoost: A Communication-Efficient Algorithm for Federated LearningJenny Hamer, Mehryar Mohri, Ananda Theertha SureshICML 2020 · 241 citations
- Channel Simulation and Distributed Compression with Ensemble Rejection SamplingBuu Phan, Ashish KhistiNeurIPS 2025 · 5 citations
