NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SoftBinary Coding: A New Information-Theoretic Paradigm for Neural Compression via Fast Channel Simulation

Ezgi Ozyilkan, Sharang M. Sriramu, Elza Erkip, Aaron B. Wagner, Jona Ballé

TL;DR

SoftBinary Coding (SBC) is a new neural compression framework that replaces traditional continuous transforms and rounding with a stochastic binary latent space and fast channel simulation. By ditching the "smoothness bias" of standard methods, SBC achieves state-of-the-art performance on information-theoretic benchmarks, even outperforming classical standards like Trellis Coded Quantization.

What Problem Does This Paper Address?

Most modern neural compression relies on Nonlinear Transform Coding (NTC). In NTC, data is mapped to real numbers, "quantized" (rounded to integers), and then compressed. While successful, NTC has three major "hang-ups":

  1. The Train-Test Mismatch: Rounding is not differentiable. To train models, researchers use "soft" approximations (like adding noise), but at test time, they use "hard" rounding. This creates a gap between how the model learns and how it actually performs.
  2. The Smoothness Bias: Neural networks love smooth, continuous functions. However, optimal compression often requires sharp, discontinuous "branch cuts" (think of trying to map a circle to a straight line). NTC struggles to represent these sharp structures.
  3. Loss of Shaping Gain: To be efficient, you should ideally quantize groups of numbers together (Vector Quantization), but this is computationally expensive. Most NTC models settle for rounding numbers one by one (Scalar Quantization), leaving performance on the table.

Methods

The authors propose SoftBinary Coding (SBC), which fundamentally changes the "transform-quantize-entropy code" pipeline.

  • Stochastic Binary Latents: Instead of mapping data to real-valued latents, the encoder outputs parameters for a Bernoulli distribution (probabilities of bits being 0 or 1).
  • Fast Channel Simulation: Instead of rounding, SBC uses "channel simulation." This is a way to communicate samples from a distribution using a rate-efficient bitstream. The authors extended PolarSim (a technique based on polar codes used in 5G) to handle non-identically distributed channels, proving it is "rate-optimal."
  • End-to-End Training with VarGrad: To train through discrete binary variables, they use VarGrad, a low-variance gradient estimator. This allows the model to learn the discrete latent space directly without needing the "soft" approximations used in NTC.
  • Latent Pruning: To stay efficient, the model identifies and removes latent bits that contribute very little information, focusing the "bit budget" on the most important features.

Datasets

The paper focuses on rigorous information-theoretic benchmarks where the "theoretical ceiling" is known:

  • Circle Source: A 2D source with a circular topology, designed to test if the model can handle "branch cuts."
  • Ramp Source: A process with sharp jumps, testing the model's ability to handle discontinuities.
  • I.I.D. Uniform & Gaussian Sources: The "gold standards" of quantization theory.
  • Distributed Compression (Wyner-Ziv): A setup where two correlated sources are compressed separately but decoded together, testing the model's ability to "bin" data.

Key Insights and Ideas

  • Discrete is a Feature, Not a Bug: By embracing a binary latent space from the start, SBC avoids the "smoothness bias" entirely. It doesn't try to approximate a jump; it just jumps.
  • Channel Simulation = Efficient Vector Quantization: Channel simulation naturally captures the "shaping gains" of high-dimensional vector quantization without the nightmare of exponential search complexity.
  • Polarization for Compression: The authors proved that "source polarization" works even for non-stationary sources (where each bit has a different distribution). This provides a solid mathematical foundation for using polar codes in general neural compression.
  • Simplicity Wins: Surprisingly, SBC uses a simple "factorized" model (treating bits as independent). It delegates the complex work of modeling dependencies to the channel simulation layer rather than using heavy autoregressive models.

Key Results

  • Beating the Standards: On the Gaussian source, SBC outperformed Trellis Coded Quantization (TCQ), which has been the de facto standard for low-complexity vector quantization for decades.
  • Solving Topology: SBC easily handled the "circle" and "ramp" sources where NTC failed due to its inherent smoothness bias.
  • Distributed Gains: In the Wyner-Ziv setting, SBC outperformed both classical methods (DISCUS) and recent learning-based approaches, discovering optimal "binning" strategies purely from data.
  • Operational Match: Because the training objective (VarGrad) matches the operational scheme (Channel Simulation), the performance seen during training translates almost perfectly to real-world use.

Limitations and Future Work

  • The Rate Cap: Currently, an SBC model is limited to a maximum rate of $L$ bits per sample, where $L$ is the number of latent dimensions. NTC doesn't have this hard cap.
  • Scaling to Images: While SBC is great for low-dimensional sources (like point cloud attributes), training it on high-resolution images is currently more resource-intensive than NTC due to the "curse of dimensionality" in fitting discrete distributions.
  • Block Lengths: The best results require very large block lengths ($N \approx 8.4$ million bits). Future work aims to make PolarSim more efficient at smaller, more practical block lengths.
  • Continuous Extension: The authors suggest developing a similar polarization-based scheme for continuous latents to see if the benefits of SBC can be brought back to the NTC world.

Summary updated

BibTeX
@inproceedings{ozyilkan2026softbinary,
  author = {Ezgi Ozyilkan and Sharang M. Sriramu and Elza Erkip and Aaron B. Wagner and Jona Ballé},
  title = {{SoftBinary Coding: A New Information-Theoretic Paradigm for Neural Compression via Fast Channel Simulation}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=RmlisaChid},
}
Figure