Channel Simulation and Distributed Compression with Ensemble Rejection Sampling

Buu Phan, Ashish Khisti · DOI

TL;DR

This research introduces a practical framework for channel simulation—the task of communicating noisy samples—using Ensemble Rejection Sampling (ERS). By integrating a novel sorting-based coding scheme, the authors achieve near-optimal communication rates and high matching probabilities between distributed parties, overcoming the bias issues inherent in traditional importance sampling methods.

What Problem Does This Paper Address?

In modern machine learning, moving data or model parameters efficiently is a core challenge. Channel simulation is a specific flavor of this: an encoder has a sample $X$ and wants a decoder to generate a noisy version $Y$ (following a specific distribution $P_{Y|X}$) using as few bits as possible.

A related challenge is distributed matching. Imagine two parties, A and B, who want to sample from their own target distributions using a shared source of "randomness" (like a shared seed). The goal is to maximize the probability that they both pick the exact same sample without direct communication.

Schematic diagrams for Channel Simulation and Distributed Matching (with and without communication).

Existing tools have major trade-offs:

  1. Poisson Monte Carlo (PMC): Theoretically near-optimal but requires an infinite number of proposals, making it extremely difficult to implement with modern machine learning models.
  2. Importance Sampling (IS): Fast and finite, but the samples it produces are biased, which can degrade performance in sensitive tasks like differential privacy or high-fidelity image compression.
  3. Standard Rejection Sampling (RS): Produces unbiased samples but is historically very "expensive" in terms of the number of bits required to communicate the result.

Methods

The authors bridge these gaps using Ensemble Rejection Sampling (ERS), a technique that groups proposals into batches. Their contribution is two-fold:

The Sorting Method

For standard rejection sampling, they propose a new way to encode the "accepted" index. Instead of just sending the index number, they group proposals and send the group ID and the rank of the accepted sample within that group after sorting the underlying random variables. This clever trick allows them to reach a coding rate that is near-optimal ($I(X;Y) + \text{log terms}$), extending previous theoretical results from discrete to continuous data.

Illustration of the Sorting Method for Ensemble Rejection Sampling (ERS) and empirical results showing alignment with theoretical bounds.

Distributed Matching and Neural Scaling

The authors prove that as the batch size in ERS increases, the probability that two distributed parties select the same sample approaches the theoretical limit (the Poisson Matching Lemma bound). This makes ERS a "drop-in" replacement for more complex Poisson-based methods. To make this work with deep learning, they use a Neural Contrastive Estimation (NCE)-based classifier to estimate the density ratios needed for sampling, allowing the method to scale to complex data like images.

Datasets

The researchers evaluated their approach on three main benchmarks:

  1. Synthetic Gaussian Sources: Used to verify theoretical bounds on rate-distortion performance.
  2. MNIST: A classic dataset of handwritten digits, used for distributed image compression tasks.
  3. CIFAR-10: Natural images used to demonstrate the method's robustness in more complex visual domains.

Key Insights and Results

  • Unbiasedness Matters: A major finding in the experiments is seeing ERS outperform Importance Matching (IML). Because IML is biased, it hits a "distortion floor" where adding more bits doesn't help. ERS, being a rejection sampling variant, is unbiased and continues to improve as the bit rate increases.
  • Sorting as Compression: The realization that sorting uniform random variables can significantly reduce the entropy of the "accepted index" is a powerful insight. It turns a sampling problem into a more efficient coding problem.
  • Practicality over Theory: While Poisson processes are the "gold standard" in information theory papers, the authors argue that ERS is the superior choice for actual implementation because it handles finite proposals and integrates naturally with neural network-based density estimators.
  • Superior Image Reconstruction: On MNIST and CIFAR-10, the ERS-based compression scheme achieved lower Mean Squared Error (MSE) at the same bitrates compared to prior state-of-the-art importance matching techniques. For example, at a rate of ~10 bits/image on MNIST, ERS reduced the embedding MSE by nearly 15% compared to Gaussian regression baselines.

Limitations and Future Work

Despite its advantages, the runtime of rejection sampling is tied to the "target-to-proposal" density ratio ($\omega$). If the proposal distribution is a poor match for the target, the algorithm might take a long time to find an acceptable sample. Furthermore, scaling rejection sampling to extremely high-dimensional latent spaces remains a challenge due to the "curse of dimensionality" affecting the acceptance rate.

The authors suggest exploring "space partitioning" to speed up the search for samples and extending the framework to Differential Privacy, where the unbiased nature of ERS provides stronger theoretical guarantees than biased sampling methods.

Summary updated

BibTeX
@inproceedings{phan2025channel,
  author = {Buu Phan and Ashish Khisti},
  title = {{Channel Simulation and Distributed Compression with Ensemble Rejection Sampling}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=rbYPITgH4Z},
}
Figure